diff --git a/acptemplate/chatSuspensionList.tpl b/acptemplate/chatSuspensionList.tpl index 3c562b8..a8b6b91 100644 --- a/acptemplate/chatSuspensionList.tpl +++ b/acptemplate/chatSuspensionList.tpl @@ -12,7 +12,7 @@

{lang}chat.acp.suspension.list{/lang}

- + {if $objects|count}
@@ -22,14 +22,14 @@
- +
- +
@@ -37,11 +37,11 @@
@@ -51,9 +51,9 @@
@@ -64,6 +64,10 @@
+ +
+ {pages print=true assign=pagesLinks application="chat" controller="ChatSuspensionList" link="pageNo=%d&userID=$userID&issuerUserID=$issuerUserID&roomID=$roomID&suspensionType=$suspensionType"} +
@@ -98,6 +102,10 @@
+ +
+ {pages print=true assign=pagesLinks application="chat" controller="ChatSuspensionList" link="pageNo=%d&username=$username&issuerUsername=$issuerUsername&roomID=$roomID&suspensionType=$suspensionType"} +
{else}

{lang}wcf.global.noItems{/lang}

{/if} diff --git a/file/lib/acp/page/ChatSuspensionListPage.class.php b/file/lib/acp/page/ChatSuspensionListPage.class.php index e121f77..062f8be 100644 --- a/file/lib/acp/page/ChatSuspensionListPage.class.php +++ b/file/lib/acp/page/ChatSuspensionListPage.class.php @@ -28,11 +28,6 @@ class ChatSuspensionListPage extends \wcf\page\SortablePage { */ public $defaultSortField = 'expires'; - /** - * @see \wcf\page\MultipleLinkPage::$itemsPerPage - */ - public $itemsPerPage = 30; - /** * @see \wcf\page\SortablePage::$validSortFields */ @@ -120,10 +115,12 @@ public function assignVariables() { WCF::getTPL()->assign(array( 'availableRooms' => \chat\data\room\RoomCache::getInstance()->getRooms(), - 'filterRoomID' => ($this->filterRoomID !== null) ? $this->filterRoomID : -1, - 'filterUsername' => $this->filterUsername, - 'filterIssuerUsername' => $this->filterIssuerUsername, - 'filterSuspensionType' => $this->filterSuspensionType + 'roomID' => ($this->filterRoomID !== null) ? $this->filterRoomID : -1, + 'username' => $this->filterUsername, + 'issuerUsername' => $this->filterIssuerUsername, + 'suspensionType' => $this->filterSuspensionType, + 'userID' => $this->filterUserID, + 'issuerUserID' => $this->filterIssuerUserID )); }