'; foreach (Core::Cast($this->System)->LocaleManager->Available as $Locale) { $Remaining = substr($_SERVER["REQUEST_URI"], strlen(Core::Cast($this->System)->BaseURL)); if (substr($Remaining, 1, strlen($Locale['Code'].'/')) == Core::Cast($this->System)->LocaleManager->LangCode.'/') $Remaining = substr($Remaining, strlen('/'.$Locale['Code'])); if ($Locale['Code'] == Core::Cast($this->System)->LocaleManager->CurrentLocale->Texts->Code) $Selected = ' selected="selected"'; else $Selected = ''; $Remaining = Core::Cast($this->System)->TranslateReverseURL($Remaining, Core::Cast($this->System)->LocaleManager->LangCode); $URL = Core::Cast($this->System)->LinkLocale($Remaining, $Locale['Code']); $Output .= ''; } $Output .= ''; return $Output; } function ShowTopBar() { $User = ModuleUser::Cast($this->System->GetModule('User'))->User; $Output = '
'; $Output .= $this->ShowMainMenu(); // Show bars items $Bar = ''; foreach (Core::Cast($this->System)->Bars['Left'] as $BarItem) $Bar .= call_user_func($BarItem); if (trim($Bar) != '') $Output .= $Bar; else $Output .= ' '; $Output .= ' | '; return $Output; } function ShowFooter() { global $ScriptStartTime, $Revision, $ReleaseDate, $Version; $ScriptGenerateDuration = round(GetMicrotime() - $ScriptStartTime, 2); $Output = ' | '; $Output .= ''; // Show bars items $Bar = ''; foreach (Core::Cast($this->System)->Bars['Right'] as $BarItem) $Bar .= call_user_func($BarItem); if (trim($Bar) != '') $Output .= $Bar; else $Output .= ' '; $Output .= ' | '; $Output .= '|
'.T('Version').': '.$Version.' '.T('Revision').': '.$Revision.' ('.Core::Cast($this->System)->HumanDate($ReleaseDate).')'. ' '.T('Source code').' '. ''.T('Changelog').' '. Core::Cast($this->System)->Config['Web']['WebCounter']; $Output .= ' | |||
'.T('Generating duration').': '. $ScriptGenerateDuration.' s / '.ini_get('max_execution_time').' s '.T('Used memory').': '. HumanSize(memory_get_peak_usage(FALSE)).' / '.ini_get('memory_limit').'B HTML validator |