| | |
| | | |
| | | $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', |
| | | $checkbox_threaded->show(($threaded ? $folder_utf8 : ''), array('value' => $folder_utf8))); |
| | | $table->add('threaded', $folder['virtual'] ? '' : |
| | | $checkbox_threaded->show(($threaded ? $folder_utf8 : ''), array('value' => $folder_utf8))); |
| | | } |
| | | |
| | | // add rename and delete buttons |