From 258a043a31ff002d83097e45b4504e59e6559d1d Mon Sep 17 00:00:00 2001 From: alecpl Date: Fri, 19 Mar 2010 14:18:44 +0000 Subject: - hide threads related stuff if threads are not supported --- program/steps/settings/manage_folders.inc | 2 +- skins/default/templates/mail.html | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/program/steps/settings/manage_folders.inc b/program/steps/settings/manage_folders.inc index fa5a4db70..9202777f7 100644 --- a/program/steps/settings/manage_folders.inc +++ b/program/steps/settings/manage_folders.inc @@ -294,7 +294,7 @@ function rcube_subscription_form($attrib) $table->add('msgcount', ($folder['virtual'] ? '' : $IMAP->messagecount($folder['id']))); // XXX: Use THREADS or ALL? $table->add('subscribed', ($protected || $folder['virtual']) ? ($subscribed ? ' •' : ' ') : $checkbox_subscribe->show(($subscribed ? $folder_utf8 : ''), array('value' => $folder_utf8))); - if ($IMAP->get_capability('thread=references')) { + if ($threading_supported) { $table->add('threaded', $checkbox_threaded->show(($threaded ? $folder_utf8 : ''), array('value' => $folder_utf8))); } diff --git a/skins/default/templates/mail.html b/skins/default/templates/mail.html index 206f10155..5bfbe0a6e 100644 --- a/skins/default/templates/mail.html +++ b/skins/default/templates/mail.html @@ -84,11 +84,13 @@ + + : @@ -160,16 +162,14 @@
+
  • - -
  • - -
  • - +
+
  • -- cgit v1.2.3