Add option to allow returning to the message one had been replying to after sending
[squirrelmail.git] / include / options / compose.php
index dfd6091d8106a4a020a547604bd5dbf724251a5a..070c558d963fa5f2505fc5c7ec70186d28103972 100644 (file)
@@ -5,7 +5,7 @@
  *
  * Displays all options concerning composing of new messages
  *
- * @copyright 1999-2012 The SquirrelMail Project Team
+ * @copyright 1999-2017 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
@@ -132,6 +132,13 @@ function load_optpage_data_compose() {
         'refresh' => SMOPT_REFRESH_NONE
     );
 
+    $optvals[SMOPT_GRP_COMPOSE_REPLY][] = array(
+        'name'    => 'return_to_message_after_reply',
+        'caption' => _("Return to Original Message After Replying"),
+        'type'    => SMOPT_TYPE_BOOLEAN,
+        'refresh' => SMOPT_REFRESH_NONE
+    );
+
     $optvals[SMOPT_GRP_COMPOSE_REPLY][] = array(
         'name'    => 'sig_first',
         'caption' => _("Prepend Signature before Reply/Forward Text"),