added a sidebox-menu

This commit is contained in:
Ralf Becker 2003-10-26 08:56:17 +00:00
parent 687387512f
commit e01691fdcc
2 changed files with 24 additions and 4 deletions

View File

@ -0,0 +1,22 @@
<?php
/**************************************************************************\\
* phpGroupWare - Setup *
* http://www.eGroupWare.org *
* Created by eTemplates DB-Tools written by ralfbecker@outdoor-training.de *
* -------------------------------------------- *
* 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$ */
$menu_title = $GLOBALS['phpgw_info']['apps'][$appname]['title'] . ' '. lang('Menu');
$file = Array(
'eTemplate Editor' => $GLOBALS['phpgw']->link('/index.php','menuaction=etemplate.editor.edit'),
'DB-Tools' => $GLOBALS['phpgw']->link('/index.php','menuaction=etemplate.db_tools.edit'),
'_NewLine_', // give a newline
'developer_tools' => $GLOBALS['phpgw']->link('/index.php','menuaction=developer_tools.uilangfile.index'),
);
display_sidebox($appname,$menu_title,$file);

View File

@ -31,12 +31,10 @@
$setup_info['etemplate']['note'] =
'For <b>more information</b> check out the <a href="etemplate/doc/etemplate.html" target="_blank">Tutorial</a>,
the <a href="etemplate/doc/referenz.html" target="_blank">Referenz Documentation</a>
or the <a href="http://www.phpgroupware.org/wiki/etemplate" target="_blank">eTemplate page in our Wiki</a>.';
or the <a href="http://www.egroupware.org/wiki/etemplate" target="_blank">eTemplate page in our Wiki</a>.';
/* The hooks this app includes, needed for hooks registration */
//$setup_info['etemplate']['hooks'][] = 'preferences';
//$setup_info['etemplate']['hooks'][] = 'admin';
//$setup_info['etemplate']['hooks'][] = 'about';
$setup_info['etemplate']['hooks'][] = 'sidebox_menu';
/* Dependencies for this app to work */
$setup_info['etemplate']['depends'][] = array(