-
Notifications
You must be signed in to change notification settings - Fork 0
/
theme.html
315 lines (312 loc) · 14.1 KB
/
theme.html
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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
<!DOCTYPE html>
<html lang="<{$icms_langcode}>">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Theme name -->
<{assign var=theme_name value=$xoTheme->folderName}>
<!-- Directory html files -->
<{assign var=theme_name value=$xoTheme->folderName|cat:'/templates'}>
<{assign var=common_templates value=$xoTheme->folderName|cat:'/modules/system'}>
<title><{if $icms_pagetitle !=''}><{$icms_pagetitle}> : <{/if}><{$icms_sitename}></title>
<meta charset="<{$icms_charset}>">
<meta name="robots" content="<{$icms_meta_robots}>">
<meta name="keywords" content="<{$icms_meta_keywords}>">
<meta name="description" content="<{$icms_meta_description}>">
<meta name="rating" content="<{$icms_meta_rating}>">
<meta name="author" content="<{$icms_meta_author}>">
<meta name="dcterms.rightsHolder" content="<{$icms_meta_copyright}>">
<meta name="generator" content="ImpressCMS">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Module Header -->
<{$icms_module_header}>
<link rel="stylesheet" href="<{$icms_imageurl}>css/boiler.css">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
<link rel="stylesheet" href="<{$icms_imageurl}>css/style.css">
<link rel="shortcut icon" type="image/ico" href="<{$icms_imageurl}>favicon.ico">
<link rel="icon" type="image/png" href="<{$icms_imageurl}>icon.png">
<script src="<{$icms_imageurl}>js/jquery.backTop.min.js"></script>
<script src="<{$icms_imageurl}>js/script.js"></script>
</head>
<body>
<{if $xoBlocks.canvas_right or $xoBlocks.tabs or $xoBlocks.accordion or $xoBlocks.menu}>
<{assign var=right_blocks value='1'}><{/if}>
<{if $xoBlocks.canvas_left and $right_blocks == "1"}>
<{assign var=columns_layout value='col-md-6 col-lg-6 col-lg-push-3 col-md-push-3'}>
<{assign var=left_column value='col-lg-pull-6 col-md-pull-6'}>
<{assign var=block_layout value='col-md-6 col-lg-6'}>
<{elseif $xoBlocks.canvas_left}>
<{assign var=columns_layout value='col-md-9 col-lg-9 col-xs-12 col-lg-push-3 col-md-push-3'}>
<{assign var=left_column value='col-lg-pull-9 col-md-pull-9'}>
<{assign var=block_layout value='col-md-6 col-lg-6'}>
<{elseif $xoBlocks.canvas_right or $xoBlocks.tabs or $xoBlocks.accordion or $xoBlocks.menu}>
<{assign var=columns_layout value='col-md-9 col-lg-9 col-xs-12'}>
<{assign var=block_layout value='col-md-6 col-lg-6'}>
<{else}>
<{assign var=columns_layout value='col-md-12 col-lg-12'}>
<{assign var=block_layout value='col-md-6 col-lg-6'}>
<{/if}>
<div class="container-fluid">
<header class="container-fluid">
<div id="container" class="container">
<div class="row">
<div class="col-xs-10 col-sm-6 col-md-4" role="banner" id="logo">
<a class="logo" href="<{$icms_url}>" title="<{$icms_sitename}>">
<span class="logo_img" id="logo_img">
<img src="<{$icms_imageurl}>img/logo.png" class="img-responsive" alt="<{$icms_sitename}>">
</span>
</a>
</div>
<div id="slogan" class="hidden-xs col-xs-12 col-sm-6 col-md-4">
<span class="slogan"><{$icms_slogan}></span>
</div>
<div class="hidden-print hidden-xs col-md-4" id="header_search">
<form action="<{$icms_url}>/search.php" class="form-inline" role="form">
<div class="form-group">
<input class="input-sm form-control" type="text" placeholder="<{$smarty.const.THEME_SEARCH}>…" name="query">
<input type="hidden" name="action" value="results">
<button type="submit" class="btn-sm btn btn-warning"><{$smarty.const.THEME_SEARCH}></button>
</div>
</form>
</div>
<a class="col-xs-2 hidden-md hidden-sm hidden-lg" href="#" id="searchtoggle">
<span id="searchtoggle_span" class="pull-right btn btn-default btn-sm glyphicon glyphicon-search"></span>
</a>
<div class="hidden-print col-xs-12" id="searchbar" style="display:none">
<form action="<{$icms_url}>/search.php" class="form-inline searchmobile" role="form">
<div class="input-group pull-right" style="width:100%">
<input class="form-control input-sm" type="text" placeholder="<{$smarty.const.THEME_SEARCH}>…" name="query">
<input type="hidden" name="action" value="results">
<span class="input-group-btn"><button type="submit" class="btn-sm btn btn-warning"><{$smarty.const.THEME_SEARCH}></button></span>
</div>
</form>
</div>
</div>
</div>
<div id="navbar_container" class="hidden-print container">
<div class="row">
<nav id="navbar" class="navbar navbar-default" role="navigation">
<div class="navbar-header">
<button class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse" type="button">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="<{$icms_url}>"><{$smarty.const.THEME_HOME}></a></li>
<li><a href="#" class="dropdown-toggle" data-toggle="dropdown">Sublinks<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="#"></a></li>
<li><a href="#">Two</a></li>
<li><a href="#">Three</a></li>
<li><a href="#">Four</a></li>
</ul>
</li>
<li><a href="<{$icms_url}>">Page</a></li>
<{if !$icms_isuser}>
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><{$smarty.const.THEME_PSEUDO}><b class="caret"></b></a>
<ul class="dropdown-menu add-arrow" style="min-width:220px">
<li><form role="form" style="margin-left: 10px;margin-right: 10px;padding-bottom: 8px;padding-top: 8px;" action="<{$icms_url}>/user.php" method="post" class="form-signin navbar-left">
<div class="input-group input-group2">
<span class="input-group-addon"><span class="glyphicon glyphicon-user"></span></span>
<input type="text" placeholder="<{$smarty.const.THEME_DESC_PSEUDO}>" class="form-control" name="uname">
</div>
<div class="input-group input-group2">
<span class="input-group-addon"><span class="glyphicon glyphicon-lock"></span></span>
<input type="password" placeholder="<{$smarty.const.THEME_DESC_PASSWORD}>" class="form-control" name="pass">
</div>
<{if $rememberme}>
<input type="checkbox" name="rememberme" value="On" /><{$lang_rememberme}>
<{/if}>
<input type="hidden" name="xoops_redirect" value="<{$xoops_requesturi}>">
<input type="hidden" name="op" value="login" />
<button class="btn btn-primary btn-block" type="submit"><{$smarty.const.THEME_PSEUDO}></button>
</form></li>
<li><a href="<{$icms_url}>/user.php#lost" title=""><span class="glyphicon glyphicon-warning-sign" style="padding-right:5px;"></span> <{$smarty.const._MB_SYSTEM_LPASS}></a></li>
<li><a href="<{$icms_url}>/register.php" title="<{$smarty.const.THEME_REGISTER}>"><span class="glyphicon glyphicon-user" style="padding-right:5px;"></span> <{$smarty.const.THEME_REGISTER}></a></li>
</ul>
</li>
<{/if}>
<{if $icms_isuser}>
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><{$icms_uname}><b class="caret"></b></a>
<ul class="dropdown-menu" role="menu">
<{if $icms_isadmin}>
<li><a href="<{$icms_url}>/admin.php"><span class="glyphicon glyphicon-wrench" style="padding-right:5px;"></span> <{$smarty.const.THEME_ADMIN}></a></li>
<{/if}>
<li><a href="<{$icms_url}>/edituser.php"><span class="glyphicon glyphicon-pencil" style="padding-right:5px;"></span> Edit Profile</a></li>
<li><a href="<{$icms_url}>/edituser.php?op=avatarform"><span class="glyphicon glyphicon-camera" style="padding-right:5px;"></span> My Avatar</a></li>
<li><a href="<{$icms_url}>/notifications.php"><span class="glyphicon glyphicon-envelope" style="padding-right:5px;"></span> <{$smarty.const.THEME_NOTIFICATION}></a></li>
<li><{xoInboxCount assign=pmcount}><{if $pmcount}><a href="<{xoAppUrl 'viewpmsg.php'}>"
title="<{$smarty.const.THEME_INBOX}> <{$pmcount}> <{$smarty.const.THEME_NOTREAD}>"><span
class="glyphicon glyphicon-comment" style="padding-right:5px;"></span>
<{$smarty.const.THEME_INBOX}> <span class="badge badge-info"><{$pmcount}></span></a><{else}><a
href="<{xoAppUrl 'viewpmsg.php'}>" title="<{$smarty.const.THEME_INBOX}>"><span
class="glyphicon glyphicon-comment" style="padding-right:5px;"></span>
<{$smarty.const.THEME_INBOX}></a><{/if}>
</li>
<li class="divider"></li>
<li><a href="<{$icms_url}>/user.php?op=logout"><span class="glyphicon glyphicon-off" style="padding-right:5px;"></span> <{$smarty.const.THEME_LOGOUT}></a></li>
</ul>
</li>
<{/if}>
</ul>
</div>
</nav> </div>
</div>
<!-- End Nav-bar -->
</header>
<div class="container-fluid main">
<div class="hidden-print preface_wrapper container-fluid<{if $xoBlocks.slider}> slider<{/if}>" id="preface_wrapper">
<div class="preface" id="preface">
<div class="clearfix container preface_inner" id="preface_inner">
<div class="row">
<div class="block">
<div class="block_inner">
<{if $xoBlocks.slider}>
<{include file="$theme_name/slider.html"}>
<{else}>
<h1><{$icms_pagetitle}></h1>
<{/if}>
</div>
</div></div>
</div>
</div>
</div>
<div class="content-main container">
<div class="row">
<div role="main" class="<{if $columns_layout}><{$columns_layout}><{/if}> col-xs-12">
<{if $xoBlocks.page_topcenter}>
<{foreach item=block from=$xoBlocks.page_topcenter}>
<div class="row">
<div class="col-md-12">
<article role="article"><header><h2 class="h2"><{$block.title}></h2></header>
<div class="contnt"><{$block.content}></div></article>
</div>
</div>
<{/foreach}>
<{/if}>
<{if $xoBlocks.page_topleft or $xoBlocks.page_topright}>
<div class="row">
<{foreach item=block from=$xoBlocks.page_topleft}>
<div class="<{if $columns_layout}><{$block_layout}><{/if}>">
<article role="article"><header><h3 class="h3"><{$block.title}></h3></header>
<div class="contnt"><{$block.content}></div></article>
</div>
<{/foreach}>
<{foreach item=block from=$xoBlocks.page_topright}>
<div class="<{if $columns_layout}><{$block_layout}><{/if}>">
<article role="article"><header><h3 class="h3"><{$block.title}></h3></header>
<div class="contnt"><{$block.content}></div></article>
</div>
<{/foreach}>
</div>
<{/if}>
<{if $icms_contents}>
<div class="row" id="icms-content"><div class="col-md-12"><{$icms_contents}></div></div>
<{/if}>
<{if $xoBlocks.page_bottomcenter}>
<{foreach item=block from=$xoBlocks.page_bottomcenter}>
<div class="row">
<div class="col-md-12">
<article role="article">
<header><h2 class="h2"><{$block.title}></h2></header>
<div class="contnt"><{$block.content}></div></article>
</div>
</div>
<{/foreach}>
<{/if}>
<{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomright}>
<div class="row">
<{foreach item=block from=$xoBlocks.page_bottomleft}>
<div class="<{if $columns_layout}><{$block_layout}><{/if}>">
<article role="article"><header><h3 class="h3"><{$block.title}></h3></header>
<div class="contnt"><{$block.content}></div></article>
</div>
<{/foreach}>
<{foreach item=block from=$xoBlocks.page_bottomright}>
<div class="<{if $columns_layout}><{$block_layout}><{/if}>">
<article role="article"><header><h3 class="h3"><{$block.title}></h3></header>
<div class="contnt"><{$block.content}></div></article>
</div>
<{/foreach}>
</div>
<{/if}>
</div>
<{if $xoBlocks.canvas_left}>
<aside role="complementary"
class="hidden-print col-xs-12 col-sm-6 col-md-3 col-lg-3<{if $left_column}> <{$left_column}><{/if}>">
<div class="well">
<{foreach item=block from=$xoBlocks.canvas_left}>
<article role="article"><div class="infobox">
<header><h3 class="h3"><{$block.title}></h3></header>
<div class="contnt"><{$block.content}></div>
</div></article>
<{/foreach}>
</div>
</aside>
<{/if}>
<{if $xoBlocks.canvas_right or $xoBlocks.tabs or $xoBlocks.accordion or $xoBlocks.menu}>
<aside role="complementary" class="hidden-print col-xs-12 col-sm-6 col-md-3 col-lg-3">
<div class="well_right">
<{if $xoBlocks.tabs}>
<{include file="$theme_name/tabs.html"}>
<{/if}>
<{if $xoBlocks.accordion}>
<{include file="$theme_name/accordion.html"}>
<{/if}>
<{if $xoBlocks.menu}>
<{include file="$theme_name/menu.html"}>
<{/if}>
<{foreach item=block from=$xoBlocks.canvas_right}>
<div class="infobox">
<article role="article"><header><h3 class="h3"><{$block.title}></h3></header>
<div class="contnt"><{$block.content}></div></article>
</div>
<{/foreach}>
</div>
</aside>
<{/if}>
</div>
<{if $xoBlocks.prefoot}>
<hr>
<div class="row hidden-print">
<div class="col-md-12">
<{assign var=prefoot value=0}>
<{foreach item=block from=$xoBlocks.prefoot}>
<{assign var=prefoot value=$prefoot+1}>
<{/foreach}>
<{foreach item=block from=$xoBlocks.prefoot}>
<div class="col-xs-12 col-md-<{if $prefoot == '3'}>4<{elseif $prefoot == '2'}>6<{elseif $prefoot == '1'}>12<{/if}>">
<h4 class="h4"><{$block.title}></h4>
<div class="contnt"><{$block.content}></div>
</div>
<{/foreach}>
</div>
</div>
<{/if}>
</div>
</div>
<footer role="contentinfo" class="container-fluid">
<div class="container footer_wrapper">
<div class="clearfix footer">
<div class="row">
<div class="footer_content">
<{$icms_footer}>
</div>
</div>
</div>
</div>
<a id="backTop"><span class="glyphicon glyphicon-chevron-up" aria-hidden="true"></span></a>
</footer>
</div>
</body>
</html>