Changeset 17614 for branches/version-2/data/class
- Timestamp:
- 2008/09/17 17:20:29 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2/data/class/pages/admin/design/LC_Page_Admin_Design_Template.php
r17370 r17614 136 136 SC_Utils::sfDispError(''); 137 137 } 138 138 139 //現在使用中のテンプレートとデフォルトのテンプレートは削除できないようにする 139 140 $template_code = $objForm->getValue('template_code_temp'); 140 if ($template_code == DEFAULT_TEMPLATE_NAME ) {141 141 if ($template_code == DEFAULT_TEMPLATE_NAME || $template_code == 'default') { 142 $this->tpl_onload = "alert('選択中のテンプレートは削除出来ません');"; 142 143 break; 143 144 } 144 145 exit; 145 146 $this->lfDeleteTemplate($template_code); 146 147 break;
Note: See TracChangeset
for help on using the changeset viewer.