parent
07ab3915c4
commit
9c43f5440e
|
@ -1033,7 +1033,7 @@ function comment_admin() {
|
|||
$status = $comment_settings["status"];
|
||||
$comment_page = $comment_settings["comment_page"];
|
||||
}
|
||||
print comment_admin_overview(0, $comment_page);
|
||||
print comment_admin_overview(0);
|
||||
break;
|
||||
case t("Submit"):
|
||||
print status(comment_save(check_query(arg(3)), $edit));
|
||||
|
@ -1041,10 +1041,15 @@ function comment_admin() {
|
|||
$status = $comment_settings["status"];
|
||||
$comment_page = $comment_settings["comment_page"];
|
||||
}
|
||||
print comment_admin_overview(0, $comment_page);
|
||||
print comment_admin_overview(0);
|
||||
break;
|
||||
default:
|
||||
print comment_admin_overview(arg(2), $comment_page);
|
||||
if (arg(2) == 1) {
|
||||
print comment_admin_overview(1);
|
||||
}
|
||||
else {
|
||||
print comment_admin_overview(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
|
|
@ -1033,7 +1033,7 @@ function comment_admin() {
|
|||
$status = $comment_settings["status"];
|
||||
$comment_page = $comment_settings["comment_page"];
|
||||
}
|
||||
print comment_admin_overview(0, $comment_page);
|
||||
print comment_admin_overview(0);
|
||||
break;
|
||||
case t("Submit"):
|
||||
print status(comment_save(check_query(arg(3)), $edit));
|
||||
|
@ -1041,10 +1041,15 @@ function comment_admin() {
|
|||
$status = $comment_settings["status"];
|
||||
$comment_page = $comment_settings["comment_page"];
|
||||
}
|
||||
print comment_admin_overview(0, $comment_page);
|
||||
print comment_admin_overview(0);
|
||||
break;
|
||||
default:
|
||||
print comment_admin_overview(arg(2), $comment_page);
|
||||
if (arg(2) == 1) {
|
||||
print comment_admin_overview(1);
|
||||
}
|
||||
else {
|
||||
print comment_admin_overview(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue