Changed position of language chooser in desktop mode
[GitHub/WoltLab/WCF.git] / com.woltlab.wcf / templates / dashboard.tpl
1 {include file='documentHeader'}
2
3 <head>
4 <title>{if $__wcf->getPageMenu()->getLandingPage()->menuItem != 'wcf.user.dashboard'}{lang}wcf.user.dashboard{/lang} - {/if}{PAGE_TITLE|language}</title>
5
6 {include file='headInclude'}
7
8 <link rel="canonical" href="{link controller='Dashboard'}{/link}" />
9 </head>
10
11 <body id="tpl{$templateName|ucfirst}" data-template="{$templateName}" data-application="{$templateNameApplication}">
12
13 {if $__boxSidebar|isset && $__boxSidebar}
14 {capture assign='sidebar'}
15 {@$__boxSidebar}
16 {/capture}
17 {/if}
18
19 {include file='header' sidebarOrientation='right'}
20
21 {if $__wcf->getPageMenu()->getLandingPage()->menuItem == 'wcf.user.dashboard'}
22 <header class="boxHeadline">
23 <h1>{PAGE_TITLE|language}</h1>
24 {hascontent}<p>{content}{PAGE_DESCRIPTION|language}{/content}</p>{/hascontent}
25 </header>
26 {else}
27 <header class="boxHeadline">
28 <h1>{lang}wcf.user.dashboard{/lang}</h1>
29 </header>
30 {/if}
31
32 {include file='userNotice'}
33
34 <div class="contentNavigation">
35 {hascontent}
36 <nav>
37 <ul>
38 {content}
39 {event name='contentNavigationButtonsTop'}
40 {/content}
41 </ul>
42 </nav>
43 {/hascontent}
44 </div>
45
46 <section id="dashboard">
47 {if $__boxContent|isset}{@$__boxContent}{/if}
48 </section>
49
50 <div class="contentNavigation">
51 {hascontent}
52 <nav>
53 <ul>
54 {content}
55 {event name='contentNavigationButtonsBottom'}
56 {/content}
57 </ul>
58 </nav>
59 {/hascontent}
60 </div>
61
62 {include file='footer'}
63
64 </body>
65 </html>