From: Marcel Werk Date: Fri, 14 Oct 2016 14:59:41 +0000 (+0200) Subject: Added publication status filter X-Git-Tag: 3.0.0_Beta_3~45 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9d21c2d6552eb9d29f70733be4b7accd0da1e1b8;p=GitHub%2FWoltLab%2FWCF.git Added publication status filter --- diff --git a/wcfsetup/install/files/acp/templates/articleList.tpl b/wcfsetup/install/files/acp/templates/articleList.tpl index 64bb36f548..a846d58d23 100644 --- a/wcfsetup/install/files/acp/templates/articleList.tpl +++ b/wcfsetup/install/files/acp/templates/articleList.tpl @@ -70,6 +70,19 @@ +
+
+
+ +
+
+ {event name='filterFields'} @@ -88,6 +101,7 @@ {if $title}{capture append=linkParameters}&title={@$title|rawurlencode}{/capture}{/if} {if $content}{capture append=linkParameters}&content={@$content|rawurlencode}{/capture}{/if} {if $username}{capture append=linkParameters}&username={@$username|rawurlencode}{/capture}{/if} + {if $publicationStatus != -1}{capture append=linkParameters}&publicationStatus={@$publicationStatus}{/capture}{/if} {pages print=true assign=pagesLinks controller="ArticleList" link="pageNo=%d&sortField=$sortField&sortOrder=$sortOrder$linkParameters"} {/content} @@ -136,7 +150,11 @@
-

{$article->title}

+

+ {if $article->publicationStatus == 0}{lang}wcf.acp.article.publicationStatus.unpublished{/lang}{/if} + {if $article->publicationStatus == 2}{lang}wcf.acp.article.publicationStatus.delayed{/lang}{/if} + {$article->title} +