Improved tagging result page
authorMarcel Werk <burntime@woltlab.com>
Sun, 1 May 2016 22:39:35 +0000 (00:39 +0200)
committerMarcel Werk <burntime@woltlab.com>
Tue, 3 May 2016 09:35:32 +0000 (11:35 +0200)
com.woltlab.wcf/templates/tagged.tpl
wcfsetup/install/files/lib/page/TaggedPage.class.php

index 2460e6282237a123ef56b8edb59b6a9c53886fb9..adfff67bce52c9d9a676e601f553d0839ce07074 100644 (file)
@@ -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}
 
index 546519f8a6f39c1bba0ab9042cbb87638db84074..222e51cd5d297675008976bd968845c45c2c9593 100644 (file)
@@ -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) {