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/include/menu/parent/hu_HU/base.php | 44 ------------- .../www/include/menu/parent/hu_HU/module-naplo.php | 76 ---------------------- .../include/menu/parent/hu_HU/module-portal.php | 11 ---- 3 files changed, 131 deletions(-) delete mode 100644 mayor-orig/www/include/menu/parent/hu_HU/base.php delete mode 100644 mayor-orig/www/include/menu/parent/hu_HU/module-naplo.php delete mode 100644 mayor-orig/www/include/menu/parent/hu_HU/module-portal.php (limited to 'mayor-orig/www/include/menu/parent') diff --git a/mayor-orig/www/include/menu/parent/hu_HU/base.php b/mayor-orig/www/include/menu/parent/hu_HU/base.php deleted file mode 100644 index 9bb5a5db..00000000 --- a/mayor-orig/www/include/menu/parent/hu_HU/base.php +++ /dev/null @@ -1,44 +0,0 @@ - 'Kilépés', - 'url' => 'index.php?policy=public&page=session&f=logout', - 'get' => array('sessionID','skin','lang') - ) - ); - $MENU['session'] = array( - array( - 'txt' => 'Jelszóváltoztatás', - 'url' => 'index.php?page=password&sub=&f=changeMyPassword&userAccount='._USERACCOUNT.'&policy=public&toPolicy=parent', - 'get' => array('skin','lang','sessionID'), - ) - ); - } - $MENU['modules']['session'] = array( - // 'searchAccount' => array(array('txt' => 'Felhasználó keresése','url' => 'index.php?page=session&sub=search&f=searchAccount')), -// 'searchGroup' => array(array('txt' => 'Csoport keresése','url' => 'index.php?page=session&sub=search&f=searchGroup')), - 'changeMyPassword' => array(array('txt' => 'Jelszóváltoztatás','url' => 'index.php?page=password&sub=&f=changeMyPassword&userAccount='._USERACCOUNT.'&policy=public&toPolicy=parent','get' => array('skin','lang','sessionID'))), -// 'sub' => array( -// 'search' => array( -// 'searchAccount' => array(array('txt' => 'Felhasználó keresése')), -// 'searchGroup' => array(array('txt' => 'Csoport keresése')), -// ) -// ) - ); -// $MENU['home'] = array( -// array('txt' => 'Kezdőlap', 'url' => 'index.php') -// ); - - global $NAV; - if ($page=='session') { - if (is_array($MENU['modules']['session'])) foreach ($MENU['modules']['session'] as $_sub => $M) { - $NAV[2][] = array('page' => 'session', 'f' => $_sub); - } - } - $NAV[1][] = array('page'=>'session','f'=>'changeMyPassword'); - $NAV[1][] = array('page'=>'logout'); - - -?> \ No newline at end of file diff --git a/mayor-orig/www/include/menu/parent/hu_HU/module-naplo.php b/mayor-orig/www/include/menu/parent/hu_HU/module-naplo.php deleted file mode 100644 index 7ccfde13..00000000 --- a/mayor-orig/www/include/menu/parent/hu_HU/module-naplo.php +++ /dev/null @@ -1,76 +0,0 @@ - 'Hírnök', 'url' => 'index.php?page=naplo&sub=hirnok&f=hirnok', 'icon' => 'icon-bullhorn'); - $NAVI[] = array('txt' => 'Órarend', 'url' => 'index.php?page=naplo&sub=orarend&f=orarend', 'icon' => 'icon-th'); - $NAVI[] = array('txt' => 'Jegyek', 'url' => 'index.php?page=naplo&sub=osztalyozo&f=diak', 'icon' => 'icon-pencil'); - - - $MENU['naplo'] = array( - array('txt' => 'Napló'), -// array('txt' => 'Jelentkezés fogadóórára', 'url' => 'index.php?page=naplo&sub=tanev&f=fogadoOra'), - array('txt' => 'Kezdőlap (diák választás)', 'url' => 'index.php?page=naplo&sub=&f=diakValaszto') - ); - - // A menüpontok sorrendjének beállítása - ettől még nem jelenik meg semmi :) - $MENU['modules']['naplo'] = array( - 'haladasi' => array(), - 'osztalyozo' => array(), - 'hianyzas' => array(), - 'bejegyzesek' => array(), - 'tanev' => array(), - 'intezmeny' => array(), - 'admin' => array(), - ); - -if ($page=='naplo') { - - if (__DIAK) { - $MENU['modules']['naplo']['haladasi'] = array(array('txt' => 'Haladási napló', 'url' => 'index.php?page=naplo&sub=haladasi&f=haladasi')); - $MENU['modules']['naplo']['osztalyozo'] = array(array('txt' => 'Osztályozó napló', 'url' => 'index.php?page=naplo&sub=osztalyozo&f=diak')); - $MENU['modules']['naplo']['hianyzas'] = array(array('txt' => 'Hiányzások', 'url' => 'index.php?page=naplo&sub=hianyzas&f=diak')); - $MENU['modules']['naplo']['bejegyzesek'] = array(array('txt' => 'Bejegyzések', 'url' => 'index.php?page=naplo&sub=bejegyzesek&f=bejegyzesek')); - $MENU['modules']['naplo']['ertekeles'] = array(array('txt' => 'Értékelés', 'url' => 'index.php?page=naplo&sub=ertekeles&f=ertekeles')); - $MENU['modules']['naplo']['sub']['osztalyozo'] = array( - 'dolgozat' => array(array('txt' => 'Dolgozatok')), - 'bizonyitvany' => array(array('txt' => 'Bizonyítvány')), - 'stat' => array(array('txt' => 'Zárási statisztika')), - ); - $MENU['modules']['naplo']['sub']['tanev'] = array( - 'munkaterv' => array(array('txt' => 'Éves munkaterv', 'url' => 'index.php?page=naplo&sub=tanev&f=munkaterv')), - 'fogadoOra' => array(array('txt' => 'Fogadóóra', 'url' => 'index.php?page=naplo&sub=tanev&f=fogadoOra')) - ); - $MENU['modules']['naplo']['fogad'] = array(array('txt' => 'Fogadóóra', 'url' => 'index.php?page=naplo&sub=tanev&f=fogadoOra')); - $MENU['modules']['naplo']['munkaterv'] = array(array('txt' => 'Éves munkaterv', 'url' => 'index.php?page=naplo&sub=tanev&f=munkaterv')); - $MENU['modules']['naplo']['orarend'] = array(array('txt' => 'Órarend', 'url' => 'index.php?page=naplo&sub=orarend&f=orarend')); - $MENU['modules']['naplo']['intezmeny'] = array( - array('txt' => 'Diák adatlapja', 'url' => 'index.php?page=naplo&sub=intezmeny&f=diak'), - array('txt' => 'Tanévváltás', 'url' => 'index.php?page=naplo&sub=intezmeny&f=valtas') - ); - $MENU['modules']['naplo']['sub']['haladasi'] = array( - 'stat' => array(array('txt' => 'Haladási statisztika')), - ); - if (__UZENO_INSTALLED===true) - $MENU['modules']['naplo']['uzeno'] = array(array('txt' => 'Üzenő', 'url' => 'index.php?page=naplo&sub=uzeno&f=uzeno')); - $MENU['modules']['naplo']['hirnok'] = array(array('txt' => 'Hírnök', 'url' => 'index.php?page=naplo&sub=hirnok&f=hirnok')); - $MENU['modules']['naplo']['valasztas'] = array(array('txt' => 'Kezdőlap (diák választás)', 'url' => 'index.php?page=naplo&sub=&f=diakValaszto')); - - } - - // Navigáció - alapértelmezés - array_unshift($NAV[1], array('page' => 'naplo', 'sub' => 'orarend')); - array_unshift($NAV[1], array('page' => 'naplo', 'sub' => 'hianyzas')); - array_unshift($NAV[1], array('page' => 'naplo', 'sub' => 'osztalyozo')); - array_unshift($NAV[1], array('page' => 'naplo', 'sub' => 'haladasi')); - - if (is_array($MENU['modules']['naplo']['sub'][$sub])) foreach ($MENU['modules']['naplo']['sub'][$sub] as $_f => $M) { - $NAV[2][] = array('page' => 'naplo', 'sub' => $sub, 'f' => $_f); - } elseif (is_array($MENU['modules']['naplo'])) foreach ($MENU['modules']['naplo'] as $_f => $M) { - if ($_f != 'sub') $NAV[2][] = array('page' => 'naplo', 'sub' => $_f); - } -} - - -?> diff --git a/mayor-orig/www/include/menu/parent/hu_HU/module-portal.php b/mayor-orig/www/include/menu/parent/hu_HU/module-portal.php deleted file mode 100644 index 802a2d6e..00000000 --- a/mayor-orig/www/include/menu/parent/hu_HU/module-portal.php +++ /dev/null @@ -1,11 +0,0 @@ - 'naplo')); - - if (is_array($MENU['modules']['portal']['sub'][$sub])) foreach ($MENU['modules']['portal']['sub'][$sub] as $_f => $M) { - $NAV[2][] = array('page' => 'portal', 'sub' => $sub, 'f' => $_f); - } elseif (is_array($MENU['modules']['portal'])) foreach ($MENU['modules']['portal'] as $_sub => $M) { - if ($_sub != 'sub') $NAV[2][] = array('page' => 'portal', 'sub' => $_sub); - } - -?> \ No newline at end of file -- cgit v1.2.3