source: branches/1.2/contactcenter/inc/hook_sidebox_menu.inc.php @ 531

Revision 531, 1.4 KB checked in by niltonneto, 16 years ago (diff)

Alteração da versão no setup, para publicação.
Inclusão do hook side_box_menu, para aparecer o link "Permitir Acesso" no menu lateral.

  • 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.uiaclprefs2.index&acl_app=contactcenter')
27                );
28                display_sidebox($appname,$menu_title,$file);
29        }
30?>
Note: See TracBrowser for help on using the repository browser.