<{if $xoops_isadmin}> <{$smarty.const.TF_SYSTEM_CONFIG}> <{/if}> <{php}> global $xoopsDB,$xoopsModule; $modhandler = &xoops_gethandler('module'); $xoopsModule = &$modhandler->getByDirname("tad_themes"); $config_handler = & xoops_gethandler('config'); $xoopsModuleConfig = & $config_handler->getConfigsByCat(0, $xoopsModule->getVar('mid')); if($xoopsModuleConfig['auto_mainmenu']=="1"){ echo " "; } <{/php}> <{if $xoops_isadmin}> <{if $xoops_dirname=="" || $xoops_dirname=="system"}> <{$smarty.const.TF_MODULE_CONFIG}> <{else}> <{$smarty.const.TF_MODULE_CONFIG}> <{/if}> <{/if}>