From caa7ff497fe6dc77a3db239ce1b1bd232e2f1522 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 18 Nov 2013 08:22:19 +0000 Subject: [PATCH] index.php and setup index for preferences redirection to settings --- preferences/index.php | 13 +++++++++++++ preferences/password.php | 2 +- preferences/setup/setup.inc.php | 3 ++- 3 files changed, 16 insertions(+), 2 deletions(-) create mode 100755 preferences/index.php diff --git a/preferences/index.php b/preferences/index.php new file mode 100755 index 0000000000..abd412d6f8 --- /dev/null +++ b/preferences/index.php @@ -0,0 +1,13 @@ + + * @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'] : '')); diff --git a/preferences/password.php b/preferences/password.php index 010a07db0a..0240a62089 100644 --- a/preferences/password.php +++ b/preferences/password.php @@ -13,7 +13,7 @@ $GLOBALS['egw_info'] = array( 'flags' => array( 'noheader' => True, 'nonavbar' => True, - 'currentapp' => 'password', + 'currentapp' => 'preferences', ) ); include('../header.inc.php'); diff --git a/preferences/setup/setup.inc.php b/preferences/setup/setup.inc.php index 9854314461..9c3119eec2 100755 --- a/preferences/setup/setup.inc.php +++ b/preferences/setup/setup.inc.php @@ -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';