- Timestamp:
- 2012/01/23 04:49:37 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/smarty_extends/modifier.numeric_emoji.php
r21302 r21420 10 10 */ 11 11 function smarty_modifier_numeric_emoji($value) { 12 13 12 // 数字絵文字 (0~9) の絵文字番号 13 static $numeric_emoji_index = array('134', '125', '126', '127', '128', '129', '130', '131', '132', '133'); 14 14 15 15 if ((SC_Display_Ex::detectDevice() == DEVICE_TYPE_MOBILE) 16 16 && isset($numeric_emoji_index[$value]) 17 17 ) { 18 19 20 21 18 return '[emoji:' . $numeric_emoji_index[$value] . ']'; 19 } else { 20 return '[' . $value . ']'; 21 } 22 22 } 23 ?>
Note: See TracChangeset
for help on using the changeset viewer.