fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [16307] more on eventplanner


From: sigurdne
Subject: [Fmsystem-commits] [16307] more on eventplanner
Date: Tue, 14 Feb 2017 09:50:55 -0500 (EST)

Revision: 16307
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=16307
Author:   sigurdne
Date:     2017-02-14 09:50:55 -0500 (Tue, 14 Feb 2017)
Log Message:
-----------
more on eventplanner

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

Modified: trunk/eventplannerfrontend/inc/class.menu.inc.php
===================================================================
--- trunk/eventplannerfrontend/inc/class.menu.inc.php   2017-02-14 13:22:11 UTC 
(rev 16306)
+++ trunk/eventplannerfrontend/inc/class.menu.inc.php   2017-02-14 14:50:55 UTC 
(rev 16307)
@@ -79,6 +79,25 @@
                                );
                        }
        
+                       if 
(isset($GLOBALS['phpgw_info']['user']['apps']['preferences']))
+                       {
+                               $menus['preferences'] = array
+                                       (
+                                       array(
+                                               'text' => 
$GLOBALS['phpgw']->translation->translate('Grant Access', array(), true),
+                                               'url' => 
$GLOBALS['phpgw']->link('/index.php', array('menuaction' => 
'preferences.uiadmin_acl.aclprefs',
+                                                       'acl_app' => 
'eventplanner'))
+                                       )
+                               );
+
+                               $menus['toolbar'][] = array
+                                       (
+                                       'text' => 
$GLOBALS['phpgw']->translation->translate('Preferences', array(), true),
+                                       'url' => 
$GLOBALS['phpgw']->link('/preferences/preferences.php', array('appname' => 
'eventplanner')),
+                                       'image' => array('eventplanner', 
'preferences')
+                               );
+                       }
+
                        $menus['navigation'] = array(
                                'application' => array(
                                        'text' => lang('application'),




reply via email to

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