From 095e5987eadbe3786be5e12ef385bda9640155b0 Mon Sep 17 00:00:00 2001 From: M.Gergo Date: Fri, 6 Jul 2018 11:34:04 +0200 Subject: checkupdate.sh + portal 2018/Feb kiinduló --- .../include/menu/parent/hu_HU/module-portal.php | 11 ++++++ .../include/menu/private/hu_HU/module-portal.php | 43 ++++++++++++++++++++++ .../include/menu/public/hu_HU/module-portal.php | 8 ++++ 3 files changed, 62 insertions(+) create mode 100644 mayor-orig/www/include/menu/parent/hu_HU/module-portal.php create mode 100644 mayor-orig/www/include/menu/private/hu_HU/module-portal.php create mode 100644 mayor-orig/www/include/menu/public/hu_HU/module-portal.php (limited to 'mayor-orig/www/include/menu') 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 new file mode 100644 index 00000000..802a2d6e --- /dev/null +++ b/mayor-orig/www/include/menu/parent/hu_HU/module-portal.php @@ -0,0 +1,11 @@ + '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 diff --git a/mayor-orig/www/include/menu/private/hu_HU/module-portal.php b/mayor-orig/www/include/menu/private/hu_HU/module-portal.php new file mode 100644 index 00000000..eeb70da8 --- /dev/null +++ b/mayor-orig/www/include/menu/private/hu_HU/module-portal.php @@ -0,0 +1,43 @@ + 'Portál', 'url' => 'index.php?page=portal&sub=hirek&f=egyhir')); + $MENU['portal'] = array(array('txt' => 'Kezdőlap', 'url' => 'index.php')); + $MENU['modules']['portal']['hirek'] = array(array('txt'=>'Hírek szerkesztése','url'=>'index.php?page=portal&sub=hirek&f=hirekAdmin')); + $MENU['modules']['portal']['sub']['hirek'] = array( + 'hirekAdmin'=>array(array('txt' => 'Hírek')), + 'egyhir'=>array(array('txt' => 'Új hír')), +// array('txt' => 'Új kérdés', 'url' => 'index.php?page=portal&sub=kerdoiv&f=kerdoivAdmin') + ); + $MENU['modules']['portal']['kerdoiv'] = array( + array('txt' => 'Új kérdés', 'url' => 'index.php?page=portal&sub=kerdoiv&f=kerdoivAdmin') + ); + + //if ($page != 'portal') + // $NAV[1][] = array('page'=>'portal', 'sub' => 'hirek'); + } else { + /* Mégse rakjuk ki a többieknek */ + // $MENU['portal'] = array(array('txt' => 'Hír beküldése', 'url' => 'index.php?page=portal&sub=hirek&f=egyhir')); + } + +// if (memberOf(_USERACCOUNT, $AUTH[_POLICY]['adminGroup'])) { +// $NAV[1][] = array('page'=>'session'); +// } else { +// $NAV[1][] = array('page'=>'session','f'=>'changeMyPassword'); +// } + + //if ($page != 'naplo') $NAV[1][] = array('page' => 'naplo'); + + + +if ($page=='portal') { + 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); + } +} + + + +?> diff --git a/mayor-orig/www/include/menu/public/hu_HU/module-portal.php b/mayor-orig/www/include/menu/public/hu_HU/module-portal.php new file mode 100644 index 00000000..53b4315c --- /dev/null +++ b/mayor-orig/www/include/menu/public/hu_HU/module-portal.php @@ -0,0 +1,8 @@ + 'Portál', 'url' => 'index.php?page=portal')); + +?> -- cgit v1.2.3