Update of /cvsroot/egroupware/tts/inc
In directory sc8-pr-cvs1:/tmp/cvs-serv22623/inc
Added Files:
hook_sidebox_menu.inc.php
Log Message:
some changes:
- register_globals off
- sidebox_menu and app_headers
- removed unnecessary verdilak-images
--- NEW FILE: hook_sidebox_menu.inc.php ---
<?php
/**************************************************************************\
* phpGroupWare
*
* http://www.phpgroupware.org
*
* Written by Joseph Engo
<jengo-KbVhojg39WN7Hs66POOG2w@xxxxxxxxxxxxxxxx> *
* --------------------------------------------
*
* 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: hook_sidebox_menu.inc.php,v 1.1 2003/09/22 22:53:50 ralfbecker
Exp $
// $Source: /cvsroot/egroupware/tts/inc/hook_sidebox_menu.inc.php,v $
$menu_title = $GLOBALS['phpgw_info']['apps'][$appname]['title'] . ' '.
lang('Menu');
$file = Array(
'New ticket' =>
$GLOBALS['phpgw']->link('/tts/newticket.php'),
'View all tickets' =>
$GLOBALS['phpgw']->link('/tts/index.php','filter=viewall'),
'View only open tickets' =>
$GLOBALS['phpgw']->link('/tts/index.php')
);
display_sidebox($appname,$menu_title,$file);
if ($GLOBALS['phpgw_info']['user']['apps']['preferences'])
{
$menu_title = lang('Preferences');
$file = Array(
'Preferences' =>
$GLOBALS['phpgw']->link('/preferences/preferences.php','appname=tts'),
'Edit Categories' =>
$GLOBALS['phpgw']->link('/index.php','menuaction=preferences.uicategories.index&cats_app='.$appname.'&cats_level=True&global_cats=True')
);
display_sidebox($appname,$menu_title,$file);
}
if ($GLOBALS['phpgw_info']['user']['apps']['admin'])
{
$menu_title = lang('Administration');
$file = Array(
'Admin options' =>
$GLOBALS['phpgw']->link('/tts/admin.php'),
'Global Categories' =>
$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uicategories.index&appname=tts')
);
display_sidebox($appname,$menu_title,$file);
}
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|