From 8b42aae719eb6f5ab649e04e182e989bb5d5fbdd Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Mon, 2 May 2016 00:39:35 +0200 Subject: [PATCH] Improved tagging result page --- com.woltlab.wcf/templates/tagged.tpl | 2 +- wcfsetup/install/files/lib/page/TaggedPage.class.php | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) 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) { -- 2.20.1