phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] [18505] fix: preferences and admin for new menu hook


From: Pascal Vilarem
Subject: [Phpgroupware-cvs] [18505] fix: preferences and admin for new menu hook
Date: Wed, 19 Mar 2008 07:45:13 +0000

Revision: 18505
          
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=18505
Author:   maat
Date:     2008-03-19 07:45:13 +0000 (Wed, 19 Mar 2008)

Log Message:
-----------
fix: preferences and admin for new menu hook

Modified Paths:
--------------
    trunk/ged/inc/class.menu.inc.php

Modified: trunk/ged/inc/class.menu.inc.php
===================================================================
--- trunk/ged/inc/class.menu.inc.php    2008-03-19 07:44:33 UTC (rev 18504)
+++ trunk/ged/inc/class.menu.inc.php    2008-03-19 07:45:13 UTC (rev 18505)
@@ -89,6 +89,20 @@
                                                - they are grouped by module
                                */
                                $menus['admin'] = array();
+                               
+                               $menus['admin'][] = array
+                               (
+                                       'text'  => lang('Types Configuration'),
+                                       'url'   => 
$GLOBALS['phpgw']->link('/index.php', array('menuaction' => 
'ged.ged_admin.types', 'appname' => 'ged')),
+                                       'image' => array('ged', 'admin')
+                               );
+
+                               $menus['admin'][] = array
+                               (
+                                       'text'  => lang('Places Configuration'),
+                                       'url'   => 
$GLOBALS['phpgw']->link('/index.php', array('menuaction' => 
'ged.ged_admin.places', 'appname' => 'ged')),
+                                       'image' => array('ged', 'admin')
+                               );
                        }
 
                        if ( 
isset($GLOBALS['phpgw_info']['user']['apps']['preferences']) )
@@ -99,7 +113,7 @@
                                */
                                $menus['preferences'] = array();
 
-                               $menus['toolbar'][] = array
+                               $menus['preferences'][] = array
                                (
                                        'text'  => lang('Preferences'),
                                        'url'   => 
$GLOBALS['phpgw']->link('/preferences/preferences.php', array('appname'      => 
'ged')),






reply via email to

[Prev in Thread] Current Thread [Next in Thread]