Changeset 5465 in subversion
- Timestamp:
- Nov 22, 2011 8:32:44 AM (18 months ago)
- Location:
- trunk/roundcubemail/program
- Files:
-
- 2 edited
-
js/app.js (modified) (1 diff)
-
steps/settings/func.inc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/js/app.js
r5464 r5465 5588 5588 this.toggle_prefer_html = function(checkbox) 5589 5589 { 5590 $('#rcmfd_ addrbook_show_images').prop('disabled', !checkbox.checked);5590 $('#rcmfd_show_images').prop('disabled', !checkbox.checked).val(0); 5591 5591 }; 5592 5592 -
trunk/roundcubemail/program/steps/settings/func.inc
r5412 r5465 438 438 if (!isset($no_override['show_images'])) { 439 439 $field_id = 'rcmfd_show_images'; 440 $input_show_images = new html_select(array('name' => '_show_images', 'id' => $field_id)); 440 $input_show_images = new html_select(array('name' => '_show_images', 'id' => $field_id, 441 'disabled' => !$config['prefer_html'])); 441 442 $input_show_images->add(rcube_label('never'), 0); 442 443 $input_show_images->add(rcube_label('fromknownsenders'), 1); … … 445 446 $blocks['main']['options']['show_images'] = array( 446 447 'title' => html::label($field_id, Q(rcube_label('showremoteimages'))), 447 'content' => $input_show_images->show($config[' show_images']),448 'content' => $input_show_images->show($config['prefer_html'] ? $config['show_images'] : 0), 448 449 ); 449 450 }
Note: See TracChangeset
for help on using the changeset viewer.
