Ignore:
Timestamp:
2012/01/23 04:49:37 (12 years ago)
Author:
Seasoft
Message:

#1613 (ソース整形・ソースコメントの改善)

  • Zend Framework PHP 標準コーディング規約への準拠を高めた
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/smarty_extends/modifier.numeric_emoji.php

    r21302 r21420  
    1010 */ 
    1111function smarty_modifier_numeric_emoji($value) { 
    12     // 数字絵文字 (0~9) の絵文字番号 
    13     static $numeric_emoji_index = array('134', '125', '126', '127', '128', '129', '130', '131', '132', '133'); 
     12    // 数字絵文字 (0~9) の絵文字番号 
     13    static $numeric_emoji_index = array('134', '125', '126', '127', '128', '129', '130', '131', '132', '133'); 
    1414 
    15     if ((SC_Display_Ex::detectDevice() == DEVICE_TYPE_MOBILE) 
     15    if ((SC_Display_Ex::detectDevice() == DEVICE_TYPE_MOBILE) 
    1616        && isset($numeric_emoji_index[$value]) 
    1717    ) { 
    18         return '[emoji:' . $numeric_emoji_index[$value] . ']'; 
    19     } else { 
    20         return '[' . $value . ']'; 
    21     } 
     18    return '[emoji:' . $numeric_emoji_index[$value] . ']'; 
     19    } else { 
     20    return '[' . $value . ']'; 
     21    } 
    2222} 
    23 ?> 
Note: See TracChangeset for help on using the changeset viewer.