Changeset 20538 for branches/version-2_5-dev/data/class/pages/admin/design/LC_Page_Admin_Design_MainEdit.php
- Timestamp:
- 2011/03/07 15:23:39 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/pages/admin/design/LC_Page_Admin_Design_MainEdit.php
r20534 r20538 48 48 $this->text_row = 13; 49 49 $this->tpl_subno = "main_edit"; 50 $this->tpl_mainno = "design";50 $this->tpl_mainno = 'design'; 51 51 $this->tpl_subtitle = 'ページ詳細設定'; 52 52 } … … 91 91 92 92 // メッセージ表示 93 if (isset($_GET['msg']) && $_GET['msg'] == "on"){93 if (isset($_GET['msg']) && $_GET['msg'] == 'on'){ 94 94 $this->tpl_onload="alert('登録が完了しました。');"; 95 95 } … … 209 209 } 210 210 } 211 $_SESSION['preview'] = "ON";212 SC_Response_Ex::sendRedirectFromUrlPath('preview/' . DIR_INDEX_PATH, array( "filename" => $arrPageData[0]["filename"]));211 $_SESSION['preview'] = 'ON'; 212 SC_Response_Ex::sendRedirectFromUrlPath('preview/' . DIR_INDEX_PATH, array('filename' => $arrPageData[0]['filename'])); 213 213 } 214 214 … … 253 253 "page_id" => $arrData['page_id'], 254 254 "device_type_id" => $device_type_id, 255 "msg" => "on",255 'msg' => 'on', 256 256 ); 257 257 $this->objDisplay->reload($arrQueryString, true); … … 359 359 $objErr = new SC_CheckError_Ex($array); 360 360 $objErr->doFunc(array("名称", "page_name", STEXT_LEN), array("EXIST_CHECK", "SPTAB_CHECK", "MAX_LENGTH_CHECK")); 361 $objErr->doFunc(array( "URL", "url", STEXT_LEN), array("EXIST_CHECK", "SPTAB_CHECK", "MAX_LENGTH_CHECK"));361 $objErr->doFunc(array('URL', 'url', STEXT_LEN), array("EXIST_CHECK", "SPTAB_CHECK", "MAX_LENGTH_CHECK")); 362 362 363 363 // URLチェック … … 414 414 415 415 // ファイル作成 416 $fp = fopen($path, "w");416 $fp = fopen($path,'w'); 417 417 if ($fp === false) { 418 418 SC_Utils_Ex::sfDispException(); … … 456 456 457 457 // phpファイルの作成 458 $fp = fopen($path, "w");458 $fp = fopen($path,'w'); 459 459 fwrite($fp, $php_data); 460 460 fclose($fp);
Note: See TracChangeset
for help on using the changeset viewer.