egroupware_official/etemplate/inc/hook_sidebox_menu.inc.php
Ralf Becker 21c6ebd17e next step to a new eTemplate editor:
- new editor has now everything the old one had, beside editing of embeded stylesheets
- new possibility to define a confirmation for buttons via javascript
- finetuned the garbadge collection for php4 sessions
2005-02-20 21:45:24 +00:00

57 lines
2.2 KiB
PHP

<?php
/**************************************************************************\\
* eGroupWare - 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'),
'old Editor' => $GLOBALS['phpgw']->link('/index.php','menuaction=etemplate.editor.old_editor'),
'DB-Tools' => $GLOBALS['phpgw']->link('/index.php','menuaction=etemplate.db_tools.edit'),
);
if (@$GLOBALS['phpgw_info']['user']['apps']['developer_tools'])
{
$file += array(
'_NewLine_', // give a newline
'developer_tools' => $GLOBALS['phpgw']->link('/index.php','menuaction=developer_tools.uilangfile.index'),
);
}
display_sidebox($appname,$menu_title,$file);
$menu_title = lang('Documentation');
$docs = $GLOBALS['phpgw_info']['server']['webserver_url'].'/etemplate/doc/';
$file = Array(
array(
'text' => 'eTemplate Tutorial',
'link' => $docs.'etemplate.html',
'target' => 'docs'
),
array(
'text' => 'eTemplate Reference',
'link' => $docs.'reference.html',
'target' => 'docs'
),
array(
'text' => 'eGroupWare '.lang('Documentation'),
'no_lang' => True,
'link' => $GLOBALS['phpgw_info']['server']['webserver_url'].'/phpgwapi/doc/',
'target' => 'docs'
),
array(
'text' => 'CSS properties',
'link' => 'http://www.w3.org/TR/REC-CSS2/propidx.html',
'target' => 'docs'
),
);
display_sidebox($appname,$menu_title,$file);