[ticket/12136] Use new pagination class in generate_smilies().

http://tracker.phpbb.com/browse/PHPBB3-12136