Ignore:
Timestamp:
2006/08/31 11:58:40 (20 years ago)
Author:
naka
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/data/lib/slib.php

    r3420 r3441  
    55require_once( $INC_PATH ."/../conf/conf.php" ); 
    66require_once( $INC_PATH ."/../class/SC_DbConn.php" ); 
     7 
     8$GLOBAL_ERR = ""; 
    79 
    810// ¥¤¥ó¥¹¥È¡¼¥ë½é´ü½èÍý 
     
    6668// Áõ¾þÉÕ¤­¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤Îɽ¼¨ 
    6769function sfErrorHeader($mess) { 
    68     print("<meta http-equiv='Content-Type' content='text/html; charset=EUC-JP'>"); 
    69     print("<table width='100%' border='0' cellspacing='0' cellpadding='0' summary=' '>"); 
    70     print(" <tr>"); 
    71     print("<td bgcolor='#ffeebb' height='25' colspan='2' align='center'>"); 
    72     print("<SPAN style='color:red; font-size:12px'><strong>" . $mess . "</strong></span>"); 
    73     print("</td>"); 
    74     print(" </tr>"); 
    75     print("</table>");   
     70    global $GLOBAL_ERR; 
     71    if($GLOBAL_ERR == "") { 
     72        $GLOBAL_ERR = "<meta http-equiv='Content-Type' content='text/html; charset=EUC-JP'>\n"; 
     73    } 
     74    $GLOBAL_ERR.= "<table width='100%' border='0' cellspacing='0' cellpadding='0' summary=' '>\n"; 
     75    $GLOBAL_ERR.= "<tr>\n"; 
     76    $GLOBAL_ERR.= "<td bgcolor='#ffeebb' height='25' colspan='2' align='center'>\n"; 
     77    $GLOBAL_ERR.= "<SPAN style='color:red; font-size:12px'><strong>" . $mess . "</strong></span>\n"; 
     78    $GLOBAL_ERR.= "</td>\n"; 
     79    $GLOBAL_ERR.= " </tr>\n"; 
     80    $GLOBAL_ERR.= "</table>\n";  
    7681} 
    7782 
Note: See TracChangeset for help on using the changeset viewer.