source: branches/2.2.0.1/contactcenter/inc/hook_sidebox_menu.inc.php @ 1409

Revision 1409, 1.4 KB checked in by alexandrecorreia, 15 years ago (diff)

Ticket #644 - Correção da classe uiacl para o controle de permissão de acesso.

  • Property svn:executable set to *
Line 
1<?php
2  /***************************************************************************\
3  * Expresso Livre - Contact Center                                           *
4  * http://www.expressolivre.org                                              *
5  * Written by:                                                               *
6  *  - Nilton Emilio Buhrer Neto <niltonneto@celepar.pr.gov.br>                       *
7  *  sponsored by CELEPAR - http://www.celepar.pr.gov.br                                          *
8  * ------------------------------------------------------------------------- *
9  *  This program is free software; you can redistribute it and/or modify it  *
10  *  under the terms of the GNU General Public License as published by the    *
11  *  Free Software Foundation; either version 2 of the License, or (at your   *
12  *  option) any later version.                                               *
13  \***************************************************************************/
14 /*
15        This hookfile is for generating an app-specific side menu used in the idots
16        template set.
17
18        $menu_title speaks for itself
19        $file is the array with link to app functions
20
21        display_sidebox can be called as much as you like
22 */
23        if ($GLOBALS['phpgw_info']['user']['apps']['preferences'])      {
24                $menu_title = lang('Preferences');
25                $file = Array(
26                        'Grant Access'=>$GLOBALS['phpgw']->link('/index.php','menuaction=preferences.uiaclprefs.index&acl_app=contactcenter')
27                );
28                display_sidebox($appname,$menu_title,$file);
29        }
30?>
Note: See TracBrowser for help on using the repository browser.