Ignore:
Timestamp:
2013/06/08 16:35:27 (11 years ago)
Author:
Seasoft
Message:

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

  • 主に空白・空白行の調整。もう少し整えたいが、一旦現状コミット。
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/pages/admin/design/LC_Page_Admin_Design_Template.php

    r22567 r22856  
    3131 * @version $Id$ 
    3232 */ 
    33 class LC_Page_Admin_Design_Template extends LC_Page_Admin_Ex  
     33class LC_Page_Admin_Design_Template extends LC_Page_Admin_Ex 
    3434{ 
    35  
    36     // }}} 
    37     // {{{ functions 
    38  
    3935    /** 
    4036     * Page を初期化する. 
     
    7571    function action() 
    7672    { 
    77  
    7873        $objFormParam = new SC_FormParam_Ex(); 
    7974        $this->lfInitParam($objFormParam); 
     
    8681 
    8782        switch ($this->getMode()) { 
    88  
    8983            // 登録ボタン押下時 
    9084            case 'register': 
     
    115109                $this->arrErr = $objFormParam->checkError(); 
    116110                if (SC_Utils_Ex::isBlank($this->arrErr)) { 
    117  
    118111                    if ($this->doDownload($template_code) !== false) { 
    119112                        // ブラウザに出力し, 終了する 
     
    278271    function doRegister($template_code, $device_type_id) 
    279272    { 
    280  
    281273        $tpl_dir = USER_TEMPLATE_REALDIR . $template_code . '/'; 
    282274        if (!is_dir($tpl_dir)) { 
     
    295287        $objView = new SC_AdminView_Ex(); 
    296288        $objView->_smarty->clear_compiled_tpl(); 
     289 
    297290        return true; 
    298291    } 
     
    320313            return false; 
    321314        } 
     315 
    322316        return true; 
    323317    } 
     
    332326    { 
    333327        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
     328 
    334329        return $objQuery->select('*', 'dtb_templates', 'device_type_id = ?', array($device_type_id)); 
    335330    } 
     
    355350                break; 
    356351        } 
     352 
    357353        return $isDefault ? DEFAULT_TEMPLATE_NAME : TEMPLATE_NAME; 
    358354    } 
Note: See TracChangeset for help on using the changeset viewer.