Added proper support for font size and color
[GitHub/WoltLab/WCF.git] / com.woltlab.wcf / templates / tagged.tpl
index 657fdad9f39262a625041b4a3192fdd752ca2433..adfff67bce52c9d9a676e601f553d0839ce07074 100644 (file)
@@ -1,10 +1,8 @@
-{include file='documentHeader'}
+{capture assign='pageTitle'}{lang}wcf.tagging.taggedObjects.{@$objectType}{if $pageNo > 1} - {lang}wcf.page.pageNo{/lang}{/if}{/lang}{/capture}
 
-<head>
-       <title>{lang}wcf.tagging.taggedObjects.{@$objectType}{/lang} - {PAGE_TITLE|language}</title>
-       
-       {include file='headInclude'}
-       
+{capture assign='contentTitle'}{lang}wcf.tagging.taggedObjects.{@$objectType}{/lang}{/capture}
+
+{capture assign='headContent'}
        {if $pageNo < $pages}
                <link rel="next" href="{link controller='Tagged' object=$tag}objectType={@$objectType}&pageNo={@$pageNo+1}{/link}" />
        {/if}
@@ -12,9 +10,7 @@
                <link rel="prev" href="{link controller='Tagged' object=$tag}objectType={@$objectType}{if $pageNo > 2}&pageNo={@$pageNo-1}{/if}{/link}" />
        {/if}
        <link rel="canonical" href="{link controller='Tagged' object=$tag}objectType={@$objectType}{if $pageNo > 1}&pageNo={@$pageNo}{/if}{/link}" />
-</head>
-
-<body id="tpl{$templateName|ucfirst}" data-template="{$templateName}" data-application="{$templateNameApplication}">
+{/capture}
 
 {capture assign='sidebarLeft'}
        <section class="box">
 
 {include file='header'}
 
-<header class="contentHeader">
-       <div class="contentHeaderTitle">
-               <h1 class="contentTitle">{lang}wcf.tagging.taggedObjects.{@$objectType}{/lang}</h1>
-       </div>
-       
-       {hascontent}
-               <nav class="contentHeaderNavigation">
-                       <ul>
-                               {content}{event name='contentHeaderNavigation'}{/content}
-                       </ul>
-               </nav>
-       {/hascontent}
-</header>
-
-{include file='userNotice'}
-
 {hascontent}
        <div class="paginationTop">
                {content}{pages print=true assign=pagesLinks controller='Tagged' object=$tag link="objectType=$objectType&pageNo=%d"}{/content}
@@ -85,6 +65,3 @@
 </footer>
 
 {include file='footer'}
-
-</body>
-</html>
\ No newline at end of file