| 1 | {capture assign='pageTitle'}{lang}wcf.tagging.taggedObjects.{@$objectType}{/lang}{if $pageNo > 1} - {lang}wcf.page.pageNo{/lang}{/if}{/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='sidebarRight'} |
| 16 | <section class="box" data-static-box-identifier="com.woltlab.wcf.TaggedMenu"> |
| 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}> |
| 23 | <a class="boxMenuLink" href="{link controller='Tagged' object=$tag}objectType={@$availableObjectType->objectType}{/link}"> |
| 24 | <span class="boxMenuLinkTitle">{lang}wcf.tagging.objectType.{@$availableObjectType->objectType}{/lang}</span> |
| 25 | <span class="badge">{#$itemsPerType[$availableObjectType->objectType]}</span> |
| 26 | </a> |
| 27 | </li> |
| 28 | {/foreach} |
| 29 | </ul> |
| 30 | </nav> |
| 31 | </section> |
| 32 | |
| 33 | {if !$tags|empty} |
| 34 | <section class="box" data-static-box-identifier="com.woltlab.wcf.TaggedTagCloud"> |
| 35 | <h2 class="boxTitle">{lang}wcf.tagging.tags{/lang}</h2> |
| 36 | |
| 37 | <div class="boxContent"> |
| 38 | {include file='tagCloudBox' taggableObjectType=$objectType} |
| 39 | </div> |
| 40 | </section> |
| 41 | {/if} |
| 42 | {/capture} |
| 43 | |
| 44 | {capture assign='contentInteractionPagination'} |
| 45 | {pages print=true assign=pagesLinks controller='Tagged' object=$tag link="objectType=$objectType&pageNo=%d"} |
| 46 | {/capture} |
| 47 | |
| 48 | {capture assign='contentInteractionButtons'} |
| 49 | <a href="{link controller='TagSearch'}{/link}" class="contentInteractionButton button small">{icon name='magnifying-glass'} <span>{lang}wcf.search.type.tags{/lang}</span></a> |
| 50 | {/capture} |
| 51 | |
| 52 | {include file='header'} |
| 53 | |
| 54 | {if $items} |
| 55 | {include file=$resultListTemplateName application=$resultListApplication} |
| 56 | {else} |
| 57 | <woltlab-core-notice type="info">{lang}wcf.tagging.taggedObjects.noResults{/lang}</woltlab-core-notice> |
| 58 | {/if} |
| 59 | |
| 60 | <footer class="contentFooter"> |
| 61 | {hascontent} |
| 62 | <div class="paginationBottom"> |
| 63 | {content}{@$pagesLinks}{/content} |
| 64 | </div> |
| 65 | {/hascontent} |
| 66 | |
| 67 | {hascontent} |
| 68 | <nav class="contentFooterNavigation"> |
| 69 | <ul> |
| 70 | {content}{event name='contentFooterNavigation'}{/content} |
| 71 | </ul> |
| 72 | </nav> |
| 73 | {/hascontent} |
| 74 | </footer> |
| 75 | |
| 76 | {include file='footer'} |