Revert "Removed obsolete trailing slashes from void elements"
[GitHub/WoltLab/WCF.git] / com.woltlab.wcf / templates / tagged.tpl
CommitLineData
8b42aae7 1{capture assign='pageTitle'}{lang}wcf.tagging.taggedObjects.{@$objectType}{if $pageNo > 1} - {lang}wcf.page.pageNo{/lang}{/if}{/lang}{/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}
ef1f5b4a 7 <link rel="next" href="{link controller='Tagged' object=$tag}objectType={@$objectType}&pageNo={@$pageNo+1}{/link}" />
04c06e85
MW
8 {/if}
9 {if $pageNo > 1}
ef1f5b4a 10 <link rel="prev" href="{link controller='Tagged' object=$tag}objectType={@$objectType}{if $pageNo > 2}&pageNo={@$pageNo-1}{/if}{/link}" />
04c06e85 11 {/if}
ef1f5b4a 12 <link rel="canonical" href="{link controller='Tagged' object=$tag}objectType={@$objectType}{if $pageNo > 1}&pageNo={@$pageNo}{/if}{/link}" />
3e93caf9 13{/capture}
04c06e85 14
95961bdf
MW
15{capture assign='sidebarLeft'}
16 <section class="box">
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
95961bdf
MW
28 <section class="box">
29 <h2 class="boxTitle">{lang}wcf.tagging.tags{/lang}</h2>
04c06e85 30
95961bdf
MW
31 <div class="boxContent">
32 {include file='tagCloudBox' taggableObjectType=$objectType}
33 </div>
34 </section>
04c06e85
MW
35{/capture}
36
95961bdf 37{include file='header'}
04c06e85 38
e7b063d6
AE
39{hascontent}
40 <div class="paginationTop">
41 {content}{pages print=true assign=pagesLinks controller='Tagged' object=$tag link="objectType=$objectType&pageNo=%d"}{/content}
42 </div>
43{/hascontent}
04c06e85
MW
44
45{if $items}
46 {include file=$resultListTemplateName application=$resultListApplication}
47{else}
48 <p class="info">{lang}wcf.tagging.taggedObjects.noResults{/lang}</p>
49{/if}
50
e7b063d6
AE
51<footer class="contentFooter">
52 {hascontent}
53 <div class="paginationBottom">
54 {content}{@$pagesLinks}{/content}
55 </div>
56 {/hascontent}
04c06e85
MW
57
58 {hascontent}
e7b063d6 59 <nav class="contentFooterNavigation">
04c06e85 60 <ul>
e7b063d6 61 {content}{event name='contentFooterNavigation'}{/content}
04c06e85
MW
62 </ul>
63 </nav>
64 {/hascontent}
e7b063d6 65</footer>
04c06e85
MW
66
67{include file='footer'}