- Timestamp:
- 2007/10/22 10:56:23 (16 years ago)
- Location:
- branches/feature-module-update/data
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/Smarty/templates/default/site_main.tpl
r16272 r16531 5 5 *}--> 6 6 <body onload="preLoadImg('<!--{$smarty.const.URL_DIR}-->'); <!--{$tpl_onload}-->"> 7 <!--{$GLOBAL_ERR}--> 7 8 <noscript> 8 9 <p>JavaScript を有効にしてご利用下さい.</p> -
branches/feature-module-update/data/class/SC_View.php
r16446 r16531 111 111 global $GLOBAL_ERR; 112 112 if(!defined('OUTPUT_ERR')) { 113 print($GLOBAL_ERR); 113 // GLOBAL_ERR を割り当て 114 $this->assign("GLOBAL_ERR", $GLOBAL_ERR); 114 115 define('OUTPUT_ERR','ON'); 115 116 } -
branches/feature-module-update/data/class/util/SC_Utils.php
r16497 r16531 68 68 $path = HTML_PATH . "install/index.php"; 69 69 if(file_exists($path)) { 70 SC_Utils::sfErrorHeader(" >>/install/index.phpは、インストール完了後にファイルを削除してください。");70 SC_Utils::sfErrorHeader(">> /install/index.phpは、インストール完了後にファイルを削除してください。"); 71 71 } 72 72 … … 74 74 $path = HTML_PATH . "install.php"; 75 75 if(file_exists($path)) { 76 SC_Utils::sfErrorHeader(" >>/install.phpはセキュリティーホールとなります。削除してください。");76 SC_Utils::sfErrorHeader(">> /install.phpはセキュリティーホールとなります。削除してください。"); 77 77 } 78 78 } … … 92 92 function sfErrorHeader($mess, $print = false) { 93 93 global $GLOBAL_ERR; 94 if($GLOBAL_ERR == "") { 95 $GLOBAL_ERR = "<meta http-equiv='Content-Type' content='text/html; charset=" . CHAR_CODE . "'>\n"; 96 } 97 $GLOBAL_ERR.= "<table width='100%' border='0' cellspacing='0' cellpadding='0' summary=' '>\n"; 98 $GLOBAL_ERR.= "<tr>\n"; 99 $GLOBAL_ERR.= "<td bgcolor='#ffeebb' height='25' colspan='2' align='center'>\n"; 100 $GLOBAL_ERR.= "<SPAN style='color:red; font-size:12px'><strong>" . $mess . "</strong></span>\n"; 101 $GLOBAL_ERR.= "</td>\n"; 102 $GLOBAL_ERR.= " </tr>\n"; 103 $GLOBAL_ERR.= "</table>\n"; 104 94 $GLOBAL_ERR.="<div style='color: #F00; font-weight: bold; " 95 . "background-color: #FEB; text-align: center; padding: 5px;'>"; 96 $GLOBAL_ERR.= $mess; 97 $GLOBAL_ERR.= "</div>"; 105 98 if($print) { 106 99 print($GLOBAL_ERR);
Note: See TracChangeset
for help on using the changeset viewer.