Commit | Line | Data |
---|---|---|
04c06e85 MW |
1 | {include file='documentHeader'} |
2 | ||
3 | <head> | |
4 | <title>{lang}wcf.tagging.taggedObjects.{@$objectType}{/lang} - {PAGE_TITLE|language}</title> | |
5 | ||
6 | {include file='headInclude'} | |
7 | ||
8 | {if $pageNo < $pages} | |
9 | <link rel="next" href="{link controller='Tagged' object=$tag}objectType={@$objectType}&pageNo={@$pageNo+1}{/link}" /> | |
10 | {/if} | |
11 | {if $pageNo > 1} | |
12 | <link rel="prev" href="{link controller='Tagged' object=$tag}objectType={@$objectType}{if $pageNo > 2}&pageNo={@$pageNo-1}{/if}{/link}" /> | |
13 | {/if} | |
14 | <link rel="canonical" href="{link controller='Tagged' object=$tag}objectType={@$objectType}{if $pageNo > 1}&pageNo={@$pageNo}{/if}{/link}" /> | |
15 | </head> | |
16 | ||
887a3153 | 17 | <body id="tpl{$templateName|ucfirst}" data-template="{$templateName}" data-application="{$templateNameApplication}"> |
04c06e85 MW |
18 | |
19 | {capture assign='sidebar'} | |
20 | <fieldset> | |
21 | <legend>{lang}wcf.tagging.objectTypes{/lang}</legend> | |
22 | ||
23 | <nav> | |
24 | <ul> | |
25 | {foreach from=$availableObjectTypes item=availableObjectType} | |
26 | <li{if $objectType == $availableObjectType->objectType} class="active"{/if}><a href="{link controller='Tagged' object=$tag}objectType={@$availableObjectType->objectType}{/link}">{lang}wcf.tagging.objectType.{@$availableObjectType->objectType}{/lang}</a></li> | |
27 | {/foreach} | |
28 | </ul> | |
29 | </nav> | |
30 | </fieldset> | |
31 | ||
32 | <fieldset> | |
33 | <legend>{lang}wcf.tagging.tags{/lang}</legend> | |
34 | ||
8e0ade25 | 35 | {include file='tagCloudBox' taggableObjectType=$objectType} |
04c06e85 MW |
36 | </fieldset> |
37 | {/capture} | |
38 | ||
39 | {include file='header' sidebarOrientation='left'} | |
40 | ||
41 | <header class="boxHeadline"> | |
42 | <h1>{lang}wcf.tagging.taggedObjects.{@$objectType}{/lang}</h1> | |
43 | </header> | |
44 | ||
45 | {include file='userNotice'} | |
46 | ||
47 | <div class="contentNavigation"> | |
48 | {pages print=true assign=pagesLinks controller='Tagged' object=$tag link="objectType=$objectType&pageNo=%d"} | |
49 | ||
50 | {hascontent} | |
51 | <nav> | |
52 | <ul> | |
53 | {content} | |
54 | {event name='contentNavigationButtonsTop'} | |
55 | {/content} | |
56 | </ul> | |
57 | </nav> | |
58 | {/hascontent} | |
59 | </div> | |
60 | ||
61 | {if $items} | |
62 | {include file=$resultListTemplateName application=$resultListApplication} | |
63 | {else} | |
64 | <p class="info">{lang}wcf.tagging.taggedObjects.noResults{/lang}</p> | |
65 | {/if} | |
66 | ||
67 | <div class="contentNavigation"> | |
68 | {@$pagesLinks} | |
69 | ||
70 | {hascontent} | |
71 | <nav> | |
72 | <ul> | |
73 | {content} | |
74 | {event name='contentNavigationButtonsBottom'} | |
75 | {/content} | |
76 | </ul> | |
77 | </nav> | |
78 | {/hascontent} | |
79 | </div> | |
80 | ||
81 | {include file='footer'} | |
82 | ||
83 | </body> | |
84 | </html> |