mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
added a sidebox-menu
This commit is contained in:
parent
687387512f
commit
e01691fdcc
22
etemplate/inc/hook_sidebox_menu.inc.php
Normal file
22
etemplate/inc/hook_sidebox_menu.inc.php
Normal 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);
|
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user