/
footer.tpl
129 lines (106 loc) · 3.06 KB
/
footer.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{event name='contents'}
{hascontent}
<div class="boxesContentBottom">
<div class="boxContainer">
{content}
{if !$boxesContentBottom|empty}
{@$boxesContentBottom}
{/if}
{foreach from=$__wcf->getBoxHandler()->getBoxes('contentBottom') item=box}
{@$box->render()}
{/foreach}
{/content}
</div>
</div>
{/hascontent}
{if MODULE_WCF_AD && $__disableAds|empty}
{@$__wcf->getAdHandler()->getAds('com.woltlab.wcf.footer.content')}
{/if}
</div>
{capture assign='__sidebarRightContent'}
{event name='boxesSidebarRightTop'}
{* WCF2.1 Fallback *}
{if !$sidebar|empty}
{if !$sidebarOrientation|isset || $sidebarOrientation == 'right'}
{@$sidebar}
{/if}
{/if}
{if !$sidebarRight|empty}
{@$sidebarRight}
{/if}
{foreach from=$__wcf->getBoxHandler()->getBoxes('sidebarRight') item=box}
{@$box->render()}
{/foreach}
{event name='boxesSidebarRightBottom'}
{/capture}
{if $__sidebarRightContent|trim}
<aside class="sidebar boxesSidebarRight" aria-label="{lang}wcf.page.sidebar.right{/lang}">
<div class="boxContainer">
{if MODULE_WCF_AD && $__disableAds|empty && $__wcf->getAdHandler()->getAds('com.woltlab.wcf.sidebar.top')}
<div class="box boxBorderless">
<div class="boxContent">
{@$__wcf->getAdHandler()->getAds('com.woltlab.wcf.sidebar.top')}
</div>
</div>
{/if}
{@$__sidebarRightContent}
{if MODULE_WCF_AD && $__disableAds|empty && $__wcf->getAdHandler()->getAds('com.woltlab.wcf.sidebar.bottom')}
<div class="box boxBorderless">
<div class="boxContent">
{@$__wcf->getAdHandler()->getAds('com.woltlab.wcf.sidebar.bottom')}
</div>
</div>
{/if}
</div>
</aside>
{/if}
</div>
</section>
{hascontent}
<div class="boxesBottom">
<div class="boxContainer">
{content}
{if !$boxesBottom|empty}
{@$boxesBottom}
{/if}
{foreach from=$__wcf->getBoxHandler()->getBoxes('bottom') item=box}
{@$box->render()}
{/foreach}
{/content}
</div>
</div>
{/hascontent}
{hascontent}
<div class="boxesFooterBoxes">
<div class="layoutBoundary">
<div class="boxContainer">
{content}
{if !$footerBoxes|empty}
{@$footerBoxes}
{/if}
{foreach from=$__wcf->getBoxHandler()->getBoxes('footerBoxes') item=box}
{@$box->render()}
{/foreach}
{/content}
</div>
</div>
</div>
{/hascontent}
{include file='pageFooter'}
</div>
{event name='footer'}
<div class="pageFooterStickyNotice">
{event name='pageFooterStickyNotice'}
<noscript>
<div class="info" role="status">
<div class="layoutBoundary">
<span class="javascriptDisabledWarningText">{lang}wcf.page.javascriptDisabled{/lang}</span>
</div>
</div>
</noscript>
</div>
<!-- {$__wcf->getRequestNonce('JAVASCRIPT_RELOCATE_POSITION')} -->
{@FOOTER_CODE}
<span id="bottom"></span>
</body>
</html>