/[LeafOK_CVS]/fenglin/bbs/common_lib.inc.php
ViewVC logotype

Diff of /fenglin/bbs/common_lib.inc.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 by sysadm, Fri Sep 17 14:57:29 2004 UTC Revision 1.2 by sysadm, Thu Oct 7 15:28:30 2004 UTC
# Line 44  function user_exp_change($uid,$exp_chang Line 44  function user_exp_change($uid,$exp_chang
44  function error_msg($msg,$back=false,$close=false)  function error_msg($msg,$back=false,$close=false)
45  {  {
46          $ret = "<script language=\"JavaScript\">\n".          $ret = "<script language=\"JavaScript\">\n".
47                  "       alert(\"".$msg."\");\n".                  "       alert(\"".str_replace("\n","\\\n",$msg)."\");\n".
48                  ($back?"        history.go(-1);\n":"").                  ($back?"        history.go(-1);\n":"").
49                  ($close?"       self.close();\n":"").                  ($close?"       self.close();\n":"").
50                  "</script>";                  "</script>";


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1