diff options
Diffstat (limited to 'mayor-orig/www/skin/sulix')
16 files changed, 1059 insertions, 0 deletions
diff --git a/mayor-orig/www/skin/sulix/base/css/base.css b/mayor-orig/www/skin/sulix/base/css/base.css new file mode 100644 index 00000000..fbffc38f --- /dev/null +++ b/mayor-orig/www/skin/sulix/base/css/base.css @@ -0,0 +1,268 @@ +/* @override https://sy.ulx.hu:1743/sulixnaplo/skin/sulix/base/css/base.css?ver=2719 */ + +/* + Module: base +*/ +@media screen { + + html body { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; margin:0px; padding:0px; } + + a { text-decoration:none; } + + div.errorMsg { margin: 20px 20%; background: #fee; border: solid 1px red; border-radius: 2px; padding: 15px; box-shadow: 0px 1px 10px rgba(0,0,0,0.5); } + div.errorMsg span { font-weight: bold; color: #f00; } + div.infoMsg { margin: 20px 20%; background-color: #eef; border: groove 1px #0000ff; border-radius: 2px; padding: 15px; box-shadow: 0px 1px 10px rgba(0,0,0,0.5); } + div.infoMsg span { font-weight: bold; color: #00a; } + div.errorMsg span.alertParam, div.infoMsg span.alertParam { font-weight: normal; font-style: italic; color: green; } + + #logo { position: absolute; top: 0; + left: 5px; +} + + #head { position: absolute; width: 100%; height: 60px; background: #3496B9 url(../img/powered_by_mayor_small.png) no-repeat right center; } +/* + #egyeb { float: right; padding: 23px 20px; margin-right: 100px; text-align: right; } + #egyeb span { color: white; cursor: pointer; background: #3facc7; padding: 23px 20px; } + #settings { display: none; width: 100px; + margin-top: 5px; position:relative; right: 0px; + background: #f496b9; + } + #egyeb:hover #settings { display: block; } + #settings table { width: 100%; background: #3facc7; margin-top: 23px; border-spacing: 1px;} + #settings td { width: 100%; text-align: left; padding-left: 10px; border-bottom: solid 1px #ffacc7; background: #3496B9; } + #settings td:last-child { border-bottom: none; } + #settings td a { + display: inline-block; width: 100%; + padding: 2px 0px 2px 0px; + text-align: left; text-decoration: none; + color: white; + } + #settings td a:hover { } +*/ + + + #nav, #nav ul { list-style: none; } + #nav { margin: 0; height: 60px; padding-left: 180px; } + #nav li { position: relative; } + + #nav > li { float: left; z-index: 20; min-width: 100px; text-align: center; padding: 20px; height: 20px; background: #47c980; } + #nav > li:hover { z-index: 22; } + #nav > li > ul { top: 50px; left: -1px; /* background: #1A4B5C; */} + #nav > li > ul > li > a { margin-left: 10px; } + + #nav li:hover { background: #4fbcd7; } + #nav li.active { background: #3facc7; } + #nav li a { display: block; padding: 3px 8px; color: white; } + #nav li a:hover { color:#fdb933; } + #nav li:hover > ul, #nav li.over ul { display: block; } +#nav > li.active { padding-right: 0; padding-left: 0; width: 140px; } +#nav > li > a { padding: 23px 8px; position: relative; top: -20px; } + #nav li.nav1szin { background: #3496B9; } + #nav ul.sub { background: #3facc7; } + + + #nav ul { display: none; position: absolute; width: 160px; padding: 0px; } + #nav ul span { float: left; margin: 6px 5px; color: white; } + #nav ul > li { background: #3496B9; } + #nav ul li { text-align: left; margin-bottom: 1px; } + #nav ul li a { padding: 6px 10px; } + #nav ul li.active > a { color:#fdb933; } + + #nav ul ul { top: 0px; left: -145px; z-index: 30; background: #3facc7; background: #3496B9} + #nav ul ul a { background: #3facc7; } + #nav ul ul a:hover { background: #4fbcd7; } + + #nav li.start { + height: 20px; min-width: 0; padding-right: 0px; padding-left: 6px; + background: #D2DFE9; border-right: 4px solid #D2DFE9; border-radius: 0px 30px 30px 0px; + } + + #poz { list-style: none; background-color: rgb(230,230,230); margin: 0; height: 20px; border-bottom: #f3f3f3 solid 5px; } + #poz > li { float: right; padding: 2px; width: auto; } + + #nav1 { z-index: 4; position: absolute; margin-left: 330px; margin-right: 10px; background: rgba(52,150,185,0.6); } + #nav1 div a { padding: 22px 8px 23px 8px; display: inline-block; text-decoration: none; color: #fff; background: #3496B9; margin-top: 1px; } + + #nav1 div a:hover { color: #fdb933; /*background: #5FCCE7; */} + #nav1 div a.aktiv { color:#fdb933; /*background: #4FBCD7; */} + + #nav2 { width: 120px; position: absolute; margin: 0; height: 100%; + background: -webkit-linear-gradient(top, #D2DFE9 0%,#D2DFE9 50%,#ffffff 100%); + background: -moz-linear-gradient(top, #D2DFE9 0%,#D2DFE9 50%,#ffffff 100%); + background: linear-gradient(top, #D2DFE9 0%,#D2DFE9 50%,#ffffff 100%); + } + #nav2 ul { margin: 0; padding: 0; list-style: none; } + #nav2 ul li { border-bottom: solid 1px rgba(100,100,100,0.4); } + #nav2 ul li a { display: block; color: black; font-size: 11px; background: #D2DFE9; padding: 6px 6px; text-decoration: none; } + #nav2 ul li a.aktiv { color: #175970; color: #ee7f00; font-size: 12px; } + #nav2 ul li a:hover { color: white; background: #9abcd8; } + + + #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; } + + div.mayorbody { margin-left: 121px; } +/* + #logo, #head, #nav1, #nav2, #nav, #poz { position: fixed; } + #head { top: 0; left: 0; } + #nav { top: 0; left: 0; } + #nav1 { top: 0; } + #poz { top: 60px; width: 100%; } + #nav2 { top: 85px; } + div.mayorbody { margin-top: 85px; } + #nav2 { top: 60px; } + div.mayorbody { margin-top: 60px; } + */ + + #mayorErrorSmall.mayorErrorSmallInfo { +border-bottom: solid 4px rgb(106,128,250); +padding:4px; height:100%; width:100%; +background-color:rgba(250,250,250,0.9); + } + + #mayorErrorSmall.mayorErrorSmallError { +border-bottom: solid 4px red; +padding:4px; height:100%; width:100%; +background-color:rgba(250,250,250,0.9); + } + +} + +form { + background-color: #eeeeee !important; + color: black !important; +} + +form.hiba { + background-color: #eeeeee !important; + color: black !important; +} + +form.kepzes { + background-color: #eeeeee !important; + color: black !important; +} + +form.tanar { + background-color: #eeeeee !important; + color: black !important; +} + +form.terem { + background-color: #eeeeee !important; + color: black !important; +} + +table.toolBar form { + background: #3496b9 !important; +} + +form h2 { + background: #d2d2d2 !important; + font-weight: normal !important; + font-style: normal !important; + font-size: 16px !important; + color: black !important; +} + +form h3 { + color: black !important; + font-size: 14px !important; + font-weight: normal !important; + font-style: normal !important; +} + +#mayorbody table th +{ + background: #d2d2d2 !important; + font-weight: normal !important; + font-style: normal !important; + font-size: 16px !important; + color: black !important; +} + +form.terem h1 +{ + background: #d2d2d2 !important; + font-weight: normal !important; + font-style: normal !important; + font-size: 16px !important; + color: black !important; +} + +form.hiba h1 +{ + background: #d2d2d2 !important; + font-weight: normal !important; + font-style: normal !important; + font-size: 16px !important; + color: black !important; +} + +form.export h1 +{ + background: #d2d2d2 !important; + font-weight: normal !important; + font-style: normal !important; + font-size: 16px !important; + color: black !important; +} + +form.osztalyForm h1 +{ + background: #d2d2d2 !important; + font-weight: normal !important; + font-style: normal !important; + font-size: 16px !important; + color: black !important; +} + +form.tanar h1 +{ + background: #d2d2d2 !important; + font-weight: normal !important; + font-style: normal !important; + font-size: 16px !important; + color: black !important; +} + +form.updateTable h1 +{ + background: #d2d2d2 !important; + font-weight: normal !important; + font-style: normal !important; + font-size: 16px !important; + color: black !important; +} + +form.kepzes h1 +{ + background: #d2d2d2 !important; + font-weight: normal !important; + font-style: normal !important; + font-size: 16px !important; + color: black !important; +} + +#mayorbody .toolBar th +{color: white !important; +background: #3496b9 !important; +font-size: 10px !important;} + + + + form.hiba input + form.hiba select + { + margin:2px 10px; + background-color: white; + border: solid 1px rgb(120,220,240); + padding:0px 10px; + color: black; +}
\ No newline at end of file diff --git a/mayor-orig/www/skin/sulix/base/html/base.phtml b/mayor-orig/www/skin/sulix/base/html/base.phtml new file mode 100644 index 00000000..5848a7b7 --- /dev/null +++ b/mayor-orig/www/skin/sulix/base/html/base.phtml @@ -0,0 +1,332 @@ +<?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(); + 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 '<div id="mayorerror"></div>'; + echo '<div class="mayorbody" id="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" "http://www.w3.org/TR/xhtml1/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 (_SULIX_DESIGN !== true) { +// if (defined('_SITE')) echo ' - '._SITE.' - '; +// echo _MAIN_TITLE; +// echo '.'; +// echo _MAYORREV; +// } else { + echo _SITE; +// } + 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); + } + } +// if (_SULIX_DESIGN !== true) echo '<link rel="shortcut icon" href="/skin/sulix/base/img/favicon.ico" />'."\n"; +// else + echo '<link type="image/x-ico" rel="icon" href="/sulixlearning/theme/image.php?theme=leatherbound&image=favicon&rev=171&component=theme">'; + echo "</head>\n<body>\n"; + +} +// ------------------------------------------------------------------- +// mayor_menu(): a menü kiiratása +// ------------------------------------------------------------------- + +function mayor_menu($MENU,$sessionID,$lang = _DEFAULT_LANG,$skin = _DEFAULT_SKIN) { + + global $policy, $page, $sub, $f, $LANGUAGES, $SKINSSHOW; + + echo '<ul id="nav" class="hideShowContainer">'."\n"; + + if (is_array($MENU)) { + foreach ($MENU as $aModule => $pItems) { + if ($aModule != 'modules') { + for ($i = 0; $i < count($pItems); $i++) { + if ($page == $aModule and + ((!isset($pItems[$i]['url'])) || strpos($_SERVER["REQUEST_URI"],$pItems[$i]['url']) !== false) + ) { +// if (_SULIX_DESIGN === true) + echo '<li class="active">'; +// else echo '<li class="active nav1szin">'; + } else { + echo '<li style="display: none;" class="openable">'; + } + if (isset($pItems[$i]['url']) && $pItems[$i]['url'] != '') { + if ($pItems[$i]['url'][0] == '&') $href = href("index.php?page=$aModule".$pItems[$i]['url']); + elseif (substr($pItems[$i]['url'],0,4) == 'http') $href = href($pItems[$i]['url'], array()); + elseif (isset($pItems[$i]['get']) && is_array($pItems[$i]['get'])) $href = href($pItems[$i]['url'], $pItems[$i]['get']); + else $href = href($pItems[$i]['url']); + } else { + $href = href("index.php?page=$aModule"); + } + echo '<a href="'.$href.'"'.((isset($pItems[$i]['target']))?' target="'.$pItems[$i]['target'].'" ':'').'>' + .$pItems[$i]['txt'] + .'</a>'."\n"; + // --- sub --- + + @$pageArray = $MENU['modules'][$aModule]; + + if (is_array($pageArray) && count($pageArray)>0) { + echo '<ul class="sub">'."\n"; + foreach ($pageArray as $aSub => $sItems) { + if ($aSub != 'sub') { + for ($j=0;$j<count($sItems);$j++) { + if ( + $page == $aModule and + ( + (!isset($sItems[$j]['url']) && $f == $aSub) + || (isset($sItems[$j]['url']) && strpos($_SERVER["REQUEST_URI"],$sItems[$j]['url']) !== false) + ) + ) { + echo '<li class="active">'; $activeSub = true; + } else { + echo '<li>'; $activeSub = false; + } + if (isset($sItems[$j]['url']) && $sItems[$j]['url'] != '') { + if ($sItems[$j]['url'][0] == '&') $href = href("index.php?page=$aModule&f=$aSub".$sItems[$j]['url']); + elseif (substr($sItems[$j]['url'],0,4) == 'http') $href = href($sItems[$j]['url'], array()); + elseif (isset($sItems[$j]['get']) && is_array($sItems[$j]['get'])) $href = href($sItems[$j]['url'], $sItems[$j]['get']); + else $href = href($sItems[$j]['url']); + } else { + $href = href("index.php?page=$aModule&f=$aSub",array('policy','sessionID','lang','skin')); + } + @$subArray = $MENU['modules'][$aModule]['sub'][$aSub]; + if (!is_array($subArray) || count($subArray) == 0) { + echo '<a href="'.$href.'"'.((isset($sItems[$j]['target']))?' target="'.$sItems[$j]['target'].'" ':'').'>' + .$sItems[$j]['txt'].'</a>'; + } else { // vannak al-al menúk (f - menü) + echo '<span>«</span><a href="'.$href.'"'.((isset($sItems[$j]['target']))?' target="'.$sItems[$j]['target'].'" ':'').'>' + .$sItems[$j]['txt'].'</a>'; + // -- f menü -- + echo '<ul class="fmenu">'."\n"; + + foreach ($subArray as $anF => $items) { + for ($k=0;$k<count($items);$k++) { + if ($aModule == $page and + $aSub == $sub and + $anF == $f and + (!isset($items[$k]['url']) or strpos($_SERVER["REQUEST_URI"],$items[$k]['url']) !== false) + ) { echo '<li class="active">'."\n"; } + else { echo '<li>'."\n"; } + + if (isset($items[$k]['url']) && $items[$k]['url'] != '') { + if ($items[$k]['url'][0] == '&') $href = href("index.php?page=$aModule&sub=$aSub&f=$anF".$items[$k]['url']); + elseif (substr($items[$k]['url'],0,4) == 'http') $href = href($items[$k]['url'], array()); + elseif (isset($items[$k]['get']) && is_array($items[$k]['get'])) $href = href($items[$k]['url'], $items[$k]['get']); + else $href = href($items[$k]['url']); + } else { + $href = href("index.php?page=$aModule&sub=$aSub&f=$anF"); + } + echo '<a href="'.$href.'"'.((isset($items[$k]['target']))?' target="'.$items[$k]['target'].'" ':'').'> ' + .$items[$k]['txt'].' </a>'."\n"; + + echo '</li>'."\n"; // al-al menüpont vége (f) + } // for - on items + } // foreach - on subArray + + echo '</ul>'."\n"; // fmenu + } // vannak al-al menük (f -menü) + + echo '</li>'."\n"; // almenü-pont vége (sub) + } // for - on sItems + } // ha nem sub == aSub + } // foreach pageArray + echo '</ul>'."\n"; // submenu + } // vannak almenük (sub) + echo '</li>'."\n"; // menüpont vége (page) + } // for - on pItems + } // ha aModule != 'modules' + } // foreach on MENU + } +// if (_SULIX_DESIGN !== true) echo '<li class="start onClickHideShow"> </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, $SCHOOL_LOGO, $SCHOOL_IDENTITY, $SCHOOL_URL, $NAV; + + _updateWindow(); + + //if (date('m')==12) $imgextra = '-santa'; else $imgextra = ''; + +// if (defined('_HOME_LOGO') && file_exists(_HOME_LOGO)) $HOME_LOGO=_HOME_LOGO; +// else + 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'; + +echo '<div id="head">'; +/* --- + if ($policy == 'parent') { + echo '<div id="egyeb" class="hideShowContainer"><span class="onClickHideShow">Egyéb</span>'; + echo '<div id="settings" class="openable" style="">'; + echo '<table>'; + echo '<tr>'; + echo '<td><a href="'.href('index.php?policy=public&page=session&f=logout', array('sessionID','skin','lang')).'">'._LOGOUT.'</a></td>'; + echo '</tr><tr>'; + echo '<td><a href="'.href('index.php?policy=public&page=password&f=changeMyPassword&userAccount='._USERACCOUNT.'&toPolicy=parent',array('sessionID','skin','lang')).'">'._PASSWORD.'</a></td>'; + echo '</tr>'; + echo '</table>'; + echo '</div>'; + echo '</div>'; + } +/* --- */ +echo '</div>'; + + echo "<!--// NAV1 start //-->\n"; + echo '<div id="nav1">'; + echo '<div>'; + + if (is_array($NAV[1])) foreach ($NAV[1] as $N1) { + $txt = ''; + $i = intval($N1['index']); + if (isset($N1['sub'])) { + if (!isset($N1['f'])) { + $M = $MENU['modules'][ $N1['page'] ][ $N1['sub'] ][ $i ]; + } else { + $M = $MENU['modules'][ $N1['page'] ]['sub'][ $N1['sub'] ][ $N1['f'] ][ $i ]; + } + } elseif (isset($N1['f'])) { + $M = $MENU['modules'][ $N1['page'] ][ $N1['f'] ][ $i ]; + } else { + $M = $MENU[$N1['page']][ $i ]; + } + $txt = $M['txt']; + $url = $M['url']; + $get = $M['get']; + if (isset($get)) $href = href( isset($url)?$url:'index.php?page='.$N1['page'].'&sub='.$N1['sub'].'&f='.$N1['f'], $get); + else $href = href( isset($url)?$url:'index.php?page='.$N1['page'].'&sub='.$N1['sub'].'&f='.$N1['f']); + if ($page == $N1['page'] && $sub == $N1['sub'] && (!isset($N1['f']) || $f == $N1['f'])) $class = ' class="aktiv" '; else $class = ''; + if ($txt != '') { // Hibás hivatkozás ne rontsa el a menüt! + echo '<a href="'.$href.'"'.$class.'>'; + echo $txt; + echo '</a>'; + } + } + + echo '</div>'; + echo '</div>'."\n<!--// NAV1 end //-->\n"; + + + mayor_menu($MENU,$sessionID,$lang,$skin); +// if (_SULIX_DESIGN !== true) echo '<a href="'.href('index.php').'"><img src="'.$HOME_LOGO.'" alt="MaYoR" id="logo" /></a>'; +// else + echo '<img src="'.$HOME_LOGO.'" alt="MaYoR" id="logo" />'; + + + echo "<!--// NAV2 start //-->\n"; + echo '<div id="nav2">'; + if (is_array($NAV[2])) { + echo '<ul>'; + foreach ($NAV[2] as $N2) { + $txt = ''; + $i = intval($N2['index']); + if (isset($N2['sub'])) { + if (!isset($N2['f'])) { + $M = $MENU['modules'][ $N2['page'] ][ $N2['sub'] ][ $i ]; + } else { + $M = $MENU['modules'][ $N2['page'] ]['sub'][ $N2['sub'] ][ $N2['f'] ][ $i ]; + } + } elseif (isset($N2['f'])) { + $M = $MENU['modules'][ $N2['page'] ][ $N2['f'] ][ $i ]; + } else { + $M = $MENU[$N2['page']][ $i ]; + } + $txt = $M['txt']; + $url = $M['url']; + $get = $M['get']; + if (isset($get)) $href = href( isset($url)?$url:'index.php?page='.$N2['page'].'&sub='.$N2['sub'].'&f='.$N2['f'], $get); + else $href = href( isset($url)?$url:'index.php?page='.$N2['page'].'&sub='.$N2['sub'].'&f='.$N2['f']); + + if ($page == $N2['page'] && $sub == $N2['sub'] && (!isset($N2['f']) || $f == $N2['f'])) $class = ' class="aktiv" '; else $class = ''; + if ($txt != '') { + echo '<li>'; + echo '<a href="'.$href.'"'.$class.'>'; + echo $txt; + echo '</a>'; + echo '</li>'; + } + } + echo '</ul>'; + } + echo '</div>'."\n<!--// NAV2 end //-->\n"; + +} + +// ------------------------------------------------------------------- +// html_mayor_foot() : lablec kiirasa ( ) +// ------------------------------------------------------------------- + +function html_mayor_foot() { + //echo '<div class="mayorfoot" id="mayorfoot">'._MAIN_FOOTER.'</div>'."\n\n"; + echo "</body>\n</html>"; +} + + +?> diff --git a/mayor-orig/www/skin/sulix/base/img/bejelentkezes_gomb_140x26.png b/mayor-orig/www/skin/sulix/base/img/bejelentkezes_gomb_140x26.png Binary files differnew file mode 100644 index 00000000..3816f6de --- /dev/null +++ b/mayor-orig/www/skin/sulix/base/img/bejelentkezes_gomb_140x26.png diff --git a/mayor-orig/www/skin/sulix/base/img/bejelentkezes_gomb_66x28.png b/mayor-orig/www/skin/sulix/base/img/bejelentkezes_gomb_66x28.png Binary files differnew file mode 100644 index 00000000..524d0a83 --- /dev/null +++ b/mayor-orig/www/skin/sulix/base/img/bejelentkezes_gomb_66x28.png diff --git a/mayor-orig/www/skin/sulix/base/img/favicon.ico b/mayor-orig/www/skin/sulix/base/img/favicon.ico Binary files differnew file mode 100644 index 00000000..5c819e56 --- /dev/null +++ b/mayor-orig/www/skin/sulix/base/img/favicon.ico diff --git a/mayor-orig/www/skin/sulix/base/img/fur.png b/mayor-orig/www/skin/sulix/base/img/fur.png Binary files differnew file mode 100644 index 00000000..f537e6da --- /dev/null +++ b/mayor-orig/www/skin/sulix/base/img/fur.png diff --git a/mayor-orig/www/skin/sulix/base/img/mayor_small_ssl.png b/mayor-orig/www/skin/sulix/base/img/mayor_small_ssl.png Binary files differnew file mode 100644 index 00000000..44e007cb --- /dev/null +++ b/mayor-orig/www/skin/sulix/base/img/mayor_small_ssl.png diff --git a/mayor-orig/www/skin/sulix/base/img/powered_by_mayor.png b/mayor-orig/www/skin/sulix/base/img/powered_by_mayor.png Binary files differnew file mode 100644 index 00000000..0f88bfc3 --- /dev/null +++ b/mayor-orig/www/skin/sulix/base/img/powered_by_mayor.png diff --git a/mayor-orig/www/skin/sulix/base/img/powered_by_mayor_small.png b/mayor-orig/www/skin/sulix/base/img/powered_by_mayor_small.png Binary files differnew file mode 100644 index 00000000..aa65a706 --- /dev/null +++ b/mayor-orig/www/skin/sulix/base/img/powered_by_mayor_small.png diff --git a/mayor-orig/www/skin/sulix/module-auth/css/login.css b/mayor-orig/www/skin/sulix/module-auth/css/login.css new file mode 100644 index 00000000..66d76da9 --- /dev/null +++ b/mayor-orig/www/skin/sulix/module-auth/css/login.css @@ -0,0 +1,89 @@ +@media screen { + +#logo, #head, #nav, #nav1, #nav2 { display: none; } +div.mayorbody { margin: 0; padding: 8px; } +#header img { height: 40px; position: relative; top: 5px; left: 25px; } +#header { width: 100%; background: #1A4B5C; height: 50px; } +body { background: #bfbfbf;} +form { width: 960px; margin-left: auto; margin-right: auto; } +div#body { + width: 100%; height: 470px; padding-top: 70px; + background-color: #3497B9; + background-attachment: inherit; + background-image: url('../../base/img/fur.png'); + background-repeat: no-repeat; + background-position: bottom right; +} +table.loginablak { width: 160px; width: 180px; /*height: 178px;*/ background: #1A4B5C; border: #1A4B5C 8px solid; border-radius: 8px;} +table.loginablak thead td { color: #F49430; font-weight: bold; font-size: 15px; font-family: sans-serif; text-align: center; padding-top: 5px; padding-bottom: 5px;} +table.loginablak tbody td { height: 26px; padding-top: 15px; text-align: center; } +table.loginablak div.input { + margin-left: auto; margin-right: auto; + width: 140px; height: 26px; + background-image: url(../../base/img/bejelentkezes_gomb_140x26.png); + background-origin: padding-box; + background-position: 50% 100%; + background-repeat: no-repeat; +} +table.loginablak input[type=text], table.loginablak input[type=password] { + background-color: transparent; border: none; color: #767676; + font-family: sans-serif; font-size: 10px; font-weight: 10px; height: 26px; width: 140px; + /*outline-color: #3C3B37; outline-width: 5px; outline-style: auto; */ padding: 1px 10px; +} +table.loginablak tfoot td { text-align: right; padding: 25px 0px 25px 0px; +} +table.loginablak tfoot select { float: left; background-color: transparent; color: white; border: 1px solid rgba(255,255,255,0.2); /*display: none; */} +table.loginablak tfoot select option { background-color: #1a4b5c; } +table.loginablak tfoot input[type=submit] { +font-weight: bold; font-family: sans-serif; font-size: 10px; +padding: 1px 6px 3px 6px; +width: 66px; height: 28px; +background-attachment: scroll; +background-clip: border-box; +background-color: transparent; +background-image: url(../../base/img/bejelentkezes_gomb_66x28.png); +background-origin: padding-box; +background-position: 50% 100%; +background-repeat: no-repeat; +border: none; +} + +/* +div.mayorbody img { border-width: 0px; } +div.mayorbody h1 {text-align: center; margin: 10px; font-size:20px; } +div.mayorbody h2 {text-align: center; margin: 10px; font-size: 15px; } +div.mayorbody table { font-size: 12px; } +div.mayorbody table.main {width: 100%; border-width: 0px;} +div.mayorbody table.loginablak { + background-color: #ffffff; + border-width: 1px; + border-style: solid; + border-color: #555550; + width:400px} +div.mayorbody td { padding: 2px } +div.mayorbody form { margin: 30px;padding: 0px; } +div.mayorbody input { font-size: 12px; font-family:Verdana,Arial; background-color: #fffff0; border: solid 1px #666690;} +div.mayorbody select.pp { padding: 0px; margin: 0px; border: none 0px #778890; font-size: 12px; background-color: #eeeee0; font-family: Verdana,Arial; } +div.mayorbody select.pp>option { border: none 0px black; } +div.mayorbody input.submit { border: solid 1px #776650; } +div.mayorbody 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; +div.mayorbody } +div.mayorbody table.loginablak tbody tr.top td { border-top: solid 1px #666690; } + +div.mayorbody tfoot td { background-color: #888880; text-align: center; } +div.mayorbody td.co { text-align: center; vertical-align: bottom; font-family: Verdana,arial; font-size:8pt; } +div.mayorbody img.aauthImg { + border-top: solid 1px #666690; + border-bottom: solid 1px #888880; + border-left: solid 1px #666690; + border-right: solid 1px #888880; +} +*/ +}
\ No newline at end of file diff --git a/mayor-orig/www/skin/sulix/module-auth/html/login.phtml b/mayor-orig/www/skin/sulix/module-auth/html/login.phtml new file mode 100644 index 00000000..87f90756 --- /dev/null +++ b/mayor-orig/www/skin/sulix/module-auth/html/login.phtml @@ -0,0 +1,79 @@ +<?php + + function putLoginForm($userAccount,$toPolicy,$toPSF='',$toSkin='') { + + global $POLICIES, $AUTH, $sessionID; + + formBegin(array('method'=>'post', + 'action'=>'index.php?policy=public&page=auth&f=login&toPolicy='.$toPolicy.'&sessionID='.$sessionID , + 'name'=>"loginablak", + 'id'=>'loginablak' + )); + + echo '<div id="header"><img src="skin/sulix/base/img/mayor_small_ssl.png" alt="MaYoR" /></div>'; + echo '<div id="body">'; + + echo '<input type="hidden" name="action" value="login" />'; + echo '<input type="hidden" name="toPSF" value="'.$toPSF.'" />'; + echo '<input type="hidden" name="toPolicy" value="'.$toPolicy.'" />'; + + echo '<table cellspacing="0" cellpadding="1" align="center" class="loginablak">'."\n"; + echo '<thead>'."\n"; + echo '<tr>'."\n"; + echo '<td>'."\n"; + echo 'SuliX Napló'; + echo '</td>'."\n"; + echo '</tr>'."\n"; + echo '</thead>'."\n"; + echo '<tfoot>'."\n"; + echo '<tr>'."\n"; + echo '<td>'."\n"; + + if ($toPolicy == 'parent') { + echo '<input type="hidden" name="toPolicy" value="parent" />'."\n"; + } else { + echo '<select class="policy" name="toPolicy">'."\n"; + echo '<option value="private" '.($toPolicy=='private'?' selected="selected" ':'').'>'; + echo 'tanár/diák'; + echo '</option>'."\n"; + + echo '<option value="parent" '.($toPolicy=='parent'?' selected="selected" ':'').'>'; + echo 'szülő'; + echo '</option>'."\n"; + echo '</select>'."\n"; + } + + + echo '<input type="submit" tabindex="3" name="button" value="Belépés" + onclick="document.loginablak.button.disabled=true; + document.loginablak.button.value=\' Várj... \'; + document.loginablak.submit()" class="submit" />'."\n"; + echo '</td>'."\n"; + echo '</tr>'."\n"; + echo '</tfoot>'."\n"; + echo '<tbody>'."\n"; + echo '<tr class="top">'."\n"; + echo '<td>'."\n"; + echo '<div class="input">'; + echo '<input type="text" accesskey="l" tabindex="1" name="userAccount" value="Felhasználónév" maxlength="32" + onFocus="this.value=\'\'" onBlur="if (this.value == \'Felhasználónév\' || this.value == \'\') this.value=\'Felhasználónév\'" + />'."\n"; + echo '</div>'; + echo '</td>'."\n"; + echo '</tr>'."\n"; + echo '<tr>'."\n"; + echo '<td>'."\n"; + echo '<div class="input">'; + echo '<input id="userPassword" type="password" accesskey="p" tabindex="2" name="userPassword" value="" />'."\n"; + echo '</div>'; + echo '</td>'."\n"; + echo '</tr>'."\n"; + echo '</tbody>'."\n"; + echo '</table>'."\n"; + + echo '</div>'."\n"; + formEnd(); + + } + +?> diff --git a/mayor-orig/www/skin/sulix/module-naplo/css/admin/tanevek.css b/mayor-orig/www/skin/sulix/module-naplo/css/admin/tanevek.css new file mode 100644 index 00000000..7562ff6f --- /dev/null +++ b/mayor-orig/www/skin/sulix/module-naplo/css/admin/tanevek.css @@ -0,0 +1,17 @@ + + form.intezmeny { background-color: rgb(40,60,120); color: white; margin: 20px; padding: 0px; } + form.intezmeny h2 { + background-color: rgb(20,40,80); + text-align: center; + border: white 1px dotted; + border-width: 1px 0px; + padding: 3px; + } + form.intezmeny div.data { + padding: 1em; + } + input.date { width: 100px; } + + form.intezmeny fieldset p { margin-left: 50px; } + form.intezmeny fieldset label { background-coor: red; padding: 0px 14px 0px 0px; } + form.intezmeny fieldset h3 { color: rgb(255,255,100); }
\ No newline at end of file diff --git a/mayor-orig/www/skin/sulix/module-naplo/css/naplo.css b/mayor-orig/www/skin/sulix/module-naplo/css/naplo.css new file mode 100644 index 00000000..7a91910a --- /dev/null +++ b/mayor-orig/www/skin/sulix/module-naplo/css/naplo.css @@ -0,0 +1,84 @@ +/* @override https://sy.ulx.hu:1743/sulixnaplo/skin/classic/module-naplo/css/naplo.css?ver=2719 */ + +table.toolBar { width: 95%; max-width: 95%; border-spacing: 0px; margin: 1em auto; overflow: auto; } + table.toolBar form { margin: 0px; padding: 0px; } + table.toolBar tr.first td.toolBarTitle, table.toolBar tr.first td.toolBarTool { border: solid 1px #333333; } + table.toolBar td.gap { width: 50%; border-spacing: 0px; } + table.toolBar td.help { + background-color: silver; + color: black; + border-width: 0px 1px 1px 1px; + border-color: black; + border-style: none solid solid solid; + font-size:smaller; + padding: 3px; +} +table.toolBar tr.first td a img { + display: none; +} + table.toolBar td.toolBarTitle { + background-color: white; + width: 100%; + font-size: 16px; + font-weight: normal; + font-style: normal; +} + #toolBarIntezmeny { + color: red; + border: solid red; + border-width: 1px 0px; + font-size: 10px; + } + + table.toolBar td.toolBarTool { + background-color: #3496b9; + margin: 0px; + padding: 0px; + } + table.toolBar td.toolBarTool table { border-spacing: 0px; width: 100%; } + table.toolBar td.toolBarTool table th { + background-color: #3496b9; + text-align: left; + color: white; + font-size:10px; + padding: 0px 0px 0px 4px; +} + table.toolBar input.toolSubmit { vertical-align: middle; border: 0px none; } + table.toolBar td.toolBarTool select { border: 0px; } + table.toolBar th { + background-color: #3496b9; + text-align: center; + color: white; + font-size:10px; + padding: 0px 0px 0px 4px; +} + table.toolBar img { border: none; } + + table.toolBar table.hianyzasOsszegzo { width:100%; font-size:10px; } + table.toolBar table.hianyzasOsszegzo th { + text-align: center !important; + border-style: none none solid none; + border-color: #888888; + border-width: 0px 0px 1px 0px; + } + table.toolBar table.hianyzasOsszegzo td { width: 18%; border-bottom: solid 1px rgb(60,80,100); background-color: #dddddd; text-align: center; } + + form.lapozo input { font-size: 10px; border: solid 1px #555555; } + form button.lapozo { font-size:10px; } + form span.lapozo { color:white; background-color: rgb(90,133,184); padding:1px 5px; border: solid 1px rgb(21,71,123);} + + table.flipper input {height: 38px; width: 16px; color: white; + border-top: solid 1px black; + border-bottom: solid 1px black; + border-left: none; + border-right: none; + background-color: rgb(90,133,184); + } + table.flipper input.step { background-color: rgb(100,100,60); } + table.gomb button { height: 38px; width: 24px; background-color: rgb(90,133,184); border: solid black; border-width: 1px 0px; } + + div.beirasAdatok { text-align: center; } + div.beirasAdatok span { font-weight: bold; font-size: 20pt; vertical-align: middle; } + div.beirasAdatok img { vertical-align: middle; } + + table.toolBar input { font-size: 10px; } diff --git a/mayor-orig/www/skin/sulix/module-naplo/css/orarend/orarendTeremModositas.css b/mayor-orig/www/skin/sulix/module-naplo/css/orarend/orarendTeremModositas.css new file mode 100644 index 00000000..fb0172cc --- /dev/null +++ b/mayor-orig/www/skin/sulix/module-naplo/css/orarend/orarendTeremModositas.css @@ -0,0 +1,8 @@ + + form.terem { background-color: rgb(100,50,100); color: white; margin: 5px auto; text-align: center; width: 640px; } + form.terem h1 { text-align: center; font-size: 16px; background-color: rgb(80,40,80); padding: 2px; } + form.terem select { margin: 2px; } + form.terem select option.foglalt { color: red; } + form.terem select option.szabad { color: green; } + + diff --git a/mayor-orig/www/skin/sulix/module-password/css/password.css b/mayor-orig/www/skin/sulix/module-password/css/password.css new file mode 100644 index 00000000..66a2fe2a --- /dev/null +++ b/mayor-orig/www/skin/sulix/module-password/css/password.css @@ -0,0 +1,43 @@ + img { border-width: 0px; } + h1 { display: none; 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;} + form table {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: 10px; font-family: Verdana,Arial; background-color: #fffff0; } + 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; } + thead td { + background-color: #3496B9; + text-align: center; + font-family: Verdana,arial; + font-size: 10pt; + font-weight: bold; + color: white; + } + thead th { + background-color: #3496B9; + color: white; + padding: 2px; + } + tfoot td { + background-color: #c8c8c8; + text-align: center; + } + tbody img { display: none; border: solid 1px #bbddbb; } + td.co { + display: none; + text-align: center; + vertical-align: bottom; + font-family: Verdana,arial; + font-size: 8pt; + } diff --git a/mayor-orig/www/skin/sulix/share/css/calendar_date_select.css b/mayor-orig/www/skin/sulix/share/css/calendar_date_select.css new file mode 100644 index 00000000..71c01b18 --- /dev/null +++ b/mayor-orig/www/skin/sulix/share/css/calendar_date_select.css @@ -0,0 +1,139 @@ +/* @override https://sy.ulx.hu:1743/sulixnaplo/skin/classic/share/javascript/calendar_date_select/stylesheets/calendar_date_select/red.css */ + +.calendar_date_select { + color:white; + border:#777 1px solid; + display:block; + width:195px; + z-index: 1000; +} +/* this is a fun ie6 hack to get drop downs to stay behind the popup window. This should always be just underneath .calendar_date_select */ +iframe.ie6_blocker { + position: absolute; + z-index: 999; +} + +.calendar_date_select thead th { + font-weight:bold; + background-color: #E7E8E8; + border-bottom:2px solid black; + color: black !important; +} + +.calendar_date_select .cds_buttons { + text-align:center; + padding:5px 0px; + background-color: #2599fa; +} + +.calendar_date_select .cds_footer { + background-color: #3496b9; + padding:3px; + text-align:center; + border-top-style: solid; + border-top-width: 1px; +} + +.calendar_date_select table { + margin: 0px; + padding: 0px; +} + + +.calendar_date_select .cds_header { + background-color: #ccc; + border-bottom: 2px solid #aaa; + text-align:center; +} + +.calendar_date_select .cds_header span { + font-size:15px; + color: black; + font-weight: bold; +} + +.calendar_date_select select { font-size:11px;} + +.calendar_date_select .cds_header a:hover { + color: white; +} +.calendar_date_select .cds_header a { + width:22px; + height:20px; + text-decoration: none; + font-size:14px; + color:black !important; +} + +.calendar_date_select .cds_header a.prev { + float:left; +} +.calendar_date_select .cds_header a.next { + float:right; +} + +.calendar_date_select .cds_header a.close { + float:right; + display:none; +} + +.calendar_date_select .cds_header select.month { + width:90px; +} + +.calendar_date_select .cds_header select.year { + width:61px; +} + +.calendar_date_select .cds_buttons a { + color: white; + font-size: 9px; +} + + +.calendar_date_select td { + background-color: #3496b9; + font-size:12px; + width: 24px; + height: 21px; + text-align:center; + vertical-align: middle; +} +.calendar_date_select td.weekend { + background-color: #3496b9; +} + +.calendar_date_select td div { + color:#fff; +} +.calendar_date_select td div.other { + color: #3bc1f3; +} +.calendar_date_select td.selected div { + color:black; +} + + +.calendar_date_select tbody td { + border-bottom: 1px solid #550000; +} +.calendar_date_select tbody td.selected { + background-color:white; + color:black; +} + +.calendar_date_select tbody td:hover { + background-color:#ccc; +} + +.calendar_date_select tbody td.today { + border: 1px dashed red; +} + +.calendar_date_select td.disabled div { + color: #440000; +} + +.fieldWithErrors .calendar_date_select { + border: 2px solid red; +} |