- Timestamp:
- 2007/07/20 15:58:59 (19 years ago)
- Location:
- branches/feature-module-update
- Files:
-
- 1 edited
- 2 copied
-
. (copied) (copied from branches/rel) (1 prop)
-
html (copied) (copied from branches/rel/html)
-
html/admin/design/css.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update
-
Property
svn:ignore
set to
.cache
.settings
.projectOptions
-
Property
svn:ignore
set to
-
branches/feature-module-update/html/admin/design/css.php
r12157 r15078 17 17 $this->tpl_subno = "css"; 18 18 $this->tpl_mainno = "design"; 19 $this->tpl_subtitle = 'CSS ÊÔ½¸';19 $this->tpl_subtitle = 'CSS編集'; 20 20 } 21 21 } … … 24 24 $objView = new SC_AdminView(); 25 25 26 // ǧ¾Ú²ÄÈݤÎȽÄê26 // 認証可否の判定 27 27 $objSess = new SC_Session(); 28 28 sfIsSuccess($objSess); … … 30 30 $css_path = USER_PATH . "css/contents.css"; 31 31 32 // ¥Ç¡¼¥¿¹¹¿·½èÍý32 // データ更新処理 33 33 if ($_POST['mode'] == 'confirm'){ 34 // ¥×¥ì¥Ó¥å¡¼Íѥƥó¥×¥ì¡¼¥È¤Ë½ñ¤¹þ¤ß34 // プレビュー用テンプレートに書き込み 35 35 $fp = fopen($css_path,"w"); 36 36 fwrite($fp, $_POST['css']); 37 37 fclose($fp); 38 38 39 $objPage->tpl_onload="alert(' ÅÐÏ¿¤¬´°Î»¤·¤Þ¤·¤¿¡£');";39 $objPage->tpl_onload="alert('登録が完了しました。');"; 40 40 } 41 41 42 // CSS ¥Õ¥¡¥¤¥ë¤ÎÆÉ¤ß¹þ¤ß42 // CSSファイルの読み込み 43 43 if(file_exists($css_path)){ 44 44 $css_data = file_get_contents($css_path); 45 45 } 46 46 47 // ¥Æ¥¥¹¥È¥¨¥ê¥¢¤Ëɽ¼¨47 // テキストエリアに表示 48 48 $objPage->css_data = $css_data; 49 49 50 // ²èÌ̤Îɽ¼¨50 // 画面の表示 51 51 $objView->assignobj($objPage); 52 52 $objView->display(MAIN_FRAME);
Note: See TracChangeset
for help on using the changeset viewer.
