mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
fix: reports pagination stays on subsection, if one is selected
This commit is contained in:
@@ -35,7 +35,7 @@ $noticeClass = array("Scout Report","Won as attacker without losses","Won as att
|
||||
echo "«»";
|
||||
}
|
||||
else if (!isset($_GET['s']) && count($message->noticearray) > 10) {
|
||||
echo "«<a href=\"?s=10&o=0\">»</a>";
|
||||
echo "«<a href=\"?".(!empty($_GET['t']) ? 't='.$_GET['t'].'&' : '')."s=10&o=0\">»</a>";
|
||||
}
|
||||
else if(isset($_GET['s']) && count($message->noticearray) > $_GET['s']) {
|
||||
if(count($message->noticearray) > ($_GET['s']+10) && $_GET['s']-10 < count($message->noticearray) && $_GET['s'] != 0) {
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
- allow to redirect Support messages to admin's nickname (for when there's only a single admin and doesn't like switching between Support and themselves)
|
||||
- disallow Support to play (single cookie for Admin and the game means support gets no village and lots of warnings when they switch to game now)
|
||||
- resetting res bonus in admin actually says that bonus was given after OK is pressed
|
||||
- pagination in attacks goes to "All" reports instead of staying in "Attacks"
|
||||
- quest image should glow red when new task is ready to be read (now it's only red when page is refreshed)
|
||||
- disallow kicking yourself from alliance or provide a confirmation dialog and correct redirect
|
||||
- sending messages to players via Admin doesn't work
|
||||
|
||||
Reference in New Issue
Block a user