/[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.6 by sysadm, Sat Apr 5 15:19:16 2025 UTC Revision 1.8 by sysadm, Sun Apr 20 10:35:25 2025 UTC
# Line 16  function article_op_log(int $aid, int $u Line 16  function article_op_log(int $aid, int $u
16                  O               Unset article as excerption                  O               Unset article as excerption
17                  F               Set article on top                  F               Set article on top
18                  V               Unset article on top                  V               Unset article on top
                 R               Recommend article  
                 N               Unrecommend article  
19                  Z               Set article as trnasship                  Z               Set article as trnasship
20          */          */
21    
# Line 39  function user_exp_change(int $uid, int $ Line 37  function user_exp_change(int $uid, int $
37          return $ret;          return $ret;
38  }  }
39    
 //Display error message in a pop-up window  
 function error_msg($msg, $back=false, $close=false)  
 {  
         $ret = "<script language=\"JavaScript\">\n".  
                 "       alert(\"".str_replace("\n","\\\n",$msg)."\");\n".  
                 ($back?"        history.go(-1);\n":"").  
                 ($close?"       self.close();\n":"").  
                 "</script>";  
           
         echo $ret;  
 }  
   
40  ?>  ?>


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

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