Merge branch '5.3'
[GitHub/WoltLab/WCF.git] / com.woltlab.wcf / templates / tagged.tpl
CommitLineData
d0692a60 1{capture assign='pageTitle'}{lang}wcf.tagging.taggedObjects.{@$objectType}{/lang}{if $pageNo > 1} - {lang}wcf.page.pageNo{/lang}{/if}{/capture}
04c06e85 2
3e93caf9
MW
3{capture assign='contentTitle'}{lang}wcf.tagging.taggedObjects.{@$objectType}{/lang}{/capture}
4
5{capture assign='headContent'}
04c06e85 6 {if $pageNo < $pages}
e5f9b56c 7 <link rel="next" href="{link controller='Tagged' object=$tag}objectType={@$objectType}&pageNo={@$pageNo+1}{/link}">
04c06e85
MW
8 {/if}
9 {if $pageNo > 1}
e5f9b56c 10 <link rel="prev" href="{link controller='Tagged' object=$tag}objectType={@$objectType}{if $pageNo > 2}&pageNo={@$pageNo-1}{/if}{/link}">
04c06e85 11 {/if}
e5f9b56c 12 <link rel="canonical" href="{link controller='Tagged' object=$tag}objectType={@$objectType}{if $pageNo > 1}&pageNo={@$pageNo}{/if}{/link}">
3e93caf9 13{/capture}
04c06e85 14
1103d5ed 15{capture assign='sidebarRight'}
af3d18c7 16 <section class="box" data-static-box-identifier="com.woltlab.wcf.TaggedMenu">
95961bdf 17 <h2 class="boxTitle">{lang}wcf.tagging.objectTypes{/lang}</h2>
04c06e85 18
95961bdf 19 <nav class="boxContent">
a0216dd3 20 <ul class="boxMenu">
04c06e85 21 {foreach from=$availableObjectTypes item=availableObjectType}
a0216dd3 22 <li{if $objectType == $availableObjectType->objectType} class="active"{/if}><a class="boxMenuLink" href="{link controller='Tagged' object=$tag}objectType={@$availableObjectType->objectType}{/link}">{lang}wcf.tagging.objectType.{@$availableObjectType->objectType}{/lang}</a></li>
04c06e85
MW
23 {/foreach}
24 </ul>
25 </nav>
95961bdf 26 </section>
04c06e85 27
d49f7cb8
MS
28 {if !$tags|empty}
29 <section class="box" data-static-box-identifier="com.woltlab.wcf.TaggedTagCloud">
30 <h2 class="boxTitle">{lang}wcf.tagging.tags{/lang}</h2>
31
32 <div class="boxContent">
33 {include file='tagCloudBox' taggableObjectType=$objectType}
34 </div>
35 </section>
36 {/if}
04c06e85
MW
37{/capture}
38
95961bdf 39{include file='header'}
04c06e85 40
e7b063d6
AE
41{hascontent}
42 <div class="paginationTop">
43 {content}{pages print=true assign=pagesLinks controller='Tagged' object=$tag link="objectType=$objectType&pageNo=%d"}{/content}
44 </div>
45{/hascontent}
04c06e85
MW
46
47{if $items}
48 {include file=$resultListTemplateName application=$resultListApplication}
49{else}
fc7cf040 50 <p class="info" role="status">{lang}wcf.tagging.taggedObjects.noResults{/lang}</p>
04c06e85
MW
51{/if}
52
e7b063d6
AE
53<footer class="contentFooter">
54 {hascontent}
55 <div class="paginationBottom">
56 {content}{@$pagesLinks}{/content}
57 </div>
58 {/hascontent}
04c06e85
MW
59
60 {hascontent}
e7b063d6 61 <nav class="contentFooterNavigation">
04c06e85 62 <ul>
e7b063d6 63 {content}{event name='contentFooterNavigation'}{/content}
04c06e85
MW
64 </ul>
65 </nav>
66 {/hascontent}
e7b063d6 67</footer>
04c06e85
MW
68
69{include file='footer'}