Add "show only subscribed folders" option (defaults to On, current behaviour).
[squirrelmail.git] / include / options / folder.php
index f4b5624a6a7136002462ce749afe0b55e9d322f6..3bf3f44949c64f6433c8f40a95df66637c8e66cd 100644 (file)
@@ -215,6 +215,12 @@ function load_optpage_data_folder() {
                             9 => '9')
     );
 
+    $optvals[SMOPT_GRP_FOLDERLIST][] = array(
+        'name'    => 'show_only_subscribed_folders',
+        'caption' => _("Show only subscribed folders"),
+        'type'    => SMOPT_TYPE_BOOLEAN,
+        'refresh' => SMOPT_REFRESH_FOLDERLIST
+    );
 
     /*** Load the General Options into the array ***/
     $optgrps[SMOPT_GRP_FOLDERSELECT] = _("Folder Selection Options");