skipping unnecessary redirect by directly displaying index-method link in navbar

This commit is contained in:
Ralf Becker 2009-03-30 08:48:59 +00:00
parent b976659346
commit 2e4577ae83
5 changed files with 16 additions and 19 deletions

View File

@ -13,6 +13,7 @@ $setup_info['calendar']['name'] = 'calendar';
$setup_info['calendar']['version'] = '1.6';
$setup_info['calendar']['app_order'] = 3;
$setup_info['calendar']['enable'] = 1;
$setup_info['calendar']['index'] = 'calendar.calendar_uiviews.index';
$setup_info['calendar']['license'] = 'GPL';
$setup_info['calendar']['description'] =

View File

@ -16,6 +16,7 @@ $setup_info['etemplate']['version'] = '1.6';
$setup_info['etemplate']['app_order'] = 60; // just behind the developers-tools
$setup_info['etemplate']['tables'] = array('egw_etemplate');
$setup_info['etemplate']['enable'] = 1;
$setup_info['etemplate']['index'] = 'etemplate.editor.edit';
$setup_info['etemplate']['author'] =
$setup_info['etemplate']['maintainer'] = array(

View File

@ -13,6 +13,7 @@ $setup_info['filemanager']['title'] = 'Filemanager';
$setup_info['filemanager']['version'] = '1.6';
$setup_info['filemanager']['app_order'] = 6;
$setup_info['filemanager']['enable'] = 1;
$setup_info['filemanager']['index'] = 'filemanager.filemanager_ui.index';
$setup_info['infolog']['author'] =
$setup_info['infolog']['maintainer'] = array(

View File

@ -1,21 +1,14 @@
<?php
/**
* eGroupWare - resources
* http://www.egroupware.org
*
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @package resources
* @author Cornelius Weiss <egw@von-und-zu-weiss.de>
* @author Lukas Weiss <wnz_gh05t@users.sourceforge.net>
* @version $Id$
*/
$GLOBALS['egw_info']['flags'] = array(
'currentapp' => 'resources',
'noheader' => True,
'nonavbar' => True
);
include('../header.inc.php');
/**
* eGroupWare - resources
* http://www.egroupware.org
*
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @package resources
* @author Cornelius Weiss <egw@von-und-zu-weiss.de>
* @author Lukas Weiss <wnz_gh05t@users.sourceforge.net>
* @version $Id$
*/
$GLOBALS['egw']->redirect_link('/index.php','menuaction=resources.ui_resources.index');
header('Location: ../index.php?menuaction=resources.ui_resources.index'.
(isset($_GET['sessionid']) ? '&sessionid='.$_GET['sessionid'].'&kp3='.$_GET['kp3'] : ''));

View File

@ -17,6 +17,7 @@ $setup_info['resources']['version'] = '1.6';
$setup_info['resources']['app_order'] = 5;
$setup_info['resources']['tables'] = array('egw_resources','egw_resources_extra');
$setup_info['resources']['enable'] = 1;
$setup_info['resources']['index'] = 'resources.ui_resources.index';
$setup_info['resources']['author'] = 'Cornelius Weiss';
$setup_info['resources']['license'] = 'GPL';