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

PHPBB3-12136
Merge pull request #1964 from prototech/ticket/12136

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

* prototech/ticket/12136:
  [ticket/12136] Use new pagination class in generate_smilies().
[ticket/12192] Fix call to undefined method get_user_avatar().

PHPBB3-12192
Merge pull request #2032 from prototech/ticket/12192

[ticket/12192] Fix call to undefined method get_user_avatar().

* prototech/ticket/12192:
  [ticket/12192] Fix call to undefined method get_user_avatar().