ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 40


Ignore:
Timestamp:
Aug 19, 2006, 1:30:38 PM (13 years ago)
Author:
ebihara
Message:

絵文字変換テーブルの構造を変更した

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/ebihara/prj_ktai/webapp/lib/smarty_plugins/function.t_emoji.php

    r32 r40  
    1111
    1212    $emoji_table = array(
    13       "1" => array("docomo" => "", "au" => "", "vodafone" => ""),
    14       "2" => array("docomo" => "", "au" => "", "vodafone" => ""),
    15       "3" => array("docomo" => "", "au" => "", "vodafone" => ""),
    16       "4" => array("docomo" => "", "au" => "", "vodafone" => ""),
    17       "5" => array("docomo" => "", "au" => "", "vodafone" => ""),
    18       "6" => array("docomo" => "", "au" => "", "vodafone" => ""),
    19       "7" => array("docomo" => "", "au" => "", "vodafone" => ""),
    20       "8" => array("docomo" => "", "au" => "", "vodafone" => ""),
    21       "9" => array("docomo" => "", "au" => "", "vodafone" => ""),
    22       "0" => array("docomo" => "", "au" => "", "vodafone" => ""),
     13        "docomo" => array(
     14            "1" => "", "2" => "", "3" => "", "4" => "",
     15            "5" => "", "6" => "", "7" => "", "8" => "",
     16            "9" => "", "0" => "",
     17            ),
     18        "au" => array(
     19            "1" => "", "2" => "", "3" => "", "4" => "",
     20            "5" => "", "6" => "", "7" => "", "8" => "",
     21            "9" => "", "0" => "",
     22            ),
     23        "vodafone" => array(
     24            "1" => "", "2" => "", "3" => "", "4" => "",
     25            "5" => "", "6" => "", "7" => "", "8" => "",
     26            "9" => "", "0" => "",
     27            ),
    2328    );
    2429
    2530    if($ktaiUA->is_docomo()){
    26         return $emoji_table[$params['name']]["docomo"];
     31        return $emoji_table["docomo"][$params['name']];
    2732    }
    2833    elseif($ktaiUA->is_au()){
    29         return $emoji_table[$params['name']]["au"];
     34        return $emoji_table["au"][$params['name']];
    3035    }
    3136    elseif($ktaiUA->is_vodafone()){
    32         return $emoji_table[$params['name']]["vodafone"];
     37        return $emoji_table["vodafone"][$params['name']];
    3338    }
    3439    else{
Note: See TracChangeset for help on using the changeset viewer.