added user option to support message sort by internal date instead of the
[squirrelmail.git] / src / options_display.php
index 1a77f6300793bdd59b33606c43c328b16efea1b6..fd075d54a6f1146735c9ea031d43329994728c7c 100644 (file)
@@ -245,6 +245,12 @@ function load_optpage_data_display() {
         'type'    => SMOPT_TYPE_BOOLEAN,
         'refresh' => SMOPT_REFRESH_NONE
     );
+    $optvals[SMOPT_GRP_MESSAGE][] = array(
+        'name'    => 'internal_date_sort',
+        'caption' => _("Use receive date for sort"),
+        'type'    => SMOPT_TYPE_BOOLEAN,
+        'refresh' => SMOPT_REFRESH_ALL
+    );
     /* Assemble all this together and return it as our result. */
     $result = array(
         'grps' => $optgrps,