summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorsvncommit <devs@roundcube.net>2008-08-28 08:15:31 +0000
committersvncommit <devs@roundcube.net>2008-08-28 08:15:31 +0000
commitf5aa16541e6901d2fc543f9044be1c898365b61e (patch)
tree3b469ffaa730a06cfb651d4ca9bb7677f720fcf3 /index.php
parent79aeb308cb195dcc48004851795e811cee6f8ca1 (diff)
Add folder hierarchy collapsing.
Diffstat (limited to 'index.php')
-rw-r--r--index.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/index.php b/index.php
index 05ef875a8..aa6bf1293 100644
--- a/index.php
+++ b/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';