Changeset 21588


Ignore:
Timestamp:
2012/03/04 22:16:24 (12 years ago)
Author:
Seasoft
Message:

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

Location:
branches/version-2_12-dev/data/class
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/pages/LC_Page.php

    r21583 r21588  
    132132        $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    133133        $objPlugin->setHeadNaviBlocs($this->arrPageLayout['HeadNavi']); 
    134          
     134 
    135135        // スーパーフックポイントを実行. 
    136136        $objPlugin->doAction('lc_page_process', array($this)); 
  • branches/version-2_12-dev/data/class/pages/admin/system/LC_Page_Admin_System_Plugin.php

    r21569 r21588  
    110110            // 有効化 
    111111            case 'enable': 
    112   
     112 
    113113                // エラーチェック 
    114114                $this->arrErr = $objFormParam->checkError(); 
  • branches/version-2_12-dev/data/class/util/SC_Utils.php

    r21587 r21588  
    12971297 
    12981298    /** 
    1299      * XML宣言を出力する. 
    1300      * 
    1301      * XML宣言があると問題が発生する UA は出力しない. 
    1302      * 
    1303      * @return string XML宣言の文字列 
     1299     * 前方互換用 
     1300     * 
     1301     * @deprecated 2.12.0 GC_Utils_Ex::printXMLDeclaration を使用すること 
    13041302     */ 
    13051303    function printXMLDeclaration() { 
    1306         $ua = $_SERVER['HTTP_USER_AGENT']; 
    1307         if (!preg_match('/MSIE/', $ua) || preg_match('/MSIE 7/', $ua)) { 
    1308             echo '<?xml version="1.0" encoding="' . CHAR_CODE . '"?>' . "\n"; 
    1309         } 
     1304        trigger_error('前方互換用メソッドが使用されました。', E_USER_WARNING); 
     1305        GC_Utils_Ex::printXMLDeclaration(); 
    13101306    } 
    13111307 
     
    17321728        $zip_cnt = count($data_list); 
    17331729        if ($zip_cnt > 1) { 
    1734             $data_list[0]['town'] = ""; 
     1730            $data_list[0]['town'] = ''; 
    17351731        } 
    17361732        unset($zip_cnt); 
     
    17461742        $town = preg_replace("/(.*)$/","",$town); 
    17471743        $town = preg_replace('/以下に掲載がない場合/','',$town); 
    1748         $town = preg_replace("/(.*?)の次に番地がくる場合/","",$town); 
     1744        $town = preg_replace('/(.*?)の次に番地がくる場合/',"",$town); 
    17491745        $data_list[0]['town'] = $town; 
    17501746        $data_list[0]['state'] = $arrREV_PREF[$data_list[0]['state']]; 
Note: See TracChangeset for help on using the changeset viewer.