Changeset 22856 for branches/version-2_13-dev/data/class/pages/admin/design/LC_Page_Admin_Design_Template.php
- Timestamp:
- 2013/06/08 16:35:27 (11 years ago)
- 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 31 31 * @version $Id$ 32 32 */ 33 class LC_Page_Admin_Design_Template extends LC_Page_Admin_Ex 33 class LC_Page_Admin_Design_Template extends LC_Page_Admin_Ex 34 34 { 35 36 // }}}37 // {{{ functions38 39 35 /** 40 36 * Page を初期化する. … … 75 71 function action() 76 72 { 77 78 73 $objFormParam = new SC_FormParam_Ex(); 79 74 $this->lfInitParam($objFormParam); … … 86 81 87 82 switch ($this->getMode()) { 88 89 83 // 登録ボタン押下時 90 84 case 'register': … … 115 109 $this->arrErr = $objFormParam->checkError(); 116 110 if (SC_Utils_Ex::isBlank($this->arrErr)) { 117 118 111 if ($this->doDownload($template_code) !== false) { 119 112 // ブラウザに出力し, 終了する … … 278 271 function doRegister($template_code, $device_type_id) 279 272 { 280 281 273 $tpl_dir = USER_TEMPLATE_REALDIR . $template_code . '/'; 282 274 if (!is_dir($tpl_dir)) { … … 295 287 $objView = new SC_AdminView_Ex(); 296 288 $objView->_smarty->clear_compiled_tpl(); 289 297 290 return true; 298 291 } … … 320 313 return false; 321 314 } 315 322 316 return true; 323 317 } … … 332 326 { 333 327 $objQuery =& SC_Query_Ex::getSingletonInstance(); 328 334 329 return $objQuery->select('*', 'dtb_templates', 'device_type_id = ?', array($device_type_id)); 335 330 } … … 355 350 break; 356 351 } 352 357 353 return $isDefault ? DEFAULT_TEMPLATE_NAME : TEMPLATE_NAME; 358 354 }
Note: See TracChangeset
for help on using the changeset viewer.