From cf8714293e4035b24b9c063860234a1172114f95 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Tue, 13 Aug 2013 17:37:15 +0000 Subject: [PATCH] Open preferences in preferences tab --- addressbook/inc/class.addressbook_hooks.inc.php | 2 +- filemanager/inc/class.filemanager_hooks.inc.php | 2 +- infolog/inc/class.infolog_hooks.inc.php | 2 +- mail/inc/class.mail_hooks.inc.php | 2 +- resources/inc/class.resources_hooks.inc.php | 2 +- timesheet/inc/class.timesheet_hooks.inc.php | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/addressbook/inc/class.addressbook_hooks.inc.php b/addressbook/inc/class.addressbook_hooks.inc.php index e2a8efe56a..c7ba6ae8b2 100644 --- a/addressbook/inc/class.addressbook_hooks.inc.php +++ b/addressbook/inc/class.addressbook_hooks.inc.php @@ -56,7 +56,7 @@ class addressbook_hooks if ($GLOBALS['egw_info']['user']['apps']['preferences'] && $location != 'admin') { $file = array( - 'Preferences' => egw::link('/index.php','menuaction=preferences.uisettings.index&appname='.$appname), + 'Preferences' => egw::link('/index.php','menuaction=preferences.uisettings.index&appname='.$appname,'preferences'), 'Grant Access' => egw::link('/index.php','menuaction=preferences.uiaclprefs.index&acl_app='.$appname), 'Edit Categories' => egw::link('/index.php','menuaction=preferences.preferences_categories_ui.index&cats_app=' . $appname . '&cats_level=True&global_cats=True') ); diff --git a/filemanager/inc/class.filemanager_hooks.inc.php b/filemanager/inc/class.filemanager_hooks.inc.php index 32da3c04e6..1abae89ec9 100644 --- a/filemanager/inc/class.filemanager_hooks.inc.php +++ b/filemanager/inc/class.filemanager_hooks.inc.php @@ -130,7 +130,7 @@ class filemanager_hooks if (is_array($location)) $location = $location['location']; $file = array( - 'Preferences' => egw::link('/index.php','menuaction=preferences.uisettings.index&appname='.self::$appname), + 'Preferences' => egw::link('/index.php','menuaction=preferences.uisettings.index&appname='.self::$appname,'preferences'), ); if ($location == 'preferences') { diff --git a/infolog/inc/class.infolog_hooks.inc.php b/infolog/inc/class.infolog_hooks.inc.php index b7ad82f285..ffe0809755 100644 --- a/infolog/inc/class.infolog_hooks.inc.php +++ b/infolog/inc/class.infolog_hooks.inc.php @@ -113,7 +113,7 @@ class infolog_hooks if ($GLOBALS['egw_info']['user']['apps']['preferences'] && $location != 'admin') { $file = array( - 'Preferences' => egw::link('/index.php','menuaction=preferences.uisettings.index&appname='.$appname), + 'Preferences' => egw::link('/index.php','menuaction=preferences.uisettings.index&appname='.$appname,'preferences'), 'Grant Access' => egw::link('/index.php','menuaction=preferences.uiaclprefs.index&acl_app='.$appname), 'Edit Categories' => egw::link('/index.php','menuaction=preferences.preferences_categories_ui.index&cats_app=' . $appname . '&cats_level=True&global_cats=True') ); diff --git a/mail/inc/class.mail_hooks.inc.php b/mail/inc/class.mail_hooks.inc.php index a56dc818e4..0aa68b1826 100644 --- a/mail/inc/class.mail_hooks.inc.php +++ b/mail/inc/class.mail_hooks.inc.php @@ -734,7 +734,7 @@ class mail_hooks $profileID = $GLOBALS['egw_info']['user']['preferences']['mail']['ActiveProfileID'] = $mail_bo->profileID; $mailPreferences =& $mail_bo->mailPreferences; - $file['Preferences'] = egw::link('/index.php','menuaction=preferences.preferences_settings.index&appname=' . $appname); + $file['Preferences'] = egw::link('/index.php','menuaction=preferences.preferences_settings.index&appname=' . $appname,'preferences'); if($mailPreferences->userDefinedAccounts) { $linkData = array diff --git a/resources/inc/class.resources_hooks.inc.php b/resources/inc/class.resources_hooks.inc.php index f67add374a..1a24182cd3 100644 --- a/resources/inc/class.resources_hooks.inc.php +++ b/resources/inc/class.resources_hooks.inc.php @@ -44,7 +44,7 @@ class resources_hooks && $GLOBALS['egw_info']['user']['apps']['importexport']) // Only one preference right now, need this to prevent errors { $file = array( - 'Preferences' => egw::link('/index.php','menuaction=preferences.uisettings.index&appname='.$appname), + 'Preferences' => egw::link('/index.php','menuaction=preferences.uisettings.index&appname='.$appname,'preferences'), // Categories control access, not regular ACL system // 'Grant Access' => egw::link('/index.php','menuaction=preferences.uiaclprefs.index&acl_app='.$appname), // 'Edit Categories' => egw::link('/index.php','menuaction=preferences.uicategories.index&cats_app=' . $appname . '&cats_level=True&global_cats=True') diff --git a/timesheet/inc/class.timesheet_hooks.inc.php b/timesheet/inc/class.timesheet_hooks.inc.php index e44f0dbaa4..acab8d10f8 100644 --- a/timesheet/inc/class.timesheet_hooks.inc.php +++ b/timesheet/inc/class.timesheet_hooks.inc.php @@ -111,7 +111,7 @@ class timesheet_hooks if ($GLOBALS['egw_info']['user']['apps']['preferences'] && $location != 'admin') { $file = array( - 'Preferences' => egw::link('/index.php','menuaction=preferences.uisettings.index&appname='.$appname), + 'Preferences' => egw::link('/index.php','menuaction=preferences.uisettings.index&appname='.$appname,'preferences'), 'Grant Access' => egw::link('/index.php','menuaction=preferences.uiaclprefs.index&acl_app='.$appname), 'Edit Categories' => egw::link('/index.php','menuaction=preferences.preferences_categories_ui.index&cats_app=' . $appname . '&cats_level=True&global_cats=True') );