[ticket/12357] Support routes in generate_smilies() function.

PHPBB3-12357
Merge pull request #2413 from prototech/ticket/12357

[ticket/12357] Support routes in generate_smilies() function.

* prototech/ticket/12357:
  [ticket/12357] Support routes in generate_smilies() function.
Merge branch 'develop-ascraeus' into develop

* develop-ascraeus:
  [ticket/12357] Support routes in generate_smilies() function.