Ignore:
Timestamp:
Aug 30, 2010 3:21:03 AM (3 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
1d8cbca
Parents:
b0d46b1
Message:
  • Show disabled checkboxes for protected folders instead of dots (#1485498)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/steps/settings/manage_folders.inc

    r8ed0152 r01538da  
    293293    $table->add('name', Q($display_folder)); 
    294294    $table->add('msgcount', ($folder['virtual'] ? '' : $IMAP->messagecount($folder['id'], 'ALL', false, false))); 
    295     $table->add('subscribed', ($protected || $folder['virtual']) ? ($subscribed ? '&nbsp;&#x2022;' : '&nbsp;') : 
    296         $checkbox_subscribe->show(($subscribed ? $folder_utf8 : ''), array('value' => $folder_utf8))); 
     295    $table->add('subscribed', $checkbox_subscribe->show(($subscribed ? $folder_utf8 : ''), 
     296      array('value' => $folder_utf8, 'disabled' => $protected ? 'disabled' : ''))); 
    297297    if ($threading_supported) { 
    298298      $table->add('threaded', $folder['virtual'] ? '' : 
Note: See TracChangeset for help on using the changeset viewer.