Loading sources/comcode_compiler.php +3 −0 Original line number Diff line number Diff line Loading @@ -546,6 +546,9 @@ function __comcode_to_tempcode($comcode, $source_member, $as_admin, $wrap_pos, $ $emoticons = $GLOBALS['FORUM_DRIVER']->find_emoticons(); // We'll be needing the emoticon array $emoticon_start_chars = array(); foreach (array_keys($emoticons) as $emoticon) { if (is_integer($emoticon)) { $emoticon = strval($emoticon); } $emoticon_start_chars[$emoticon[0]] = true; } $shortcuts = array('(EUR-)' => '€', '{f.}' => 'ƒ', '-|-' => '†', '=|=' => '‡', '{%o}' => '‰', '{~S}' => 'Š', '{~Z}' => 'Ž', '(TM)' => '™', '{~s}' => 'š', '{~z}' => 'ž', '{.Y.}' => 'Ÿ', '(c)' => '©', '(r)' => '®', '---' => '—', '-->' => '→', '<--' => '←', '--' => '–', '...' => '…'); Loading Loading
sources/comcode_compiler.php +3 −0 Original line number Diff line number Diff line Loading @@ -546,6 +546,9 @@ function __comcode_to_tempcode($comcode, $source_member, $as_admin, $wrap_pos, $ $emoticons = $GLOBALS['FORUM_DRIVER']->find_emoticons(); // We'll be needing the emoticon array $emoticon_start_chars = array(); foreach (array_keys($emoticons) as $emoticon) { if (is_integer($emoticon)) { $emoticon = strval($emoticon); } $emoticon_start_chars[$emoticon[0]] = true; } $shortcuts = array('(EUR-)' => '€', '{f.}' => 'ƒ', '-|-' => '†', '=|=' => '‡', '{%o}' => '‰', '{~S}' => 'Š', '{~Z}' => 'Ž', '(TM)' => '™', '{~s}' => 'š', '{~z}' => 'ž', '{.Y.}' => 'Ÿ', '(c)' => '©', '(r)' => '®', '---' => '—', '-->' => '→', '<--' => '←', '--' => '–', '...' => '…'); Loading