<{assign var=theme_name value=$xoTheme->folderName}> <{php}> /** Defined an extra SMARTY variable $xoops_themeurl, which is identical to $xoops_imageurl, for literal consistence only (siteurl/themes/themename) */ $this->assign("xoops_themeurl", $this->_tpl_vars["xoops_url"]."/themes/".$this->_tpl_vars["xoops_theme"]); /** If a module has its own css (located themes/themename/modules/dirname/style.css), append it to $xoops_module_header */ if(file_exists(XOOPS_ROOT_PATH."/themes/".$this->_tpl_vars["xoops_theme"]."/modules/".$this->_tpl_vars["xoops_dirname"]."/style.css")) { $this->assign("xoops_module_header", $this->_tpl_vars["xoops_module_header"]."\n". "_tpl_vars["xoops_themeurl"]."/modules/".$this->_tpl_vars["xoops_dirname"]."/style.css\"/>\n"); } /** Defined an extra SMARTY variable $modulename for display current module name defined by webmaster in xoops administration */ GLOBAL $xoopsModule; $modulename = (isset($xoopsModule) ? $xoopsModule->getVar('name') :'system'); $GLOBALS['xoopsTpl']->assign('modulename', $modulename); /** add JQuery and JQuery UI */ global $xoTheme; $xoTheme->addScript("browse.php?Frameworks/jquery/jquery.js"); $xoTheme->addScript("browse.php?Frameworks/jquery/plugins/jquery.ui.js"); $this->assign('xoops_module_header', $xoTheme->renderMetas(null, true)); <{/php}> <{if $xoops_pagetitle !=''}><{$xoops_pagetitle}> - <{/if}><{$xoops_sitename}> <{$xoops_module_header}> <{include file="$theme_name/login.html"}>
<{include file="$theme_name/menu.html"}>
<{include file="$theme_name/slider.html"}>
<{if $xoops_showlblock}> <{/if}> <{if $xoops_showrblock}> <{/if}>
<{foreach item=block from=$xoBlocks.canvas_left}> <{includeq file="$theme_name/theme_blockleft.html"}> <{/foreach}> <{if $xoBlocks.page_topleft or $xoBlocks.page_topcenter or $xoBlocks.page_topright}>
<{foreach item=block from=$xoBlocks.page_topcenter}> <{includeq file="$theme_name/theme_blockcenter_c.html"}> <{/foreach}>
<{foreach item=block from=$xoBlocks.page_topleft}> <{includeq file="$theme_name/theme_blockcenter_l.html"}> <{/foreach}> <{foreach item=block from=$xoBlocks.page_topright}> <{includeq file="$theme_name/theme_blockcenter_r.html"}> <{/foreach}>
<{/if}> <{if $xoops_contents && ($xoops_contents != ' ') }>
<{$xoops_contents}>
<{/if}> <{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomright or $xoBlocks.page_bottomcenter}> <{if $xoBlocks.page_bottomcenter}> <{/if}> <{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomright}> <{/if}>
<{foreach from=$xoBlocks.page_bottomcenter item=block}> <{include file="$theme_name/theme_blockcenter_c.html"}> <{/foreach}>
<{foreach from=$xoBlocks.page_bottomleft item=block}> <{include file="$theme_name/theme_blockcenter_l.html"}> <{/foreach}> <{foreach from=$xoBlocks.page_bottomright item=block}> <{include file="$theme_name/theme_blockcenter_r.html"}> <{/foreach}>
<{/if}>
<{foreach item=block from=$xoBlocks.canvas_right}> <{includeq file="$theme_name/theme_blockright.html"}> <{/foreach}>
<{include file="$theme_name/toolbar.html"}>