From 1dd978d1eb57a78483a09c161146784c26cd3444 Mon Sep 17 00:00:00 2001 From: robin Date: Thu, 28 Aug 2008 08:15:31 +0000 Subject: Add folder hierarchy collapsing. git-svn-id: https://svn.roundcube.net/trunk@1687 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/index.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'roundcubemail/index.php') diff --git a/roundcubemail/index.php b/roundcubemail/index.php index 05ef875a8..aa6bf1293 100644 --- a/roundcubemail/index.php +++ b/roundcubemail/index.php @@ -201,6 +201,14 @@ $action_map = array( ) ); +// save preference value +if ($RCMAIL->action=='save-pref') + { + $USER->save_prefs(array(get_input_value('_name', RCUBE_INPUT_POST) => get_input_value('_value', RCUBE_INPUT_POST))); + $OUTPUT->reset(); + $OUTPUT->send(); + } + // include task specific functions include_once 'program/steps/'.$RCMAIL->task.'/func.inc'; -- cgit v1.2.3