source: trunk/admin/inc/hook_admin.inc.php @ 357

Revision 357, 3.5 KB checked in by niltonneto, 16 years ago (diff)

Adição da funcionalidade que permite liberar grupos do
Expresso para utilização do "Click do Dial" nos módulos.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
Line 
1<?php
2        /**************************************************************************\
3        * eGroupWare - administration                                              *
4        * http://www.egroupware.org                                                *
5        * --------------------------------------------                             *
6        *  This program is free software; you can redistribute it and/or modify it *
7        *  under the terms of the GNU General Public License as published by the   *
8        *  Free Software Foundation; either version 2 of the License, or (at your  *
9        *  option) any later version.                                              *
10        \**************************************************************************/
11
12
13        if (! $GLOBALS['phpgw']->acl->check('site_config_access',1,'admin'))
14        {
15                $file['Site Configuration']         = $GLOBALS['phpgw']->link('/index.php','menuaction=admin.uiconfig.index&appname=admin');
16        }
17
18/* disabled it, til it does something useful
19        if (! $GLOBALS['phpgw']->acl->check('peer_server_access',1,'admin'))
20        {
21                $file['Peer Servers']               = $GLOBALS['phpgw']->link('/index.php','menuaction=admin.uiserver.list_servers');
22        }
23*/
24        /*if (! $GLOBALS['phpgw']->acl->check('account_access',1,'admin'))
25        {
26                $file['User Accounts']              = $GLOBALS['phpgw']->link('/index.php','menuaction=admin.uiaccounts.list_users');
27        }
28
29        if (! $GLOBALS['phpgw']->acl->check('group_access',1,'admin'))
30        {
31                $file['User Groups']                = $GLOBALS['phpgw']->link('/index.php','menuaction=admin.uiaccounts.list_groups');
32        }*/
33
34        if (! $GLOBALS['phpgw']->acl->check('applications_access',1,'admin'))
35        {
36                $file['Applications']               = $GLOBALS['phpgw']->link('/index.php','menuaction=admin.uiapplications.get_list');
37        }
38
39        if (! $GLOBALS['phpgw']->acl->check('global_categories_access',1,'admin'))
40        {
41                $file['Global Categories']          = $GLOBALS['phpgw']->link('/index.php','menuaction=admin.uicategories.index');
42        }
43
44        if (!$GLOBALS['phpgw']->acl->check('mainscreen_message_access',1,'admin') || !$GLOBALS['phpgw']->acl->check('mainscreen_message_access',2,'admin'))
45        {
46                $file['Change Main Screen Message'] = $GLOBALS['phpgw']->link('/index.php','menuaction=admin.uimainscreen.index');
47        }
48
49        if (! $GLOBALS['phpgw']->acl->check('current_sessions_access',1,'admin'))
50        {
51                $file['View Sessions'] = $GLOBALS['phpgw']->link('/index.php','menuaction=admin.uicurrentsessions.list_sessions');
52        }
53       
54        if (! $GLOBALS['phpgw']->acl->check('access_log_access',1,'admin'))
55        {
56                $file['View Access Log'] = $GLOBALS['phpgw']->link('/index.php','menuaction=admin.uiaccess_history.list_history');
57        }
58
59        if (! $GLOBALS['phpgw']->acl->check('error_log_access',1,'admin'))
60        {
61                $file['View Error Log']  = $GLOBALS['phpgw']->link('/index.php','menuaction=admin.uilog.list_log');
62        }
63
64        if (! $GLOBALS['phpgw']->acl->check('applications_access',16,'admin'))
65        {
66                $file['Find and Register all Application Hooks'] = $GLOBALS['phpgw']->link('/index.php','menuaction=admin.uiapplications.register_all_hooks');
67        }
68
69        if (! $GLOBALS['phpgw']->acl->check('asyncservice_access',1,'admin'))
70        {
71                $file['Asynchronous timed services'] = $GLOBALS['phpgw']->link('/index.php','menuaction=admin.uiasyncservice.index');
72        }
73
74        if (! $GLOBALS['phpgw']->acl->check('info_access',1,'admin'))
75        {
76                $file['phpInfo']         = $GLOBALS['phpgw']->link('/admin/phpinfo.php');
77        }
78 
79        if (! $GLOBALS['phpgw']->acl->check('site_config_access',1,'admin'))
80        {
81                $file['VoIP settings']         = $GLOBALS['phpgw']->link('/index.php','menuaction=admin.uivoip.edit_conf');
82        }
83
84        /* Do not modify below this line */
85        display_section('admin',$file);
86?>
Note: See TracBrowser for help on using the repository browser.