Ignore:
Timestamp:
2013/05/02 18:11:36 (11 years ago)
Author:
h_yoshimoto
Message:

#2236 2.12.3リリース以降の2.12-devへのコミット差し戻し

File:
1 edited

Legend:

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

    r22567 r22796  
    3131 * @version $Id$ 
    3232 */ 
    33 class LC_Page_Admin_Design_Template extends LC_Page_Admin_Ex  
    34 { 
     33class LC_Page_Admin_Design_Template extends LC_Page_Admin_Ex { 
    3534 
    3635    // }}} 
     
    4241     * @return void 
    4342     */ 
    44     function init() 
    45     { 
     43    function init() { 
    4644        parent::init(); 
    4745        $this->tpl_mainpage = 'design/template.tpl'; 
     
    6260     * @return void 
    6361     */ 
    64     function process() 
    65     { 
     62    function process() { 
    6663        $this->action(); 
    6764        $this->sendResponse(); 
     
    7370     * @return void 
    7471     */ 
    75     function action() 
    76     { 
     72    function action() { 
    7773 
    7874        $objFormParam = new SC_FormParam_Ex(); 
     
    142138     * @return void 
    143139     */ 
    144     function destroy() 
    145     { 
     140    function destroy() { 
    146141        parent::destroy(); 
    147142    } 
     
    153148     * @return void 
    154149     */ 
    155     function lfInitParam(&$objFormParam) 
    156     { 
     150    function lfInitParam(&$objFormParam) { 
    157151        $objFormParam->addParam('端末種別ID', 'device_type_id', INT_LEN, 'n', array('NUM_CHECK', 'MAX_LENGTH_CHECK')); 
    158152        $objFormParam->addParam('template_code', 'template_code', STEXT_LEN, 'a', array('EXIST_CHECK', 'SPTAB_CHECK','MAX_LENGTH_CHECK', 'ALNUM_CHECK')); 
     
    168162     * @return void 
    169163     */ 
    170     function doUpdateMasterData($template_code, $device_type_id) 
    171     { 
     164    function doUpdateMasterData($template_code, $device_type_id) { 
    172165        $masterData = new SC_DB_MasterData_Ex(); 
    173166 
     
    204197     * @return void 
    205198     */ 
    206     function updateBloc($filepath) 
    207     { 
     199    function updateBloc($filepath) { 
    208200        $sql = file_get_contents($filepath); 
    209201        if ($sql !== false) { 
     
    227219     * @return boolean 成功した場合 true; 失敗した場合 false 
    228220     */ 
    229     function doDelete($template_code, $device_type_id) 
    230     { 
     221    function doDelete($template_code, $device_type_id) { 
    231222        if ($template_code == $this->getTemplateName($device_type_id) 
    232223                || $template_code == $this->getTemplateName($device_type_id, true)) { 
     
    276267     * @return boolean 成功した場合 true; 失敗した場合 false 
    277268     */ 
    278     function doRegister($template_code, $device_type_id) 
    279     { 
     269    function doRegister($template_code, $device_type_id) { 
    280270 
    281271        $tpl_dir = USER_TEMPLATE_REALDIR . $template_code . '/'; 
     
    307297     * @return boolean 成功した場合 true; 失敗した場合 false 
    308298     */ 
    309     function doDownload($template_code) 
    310     { 
     299    function doDownload($template_code) { 
    311300        $from_dir = USER_TEMPLATE_REALDIR . $template_code . '/'; 
    312301        $to_dir = SMARTY_TEMPLATES_REALDIR . $template_code . '/_packages/'; 
     
    329318     * @return array テンプレート情報の配列 
    330319     */ 
    331     function getAllTemplates($device_type_id) 
    332     { 
     320    function getAllTemplates($device_type_id) { 
    333321        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    334322        return $objQuery->select('*', 'dtb_templates', 'device_type_id = ?', array($device_type_id)); 
     
    342330     * @return string テンプレート名 
    343331     */ 
    344     function getTemplateName($device_type_id, $isDefault = false) 
    345     { 
     332    function getTemplateName($device_type_id, $isDefault = false) { 
    346333        switch ($device_type_id) { 
    347334            case DEVICE_TYPE_MOBILE: 
Note: See TracChangeset for help on using the changeset viewer.