Minor changes to some smilies -- added a space at the beginning of the match to avoid inserting smilies in perl module names and such (e.g. 'Crypt::PGP' get get a smilie from the ':P')

git-svn-id: https://develop.svn.wordpress.org/trunk@372 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dougal Campbell 2003-09-17 14:05:32 +00:00
parent 0378c15d21
commit 5274f54cb2

View File

@ -27,34 +27,34 @@ $month['12']='December';
// here's the conversion table, you can modify it if you know what you're doing // here's the conversion table, you can modify it if you know what you're doing
$b2smiliestrans = array( $b2smiliestrans = array(
':)' => 'icon_smile.gif', ' :)' => 'icon_smile.gif',
':D' => 'icon_biggrin.gif', ' :D' => 'icon_biggrin.gif',
':-D' => 'icon_biggrin.gif', ' :-D' => 'icon_biggrin.gif',
':grin:' => 'icon_biggrin.gif', ':grin:' => 'icon_biggrin.gif',
':)' => 'icon_smile.gif', ' :)' => 'icon_smile.gif',
':-)' => 'icon_smile.gif', ' :-)' => 'icon_smile.gif',
':smile:' => 'icon_smile.gif', ':smile:' => 'icon_smile.gif',
':(' => 'icon_sad.gif', ' :(' => 'icon_sad.gif',
':-(' => 'icon_sad.gif', ' :-(' => 'icon_sad.gif',
':sad:' => 'icon_sad.gif', ':sad:' => 'icon_sad.gif',
':o' => 'icon_surprised.gif', ' :o' => 'icon_surprised.gif',
':-o' => 'icon_surprised.gif', ' :-o' => 'icon_surprised.gif',
':eek:' => 'icon_surprised.gif', ':eek:' => 'icon_surprised.gif',
'8O' => 'icon_eek.gif', ' 8O' => 'icon_eek.gif',
'8-O' => 'icon_eek.gif', ' 8-O' => 'icon_eek.gif',
':shock:' => 'icon_eek.gif', ':shock:' => 'icon_eek.gif',
':?' => 'icon_confused.gif', ' :?' => 'icon_confused.gif',
':-?' => 'icon_confused.gif', ' :-?' => 'icon_confused.gif',
':???:' => 'icon_confused.gif', ' :???:' => 'icon_confused.gif',
'8)' => 'icon_cool.gif', ' 8)' => 'icon_cool.gif',
'8-)' => 'icon_cool.gif', ' 8-)' => 'icon_cool.gif',
':cool:' => 'icon_cool.gif', ':cool:' => 'icon_cool.gif',
':lol:' => 'icon_lol.gif', ':lol:' => 'icon_lol.gif',
':x' => 'icon_mad.gif', ' :x' => 'icon_mad.gif',
':-x' => 'icon_mad.gif', ' :-x' => 'icon_mad.gif',
':mad:' => 'icon_mad.gif', ':mad:' => 'icon_mad.gif',
':P' => 'icon_razz.gif', ' :P' => 'icon_razz.gif',
':-P' => 'icon_razz.gif', ' :-P' => 'icon_razz.gif',
':razz:' => 'icon_razz.gif', ':razz:' => 'icon_razz.gif',
':oops:' => 'icon_redface.gif', ':oops:' => 'icon_redface.gif',
':cry:' => 'icon_cry.gif', ':cry:' => 'icon_cry.gif',
@ -62,14 +62,14 @@ $b2smiliestrans = array(
':twisted:' => 'icon_twisted.gif', ':twisted:' => 'icon_twisted.gif',
':roll:' => 'icon_rolleyes.gif', ':roll:' => 'icon_rolleyes.gif',
':wink:' => 'icon_wink.gif', ':wink:' => 'icon_wink.gif',
';)' => 'icon_wink.gif', ' ;)' => 'icon_wink.gif',
';-)' => 'icon_wink.gif', ' ;-)' => 'icon_wink.gif',
':!:' => 'icon_exclaim.gif', ':!:' => 'icon_exclaim.gif',
':?:' => 'icon_question.gif', ':?:' => 'icon_question.gif',
':idea:' => 'icon_idea.gif', ':idea:' => 'icon_idea.gif',
':arrow:' => 'icon_arrow.gif', ':arrow:' => 'icon_arrow.gif',
':|' => 'icon_neutral.gif', ' :|' => 'icon_neutral.gif',
':-|' => 'icon_neutral.gif', ' :-|' => 'icon_neutral.gif',
':neutral:' => 'icon_neutral.gif', ':neutral:' => 'icon_neutral.gif',
':mrgreen:' => 'icon_mrgreen.gif', ':mrgreen:' => 'icon_mrgreen.gif',
); );