-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththeme.html
executable file
·114 lines (107 loc) · 4.57 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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$icms_langcode}>">
<head>
<!-- Center block custom positioning -->
<{* Center blocks display order
valid values are: lrc (left right / center) lcr (left center right) clr (center / left right)
*}>
<{assign var=theme_top_order value=lrc}>
<{assign var=theme_bottom_order value=lcr}>
<!-- Theme name -->
<{assign var=theme_name value=$xoTheme->folderName}>
<!-- Title and meta -->
<title><{if $icms_pagetitle !=''}><{$icms_pagetitle}> : <{/if}><{$icms_sitename}></title>
<meta http-equiv="content-type" content="text/html; 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="copyright" content="<{$icms_meta_copyright}>" />
<meta name="generator" content="ImpressCMS" />
<!-- Module Header -->
<{$icms_module_header}>
<!-- Favicon -->
<link rel="shortcut icon" type="image/ico" href="<{xoImgUrl 'icons/favicon.ico'}>"/>
<link rel="icon" type="image/png" href="<{xoImgUrl 'icons/icon.png'}>"/>
<!-- Sheet Css -->
<link rel="stylesheet" type="text/css" media="all" href="<{$icms_imageurl}><{if $icms_rtl}>rtl/<{/if}>icms.css" />
<link rel="stylesheet" type="text/css" media="all" href="<{$icms_imageurl}><{if $icms_rtl}>rtl/<{/if}>style.css" />
</head>
<body id="<{$icms_dirname}>" class="<{$icms_langcode}>">
<{if $xoBlocks.canvas_left and $xoBlocks.canvas_right}>
<{assign var=columns_layout value='threecolumns-layout'}>
<{elseif $xoBlocks.canvas_left}>
<{assign var=columns_layout value='leftcolumn-layout'}>
<{elseif $xoBlocks.canvas_right}>
<{assign var=columns_layout value='rightcolumn-layout'}>
<{/if}>
<div id="xo-canvas"<{if $columns_layout}> class="<{$columns_layout}>"<{/if}>>
<!-- Header -->
<div id="xo-header">
<div id="xo-headerlogo"><a href="<{xoAppUrl '/'}>" title=""><img src="<{$icms_imageurl}>img/logo.png"
alt="<{$icms_sitename}>"/></a></div>
</div>
<!-- Content -->
<div id="xo-canvas-content">
<div id="xo-canvas-columns">
<!-- Left column -->
<{if $icms_rtl}>
<{if $xoBlocks.canvas_right}>
<{includeq file="$theme_name/blockszone.html" blocks=$xoBlocks.canvas_right
zoneClass='xo-canvas-column' zoneId='xo-canvas-rightcolumn'
}>
<{/if}>
<{else}>
<{if $xoBlocks.canvas_left}>
<{includeq file="$theme_name/blockszone.html" blocks=$xoBlocks.canvas_left
zoneClass='xo-canvas-column' zoneId='xo-canvas-leftcolumn'
}>
<{/if}>
<{/if}>
<!-- Center column / page -->
<div id="xo-page">
<!-- Top blocks -->
<{if $xoBlocks.page_topleft or $xoBlocks.page_topcenter or $xoBlocks.page_topright}>
<div class="xo-blockszone xo-<{$theme_top_order}>pageblocks" id="xo-page-topblocks">
<{includeq file="$theme_name/centerblocks.html" topbottom=top lcr=$theme_top_order|substr:0:1}>
<{includeq file="$theme_name/centerblocks.html" topbottom=top lcr=$theme_top_order|substr:1:1}>
<{includeq file="$theme_name/centerblocks.html" topbottom=top lcr=$theme_top_order|substr:2:1}>
</div>
<{/if}>
<!-- Module content -->
<{if $icms_contents}>
<div id="xo-content"><{$icms_contents}></div>
<{/if}>
<!-- Bottom blocks -->
<{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomcenter or $xoBlocks.page_bottomright}>
<div class="xo-blockszone xo-<{$theme_bottom_order}>pageblocks" id="xo-page-bottomblocks">
<{includeq file="$theme_name/centerblocks.html" topbottom=bottom lcr=$theme_bottom_order|substr:0:1}>
<{includeq file="$theme_name/centerblocks.html" topbottom=bottom lcr=$theme_bottom_order|substr:1:1}>
<{includeq file="$theme_name/centerblocks.html" topbottom=bottom lcr=$theme_bottom_order|substr:2:1}>
</div>
<{/if}>
</div>
<!-- Right column -->
<{if $icms_rtl}>
<{if $xoBlocks.canvas_left}>
<{includeq file="$theme_name/blockszone.html" blocks=$xoBlocks.canvas_left
zoneClass='xo-canvas-column' zoneId='xo-canvas-leftcolumn'
}>
<{/if}>
<{else}>
<{if $xoBlocks.canvas_right}>
<{includeq file="$theme_name/blockszone.html" blocks=$xoBlocks.canvas_right
zoneClass='xo-canvas-column' zoneId='xo-canvas-rightcolumn'
}>
<{/if}>
<{/if}>
</div>
</div>
</div>
<!-- Footer -->
<div id="xo-footer">
<div style="margin-left: auto; margin-right: auto;"><{$icms_footer}></div>
</div>
</body>
</html>