summaryrefslogtreecommitdiff
path: root/roundcubemail/index.php
diff options
context:
space:
mode:
authorrobin <robin@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-08-28 08:15:31 +0000
committerrobin <robin@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-08-28 08:15:31 +0000
commit1dd978d1eb57a78483a09c161146784c26cd3444 (patch)
tree680c78123a49292ccb7584cd1953d03460701771 /roundcubemail/index.php
parent13f4177df858577e8fc8b8695d385f3bdee05221 (diff)
Add folder hierarchy collapsing.
git-svn-id: https://svn.roundcube.net/trunk@1687 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/index.php')
-rw-r--r--roundcubemail/index.php8
1 files changed, 8 insertions, 0 deletions
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';