aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/www/include/menu/private
diff options
context:
space:
mode:
Diffstat (limited to 'mayor-orig/www/include/menu/private')
-rw-r--r--mayor-orig/www/include/menu/private/hu_HU/module-portal.php43
1 files changed, 43 insertions, 0 deletions
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 @@
+<?php
+
+ if (defined('__HIREKADMIN') && __HIREKADMIN === true) {
+// $MENU['portal'] = array(array('txt' => '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);
+ }
+}
+
+
+
+?>