Changeset 11730 for branches/comu/html/admin/design/css.php
- Timestamp:
- 2007/03/11 06:27:25 (19 years ago)
- File:
-
- 1 edited
-
branches/comu/html/admin/design/css.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/comu/html/admin/design/css.php
r11729 r11730 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.
