Tweak emoticon aliases

- Make :) and :( map to "slight smile/frown"
- Remove :* to solve flarum/core#305
This commit is contained in:
Toby Zerner 2016-02-07 11:44:48 +10:30
parent 31772b9a76
commit 7359407b54

View File

@ -31,15 +31,13 @@ class FormatEmoticons
$event->configurator->Emoji->useEmojiOne(); $event->configurator->Emoji->useEmojiOne();
$event->configurator->Emoji->omitImageSize(); $event->configurator->Emoji->omitImageSize();
$event->configurator->Emoji->addAlias(':)', '😄'); $event->configurator->Emoji->addAlias(':)', '🙂');
$event->configurator->Emoji->addAlias(':D', '😃'); $event->configurator->Emoji->addAlias(':D', '😃');
$event->configurator->Emoji->addAlias(':P', '😜'); $event->configurator->Emoji->addAlias(':P', '😛');
$event->configurator->Emoji->addAlias(':(', '😟'); $event->configurator->Emoji->addAlias(':(', '🙁');
$event->configurator->Emoji->addAlias(':|', '😐'); $event->configurator->Emoji->addAlias(':|', '😐');
$event->configurator->Emoji->addAlias(';)', '😉'); $event->configurator->Emoji->addAlias(';)', '😉');
$event->configurator->Emoji->addAlias(':*', '😘');
$event->configurator->Emoji->addAlias(':\'(', '😢'); $event->configurator->Emoji->addAlias(':\'(', '😢');
$event->configurator->Emoji->addAlias(':\')', '😂');
$event->configurator->Emoji->addAlias(':O', '😮'); $event->configurator->Emoji->addAlias(':O', '😮');
$event->configurator->Emoji->addAlias('B)', '😎'); $event->configurator->Emoji->addAlias('B)', '😎');
$event->configurator->Emoji->addAlias('>:(', '😡'); $event->configurator->Emoji->addAlias('>:(', '😡');