-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathfooter.tpl
148 lines (135 loc) · 6.75 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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
</div>
</div>
{if !$inShoppingCart && $secondarySidebar->hasChildren()}
<div class="d-lg-none sidebar sidebar-secondary">
{include file="$template/includes/sidebar.tpl" sidebar=$secondarySidebar}
</div>
{/if}
<div class="clearfix"></div>
</div>
</div>
</section>
<footer id="footer" class="footer">
<div class="container">
<ul class="list-inline mb-7 text-center float-lg-right">
{include file="$template/includes/social-accounts.tpl"}
{if $languagechangeenabled && count($locales) > 1 || $currencies}
<li class="list-inline-item">
<button type="button" class="btn" data-toggle="modal" data-target="#modalChooseLanguage">
<div class="d-inline-block align-middle">
<div class="iti-flag {if $activeLocale.countryCode === '001'}us{else}{$activeLocale.countryCode|lower}{/if}"></div>
</div>
{$activeLocale.localisedName}
/
{$activeCurrency.prefix}
{$activeCurrency.code}
</button>
</li>
{/if}
</ul>
<ul class="nav justify-content-center justify-content-lg-start mb-7">
<li class="nav-item">
<a class="nav-link" href="{$WEB_ROOT}/contact.php">
{lang key='contactus'}
</a>
</li>
{if $acceptTOS}
<li class="nav-item">
<a class="nav-link" href="{$tosURL}" target="_blank">{lang key='ordertos'}</a>
</li>
{/if}
</ul>
<p class="copyright mb-0">
{lang key="copyrightFooterNotice" year=$date_year company=$companyname}
</p>
</div>
</footer>
<div id="fullpage-overlay" class="w-hidden">
<div class="outer-wrapper">
<div class="inner-wrapper">
<img src="{$WEB_ROOT}/assets/img/overlay-spinner.svg" alt="">
<br>
<span class="msg"></span>
</div>
</div>
</div>
<div class="modal system-modal fade" id="modalAjax" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title"></h5>
<button type="button" class="close" data-dismiss="modal">
<span aria-hidden="true">×</span>
<span class="sr-only">{lang key='close'}</span>
</button>
</div>
<div class="modal-body">
{lang key='loading'}
</div>
<div class="modal-footer">
<div class="float-left loader">
<i class="fas fa-circle-notch fa-spin"></i>
{lang key='loading'}
</div>
<button type="button" class="btn btn-default" data-dismiss="modal">
{lang key='close'}
</button>
<button type="button" class="btn btn-primary modal-submit">
{lang key='submit'}
</button>
</div>
</div>
</div>
</div>
<form method="get" action="{$currentpagelinkback}">
<div class="modal modal-localisation" id="modalChooseLanguage" tabindex="-1" role="dialog">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-body">
<button type="button" class="close text-light" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
{if $languagechangeenabled && count($locales) > 1}
<h5 class="h5 pt-5 pb-3">{lang key='chooselanguage'}</h5>
<div class="row item-selector">
<input type="hidden" name="language" data-current="{$language}" value="{$language}" />
{foreach $locales as $locale}
<div class="col-4">
<a href="#" class="item{if $language == $locale.language} active{/if}" data-value="{$locale.language}">
{$locale.localisedName}
</a>
</div>
{/foreach}
</div>
{/if}
{if !$loggedin && $currencies}
<p class="h5 pt-5 pb-3">{lang key='choosecurrency'}</p>
<div class="row item-selector">
<input type="hidden" name="currency" data-current="{$activeCurrency.id}" value="">
{foreach $currencies as $selectCurrency}
<div class="col-4">
<a href="#" class="item{if $activeCurrency.id == $selectCurrency.id} active{/if}" data-value="{$selectCurrency.id}">
{$selectCurrency.prefix} {$selectCurrency.code}
</a>
</div>
{/foreach}
</div>
{/if}
</div>
<div class="modal-footer">
<button type="submit" class="btn btn-default">{lang key='apply'}</button>
</div>
</div>
</div>
</div>
</form>
{if !$loggedin && $adminLoggedIn}
<a href="{$WEB_ROOT}/logout.php?returntoadmin=1" class="btn btn-return-to-admin" data-toggle="tooltip" data-placement="bottom" title="{if $adminMasqueradingAsClient}{lang key='adminmasqueradingasclient'} {lang key='logoutandreturntoadminarea'}{else}{lang key='adminloggedin'} {lang key='returntoadminarea'}{/if}">
<i class="fas fa-redo-alt"></i>
<span class="d-none d-md-inline-block">{lang key="admin.returnToAdmin"}</span>
</a>
{/if}
{include file="$template/includes/generate-password.tpl"}
{$footeroutput}
</body>
</html>