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/oldschool/base/css/base.css | 86 ------ mayor-orig/www/skin/oldschool/base/css/head.css | 149 --------- mayor-orig/www/skin/oldschool/base/html/base.phtml | 337 --------------------- .../skin/oldschool/base/img/mayor_small_ssl.png | Bin 3779 -> 0 bytes .../www/skin/oldschool/module-auth/css/login.css | 45 --- 5 files changed, 617 deletions(-) delete mode 100644 mayor-orig/www/skin/oldschool/base/css/base.css delete mode 100644 mayor-orig/www/skin/oldschool/base/css/head.css delete mode 100644 mayor-orig/www/skin/oldschool/base/html/base.phtml delete mode 100644 mayor-orig/www/skin/oldschool/base/img/mayor_small_ssl.png delete mode 100644 mayor-orig/www/skin/oldschool/module-auth/css/login.css (limited to 'mayor-orig/www/skin/oldschool') diff --git a/mayor-orig/www/skin/oldschool/base/css/base.css b/mayor-orig/www/skin/oldschool/base/css/base.css deleted file mode 100644 index 39c25726..00000000 --- a/mayor-orig/www/skin/oldschool/base/css/base.css +++ /dev/null @@ -1,86 +0,0 @@ -/* - Module: base -*/ -@import "head.css"; -@media screen { - - html body { - font-family: Verdana, sans-serif; - font-size: 12px; - margin:0px; - padding:0px; - background-color: white; - background-image: url("/skin/classic/base/img/gradient.jpg"); - background-repeat: repeat-x; - } - - /* set default layout! */ - table { font-size: 12px; } - - form { margin: 0px; } - - div#mayorerror { } - - div.mayorbody { - - padding: 0px; - - } - - div.mayorfoot { - text-align: center; - font-size: 10px; - width:100%; - } -/* - Alert - */ - - form.mayorAlert { margin: 0px; padding: 0px; } - form.mayorAlert input { display: none; } - div.errorMsg { - margin: 20px 20%; - background-color: #eeffd0; - border: solid 2px #ff0000; - padding: 15px; - } - div.errorMsg span { - font-style: italic; - } - - div.infoMsg { - margin: 20px 20%; - background-color: #eeffd0; - border: solid 2px #0000ff; - padding: 15px; - } - div.infoMsg span { - font-style: italic; - } - - span.alertParam { - color: green; - } - - #takaro { z-index:150;position: fixed;top:0px; left:0px; right:0px; bottom:0px; background-color: rgba(0,0,0,0.7); } - #updateWindow {background-color: white; position: absolute;z-index:200;margin:auto auto; width:400px; border: solid 1px black;} - #updateHeader {background-color: #eeeeee; border-bottom: solid 1px black; text-align: center; font-weight: large;padding:4px 2px;} - #keyHelp { z-index:151;position: absolute; top:200px; left: 200px; right:200px; margin: auto; padding: 20px; width: 300px; - border: solid 1px yellow; border-radius: 20px; border-spacing: 15px; background-color: rgba(0,0,0,0.4); - } - #keyHelp th { color: white; text-align: center; border-bottom: yellow 2px solid; font-size: 20px; font-weight: bold; } - #keyHelp td.key { color: yellow; text-align: right; } - #keyHelp td.desc { color: white; text-align: left; } - -} -@media print { - html body { - font-family: Verdana, sans-serif; - font-size: 12px; - } - div.mayorfoot { - text-align: center; - font-size: 10px; - margin: 5px; - } - div.namepolicy { display: none; } - table.mayorhead { display: none; } -} \ No newline at end of file diff --git a/mayor-orig/www/skin/oldschool/base/css/head.css b/mayor-orig/www/skin/oldschool/base/css/head.css deleted file mode 100644 index e6303c3f..00000000 --- a/mayor-orig/www/skin/oldschool/base/css/head.css +++ /dev/null @@ -1,149 +0,0 @@ -/* - Module: base -*/ -@media screen { - - div.namepolicy { - background-color:#ced89c; - border-style: none none solid none; - border-width: 1px; - border-color: #666666; - } - div.namepolicy table { font-size: 10px; width:100%; } - div.namepolicy table td { width:40%; } - div.namepolicy table td.right { text-align: right; } - div.namepolicy table td.left { text-align: left;} - div.namepolicy table td.help a { background-color:#aeb86c; text-decoration: none; font-weight: bold; padding: 2px 5px; color: rgb(80,60,40); display: block; } - div.namepolicy table td.help a:hover { background-color:#bec87c; } - div.namepolicy table th { width:20% } - div.namepolicy span.nev { padding-right: 14px; } - div.namepolicy table td.language span { vertical-align: middle; } - div.namepolicy table td.language img { margin: 0px 0px 0px 4px; height: 10px; border: solid 1px #777777; } - #langSelect { vertical-align: middle; padding: 0px; margin: 0px;} - - table.mayorhead { font-size: 10px; margin: 3px 3px 20px 3px;} - - table.mayorhead td.namepolicy { padding: 5px; } - table.mayorhead td.namepolicy table { - font-size: 10px; - border-style: solid; - border-width: 2px ; - border-color: #550670; - background-color: #8877aa; - color: white; - } - -/* Új menü */ - - ul#pagemenu { - padding: 1px; - text-align: left; - background-color: #040562; - list-style-type: none; - margin:1px; - } - ul#pagemenu li { - display: inline; - border-width: 0px 0px 0px 1px; - border-color: #8485a2; - border-style: dotted; - padding: 0px; - } - ul#pagemenu li a { - color: rgb(255,255,255); - text-decoration: none; - padding: 0px 5px; - margin: 0px; - } - ul#pagemenu li a:hover { - background-color: rgb(100,100,140); - text-decoration: underline; - } - ul#pagemenu li.active a { - background-color: #620405; - } - ul#pagemenu li.active a:hover { - background-color: rgb(140,100,100); - } - -/* SUB */ - - ul#submenu { - padding: 1px; - text-align: left; - background-color: #040582; - list-style-type: none; - margin:1px 1px 1px 40px; - } - ul#submenu li { - display: inline; - border-width: 0px 0px 0px 1px; - border-color: #8485a2; - border-style: dotted; - padding: 0px; - } - ul#submenu li a { - color: rgb(255,255,255); - text-decoration: none; - padding: 0px 5px; - margin: 0px; - } - ul#submenu li a:hover { - background-color: rgb(100,100,140); - text-decoration: underline; - } - ul#submenu li.active a { - background-color: #620405; - } - ul#submenu li.active a:hover { - background-color: rgb(140,100,100); - } - -/* f */ - - ul#fmenu { - padding: 1px; - text-align: left; - background-color: #0405a2; - list-style-type: none; - margin:1px 1px 1px 80px; - } - ul#fmenu li { - display: inline; - border-width: 0px 0px 0px 1px; - border-color: #8485a2; - border-style: dotted; - padding: 0px; - } - ul#fmenu li a { - color: rgb(255,255,255); - text-decoration: none; - padding: 0px 5px; - margin: 0px; - } - ul#fmenu li a:hover { - background-color: rgb(100,100,140); - text-decoration: underline; - } - ul#fmenu li.active a { - background-color: #620405; - } - ul#fmenu li.active a:hover { - background-color: rgb(140,100,100); - } - - #changeSkin { - display: inline; - } - #changeSkin .onChangeSubmit { - background-color: #eeeeee; - font-size:9px; - } - -} -@media print { - - div.namepolicy { display: none; } - table.mayorhead { display: none; } - -} \ No newline at end of file diff --git a/mayor-orig/www/skin/oldschool/base/html/base.phtml b/mayor-orig/www/skin/oldschool/base/html/base.phtml deleted file mode 100644 index 813ed04e..00000000 --- a/mayor-orig/www/skin/oldschool/base/html/base.phtml +++ /dev/null @@ -1,337 +0,0 @@ - base.php - putValidXHTML() -*/ - - -// ------------------------------------------------------------------- -// 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 '
'; - 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'); - ## ----------------------------------------------- - - echo ''."\n"; - echo ''."\n"; - echo ''."\n"; - echo ''."\n"; - 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 $page, $sub, $f; - - // PATCH MENU - $MENU['auth'] = array( - array('txt' => 'Bejelentkezés', 'url' => 'index.php?page=auth&f=login&toPolicy=private'), - array('txt' => 'Szülői bejelentkezés', 'url' => 'index.php?page=auth&f=login&toPolicy=parent'), - ); - $MENU['modules']['auth']['login'] = array( - array('txt' => 'Szülői bejelentkezés', 'url' => 'index.php?page=auth&f=login&toPolicy=parent'), - array('txt' => 'Védett oldalak','url' => 'index.php?page=auth&f=login&toPolicy=private'), - ); - // - echo ''; - - // II: SZINT - @$pageArray = $MENU['modules'][$page]; - $aPage = $page; - - if (is_array($pageArray)) { - echo ''."\n"; - } - - // III: SZINT - @$subArray = $MENU['modules'][$page]['sub'][$sub]; - $aSub = $sub; - - if (is_array($subArray)) { - echo ''."\n"; - } - -} - -// ------------------------------------------------------------------- -// 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; - - if (date('m')==12) $imgextra = '-santa'; - elseif (date('m')==3 && date('d')>=11 && date('d')<=15) $imgextra = '-marc15'; - elseif (date('m')==4 && date('d')==1) $imgextra = '-flip'; - else $imgextra = ''; - - if (!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 (!file_exists($HOME_LOGO = 'skin/'.$skin.'/base/img/mayor_small_ssl.gif')) - // $HOME_LOGO = 'skin/'._DEFAULT_SKIN.'/base/img/mayor_small_ssl.gif'; - if (!file_exists($HELP_LOGO = 'skin/'.$skin.'/module-help/img/help_small.jpg')) - $HELP_LOGO = 'skin/'._DEFAULT_SKIN.'/module-help/img/help_small.jpg'; - - _updateWindow(); - _keyHelp(); - - ## Név, Oldal info, Policy - echo '
'."\n"; - echo ''."\n"; - echo ''."\n"; - echo ''; - echo ''; - echo ''; - echo ''; - echo '
'."\n"; - - echo ''.$lang.''."\n"; - - echo ''; - - formBegin(array('id'=>'changeSkin','action'=>href('index.php', array('sessionID','lang')))); - echo ''; - echo ''; - global $POLICIES; - echo ''; - /* Némi javascipt támogatás a session kezelésre ebben a formban */ - $sessionMaxIdleTime=$sessionAlertTime=0; - if ((_SESSIONID!='' && _POLICY!='public') && defined('_SESSION_MAX_IDLE_TIME') && _SESSION_MAX_IDLE_TIME>0) { - $sessionMaxIdleTime=((_SESSION_MAX_IDLE_TIME*1000*60*60)+1000); - if (defined('_SESSION_ALERT_TIME')) $sessionAlertTime = ((_SESSION_MAX_IDLE_TIME*1000*60*60)-(_SESSION_ALERT_TIME*1000*60)); - } - echo ''; - echo ''; - /* --- */ - formEnd(); - //echo ''; - echo ''; - //echo $page; - //if ($sub!='') echo ' » '.$sub; - if (is_array(@$INCLUDES['html_mayor_head']['global']['center'])) foreach ($INCLUDES['html_mayor_head']['global']['center'] 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 ''; - echo ''._USERCN.''; - echo ''; - echo ''.$policy.''; - echo ''; - if (isset($sub) && $sub != '') $psf = "$page:$sub:$f"; else $psf = "$page:$f"; - echo '?'; - echo '
'; - echo '
'."\n"; - ## ------------------------ - echo ''."\n"; - echo ''."\n"; - echo ''; - if (in_array('help',$INSTALLED_MODULES)) { - $link = "index.php?page=help&hpage=$page&hsub=$sub&hf=$f"; - echo ''; - } - echo "\n
'; - echo 'MaYoR'; - echo ''; - mayor_menu($MENU,$sessionID,$lang,$skin); - echo ''; - echo ''; - echo ''._HELP.''; - echo ''; - - echo '
\n"; - -} - - -// ------------------------------------------------------------------- -// html_mayor_foot() : lablec kiirasa ( ) -// ------------------------------------------------------------------- - -function html_mayor_foot() { - - echo '
'._MAIN_FOOTER.'
'."\n\n"; - echo "\n"; -} - - -?> diff --git a/mayor-orig/www/skin/oldschool/base/img/mayor_small_ssl.png b/mayor-orig/www/skin/oldschool/base/img/mayor_small_ssl.png deleted file mode 100644 index 43760ec1..00000000 Binary files a/mayor-orig/www/skin/oldschool/base/img/mayor_small_ssl.png and /dev/null differ diff --git a/mayor-orig/www/skin/oldschool/module-auth/css/login.css b/mayor-orig/www/skin/oldschool/module-auth/css/login.css deleted file mode 100644 index c3da5e07..00000000 --- a/mayor-orig/www/skin/oldschool/module-auth/css/login.css +++ /dev/null @@ -1,45 +0,0 @@ -@media screen { -img { border-width: 0px; } -h1 {text-align: center; margin: 10px; font-size:20px; } -h2 {text-align: center; margin: 10px; font-size: 15px; } -table { font-size: 12px; } -table.main {width: 100%; border-width: 0px;} -table.loginablak { - background-color: #ffffff; - border-width: 1px; - border-style: solid; - border-color: #555550; - width:400px} -td { padding: 2px } -form { margin: 30px;padding: 0px; } -input { font-size: 12px; font-family:Verdana,Arial; background-color: #fffff0; border: solid 1px #666690;} -select.pp { padding: 0px; margin: 0px; border: none 0px #778890; font-size: 12px; background-color: #eeeee0; font-family: Verdana,Arial; } -select.pp>option { border: none 0px black; } -input.submit { border: solid 1px #776650; } -table.loginablak thead td { background-color: #666690; - text-align: center; - font-family: Verdana,arial; - font-size: 10pt; - font-weight: - bold; - color: white; - border-bottom: solid 1px white; -} -table.loginablak tbody tr.top td { border-top: solid 1px #666690; } - -tfoot td { background-color: #888880; text-align: center; } -td.co { text-align: center; vertical-align: bottom; font-family: Verdana,arial; font-size:8pt; } -img.aauthImg { - border-top: solid 1px #666690; - border-bottom: solid 1px #888880; - border-left: solid 1px #666690; - border-right: solid 1px #888880; -} -#capsLockWarning { - position: absolute; - background: #ffffaa; color: #ffaaaa; text-align: center; - font-size: 20px; font-weight: bold; - width: 300px; padding: 20px; margin: 10px auto; -} - -} \ No newline at end of file -- cgit v1.2.3