Added a "compose in new window" option located in display prefs. Each file that calls...
[squirrelmail.git] / src / options_display.php
index ec881463738b21d3073e282e31a4f8474a87369d..59fa47052449d36a9292249fcccbcab4440e7500 100644 (file)
@@ -233,7 +233,12 @@ function load_optpage_data_display() {
             'refresh' => SMOPT_REFRESH_NONE
         );
     }
-
+    $optvals[SMOPT_GRP_MESSAGE][] = array(
+        'name'    => 'compose_new_win',
+        'caption' => _("Always compose in a new window"),
+        'type'    => SMOPT_TYPE_BOOLEAN,
+        'refresh' => SMOPT_REFRESH_ALL
+    );
     /* Assemble all this together and return it as our result. */
     $result = array(
         'grps' => $optgrps,