Ignore:
Timestamp:
2011/10/28 18:58:18 (12 years ago)
Author:
shutta
Message:

#1527 (端末種別の判別ルーチンの統一)
Net_UserAgent_Mobile::isMobile()な処理をSC_Display_Ex::detectDevice()に統一。
但し、SC_Mobile_UserAgent::isNonMobile()は、対象から除外した。

File:
1 edited

Legend:

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

    r18234 r21302  
    1313    static $numeric_emoji_index = array('134', '125', '126', '127', '128', '129', '130', '131', '132', '133'); 
    1414 
    15     if (SC_MobileUserAgent::isMobile() && isset($numeric_emoji_index[$value])) { 
     15    if ((SC_Display_Ex::detectDevice() == DEVICE_TYPE_MOBILE) 
     16        && isset($numeric_emoji_index[$value]) 
     17    ) { 
    1618        return '[emoji:' . $numeric_emoji_index[$value] . ']'; 
    1719    } else { 
Note: See TracChangeset for help on using the changeset viewer.