2 <html lang=
"<?php echo $rmc_config['lang']; ?>">
7 !defined(
'RMCLOCATION') ? define(
'RMCLOCATION',
'') : true;
8 !defined(
'RMCSUBLOCATION') ? define(
'RMCSUBLOCATION',
'') : true;
10 foreach ($this->tpl_styles as $style){
11 echo
'<link rel="stylesheet" type="text/css" media="'.$style[
'media'].
'" href="'.$style[
'url'].
'"'.($style[
'more']!=
''?
' '.$style[
'more']:
'').
' />'.
"\n";
14 foreach ($this->tpl_scripts as $script){
15 echo
'<script type="'.$script[
'type'].
'" src="'.$script[
'url'].
'"></script>'.
"\n";
18 echo $this->head_scripts();
20 foreach ($this->tpl_head as $head){
24 include_once
'include/xoops_metas.php';
26 <title><?php
if($this->get_var(
'xoops_pagetitle')!=
''): ?><?php echo $this->get_var(
'xoops_pagetitle'); ?> - <?php
endif; ?><?php echo isset(
$xoopsModule) ?
$xoopsModule->getInfo(
'name').
' - ' :
''; ?><?php echo
$xoopsConfig[
'sitename']; ?></title>
30 <div
class=
"navbar navbar-inverse navbar-fixed-top" id=
"xo-menubar">
31 <div
class=
"navbar-inner">
32 <div
class=
"container-fluid">
33 <a
class=
"brand" href=
"<?php echo RMCURL; ?>"><img src=
"<?php echo TWOP6_URL; ?>/images/logo.png" alt=
"<?php _e('XOOPS','twop6'); ?>" /></a>
36 <?php
if($this->get_menus()): ?>
37 <li
class=
"dropdown active">
38 <a
class=
"dropdown-toggle" data-toggle=
"dropdown" href=
"<?php echo XOOPS_URL; ?>/modules/<?php echo $xoopsModule->dirname(); ?>/<?php echo $xoopsModule->getInfo('adminindex'); ?>">
44 <ul
class=
"dropdown-menu">
45 <?php
foreach($this->get_menus() as $menu): ?>
46 <?php
if($menu[
'icon']==
'option'): ?>
47 <li
class=
"divider"></li>
49 <li<?php if(isset($menu['options']) && !empty($menu['options'])): ?>
class=
"dropdown-submenu"<?php
endif; ?>>
50 <a
href=
"<?php echo $menu['link']; ?>"<?php
if(isset($menu[
'options']) && !empty($menu[
'options'])): ?> tabindex=
"-1"<?php
endif; ?>>
51 <?php
if((empty($menu[
'icon']) || $menu[
'icon']==
'') && (!empty($menu[
'class']) && $menu[
'class']!=
'')): ?>
52 <i
class=
"<?php echo $menu['class']; ?>"></i>
54 <i
class=
"xo-icon<?php echo $menu['icon']=='option' ? ' xicon-settings' : ''; ?>"<?php
if($menu[
'icon']!=
'' && $menu[
'icon']!==
'option'): ?> style=
"background-image: url(<?php echo $menu['icon']; ?>); background-size: 16px 16px;"<?php
endif; ?>></i>
56 <?php echo $menu[
'title']; ?>
58 <?php
if($menu[
'options']): ?>
59 <ul
class=
"dropdown-menu">
60 <?php
foreach($menu[
'options'] as $sub): ?>
61 <li><a href=
"<?php echo $sub['link']; ?>"><?php echo $sub[
'title']; ?></a></li>
71 <li
class=
"dropdown<?php if($xoopsModule->dirname()=='rmcommon'): ?> active<?php endif; ?>">
72 <a href=
"<?php echo RMCURL; ?>" class=
"dropdown-toggle" data-toggle=
"dropdown">
73 <i
class=
"xo-icon xicon-cu"></i> <?php
_e(
'Common Utilities',
'twop6'); ?>
76 <ul
class=
"dropdown-menu">
78 <?php
if(isset($menu[
'type'])): ?>
79 <li
class=
"divider"></li>
81 <li<?php if(isset($menu['options'])): ?>
class=
"dropdown-submenu"<?php
endif; ?>>
82 <a href=
"<?php echo $menu['link']; ?>"<?php
if(isset($menu[
'options'])): ?> tabindex=
"-1"<?php
endif; ?>>
83 <?php echo
$xoFunc->getIcon($menu); ?>
84 <?php echo $menu[
'title']; ?>
86 <?php
if(isset($menu[
'options'])): ?>
87 <ul
class=
"dropdown-menu">
88 <?php
foreach($menu[
'options'] as $sub): ?>
89 <li><a href=
"<?php echo $sub['link']; ?>"><?php echo $sub[
'title']; ?></a></li>
97 <li
class=
"dropdown<?php if($xoopsModule->dirname()=='system'): ?> active<?php endif; ?>">
98 <a href=
"#" class=
"dropdown-toggle" data-toggle=
"dropdown">
99 <i
class=
"xo-icon xicon-gear"></i>
100 <?php
_e(
'System',
'twop6'); ?>
101 <b
class=
"caret"></b>
103 <ul
class=
"dropdown-menu">
105 <?php
if(isset($menu[
'type'])): ?>
106 <li
class=
"divider"></li>
108 <li<?php if(isset($menu['options'])): ?>
class=
"dropdown-submenu"<?php
endif; ?>>
109 <a href=
"<?php echo $menu['link']; ?>"<?php
if(isset($menu[
'options'])): ?> tabindex=
"-1"<?php
endif; ?>>
110 <?php echo
$xoFunc->getIcon($menu); ?>
111 <?php echo $menu[
'title']; ?>
113 <?php
if(isset($menu[
'options'])): ?>
114 <ul
class=
"dropdown-menu">
115 <?php
foreach($menu[
'options'] as $sub): ?>
116 <li><a href=
"<?php echo $sub['link']; ?>"><?php echo $sub[
'title']; ?></a></li>
125 <li
class=
"dropdown">
126 <a href=
"#" class=
"dropdown-toggle" data-toggle=
"dropdown">
127 <i
class=
"xo-icon xicon-gear"></i>
128 <?php
_e(
'Theme',
'twop6'); ?>
129 <b
class=
"caret"></b>
131 <ul
class=
"dropdown-menu">
133 <?php
if(isset($menu[
'type'])): ?>
134 <li
class=
"divider"></li>
136 <li<?php if(isset($menu['options'])): ?>
class=
"dropdown-submenu"<?php
endif; ?>>
137 <a href=
"<?php echo $menu['link']; ?>"<?php
if(isset($menu[
'options'])): ?> tabindex=
"-1"<?php
endif; ?>>
138 <?php echo
$xoFunc->getIcon($menu); ?>
139 <?php echo $menu[
'title']; ?>
141 <?php
if(isset($menu[
'options'])): ?>
142 <ul
class=
"dropdown-menu">
143 <?php
foreach($menu[
'options'] as $sub): ?>
144 <li><a href=
"<?php echo $sub['link']; ?>"><?php echo $sub[
'title']; ?></a></li>
155 <a href=
"#" id=
"xo-showmodules" title=
"<?php _e('Modules Box','twop6'); ?>">
156 <i
class=
"xo-icon xicon-modules"></i>
157 <?php
_e(
'Modules',
'twop6'); ?>
161 <form
class=
"navbar-search pull-left" action=
"">
162 <input
class=
"search-query span2" type=
"text" placeholder=
"<?php _e('Go to...','twop6'); ?>" />
165 <ul
class=
"nav pull-right">
166 <li
class=
"dropdown">
167 <a href=
"#" class=
"dropdown-toggle" data-toggle=
"dropdown">
168 <i
class=
"xo-icon xicon-ray"></i>
169 <?php
_e(
'Quick Links',
'rmcommon'); ?>
170 <b
class=
"caret"></b>
172 <ul
class=
"dropdown-menu">
173 <?php
if($this->help()): ?>
174 <li
class=
"dropdown-submenu">
175 <a href=
"#" tabindex=
"-1" onclick=
"return false;">
176 <i
class=
"xo-icon xicon-faq"></i>
177 <?php
_e(
'Help',
'rmcommon'); ?>
179 <ul
class=
"dropdown-menu">
180 <?php
foreach($this->help() as $help): ?>
182 <a href=
"<?php echo $help['link']; ?>" class=
"help_button rm_help_button" style=
"background-image: url(<?php echo TWOP6_URL; ?>/images/help.png);" target=
"_blank" title=
"<?php echo $help['caption']; ?>"><?php echo $help[
'caption']; ?></a>
187 <li
class=
"divider"></li>
190 <li
class=
"dropdown-submenu">
191 <a href=
"#" tabindex=
"-1" onclick=
"return false;">
192 <i
class=
"xo-icon xicon-world"></i>
193 <?php
_e(
'Social Links',
'rmcommon'); ?>
195 <ul
class=
"dropdown-menu">
196 <?php
foreach(
$xoopsModule->getInfo(
'social') as $net): ?>
197 <li
class=
"nav_item">
198 <a href=
"<?php echo $net['url']; ?>" target=
"_blank"><?php echo $net[
'title']; ?></a>
205 <a href=
"<?php echo RMCURL; ?>">
206 <i
class=
"xo-icon xicon-cp"></i>
207 <?php
_e(
'Control Panel',
'twop6'); ?>
211 <a href=
"<?php echo XOOPS_URL; ?>" target=
"_blank">
212 <i
class=
"xo-icon xicon-home"></i>
213 <?php
_e(
'View Home Page',
'twop6'); ?>
216 <li
class=
"divider"></li>
218 <a href=
"http://www.xoops.org" target=
"_blank">
219 <i
class=
"xo-icon xicon-xoops"></i>
224 <a href=
"http://www.xoopsmexico.net" target=
"_blank">
225 <i
class=
"xo-icon xicon-xm"></i>
229 <li
class=
"divider"></li>
231 <a href=
"<?php echo RMCURL; ?>/?twop6=about">
232 <i
class=
"xo-icon xicon-idea"></i>
233 <?php
_e(
'About Two·Six',
'twop6'); ?>
240 <!-- Updates notifier -->
241 <a href=
"<?php echo RMCURL; ?>/updates.php" class=
"pull-right xo-upd-notifier"><?php echo sprintf(
__(
'%s updates available',
'twop6'),
'<span class="badge badge-warning">%s</span>'); ?></a>
247 <!-- Toolbar with menus -->
248 <div
class=
"navbar navbar-fixed-top xo-bluebar" id=
"xo-toolbar">
249 <div
class=
"navbar-inner">
250 <div
class=
"container-fluid">
251 <a href=
"<?php echo XOOPS_URL; ?>/modules/<?php echo $xoopsModule->dirname(); ?>/<?php echo $xoopsModule->getInfo('adminindex'); ?>" class=
"brand"><?php echo
$xoopsModule->name(); ?></a>
260 <ul
class=
"nav pull-right">
262 <li
class=
"divider-vertical"></li>
263 <li<?php if(isset($menu['options']) && $menu['options']): ?>
class=
"dropdown"<?php
endif; ?>>
264 <a href=
"<?php echo $menu['link']; ?>" rel=
"tooltip" title=
"<?php echo $menu['title']; ?>"<?php
if(isset($menu[
'options']) && $menu[
'options']): ?>
class=
"dropdown-toggle" data-toggle=
"dropdown"<?php
endif; ?>>
265 <?php echo
$xoFunc->getIcon($menu); ?>
266 <?php
if(isset($menu[
'options']) && $menu[
'options']): ?><b
class=
"caret"></b><?php
endif; ?>
268 <?php
if(isset($menu[
'options']) && $menu[
'options']): ?>
269 <ul
class=
"dropdown-menu">
270 <?php
foreach($menu[
'options'] as $sub): ?>
271 <li><a href=
"<?php echo $sub['link']; ?>"><?php echo
$xoFunc->getIcon($sub); ?><?php echo $sub[
'title']; ?></a></li>
281 <!-- End toolbar with menus
283 <!-- rmcommon toolbar -->
284 <?php
if($this->get_toolbar()): ?>
285 <div
class=
"container-fluid">
286 <nav
class=
"navbar" id=
"rmc-toolbar">
287 <div
class=
"navbar-inner">
289 <?php
foreach($this->get_toolbar() as $menu): ?>
290 <li<?php echo $menu[
'location']==RMCSUBLOCATION ?
' class = "active"' : ($menu[
'location']==
RMCLOCATION ?
' class="active"' :
''); ?>>
291 <a href=
"<?php echo $menu['link']; ?>">
292 <?php
if($menu[
'icon']): ?><i
class=
"xo-icon" style=
"background-image: url(<?php echo $menu['icon']; ?>);"></i><?php
endif; ?>
293 <?php echo $menu[
'title']; ?>
296 <li
class=
"divider-vertical"></li>
303 <!-- End rmcommon toolbar
305 <!-- System messages -->
306 <?php
foreach($rmc_messages as $message): ?>
307 <div
class=
"container-fluid">
308 <div
class=
"alert <?php echo $tp6Alerts[$message['level']]; ?>"<?php
if($message[
'level']>4 && $message[
'icon']!=
''): ?> style=
"background-image: url(<?php echo $message['icon']; ?>);"<?php
endif; ?>>
309 <button type=
"button" class=
"close" data-dismiss=
"alert">×</button>
310 <?php echo html_entity_decode($message[
'text']); ?>
314 <!-- End system messages
317 <div
class=
"container-fluid" id=
"xo-content">
318 <div
class=
"row-fluid">
320 <aside
class=
"span2">
322 <div
class=
"xo-widget">
323 <h3
class=
"xo-blackbar">
324 <?php echo isset($widget[
'icon']) && $widget[
'icon']!=
'' ?
' <i class="xo-icon" style="background-image: url('.$widget[
'icon'].
');"></i> ' :
''; ?>
325 <?php echo $widget[
'title']; ?>
327 <div
class=
"xo-widget-content"><?php echo $widget[
'content']; ?></div>
333 <div
class=
"span<?php echo $tp6Span; ?>">
334 <div
id=
"xo-contents">
340 <aside
class=
"span3">
342 <?php
if(!isset($widget[
'title']) && !isset($widget[
'content']))
continue; ?>
343 <div
class=
"xo-widget">
344 <h3
class=
"xo-blackbar">
345 <?php echo isset($widget[
'icon']) && $widget[
'icon']!=
'' ?
' <i class="xo-icon" style="background-image: url('.$widget[
'icon'].
');"></i> ' :
''; ?>
346 <?php echo $widget[
'title']; ?>
348 <div
class=
"xo-widget-content"><?php echo $widget[
'content']; ?></div>
358 <div
class=
"container-fluid xo-footer">
360 <footer
class=
"row-fluid">
362 <?php echo sprintf(
__(
'Powered by %s.',
'twop6'),
'<a href="http://www.xoops.org">'.XOOPS_VERSION.
'</a>'); ?>
363 <?php echo sprintf(
__(
'Reloaded by %s.',
'twop6'),
'<a href="http://www.xoopsmexico.net">Common Utilities '.
RMCVERSION.
'</a>'); ?>
365 <div
class=
"span6 xo-foot-links">
367 <li><a href=
"http://www.xoops.org">XOOPS</a></li>
368 <li><a href=
"http://www.xoopsmexico.net">Xoops Mexico</a></li>
369 <li><a href=
"http://www.redmexico.com.mx">Red Mexico</a></li>
377 <?php
if($xoopsConfig[
'debug_mode']==1): ?>
378 <div
class=
"container-fluid">
379 <div
class=
"well"><!--{xo-logger-output}--></div>