2003-12-09 00:18:34 +01:00
|
|
|
<?php
|
2005-10-14 12:41:15 +02:00
|
|
|
/**************************************************************************\
|
|
|
|
* eGroupWare - Filemanager Sidebox-Menu for idots-template *
|
|
|
|
* http://www.egroupware.org *
|
|
|
|
* Written by Pim Snel <pim@lingewoud.nl> *
|
|
|
|
* -------------------------------------------- *
|
|
|
|
* This program is free software; you can redistribute it and/or modify it *
|
|
|
|
* under the terms of the GNU General Public License as published by the *
|
|
|
|
* Free Software Foundation; either version 2 of the License, or (at your *
|
|
|
|
* option) any later version. *
|
|
|
|
\**************************************************************************/
|
2003-12-09 00:18:34 +01:00
|
|
|
|
2005-10-14 12:41:15 +02:00
|
|
|
/* $Id$ */
|
2003-12-09 00:18:34 +01:00
|
|
|
{
|
|
|
|
|
|
|
|
/*
|
|
|
|
This hookfile is for generating an app-specific side menu used in the idots
|
|
|
|
template set.
|
|
|
|
|
|
|
|
$menu_title speaks for itself
|
|
|
|
$file is the array with link to app functions
|
|
|
|
|
|
|
|
display_sidebox can be called as much as you like
|
|
|
|
*/
|
|
|
|
|
2005-10-14 12:41:15 +02:00
|
|
|
$menu_title = $GLOBALS['egw_info']['apps'][$appname]['title'] . ' '. lang('Menu');
|
2003-12-09 00:18:34 +01:00
|
|
|
$file = Array(
|
2005-07-23 11:44:46 +02:00
|
|
|
array(
|
|
|
|
'',
|
|
|
|
'text' => 'Filemanager Preferences',
|
|
|
|
'link' => $GLOBALS['egw']->link('/index.php','menuaction=preferences.uisettings.index&appname=filemanager')
|
|
|
|
)
|
2003-12-09 00:18:34 +01:00
|
|
|
);
|
|
|
|
display_sidebox($appname,$menu_title,$file);
|
|
|
|
}
|
|
|
|
?>
|