| 6 |
Type Description |
Type Description |
| 7 |
A Add article |
A Add article |
| 8 |
D Delete article |
D Delete article |
| 9 |
|
X Delete article by Admin |
| 10 |
S Restore article |
S Restore article |
| 11 |
L Lock article |
L Lock article |
| 12 |
U Unlock article |
U Unlock article |
| 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 |
|
|
| 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 |
?> |
?> |