| 1 | {capture assign='pageTitle'}{lang}wcf.tagging.taggedObjects.{@$objectType}{if $pageNo > 1} - {lang}wcf.page.pageNo{/lang}{/if}{/lang}{/capture} |
| 2 | |
| 3 | {capture assign='contentTitle'}{lang}wcf.tagging.taggedObjects.{@$objectType}{/lang}{/capture} |
| 4 | |
| 5 | {capture assign='headContent'} |
| 6 | {if $pageNo < $pages} |
| 7 | <link rel="next" href="{link controller='Tagged' object=$tag}objectType={@$objectType}&pageNo={@$pageNo+1}{/link}" /> |
| 8 | {/if} |
| 9 | {if $pageNo > 1} |
| 10 | <link rel="prev" href="{link controller='Tagged' object=$tag}objectType={@$objectType}{if $pageNo > 2}&pageNo={@$pageNo-1}{/if}{/link}" /> |
| 11 | {/if} |
| 12 | <link rel="canonical" href="{link controller='Tagged' object=$tag}objectType={@$objectType}{if $pageNo > 1}&pageNo={@$pageNo}{/if}{/link}" /> |
| 13 | {/capture} |
| 14 | |
| 15 | {capture assign='sidebarLeft'} |
| 16 | <section class="box"> |
| 17 | <h2 class="boxTitle">{lang}wcf.tagging.objectTypes{/lang}</h2> |
| 18 | |
| 19 | <nav class="boxContent"> |
| 20 | <ul class="boxMenu"> |
| 21 | {foreach from=$availableObjectTypes item=availableObjectType} |
| 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> |
| 23 | {/foreach} |
| 24 | </ul> |
| 25 | </nav> |
| 26 | </section> |
| 27 | |
| 28 | <section class="box"> |
| 29 | <h2 class="boxTitle">{lang}wcf.tagging.tags{/lang}</h2> |
| 30 | |
| 31 | <div class="boxContent"> |
| 32 | {include file='tagCloudBox' taggableObjectType=$objectType} |
| 33 | </div> |
| 34 | </section> |
| 35 | {/capture} |
| 36 | |
| 37 | {include file='header'} |
| 38 | |
| 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} |
| 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 | |
| 51 | <footer class="contentFooter"> |
| 52 | {hascontent} |
| 53 | <div class="paginationBottom"> |
| 54 | {content}{@$pagesLinks}{/content} |
| 55 | </div> |
| 56 | {/hascontent} |
| 57 | |
| 58 | {hascontent} |
| 59 | <nav class="contentFooterNavigation"> |
| 60 | <ul> |
| 61 | {content}{event name='contentFooterNavigation'}{/content} |
| 62 | </ul> |
| 63 | </nav> |
| 64 | {/hascontent} |
| 65 | </footer> |
| 66 | |
| 67 | {include file='footer'} |