move ActiveProfileID Pref to General Settings

This commit is contained in:
Klaus Leithoff 2013-06-06 15:39:45 +00:00
parent 6a605be08c
commit 7a1c48ddad
2 changed files with 11 additions and 10 deletions

View File

@ -355,16 +355,6 @@ class felamimail_hooks
'xmlrpc' => False,
'admin' => False
),
'ActiveProfileID' => array(
'type' => 'select',
'label' => 'Active Mail Profile',
'help' => 'view / select your currently active mailprofile (this is a user only setting)',
'name' => 'ActiveProfileID',
'values' => $identities,
'xmlrpc' => True,
'admin' => False,
'default'=> $profileID,
),
'message_forwarding' => array(
'type' => 'select',
'label' => 'how to forward messages',
@ -557,6 +547,16 @@ class felamimail_hooks
'xmlrpc' => True,
'admin' => False,
),
'ActiveProfileID' => array(
'type' => 'select',
'label' => 'Active Mail Profile',
'help' => 'view / select your currently active mailprofile (this is a user only setting)',
'name' => 'ActiveProfileID',
'values' => $identities,
'xmlrpc' => True,
'admin' => False,
'default'=> $profileID,
),
array(
'type' => 'section',
'title' => lang('Folder settings'),

View File

@ -160,6 +160,7 @@ class uifelamimail
function redirectToPreferences ()
{
//$GLOBALS['egw_info']['flags']['currentapp'] = 'preferences';
$this->display_app_header(false);
//appname is a $_GET parameter, so the passing as function parameter does not work
ExecMethod('preferences.uisettings.index',array('appname'=>'felamimail'));