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/pda/base/css/base.css | 182 ------------------- mayor-orig/www/skin/pda/base/html/alert.phtml | 85 --------- mayor-orig/www/skin/pda/base/html/base.phtml | 240 -------------------------- 3 files changed, 507 deletions(-) delete mode 100644 mayor-orig/www/skin/pda/base/css/base.css delete mode 100644 mayor-orig/www/skin/pda/base/html/alert.phtml delete mode 100644 mayor-orig/www/skin/pda/base/html/base.phtml (limited to 'mayor-orig/www/skin/pda/base') diff --git a/mayor-orig/www/skin/pda/base/css/base.css b/mayor-orig/www/skin/pda/base/css/base.css deleted file mode 100644 index 1a321380..00000000 --- a/mayor-orig/www/skin/pda/base/css/base.css +++ /dev/null @@ -1,182 +0,0 @@ -/* - Module: base -*/ - html { margin:0px; padding:0px; } - html body { - font-family: Verdana, Arial, Helvetica, sans-serif; - margin:0px; - padding:0px; - font-size: 11px; - } - - form { margin: 0px; } - div.mayorbody { - padding: 0px; - background-color: white; - margin-top:0em; - margin-bottom:2em; - } - div.mayorfoot { - text-align: center; - position: bottom; - width:100%; - font-size:x-small; - color: #888888; - } - div.mayorfoot a { color:#888888; text-decoration: none; } -/* - Alert - */ - - form.mayorAlert { margin: 0px; padding: 0px; } - form.mayorAlert input { display: none; } - div.errorMsg { - background-color: #eeffd0; - border: solid 2px #C71585; - padding: 1px; - text-align:center; - margin:10px; - } - div.errorMsg span { - font-style: italic; - } - div.infoMsg { - background-color: #eeffd0; - border: solid 2px #0000ff; - padding: 1px; - } - div.infoMsg span { - font-style: italic; - } - - span.alertParam { - color: green; - } - -/* Module: base */ - - div.namepolicy { - background-color: rgb(52, 150, 185); -// background: rgb(241, 241, 241); - border-bottom: 2px solid rgb(247, 197, 14); - margin: 0px; - padding:0px; - min-height:40px; - width:100%; - } - - div.namepolicy a#home - { - display: table-cell; - height:40px; - width:200px; - text-align: left; - vertical-align: middle; - font-size: normal; margin:0px; padding-left:1em; text-decoration: none; - color: white; - } - -/* Menü */ - - ul#pagemenu { - padding: 0px; - 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 1px; - } - 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 0px; - } - 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: none; - } - #changeSkin .onChangeSubmit { - } diff --git a/mayor-orig/www/skin/pda/base/html/alert.phtml b/mayor-orig/www/skin/pda/base/html/alert.phtml deleted file mode 100644 index a7f9ce62..00000000 --- a/mayor-orig/www/skin/pda/base/html/alert.phtml +++ /dev/null @@ -1,85 +0,0 @@ -'; - for ($j = 0; $j < count($_SESSION['alert']); $j++) { - - // Nincs mindig paraméter - ezért a $param nem kap értéket! - így az explode Notice üzenetet váltana ki... - $param = array(); - $tmp = explode(':',$_SESSION['alert'][$j]); - $aType = $tmp[0]; $aCode = $tmp[1]; - for ($p = 2; $p < count($tmp); $p++) $param[] = $tmp[$p]; - $pstr = ''; - if ($aType == 'popup') { - if ($aCode == '' ) $msg = $ALERT_MSG['default']; - elseif ($ALERT_MSG[$aCode] == '') $msg = $aCode; - else $msg = $ALERT_MSG[$aCode]; - // paraméter behelyettesítés - for($i = 1; $i < count($param); $i++) { - $msg = str_replace("%$i%",$param[$i],$msg,$count); - if ($param[$i] != '' and $count == 0) $pstr .= $param[$i].','; - } - if ($pstr != '') $msg .= ' (' . substr($pstr,0,-1) . ')'; - - echo ''; - } else { - if ($aCode == '') $msg = $ALERT_MSG['default']; - elseif (!isset($ALERT_MSG[$aCode]) || $ALERT_MSG[$aCode] == '') $msg = $ALERT_MSG['default'].' ('.$aType.':'.$aCode.')'; - else $msg = $ALERT_MSG[$aCode]; - // paraméter behelyettesítés - for($i = 0; $i < count($param); $i++) { - $_msg = $msg; - $msg = @str_replace("%$i%",''.$param[$i].'',$msg); - if ($param[$i] != '' and $_msg == $msg) $pstr .= ''.$param[$i].','; - } - if ($pstr != '') $msg .= ' (' . substr($pstr,0,-1) . ')'; - - if (($aType == 'message') or ($aType == 'page')) { - $title = _ERROR; - $class = 'errorMsg'; - if ($aType == 'page') $showPage = false; - } else { - $title = _INFORMATION; - $class = 'infoMsg'; - } - $msg = ''.$title.': ' . $msg; - echo '
'.$msg.'
'."\n"; - - } - $_SESSION['alert'] = array(); - } - echo ''; - - return $showPage; - - } - -?> diff --git a/mayor-orig/www/skin/pda/base/html/base.phtml b/mayor-orig/www/skin/pda/base/html/base.phtml deleted file mode 100644 index b15ad2f3..00000000 --- a/mayor-orig/www/skin/pda/base/html/base.phtml +++ /dev/null @@ -1,240 +0,0 @@ - base.php - putValidXHTML() -*/ - - -// ------------------------------------------------------------------- -// html_base() : a html oldal szerkezete -// ------------------------------------------------------------------- - -function html_base($sessionID,$policy,$page,$sub,$f,$lang,$skin,$MENU) { -// Huston! This is for IE-shit - - _httpheader(); - - html_head($page,$sub,$f,$lang,$skin); - html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin); - - 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; - - 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 ''; - if (defined('_SITE')) echo ' - '._SITE.' - '; - echo _MAIN_TITLE; - echo ''."\n"; - if ($SSSHH!=null && $SSSHH!='') echo $SSSHH; - - includeCSS($page,$sub,$f,$skin); - includeCSS($page,$sub,$f,$skin,'handheld'); // install css for handheld devices -// includeJS($page,$sub,$f,$skin); // now, we are not using javascript - right now - - 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\n"; - -} - -// ------------------------------------------------------------------- -// mayor_menu(): a menü kiiratása -// ------------------------------------------------------------------- - -function mayor_menu($MENU,$sessionID,$lang = _DEFAULT_LANG,$skin = _DEFAULT_SKIN) { - - global $page, $sub, $f; - - 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; - - _updateWindow(); - - ## Név, Oldal info, Policy - echo '
'."\n"; - - echo ''; -// echo 'MaYoR'; - echo 'MaYoR'; - echo ''; - - echo '
'."\n"; - -} - - - -// ------------------------------------------------------------------- -// html_mayor_foot() : lablec kiirasa ( ) -// ------------------------------------------------------------------- - -function html_mayor_foot() { - - global $AUTH, $SKINS; - - echo '
'; - if ($AUTH[_POLICY]['skin'] != '' && in_array($AUTH[_POLICY]['skin'], $SKINS)) $_skin=$AUTH[_POLICY]['skin']; - else $_skin = _DEFAULT_SKIN; - echo _MAIN_FOOTER; - echo ''; - echo ' - HTML nézet'; - echo ''; - - echo '
'; - echo "\n"; -} - -?> -- cgit v1.2.3