diff options
author | alecpl <alec@alec.pl> | 2010-08-30 07:21:03 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-08-30 07:21:03 +0000 |
commit | 01538da5801d425e32121865a0bcbb28c539aa81 (patch) | |
tree | 5d1e0da132512d143dc569c8ab022a3bb045987a /program/steps/settings | |
parent | b0d46b1ab63e5f771a0dbb7400ca674194f456df (diff) |
- Show disabled checkboxes for protected folders instead of dots (#1485498)
Diffstat (limited to 'program/steps/settings')
-rw-r--r-- | program/steps/settings/manage_folders.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/settings/manage_folders.inc b/program/steps/settings/manage_folders.inc index f19d855ac..666447802 100644 --- a/program/steps/settings/manage_folders.inc +++ b/program/steps/settings/manage_folders.inc @@ -292,8 +292,8 @@ function rcube_subscription_form($attrib) $table->add('name', Q($display_folder)); $table->add('msgcount', ($folder['virtual'] ? '' : $IMAP->messagecount($folder['id'], 'ALL', false, false))); - $table->add('subscribed', ($protected || $folder['virtual']) ? ($subscribed ? ' •' : ' ') : - $checkbox_subscribe->show(($subscribed ? $folder_utf8 : ''), array('value' => $folder_utf8))); + $table->add('subscribed', $checkbox_subscribe->show(($subscribed ? $folder_utf8 : ''), + array('value' => $folder_utf8, 'disabled' => $protected ? 'disabled' : ''))); if ($threading_supported) { $table->add('threaded', $folder['virtual'] ? '' : $checkbox_threaded->show(($threaded ? $folder_utf8 : ''), array('value' => $folder_utf8))); |