From f51c9ed2abe5c68211bb3736be5f70b1fe2c9ec0 Mon Sep 17 00:00:00 2001 From: M.Gergo Date: Fri, 8 Mar 2019 21:20:34 +0100 Subject: további rendrakás --- mayor-orig/www/skin/blue/base/html/base.phtml | 401 -------------------------- 1 file changed, 401 deletions(-) delete mode 100644 mayor-orig/www/skin/blue/base/html/base.phtml (limited to 'mayor-orig/www/skin/blue/base/html') diff --git a/mayor-orig/www/skin/blue/base/html/base.phtml b/mayor-orig/www/skin/blue/base/html/base.phtml deleted file mode 100644 index ebe1161b..00000000 --- a/mayor-orig/www/skin/blue/base/html/base.phtml +++ /dev/null @@ -1,401 +0,0 @@ - base.php - putValidXHTML() -*/ - - require('skin/blue/base/color_schemes.php'); - if (!defined('__COLOR_SCHEME') || !is_array($_COLOR_SCHEMES[__COLOR_SCHEME])) - $_COLORS = $_COLOR_SCHEMES['blue']; - else - $_COLORS = $_COLOR_SCHEMES[__COLOR_SCHEME]; - - -// ------------------------------------------------------------------- -// html_base() : a html oldal szerkezete -// ------------------------------------------------------------------- - -function html_base($sessionID,$policy,$page,$sub,$f,$lang,$skin,$MENU) { - - _httpHeader(); - - if ($MENU['set'][$policy][$page][$sub][$f]['refresh'] > 0) { - @header("Refresh:".intval($MENU['set'][$policy][$page][$sub][$f]['refresh'])); - } - - html_head($page,$sub,$f,$lang,$skin); - _debugLayer(); - html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin); - echo '
'; - $_defaultPageLayout = ($_SESSION['pageLayout']==0) ? 'leftpad' : 'toppad'; - echo '
'; - page($page,$sub,$f,$lang,$skin,$policy); - echo '
'; - html_mayor_foot(); -} - -// ------------------------------------------------------------------- -// html_head() : html fejlec kiirasa -// ------------------------------------------------------------------- - -function html_head($page,$sub,$f,$lang,$skin) { - - global $INCLUDES, $SSSHH, $SSSBB; - - if ($f == '') $f = $page; - ## ---------------------------------------------- - ## Note http://hixie.ch/advocacy/xhtml - ## But this is crazy! Using Doctype sniffing instead... - ## Also read: http://www.mozilla.org/docs/web-developer/faq.html - ## header('Content-type: application/xhtml+xml'); - ## ----------------------------------------------- - - // debug üzenetek layer-ének lezárása -// if (defined('__START_DEBUG') && __START_DEBUG === true) echo "\n"; - - echo ''."\n"; - echo ''."\n"; - echo ''."\n"; - echo ''."\n"; - echo ''."\n"; - echo ''; - if (defined('_SITE')) echo ' - '._SITE.' - '; - echo _MAIN_TITLE; - echo '.'; - echo _MAYORREV; - echo ''."\n"; - includeCSS($page,$sub,$f,$skin); - includeCSS($page,$sub,$f,$skin,'handheld'); // install css for handheld devices - includeJS($page,$sub,$f,$skin); - if (is_string($SSSHH) && $SSSHH!='') echo $SSSHH; - - if (is_array(@$INCLUDES['html_head']['global'])) foreach ($INCLUDES['html_head']['global'] as $key => $include) { - if (file_exists("skin/$skin/$include")) { - include("skin/$skin/$include"); - } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) { - include('skin/'._DEFAULT_SKIN.'/'.$include); - } - } - if (is_array(@$INCLUDES['html_head'][$page])) foreach ($INCLUDES['html_head'][$page] as $key => $include) { - if (file_exists("skin/$skin/$include")) { - include("skin/$skin/$include"); - } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) { - include('skin/'._DEFAULT_SKIN.'/'.$include); - } - } - echo ''."\n"; - echo "\n\n"; - if (is_string($SSSBB) && $SSSBB!='') echo $SSSBB; - -} - -// ------------------------------------------------------------------- -// mayor_menu(): a menü kiiratása -// ------------------------------------------------------------------- - -function mayor_menu($MENU,$sessionID,$lang = _DEFAULT_LANG,$skin = _DEFAULT_SKIN) { - - global $policy, $page, $sub, $f, $LANGUAGES, $SKINSSHOW, $_COLORS; - - echo ''."\n"; - - $loginout_img = _svgLoginout(array('print'=>false, 'color' => $_COLORS['login'])); - $down_svg = _svgDown(array('print'=>false, 'color' => $_COLORS['login'])); - // ------------------------ - - echo ''; - - -} - -// ------------------------------------------------------------------- -// html_mayor_head() : fejlec kiirasa (logo+menu+lastupdated) -// ------------------------------------------------------------------- - -function html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin = _DEFAULT_SKIN) { - - global $INCLUDES, $INSTALLED_MODULES, $LANGUAGES, $SKINS, $SKINSSHOW, $policy, $SCHOOL_LOGO, $SCHOOL_IDENTITY, $SCHOOL_URL, $NAV; - - - _updateWindow(); - _keyHelp(); - - //if (date('m')==12) $imgextra = '-santa'; else $imgextra = ''; - if (defined('_HOME_LOGO') && file_exists(_HOME_LOGO)) $HOME_LOGO=_HOME_LOGO; - elseif (!file_exists($HOME_LOGO = 'skin/'.$skin.'/base/img/mayor_small_ssl'.$imgextra.'.png')) - $HOME_LOGO = 'skin/'._DEFAULT_SKIN.'/base/img/mayor_small_ssl'.$imgextra.'.png'; - - if (defined('_HOME_LOGO_BADGE') && file_exists(_HOME_LOGO_BADGE)) $HOME_LOGO_BADGE=_HOME_LOGO_BADGE; -// elseif (!file_exists($HOME_LOGO = 'skin/'.$skin.'/base/img/mayor_small_ssl'.$imgextra.'.png')) -// $HOME_LOGO = 'skin/'._DEFAULT_SKIN.'/base/img/mayor_small_ssl'.$imgextra.'.png'; - -echo ''; - - echo "\n"; - echo ''."\n\n"; - - mayor_menu($MENU,$sessionID,$lang,$skin); - echo ''; - echo ''; - if ($HOME_LOGO_BADGE!='') echo ''; - echo ''; - - - echo "\n"; - $_defaultPageLayout = ($_SESSION['pageLayout']==0) ? 'vertical' : 'horizontal'; - echo ''."\n\n"; - -} - - -// ------------------------------------------------------------------- -// html_mayor_foot() : lablec kiirasa ( ) -// ------------------------------------------------------------------- - -function html_mayor_foot() { - $_defaultPageLayout = ($_SESSION['pageLayout']==0) ? 'leftpad' : 'toppad'; - echo '
'._MAIN_FOOTER.'
'."\n\n"; - echo "\n"; -} - - -?> -- cgit v1.2.3