Changeset 22796 for branches/version-2_12-dev/data/class/pages/admin/design/LC_Page_Admin_Design_CSS.php
- Timestamp:
- 2013/05/02 18:11:36 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/admin/design/LC_Page_Admin_Design_CSS.php
r22567 r22796 32 32 * @version $Id$ 33 33 */ 34 class LC_Page_Admin_Design_CSS extends LC_Page_Admin_Ex 35 { 34 class LC_Page_Admin_Design_CSS extends LC_Page_Admin_Ex { 36 35 37 36 // }}} … … 43 42 * @return void 44 43 */ 45 function init() 46 { 44 function init() { 47 45 parent::init(); 48 46 $this->tpl_mainpage = 'design/css.tpl'; … … 61 59 * @return void 62 60 */ 63 function process() 64 { 61 function process() { 65 62 $this->action(); 66 63 $this->sendResponse(); … … 72 69 * @return void 73 70 */ 74 function action() 75 { 71 function action() { 76 72 77 73 $objLayout = new SC_Helper_PageLayout_Ex(); … … 146 142 * @return void 147 143 */ 148 function destroy() 149 { 144 function destroy() { 150 145 parent::destroy(); 151 146 } … … 157 152 * @return void 158 153 */ 159 function lfInitParam(&$objFormParam) 160 { 154 function lfInitParam(&$objFormParam) { 161 155 $objFormParam->addParam('端末種別ID', 'device_type_id', INT_LEN, 'n', array('NUM_CHECK', 'MAX_LENGTH_CHECK')); 162 156 $objFormParam->addParam('CSSファイル名', 'css_name', STEXT_LEN, 'a', array('MAX_LENGTH_CHECK')); … … 178 172 * @return boolean 登録が成功した場合 true; 失敗した場合 false 179 173 */ 180 function doRegister($css_dir, $css_name, $old_css_name, $css_path, $css_data) 181 { 174 function doRegister($css_dir, $css_name, $old_css_name, $css_path, $css_data) { 182 175 $objFileManager = new SC_Helper_FileManager_Ex(); 183 176 … … 203 196 * @return boolean 削除が成功した場合 true; 失敗した場合 false 204 197 */ 205 function doDelete($css_path) 206 { 198 function doDelete($css_path) { 207 199 if (!unlink($css_path)) { 208 200 $this->arrErr['err'] = '※ CSSの削除に失敗しました<br />'; … … 218 210 * @return array ファイルリスト 219 211 */ 220 function getCSSList($css_dir) 221 { 212 function getCSSList($css_dir) { 222 213 $objFileManager = new SC_Helper_FileManager_Ex(); 223 214 … … 240 231 * @return array エラーメッセージの配列 241 232 */ 242 function lfCheckError(&$objFormParam, &$arrErr) 243 { 233 function lfCheckError(&$objFormParam, &$arrErr) { 244 234 $arrParams = $objFormParam->getHashArray(); 245 235 $objErr = new SC_CheckError_Ex($arrParams); … … 276 266 * @return string CSSディレクトリ 277 267 */ 278 function getCSSDir($device_type_id) 279 { 268 function getCSSDir($device_type_id) { 280 269 return SC_Helper_PageLayout_Ex::getTemplatePath($device_type_id, true) . 'css/'; 281 270 } … … 286 275 * @return boolean 287 276 */ 288 function checkPath($str) 289 { 277 function checkPath($str) { 290 278 // 含む場合はfalse 291 279 if (preg_match('|\./|', $str)) {
Note: See TracChangeset
for help on using the changeset viewer.