Changeset 20493


Ignore:
Timestamp:
2011/03/04 21:42:40 (11 years ago)
Author:
shutta
Message:

SC_MobileEmojiクラスのclass_extends対応

Location:
branches/version-2_5-dev/data
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/SC_MobileEmoji.php

    r20116 r20493  
    4040     */ 
    4141    function handler($buffer) { 
    42         $replace_callback = create_function('$matches', 'return SC_MobileEmoji::indexToCode($matches[1]);'); 
     42        $replace_callback = create_function('$matches', 'return SC_MobileEmoji_Ex::indexToCode($matches[1]);'); 
    4343        return preg_replace_callback('/\[emoji:(e?\d+)\]/', $replace_callback, $buffer); 
    4444    } 
  • branches/version-2_5-dev/data/class/helper/SC_Helper_Mobile.php

    r20492 r20493  
    233233 
    234234        // 絵文字タグを絵文字コードに変換する。 
    235         ob_start(array('SC_MobileEmoji', 'handler')); 
     235        ob_start(array('SC_MobileEmoji_Ex', 'handler')); 
    236236 
    237237        // 端末に合わせて画像サイズを変換する。 
  • branches/version-2_5-dev/data/require_classes.php

    r20492 r20493  
    5050require_once(CLASS_REALDIR . "SC_MobileUserAgent.php"); 
    5151require_once(CLASS_REALDIR . "SC_SmartphoneUserAgent.php"); 
    52 require_once(CLASS_REALDIR . "SC_MobileEmoji.php"); 
     52require_once(CLASS_EX_REALDIR . "SC_MobileEmoji_Ex.php"); 
    5353require_once(CLASS_EX_REALDIR . "SC_MobileImage_Ex.php"); 
    5454require_once(CLASS_EX_REALDIR . "SC_Product_Ex.php"); 
Note: See TracChangeset for help on using the changeset viewer.