changeset 391 | 85f91037cd4f |
parent 387 | 92664d2efab8 |
child 407 | 35d94240a197 |
390:9bcc185dc151 | 391:85f91037cd4f |
---|---|
761 } |
761 } |
762 |
762 |
763 $keys = array_keys($smileys); |
763 $keys = array_keys($smileys); |
764 foreach($keys as $k) |
764 foreach($keys as $k) |
765 { |
765 { |
766 $t = str_hex($k); |
766 $t = hexencode($k, ' ', ''); |
767 $t = trim($t); |
|
767 $t = explode(' ', $t); |
768 $t = explode(' ', $t); |
768 $s = ''; |
769 $s = ''; |
769 foreach($t as $b) |
770 foreach($t as $b) |
770 { |
771 { |
771 $s.='&#x'.$b.';'; |
772 $s.='&#x'.$b.';'; |