index.php and setup index for preferences redirection to settings

This commit is contained in:
Ralf Becker 2013-11-18 08:22:19 +00:00
parent a4f5ea0b00
commit caa7ff497f
3 changed files with 16 additions and 2 deletions

13
preferences/index.php Executable file
View File

@ -0,0 +1,13 @@
<?php
/**
* EGroupware Preferences
*
* @link http://www.egroupware.org
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
* @package calendar
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @version $Id$
*/
header('Location: ../index.php?menuaction=preferences.preferences_settings.index'.
(isset($_GET['sessionid']) ? '&sessionid='.$_GET['sessionid'].'&kp3='.$_GET['kp3'] : ''));

View File

@ -13,7 +13,7 @@ $GLOBALS['egw_info'] = array(
'flags' => array(
'noheader' => True,
'nonavbar' => True,
'currentapp' => 'password',
'currentapp' => 'preferences',
)
);
include('../header.inc.php');

View File

@ -11,11 +11,12 @@
$setup_info['preferences']['name'] = 'preferences';
$setup_info['preferences']['title'] = 'Preferences';
$setup_info['preferences']['version'] = '1.8';
$setup_info['preferences']['version'] = '1.9.001';
$setup_info['preferences']['app_order'] = 1;
$setup_info['preferences']['tables'] = '';
$setup_info['preferences']['enable'] = 2;
$setup_info['preferences']['license'] = 'GPL';
$setup_info['preferences']['index'] = 'preferences.preferences_settings.index&ajax=true';
/* The hooks this app includes, needed for hooks registration */
$setup_info['preferences']['hooks']['deleteaccount'] = 'preferences_hooks::deleteaccount';