egroupware_official/filemanager/inc/hook_sidebox_menu.inc.php
Klaus Leithoff 0969f08ee5 Search functionality added in filemanager. For the search feature etemplate is used for the interface. The functionality is accessed via the sidebar
and start with a search for all objects that are created since the day before. This is not committed into 1.4. If you think this feature is of 
any help for 1.4 too, let us know.
2007-07-19 16:13:53 +00:00

42 lines
1.5 KiB
PHP
Executable File

<?php
/**************************************************************************\
* 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. *
\**************************************************************************/
/* $Id$ */
{
/*
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
*/
$menu_title = $GLOBALS['egw_info']['apps'][$appname]['title'] . ' '. lang('Menu');
$file = Array(
array(
'Preferences',
'text' => 'Filemanager Preferences',
'link' => $GLOBALS['egw']->link('/index.php','menuaction=preferences.uisettings.index&appname=filemanager'),
),
array(
'Search',
'text' => 'Search',
'link' => $GLOBALS['egw']->link('/index.php',array('menuaction'=>'filemanager.uifilemanager.index', 'action'=>'search')),
)
);
display_sidebox($appname,$menu_title,$file);
}
?>