-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy paththeme.tpl
129 lines (115 loc) · 5.97 KB
/
theme.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
<!doctype html>
<html lang="<{$xoops_langcode}>">
<head>
<{assign var=theme_name value=$xoTheme->folderName}>
<meta charset="<{$xoops_charset}>">
<meta name="keywords" content="<{$xoops_meta_keywords}>">
<meta name="description" content="<{$xoops_meta_description}>">
<meta name="robots" content="<{$xoops_meta_robots}>">
<meta name="rating" content="<{$xoops_meta_rating}>">
<meta name="author" content="<{$xoops_meta_author}>">
<meta name="copyright" content="<{$xoops_meta_copyright}>">
<meta name="generator" content="XOOPS">
<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link href="<{$xoops_url}>/favicon.ico" rel="shortcut icon">
<{* Edit tpl/xswatchCss.tpl to pick the css directory you want to use *}>
<{include file="$theme_name/tpl/xswatchCss.tpl" assign="xswatchCss"}>
<{* Edit tpl/xswatchDarkCss.tpl to pick the css directory you want to use for dark mode *}>
<{include file="$theme_name/tpl/xswatchDarkCss.tpl" assign="xswatchDarkCss"}>
<{* if xswatchDarkCss doesn't set a dark mode theme, just use one for all *}>
<{if $xswatchDarkCss == ''}>
<link rel="stylesheet" type="text/css" href="<{xoImgUrl}><{$xswatchCss}>/xoops.css">
<link rel="stylesheet" type="text/css" href="<{xoImgUrl}><{$xswatchCss}>/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="<{xoImgUrl}><{$xswatchCss}>/cookieconsent.css">
<{* Edit css/my_xoops.css to customize your css definitions and override Bootstrap definitions for the unique variant *}>
<link rel="stylesheet" type="text/css" href="<{xoImgUrl}>css/my_xoops.css">
<{else}>
<link rel="stylesheet" media="(prefers-color-scheme: light)" href="<{xoImgUrl}><{$xswatchCss}>/xoops.css">
<link rel="stylesheet" media="(prefers-color-scheme: light)" href="<{xoImgUrl}><{$xswatchCss}>/bootstrap.min.css">
<link rel="stylesheet" media="(prefers-color-scheme: light)" href="<{xoImgUrl}><{$xswatchCss}>/cookieconsent.css">
<{* Edit css/my_xoops.css to customize your css definitions and override Bootstrap definitions for the light variant *}>
<link rel="stylesheet" media="(prefers-color-scheme: light)" href="<{xoImgUrl}>css/my_xoops.css">
<link rel="stylesheet" media="(prefers-color-scheme: dark)" href="<{xoImgUrl}><{$xswatchDarkCss}>/xoops.css">
<link rel="stylesheet" media="(prefers-color-scheme: dark)" href="<{xoImgUrl}><{$xswatchDarkCss}>/bootstrap.min.css">
<link rel="stylesheet" media="(prefers-color-scheme: dark)" href="<{xoImgUrl}><{$xswatchDarkCss}>/cookieconsent.css">
<{* Edit css/my_xoops_dark.css to customize your css definitions and override Bootstrap definitions for the dark variant *}>
<link rel="stylesheet" media="(prefers-color-scheme: dark)" href="<{xoImgUrl}>css/my_xoops_dark.css">
<{/if}>
<script src="<{$xoops_url}>/browse.php?Frameworks/jquery/jquery.js"></script>
<script src="<{xoImgUrl}>js/bootstrap.bundle.min.js"></script>
<{include file="$theme_name/tpl/cookieConsent.tpl"}>
<{if $xoops_isadmin|default:false}>
<script src="<{xoImgUrl}>js/js.cookie.min.js"></script>
<{/if}>
<link rel="alternate" type="application/rss+xml" title="" href="<{xoAppUrl backend.php}>">
<title><{if $xoops_dirname == "system"}><{$xoops_sitename}><{if $xoops_pagetitle !=''}> - <{$xoops_pagetitle}><{/if}><{else}><{if $xoops_pagetitle !=''}><{$xoops_pagetitle}> - <{$xoops_sitename}><{/if}><{/if}></title>
<{$xoops_module_header}>
<link rel="stylesheet" type="text/css" media="all" href="<{$xoops_themecss}>">
<link rel="stylesheet" type="text/css" media="all" href="<{xoImgUrl}>new-style-bt5.css">
</head>
<body id="<{$xoops_dirname}>">
<{include file="$theme_name/tpl/nav-menu.tpl"}>
<{* un-comment to enable slider
<{if $xoops_page == "index"}>
<{include file="$theme_name/tpl/slider.tpl"}>
<{/if}>
*}>
<div class="container maincontainer">
<{if $xoops_page == "index"}>
<{include file="$theme_name/tpl/jumbotron.tpl"}>
<{/if}>
<div class="row">
<{include file="$theme_name/tpl/leftBlock.tpl"}>
<{include file="$theme_name/tpl/content-zone.tpl"}>
<{include file="$theme_name/tpl/rightBlock.tpl"}>
</div>
</div><!-- .maincontainer -->
<{if $xoBlocks.page_bottomcenter || $xoBlocks.page_bottomright || $xoBlocks.page_bottomleft}>
<div class="bottom-blocks">
<div class="container">
<{if $xoBlocks.page_bottomcenter}>
<div class="row">
<{include file="$theme_name/tpl/centerBottom.tpl"}>
</div>
<{/if}>
<{if $xoBlocks.page_bottomright || $xoBlocks.page_bottomleft}>
<div class="row">
<{include file="$theme_name/tpl/leftBottom.tpl"}>
<{include file="$theme_name/tpl/rightBottom.tpl"}>
</div>
<{/if}>
</div>
</div><!-- .bottom-blocks -->
<{/if}>
<{if $xoBlocks.footer_center || $xoBlocks.footer_right || $xoBlocks.footer_left}>
<div class="footer-blocks">
<div class="container">
<div class="row">
<{include file="$theme_name/tpl/leftFooter.tpl"}>
<{include file="$theme_name/tpl/centerFooter.tpl"}>
<{include file="$theme_name/tpl/rightFooter.tpl"}>
</div>
</div>
</div><!-- .footer-blocks -->
<{/if}>
<footer class="footer">
<h3>
<{$xoops_footer}>
<a href="https://xoops.org" title="Design by: XOOPS UI/UX Team" target="_blank" class="credits d-none d-sm-block">
<img src="<{xoImgUrl}>images/favicon.png" alt="Design by: XOOPS UI/UX Team">
</a>
</h3>
<a href="https://xoops.org" title="Design by: XOOPS UI/UX Team" target="_blank" class="credits text-center d-block d-sm-none">
<img src="<{xoImgUrl}>images/favicon.png" alt="Design by: XOOPS UI/UX Team">
</a>
</footer>
<{if $xoops_isadmin|default:false}>
<{include file="$theme_name/tpl/nav-admin.tpl"}>
<{/if}>
<!-- Inbox alert -->
<{if $xoops_isuser|default:false}>
<{include file="$theme_name/tpl/inboxAlert.tpl"}>
<{/if}>
</body>
</html>