diff options
Diffstat (limited to 'mayor-orig/www/skin/winter/base')
-rw-r--r-- | mayor-orig/www/skin/winter/base/css/base.css | 85 | ||||
-rw-r--r-- | mayor-orig/www/skin/winter/base/css/head.css | 154 | ||||
-rw-r--r-- | mayor-orig/www/skin/winter/base/html/base.phtml | 314 | ||||
-rw-r--r-- | mayor-orig/www/skin/winter/base/img/bg.gif | bin | 3195 -> 0 bytes | |||
-rw-r--r-- | mayor-orig/www/skin/winter/base/img/bg2.gif | bin | 3871 -> 0 bytes | |||
-rw-r--r-- | mayor-orig/www/skin/winter/base/img/bg2.jpg | bin | 8596 -> 0 bytes | |||
-rw-r--r-- | mayor-orig/www/skin/winter/base/img/mayor_small_ssl.gif | bin | 1703 -> 0 bytes | |||
-rw-r--r-- | mayor-orig/www/skin/winter/base/img/mayor_small_winter.gif | bin | 2761 -> 0 bytes |
8 files changed, 0 insertions, 553 deletions
diff --git a/mayor-orig/www/skin/winter/base/css/base.css b/mayor-orig/www/skin/winter/base/css/base.css deleted file mode 100644 index c292014e..00000000 --- a/mayor-orig/www/skin/winter/base/css/base.css +++ /dev/null @@ -1,85 +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/winter/base/img/bg2.jpg"); - background-repeat: repeat-x; - } - - /* set default layout! */ - table { font-size: 12px; } - - a { color: #00a000; } - - form { margin: 0px; } - - 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;} - #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/winter/base/css/head.css b/mayor-orig/www/skin/winter/base/css/head.css deleted file mode 100644 index 658e9b4b..00000000 --- a/mayor-orig/www/skin/winter/base/css/head.css +++ /dev/null @@ -1,154 +0,0 @@ -/* - Module: base -*/ -@media screen { - - div.namepolicy { - - 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.right span.nev { color: #ffffff; font-weight: bold; } - div.namepolicy table td.right img { border: none; margin: 0px 1px;} - div.namepolicy table td.left { text-align: left;} - div.namepolicy table td.help a { background-color:#ffffff; 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: darkcyan; - list-style-type: none; - margin:1px; - } - ul#pagemenu li { - display: inline; - border-width: 0px 0px 0px 1px; - border-color: #007777; - 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: #004444; - text-decoration: underline; - } - ul#pagemenu li.active a { - background-color: #920405; - } - ul#pagemenu li.active a:hover { - background-color: rgb(200,0,0); - } - -/* SUB */ - - ul#submenu { - padding: 1px; - text-align: left; - background-color: #006666; - list-style-type: none; - margin:1px 1px 1px 40px; - } - ul#submenu li { - display: inline; - border-width: 0px 0px 0px 1px; - border-color: #84a285; - border-style: dotted; - padding: 0px; - } - ul#submenu li.onClickHideShow { color: rgb(255,255,255); padding: 0px 2px; cursor: pointer; } - ul#submenu li a { - color: rgb(255,255,255); - text-decoration: none; - padding: 0px 5px; - margin: 0px; - } - ul#submenu li a:hover { - background-color: #003333; - text-decoration: underline; - } - ul#submenu li.active a { - background-color: #920405; - } - ul#submenu li.active a:hover { - background-color: rgb(200,0,0); - } - -/* f */ - - ul#fmenu { - padding: 1px; - text-align: left; - background-color: #005555; - list-style-type: none; - margin:1px 1px 1px 80px; - } - ul#fmenu li { - display: inline; - border-width: 0px 0px 0px 1px; - border-color: #84a285; - border-style: dotted; - padding: 0px; - } - ul#fmenu li.onClickHideShow { color: rgb(255,255,255); padding: 0px 2px; cursor: pointer; } - ul#fmenu li a { - color: rgb(255,255,255); - text-decoration: none; - padding: 0px 5px; - margin: 0px; - } - ul#fmenu li a:hover { - background-color: #005555; - text-decoration: underline; - } - ul#fmenu li.active a { - background-color: #920405; - } - ul#fmenu li.active a:hover { - background-color: rgb(200,0,0); - } - - - #changeSkin { - display: inline; - } - #changeSkin .onChangeSubmit { - background-color: #ffffff; - 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/winter/base/html/base.phtml b/mayor-orig/www/skin/winter/base/html/base.phtml deleted file mode 100644 index c004bf64..00000000 --- a/mayor-orig/www/skin/winter/base/html/base.phtml +++ /dev/null @@ -1,314 +0,0 @@ -<?php -/* - Module: base - - html_base($sessionID,$page,$sub,$f,$lang,$skin,$MENU) - html_head($page,$f,$lang,$skin) - html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin = 'default') - html_mayor_foot() - //page($page,$sub,$f,$lang,$skin) --> base.php - putValidXHTML() -*/ - - -// ------------------------------------------------------------------- -// html_base() : a html oldal szerkezete -// ------------------------------------------------------------------- - -function html_base($sessionID,$policy,$page,$sub,$f,$lang,$skin,$MENU) { - - _httpHeader(); - html_head($page,$sub,$f,$lang,$skin); - html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin); - _debugLayer(); - - echo '<div class="mayorbody">'; - page($page,$sub,$f,$lang,$skin,$policy); - echo '</div>'; - 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 '<?xml version="1.0" encoding="utf-8"?>'."\n"; - echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">'."\n"; - echo '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="hu">'."\n"; - echo '<head>'."\n"; - echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />'."\n"; - echo '<title>'; - if (defined('_SITE')) echo ' - '._SITE.' - '; - echo _MAIN_TITLE; - echo ' r'; - echo _MAYORREV; - echo '</title>'."\n"; - includeCSS($page,$sub,$f,$skin); - includeCSS($page,$sub,$f,$skin,'handheld'); // install css for handheld devices - includeJS($page,$sub,$f,$skin); - if ($SSSHH!=null && $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 '<link rel="shortcut icon" href="/skin/classic/base/img/favicon.ico" />'."\n"; - echo "</head>\n<body>\n"; - -} - - -// ------------------------------------------------------------------- -// mayor_menu(): a menü kiiratása -// ------------------------------------------------------------------- - -function mayor_menu($MENU,$sessionID,$lang = _DEFAULT_LANG,$skin = _DEFAULT_SKIN) { - - global $page, $sub, $f; - - echo '<ul id="pagemenu">'; - // -------------------------------------------------------- - if (is_array($MENU)) { - foreach ($MENU as $aModule => $items) { - if ($aModule != 'modules') { - for ($i = 0; $i < count($items); $i++) { - - if ($page == $aModule and - (!isset($items[$i]['url']) or strpos($_SERVER["REQUEST_URI"],$items[$i]['url']) !== false) - ) echo '<li class="active">'; - else echo '<li>'; - - if (isset($items[$i]['url']) && $items[$i]['url'] != '') { - if ($items[$i]['url'][0] == '&') $href = href("index.php?page=$aModule".$items[$i]['url']); - elseif (substr($items[$i]['url'],0,4) == 'http') $href = href($items[$i]['url'], array()); - elseif (isset($items[$i]['get']) && is_array($items[$i]['get'])) $href = href($items[$i]['url'], $items[$i]['get']); - else $href = href($items[$i]['url']); - } else { - $href = href("index.php?page=$aModule"); - } - echo '<a href="'.$href.'"'.((isset($items[$i]['target']))?' target="'.$items[$i]['target'].'" ':'').'>'.$items[$i]['txt'].'</a>'; - - echo '</li>'; - } - } - } - } - // --------------------------------------------------- - echo '</ul>'; - - // II: SZINT - @$pageArray = $MENU['modules'][$page]; - $aPage = $page; - - if (is_array($pageArray)) { - echo '<ul id="submenu" class="hideShowContainer">'; - foreach ($pageArray as $anF => $items) { - if ($anF != 'sub') { - for ($i=0;$i<count($items);$i++) { - if ( - $page == $aPage and - ( - ( - !isset($items[$i]['url']) - and $f == $anF - ) - or - ( - isset($items[$i]['url']) and - strpos($_SERVER["REQUEST_URI"],$items[$i]['url']) !== false - ) - ) - ) echo '<li class="active">'; - elseif ($items[$i]['rejtett']) { echo '<li class="openable" style="display: none">'; $rejtett = true; } - else echo '<li>'; - - if (isset($items[$i]['url']) && $items[$i]['url'] != '') { - if ($items[$i]['url'][0] == '&') $href = href("index.php?page=$aPage&f=$anF".$items[$i]['url']); - elseif (substr($items[$i]['url'],0,4) == 'http') $href = href($items[$i]['url'], array()); - elseif (isset($items[$i]['get']) && is_array($items[$i]['get'])) $href = href($items[$i]['url'], $items[$i]['get']); - else $href = href($items[$i]['url']); - } else { - $href = href("index.php?page=$aPage&f=$anF",array('policy','sessionID','lang','skin')); - } - echo '<a href="'.$href.'"'.((isset($items[$i]['target']))?' target="'.$items[$i]['target'].'" ':'').'>'.$items[$i]['txt'].'</a>'; - echo '</li>'; - } - } - } - if ($rejtett) { - echo '<li class="openable onClickHideShow">⟩⟩</li>'; - echo '<li class="openable onClickHideShow" style="display: none;">⟨⟨</li>'; - } - echo '</ul>'."\n"; - } - - // III: SZINT - @$subArray = $MENU['modules'][$page]['sub'][$sub]; - $aSub = $sub; $rejtett = false; - - if (is_array($subArray)) { - echo '<ul id="fmenu" class="hideShowContainer">'; - - foreach ($subArray as $anF => $items) { - for ($i=0;$i<count($items);$i++) { - if ($aPage == $page and - $aSub == $sub and - $anF == $f and - (!isset($items[$i]['url']) or strpos($_SERVER["REQUEST_URI"],$items[$i]['url']) !== false) - ) echo '<li class="active">'; - elseif ($items[$i]['rejtett']) { echo '<li class="openable" style="display: none">'; $rejtett = true; } - else echo '<li>'; - - if (isset($items[$i]['url']) && $items[$i]['url'] != '') { - if ($items[$i]['url'][0] == '&') $href = href("index.php?page=$aPage&sub=$aSub&f=$anF".$items[$i]['url']); - elseif (substr($items[$i]['url'],0,4) == 'http') $href = href($items[$i]['url'], array()); - elseif (isset($items[$i]['get']) && is_array($items[$i]['get'])) $href = href($items[$i]['url'], $items[$i]['get']); - else $href = href($items[$i]['url']); - } else { - $href = href("index.php?page=$aPage&sub=$aSub&f=$anF"); - } - echo '<a href="'.$href.'"'.((isset($items[$i]['target']))?' target="'.$items[$i]['target'].'" ':'').'> '.$items[$i]['txt'].' </a>'; - - echo '</li>'; - } - } - if ($rejtett) { - echo '<li class="openable onClickHideShow">⟩⟩</li>'; - echo '<li class="openable onClickHideShow" style="display: none;">⟨⟨</li>'; - } - echo '</ul>'."\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(); - _keyHelp(); - - if (!file_exists($HOME_LOGO = 'skin/'.$skin.'/base/img/mayor_small_ssl.png')) - $HOME_LOGO = 'skin/'._DEFAULT_SKIN.'/base/img/mayor_small_ssl.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'; - ## Név, Oldal info, Policy - echo '<div class="namepolicy">'."\n"; - echo '<table cellspacing="0" cellpadding="0"><tr>'."\n"; - echo '<td class="language left hideShowContainer">'."\n"; - - echo '<span class="onClickHideShow"><img class="onClickHideShow" id="openLangSelect" src="skin/classic/base/img/flags/'.$lang.'.gif" alt="'.$lang.'" /></span>'."\n"; - - echo '<span id="langSelect" class="openable" style="display: none;">'; - for ($i = 0;$i < count($LANGUAGES); $i++) { - if ($LANGUAGES[$i]!=$lang) echo '<a href="'.href('index.php?lang='.$LANGUAGES[$i],array('skin','policy','page','sub','f','sessionID')).'"><img src="skin/classic/base/img/flags/'.$LANGUAGES[$i].'.gif" alt="'.$LANGUAGES[$i].'" /></a>'; - } - echo '</span>'; - - echo '<form id="changeSkin" method="post" action="'.href('index.php', array('sessionID','lang')).'">'; - echo '<select class="onChangeSubmit" name="skin">'; - for ($i=0; $i<count($SKINSSHOW); $i++) { - $_SEL = ($SKINSSHOW[$i]==$skin)? 'selected="selected"':''; - echo '<option value="'.$SKINSSHOW[$i].'" '.$_SEL.'>'.$SKINSSHOW[$i].'</option>'; - } - echo '</select>'; - global $POLICIES; - echo '<select class="onChangeSubmit" name="policy" onchange="submit();">'; - for ($i=0; $i<count($POLICIES); $i++) { - $_SEL = ($POLICIES[$i]==$policy)? 'selected="selected"':''; - echo '<option value="'.$POLICIES[$i].'" '.$_SEL.'>'.$POLICIES[$i].'</option>'; - } - echo '</select>'; - - echo '</form>'; - echo '</td>'; - echo '<th>'; - #echo $page; - #if ($sub!='') echo ' » '.$sub; - // --- csak egy próbálkozás!! --------------- - // Szerver idő... - //if (file_exists('skin/classic/module-kellekek/html/clock.phtml')) - // include('skin/classic/module-kellekek/html/clock.phtml'); - - 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); - } - } - // --- vége a próbálkozásnak ---------------- - echo '</th>'; - echo '<td class="right">'; - echo '<span class="nev">'._USERCN.'</span>'; - echo '</td>'; - echo '<td class="right">'; - echo '<img src="skin/classic/base/img/policy/'.$policy.'.gif" alt="'.$policy.'"/>'; - echo '</td>'; - echo '<td class="help">'; - if (isset($sub) && $sub != '') $psf = "$page:$sub:$f"; else $psf = "$page:$f"; - echo '<a title="'._HELP.'" target="_blank" href="wiki/dok.php?id='.$psf.'">?</a>'; - echo '</td></tr>'; - echo '</table>'; - echo '</div>'."\n"; - ## ------------------------ - echo '<table class="mayorhead" cellspacing="0" cellpadding="0">'."\n"; - echo '<tr><td style="width: 40px">'; - echo '<a href="'.href('index.php').'"><img src="'.$HOME_LOGO.'" alt="MaYoR" style="border-width: 0;" /></a>'; - echo '</td>'."\n"; - echo '<td style="vertical-align: middle; text-align: left; width: 99%">'; - mayor_menu($MENU,$sessionID,$lang,$skin); - echo '</td>'; - if (in_array('help',$INSTALLED_MODULES)) { - $link = "index.php?page=help&hpage=$page&hsub=$sub&hf=$f"; - echo '<td>'; - echo '<a href="'.href($link).'" target="_blank">'; - echo '<img src="'.$HELP_LOGO.'" alt="'._HELP.'" style="border-width: 0;" />'; - echo '</a>'; - - echo '</td>'; - } - echo "</tr>\n</table>\n"; - -} - -// ------------------------------------------------------------------- -// html_mayor_foot() : lablec kiirasa ( ) -// ------------------------------------------------------------------- - -function html_mayor_foot() { - echo '<div class="mayorfoot">'._MAIN_FOOTER.'</div>'; - echo "</body>\n</html>"; -} - - - -?> diff --git a/mayor-orig/www/skin/winter/base/img/bg.gif b/mayor-orig/www/skin/winter/base/img/bg.gif Binary files differdeleted file mode 100644 index 54e912c0..00000000 --- a/mayor-orig/www/skin/winter/base/img/bg.gif +++ /dev/null diff --git a/mayor-orig/www/skin/winter/base/img/bg2.gif b/mayor-orig/www/skin/winter/base/img/bg2.gif Binary files differdeleted file mode 100644 index 38f1d0d1..00000000 --- a/mayor-orig/www/skin/winter/base/img/bg2.gif +++ /dev/null diff --git a/mayor-orig/www/skin/winter/base/img/bg2.jpg b/mayor-orig/www/skin/winter/base/img/bg2.jpg Binary files differdeleted file mode 100644 index 33e9a7c9..00000000 --- a/mayor-orig/www/skin/winter/base/img/bg2.jpg +++ /dev/null diff --git a/mayor-orig/www/skin/winter/base/img/mayor_small_ssl.gif b/mayor-orig/www/skin/winter/base/img/mayor_small_ssl.gif Binary files differdeleted file mode 100644 index 378ffb88..00000000 --- a/mayor-orig/www/skin/winter/base/img/mayor_small_ssl.gif +++ /dev/null diff --git a/mayor-orig/www/skin/winter/base/img/mayor_small_winter.gif b/mayor-orig/www/skin/winter/base/img/mayor_small_winter.gif Binary files differdeleted file mode 100644 index 635e4f7c..00000000 --- a/mayor-orig/www/skin/winter/base/img/mayor_small_winter.gif +++ /dev/null |