diff options
Diffstat (limited to 'mayor-orig/mayor-installer-sulix/config/menu')
3 files changed, 39 insertions, 0 deletions
diff --git a/mayor-orig/mayor-installer-sulix/config/menu/parent/menu-hu_HU.php.sulix b/mayor-orig/mayor-installer-sulix/config/menu/parent/menu-hu_HU.php.sulix new file mode 100644 index 00000000..f2d7b459 --- /dev/null +++ b/mayor-orig/mayor-installer-sulix/config/menu/parent/menu-hu_HU.php.sulix @@ -0,0 +1,7 @@ +<?php + + // Az utolsó két menüpont kiszedése - Kilépés és Jelszóváltoztatás +// unset($NAV[1][ count($NAV[1])-1 ]); +// unset($NAV[1][ count($NAV[1])-1 ]); + +?>
\ No newline at end of file diff --git a/mayor-orig/mayor-installer-sulix/config/menu/private/menu-hu_HU.php.sulix b/mayor-orig/mayor-installer-sulix/config/menu/private/menu-hu_HU.php.sulix new file mode 100644 index 00000000..62d4913e --- /dev/null +++ b/mayor-orig/mayor-installer-sulix/config/menu/private/menu-hu_HU.php.sulix @@ -0,0 +1,14 @@ +<?php + + global $AUTH; + if (!memberOf(_USERACCOUNT, $AUTH[_POLICY]['adminGroup'])) { + unset($MENU['session']); + } + unset($MENU['logout']); + unset($MENU['modules']['naplo']['sub']['admin']['regisztracio']); + $MENU['modules']['naplo']['session'] = array( + array('txt'=>'Felhasználó kezelés','url'=>'index.php?page=session&sub=&f=createAccount&toPolicy=parent') + ); + if ($page=='naplo') unset($NAV[1][ count($NAV[1])-1 ]); // Kérelmek menüpont leszedése + +?>
\ No newline at end of file diff --git a/mayor-orig/mayor-installer-sulix/config/menu/public/menu-hu_HU.php.sulix b/mayor-orig/mayor-installer-sulix/config/menu/public/menu-hu_HU.php.sulix new file mode 100644 index 00000000..4572b267 --- /dev/null +++ b/mayor-orig/mayor-installer-sulix/config/menu/public/menu-hu_HU.php.sulix @@ -0,0 +1,18 @@ +<?php + + // Órarend, helyettesítés eltűntetése + unset($MENU['naplo']); + unset($MENU['modules']['naplo']['tanev']); + + // A bejelentkezés oldal almenüjének törlése + unset($MENU['modules']['auth']); + + // Külső hivatkozás: Sulinet portál + $MENU['sulinet'] = array( + array('txt' => 'SuliNet', 'url' => 'http://www.sulinet.hu', 'target' => '_blank'), + ); + + $MENU['auth'] = array(array('txt'=>'Szülői bejelentkezés','url'=>'index.php?page=auth&f=login&toPolicy=parent')); + if ($page!='auth') $NAV[1][] = array('page'=>'auth'); + +?>
\ No newline at end of file |