source: trunk/filemanager/inc/hook_sidebox_menu.inc.php @ 2000

Revision 2000, 1.7 KB checked in by amuller, 14 years ago (diff)

Ticket #597 - Implementação do módulo gerenciador de arquivos

  • Property svn:executable set to *
Line 
1<?php
2  /**************************************************************************\
3  * eGroupWare - Calendar's Sidebox-Menu for idots-template                  *
4  * http://www.egroupware.org                                                *
5  * Written by Pim Snel <pim@lingewoud.nl>                                   *
6  * --------------------------------------------                             *
7  *  This program is free software; you can redistribute it and/or modify it *
8  *  under the terms of the GNU General Public License as published by the   *
9  *  Free Software Foundation; either version 2 of the License, or (at your  *
10  *  option) any later version.                                              *
11  \**************************************************************************/
12
13  /* $Id: hook_sidebox_menu.inc.php 13525 2004-01-27 18:19:23Z reinerj $ */
14{
15
16 /*
17        This hookfile is for generating an app-specific side menu used in the idots
18        template set.
19
20        $menu_title speaks for itself
21        $file is the array with link to app functions
22
23        display_sidebox can be called as much as you like
24 */
25
26        $menu_title = $GLOBALS['phpgw_info']['apps'][$appname]['title'] . ' '. lang('Menu');
27        /*$file = Array(
28        array('','text'=>'Filemanager Preferences','link'=>$GLOBALS['phpgw']->link('/preferences/preferences.php','appname=filemanager')),
29        );*/
30        $file = Array(
31                'Filemanager preferences'=>$GLOBALS['phpgw']->link('/preferences/preferences.php','appname=filemanager'),
32                'Update'=>$GLOBALS['phpgw']->link('/index.php','menuaction=filemanager.uifilemanager.index&update.x=1'),
33                'Grant Access'=>$GLOBALS['phpgw']->link('/index.php','menuaction=preferences.uiaclprefs.index&acl_app=filemanager'),   
34        );
35
36        display_sidebox($appname,$menu_title,$file);
37
38}
39?>
Note: See TracBrowser for help on using the repository browser.