Ignore:
Timestamp:
2012/03/05 23:32:59 (15 years ago)
Author:
Seasoft
Message:

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

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

Legend:

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

    r21583 r21593  
    5454        parent::process(); 
    5555        $this->action(); 
    56         // class_exists('xxx'); 
    57         // 0/0; 
    58         // new xxx; 
    59         // $objQuery = new SC_Query_Ex(); 
    60         // $objQuery->select('***'); 
    61         // trigger_error('試験的なエラー発生です。'); 
    6256        $this->sendResponse(); 
    6357    } 
  • branches/version-2_12-dev/data/class/pages/LC_Page_Sitemap.php

    r21527 r21593  
    159159    function createSitemap($loc, $lastmod = '', $changefreq = '', $priority = '') { 
    160160        printf("\t<url>\n"); 
    161         printf("\t\t<loc>%s</loc>\n", htmlentities($loc, ENT_QUOTES, "UTF-8")); 
     161        printf("\t\t<loc>%s</loc>\n", htmlentities($loc, ENT_QUOTES, 'UTF-8')); 
    162162        if (!empty($lastmod)) { 
    163163            printf("\t\t<lastmod>%s</lastmod>\n", $lastmod); 
  • branches/version-2_12-dev/data/class/pages/admin/contents/LC_Page_Admin_Contents_FileManager.php

    r21592 r21593  
    326326    function tryCreateDir($objFileManager, $objFormParam) { 
    327327        $create_dir_flg = false; 
    328         $create_dir = ereg_replace("/$", "", $objFormParam->getValue('now_dir')); 
     328        $create_dir = ereg_replace("/$", '', $objFormParam->getValue('now_dir')); 
    329329        // ファイル作成 
    330330        if ($objFileManager->sfCreateFile($create_dir.'/'.$objFormParam->getValue('create_file'), 0755)) { 
     
    434434    function lfGetParentDir($dir) { 
    435435        $parent_dir = ''; 
    436         $dir = ereg_replace("/$", "", $dir); 
     436        $dir = ereg_replace("/$", '', $dir); 
    437437        $arrDir = explode('/', $dir); 
    438438        array_pop($arrDir); 
     
    440440            $parent_dir .= "$val/"; 
    441441        } 
    442         $parent_dir = ereg_replace("/$", "", $parent_dir); 
     442        $parent_dir = ereg_replace("/$", '', $parent_dir); 
    443443        return $parent_dir; 
    444444    } 
     
    467467        $tpl_javascript .= "arrTree = new Array();\n"; 
    468468        foreach ($arrTree as $arrVal) { 
    469             $tpl_javascript .= 'arrTree['.$arrVal['count'].'] = new Array('.$arrVal['count'].", '".$arrVal['type']."', '".$arrVal['path']."', ".$arrVal['rank'].","; 
     469            $tpl_javascript .= 'arrTree['.$arrVal['count'].'] = new Array('.$arrVal['count'].", '".$arrVal['type']."', '".$arrVal['path']."', ".$arrVal['rank'].','; 
    470470            if ($arrVal['open']) { 
    471471                $tpl_javascript .= "true);\n"; 
     
    487487        $is_top_dir = false; 
    488488        // 末尾の/をとる 
    489         $top_dir_check = ereg_replace("/$", "", $objFormParam->getValue('top_dir')); 
    490         $now_dir_check = ereg_replace("/$", "", $objFormParam->getValue('now_dir')); 
     489        $top_dir_check = ereg_replace("/$", '', $objFormParam->getValue('top_dir')); 
     490        $now_dir_check = ereg_replace("/$", '', $objFormParam->getValue('now_dir')); 
    491491        if($top_dir_check == $now_dir_check) $is_top_dir = true; 
    492492        $this->setDispParam('tpl_is_top_dir', $is_top_dir); 
  • branches/version-2_12-dev/data/class/pages/admin/design/LC_Page_Admin_Design_Template.php

    r21592 r21593  
    210210        if ($sql !== false) { 
    211211            // 改行、タブを1スペースに変換 
    212             $sql = preg_replace("/[\r\n\t]/", " " ,$sql); 
     212            $sql = preg_replace("/[\r\n\t]/", ' ' ,$sql); 
    213213            $sql_split = explode(';', $sql); 
    214214            $objQuery =& SC_Query_Ex::getSingletonInstance(); 
Note: See TracChangeset for help on using the changeset viewer.