From b10d35d1fc0528d245298602c7e36a22d989e0fe Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Sun, 13 Mar 2016 22:34:47 +0100 Subject: [PATCH] Improved CMS page list --- .../install/files/acp/templates/pageList.tpl | 60 ++++++++++++++-- .../files/lib/acp/page/PageListPage.class.php | 71 +++++++++++++++++-- .../lib/data/menu/item/MenuItem.class.php | 2 +- .../files/lib/data/page/Page.class.php | 29 ++++++-- .../lib/system/request/LinkHandler.class.php | 3 +- 5 files changed, 148 insertions(+), 17 deletions(-) diff --git a/wcfsetup/install/files/acp/templates/pageList.tpl b/wcfsetup/install/files/acp/templates/pageList.tpl index 518c6db660..4cfad27531 100644 --- a/wcfsetup/install/files/acp/templates/pageList.tpl +++ b/wcfsetup/install/files/acp/templates/pageList.tpl @@ -13,8 +13,48 @@

{lang}wcf.acp.page.list{/lang}

+
+
+

{lang}wcf.global.filter{/lang}

+ +
+
+
+
+ +
+
+ +
+
+
+ +
+
+ +
+
+
+ +
+
+ + {event name='filterFields'} +
+
+ +
+ + {@SECURITY_TOKEN_INPUT_TAG} +
+
+
- {pages print=true assign=pagesLinks controller="PageList" link="pageNo=%d&sortField=$sortField&sortOrder=$sortOrder"} + {assign var='linkParameters' value=''} + {if $name}{capture append=linkParameters}&name={@$name|rawurlencode}{/capture}{/if} + {if $title}{capture append=linkParameters}&title={@$title|rawurlencode}{/capture}{/if} + {if $content}{capture append=linkParameters}&content={@$content|rawurlencode}{/capture}{/if} + {pages print=true assign=pagesLinks controller="PageList" link="pageNo=%d&sortField=$sortField&sortOrder=$sortOrder$linkParameters"}