From: Marcel Werk Date: Sun, 1 May 2016 22:39:35 +0000 (+0200) Subject: Improved tagging result page X-Git-Tag: 3.0.0_Beta_1~1770 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8b42aae719eb6f5ab649e04e182e989bb5d5fbdd;p=GitHub%2FWoltLab%2FWCF.git Improved tagging result page --- diff --git a/com.woltlab.wcf/templates/tagged.tpl b/com.woltlab.wcf/templates/tagged.tpl index 2460e62822..adfff67bce 100644 --- a/com.woltlab.wcf/templates/tagged.tpl +++ b/com.woltlab.wcf/templates/tagged.tpl @@ -1,4 +1,4 @@ -{capture assign='pageTitle'}{lang}wcf.tagging.taggedObjects.{@$objectType}{/lang}{/capture} +{capture assign='pageTitle'}{lang}wcf.tagging.taggedObjects.{@$objectType}{if $pageNo > 1} - {lang}wcf.page.pageNo{/lang}{/if}{/lang}{/capture} {capture assign='contentTitle'}{lang}wcf.tagging.taggedObjects.{@$objectType}{/lang}{/capture} diff --git a/wcfsetup/install/files/lib/page/TaggedPage.class.php b/wcfsetup/install/files/lib/page/TaggedPage.class.php index 546519f8a6..222e51cd5d 100644 --- a/wcfsetup/install/files/lib/page/TaggedPage.class.php +++ b/wcfsetup/install/files/lib/page/TaggedPage.class.php @@ -126,8 +126,7 @@ class TaggedPage extends MultipleLinkPage { 'availableObjectTypes' => $this->availableObjectTypes, 'objectType' => $this->objectType->objectType, 'resultListTemplateName' => $this->objectType->getProcessor()->getTemplateName(), - 'resultListApplication' => $this->objectType->getProcessor()->getApplication(), - 'allowSpidersToIndexThisPage' => true + 'resultListApplication' => $this->objectType->getProcessor()->getApplication() )); if (count($this->objectList) === 0) {