.:."; if (USER == true) { $ret .= "".LOGIN_MENU_L5." ".USERNAME." ".$sep." "; if(ADMIN == true) { $ret .= "".LOGIN_MENU_L11." ".$sep.' '; } $ret .= ($custom_query[0] != 'login noprofile') ? "".LOGIN_MENU_L13."\n".$sep." ":""; $ret .= "".LOGIN_MENU_L12." ".$sep." ".LOGIN_MENU_L8." ".$sep.""; } else { $ret .= "
"; } return $ret; break; case 'search': if(!check_class($pref['search_restrict'])) { return ''; } $searchflat = true; include_once(e_PLUGIN.'search_menu/search_menu.php'); return ''; break; case 'quote': $qotd_file = e_BASE.'quote.txt'; if(!file_exists($qotd_file)) { $quote = "Quote file not found ($qotd_file)"; } else { $quotes = file($qotdf_file); $quote = $e107->tp->toHTML($quotes[rand(0, count($quotes) -1 )], true); } return $quote; break; case 'language': //FIXME obtrusive and may not work with session or subdomains - certainly better to use {LANGUAGELINKS} anyway $languageList = explode(',', e_LANLIST); sort($languageList); $action = (e_QUERY && ! $_GET['elan']) ? e_SELF.'?'.e_QUERY : e_SELF; $text = ' '; return $text; break; case 'clock': $clock_flat = true; include_once(e_PLUGIN.'clock_menu/clock_menu.php'); return ''; break; case 'welcomemessage': return $e107->tp->parseTemplate('{WMESSAGE}'); break; } } ?>