From 8befffa86580d826858e0c022684f4edd324c407 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Sat, 20 Jan 2007 02:19:50 +0000 Subject: [PATCH] Allow auto-refresh after options are changed (when JavaScript is turned on). Future enhancement might be to pass a GET variable to options page so after a *complete* page refresh, it can still tell the user that the options were saved. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12155 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/options.php | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/options.php b/src/options.php index fef958f5..7dd666ff 100644 --- a/src/options.php +++ b/src/options.php @@ -243,6 +243,7 @@ if ($optpage == SMOPT_PAGE_MAIN) { } if (isset($optpage_save_error) && $optpage_save_error!=array()) { +//FIXME: REMOVE HTML FROM CORE $notice = _("Error(s) occurred while saving your options") . "
\n