Changeset 166b615 in github
- Timestamp:
- Jun 14, 2008 2:09:53 PM (5 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 892ca06
- Parents:
- ed42ff1
- Files:
-
- 7 edited
-
CHANGELOG (modified) (1 diff)
-
config/main.inc.php.dist (modified) (2 diffs)
-
program/localization/en_US/labels.inc (modified) (1 diff)
-
program/localization/pl_PL/labels.inc (modified) (1 diff)
-
program/steps/mail/func.inc (modified) (1 diff)
-
program/steps/settings/func.inc (modified) (1 diff)
-
program/steps/settings/save_prefs.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
CHANGELOG
rf0d4b72 r166b615 1 1 CHANGELOG RoundCube Webmail 2 2 --------------------------- 3 4 2008/06/14 (alec) 5 ---------- 6 - Added option to disable displaying of attached images below the message body 3 7 4 8 2008/06/13 (alec) -
config/main.inc.php.dist
r712b30d r166b615 299 299 $rcmail_config['enable_installer'] = false; 300 300 301 /***** these settings can be overwritten by user's preferences *****/ 302 303 // show up to X items in list view 304 $rcmail_config['pagesize'] = 40; 305 306 // use this timezone to display date/time 307 $rcmail_config['timezone'] = intval(date('O'))/100 - date('I'); 308 309 // is daylight saving On? 310 $rcmail_config['dst_active'] = (bool)date('I'); 311 312 // prefer displaying HTML messages 313 $rcmail_config['prefer_html'] = TRUE; 314 315 // display images in mail from known senders 316 $rcmail_config['addrbook_show_images'] = FALSE; 317 318 // compose html formatted messages by default 319 $rcmail_config['htmleditor'] = FALSE; 320 321 // show pretty dates as standard 322 $rcmail_config['prettydate'] = TRUE; 323 324 // save compose message every 300 seconds (5min) 325 $rcmail_config['draft_autosave'] = 300; 326 327 // default setting if preview pane is enabled 328 $rcmail_config['preview_pane'] = FALSE; 329 330 // Clear Trash on logout 331 $rcmail_config['logout_purge'] = FALSE; 332 333 // Compact INBOX on logout 334 $rcmail_config['logout_expunge'] = FALSE; 301 // Log successful logins 302 $rcmail_config['log_logins'] = false; 335 303 336 304 /** … … 346 314 $rcmail_config['delete_always'] = false; 347 315 348 // Log successful logins 349 $rcmail_config['log_logins'] = false; 316 /***** these settings can be overwritten by user's preferences *****/ 317 318 // show up to X items in list view 319 $rcmail_config['pagesize'] = 40; 320 321 // use this timezone to display date/time 322 $rcmail_config['timezone'] = intval(date('O'))/100 - date('I'); 323 324 // is daylight saving On? 325 $rcmail_config['dst_active'] = (bool)date('I'); 326 327 // prefer displaying HTML messages 328 $rcmail_config['prefer_html'] = TRUE; 329 330 // display images in mail from known senders 331 $rcmail_config['addrbook_show_images'] = FALSE; 332 333 // compose html formatted messages by default 334 $rcmail_config['htmleditor'] = FALSE; 335 336 // show pretty dates as standard 337 $rcmail_config['prettydate'] = TRUE; 338 339 // save compose message every 300 seconds (5min) 340 $rcmail_config['draft_autosave'] = 300; 341 342 // default setting if preview pane is enabled 343 $rcmail_config['preview_pane'] = FALSE; 344 345 // Clear Trash on logout 346 $rcmail_config['logout_purge'] = FALSE; 347 348 // Compact INBOX on logout 349 $rcmail_config['logout_expunge'] = FALSE; 350 351 // Display attached images below the message body 352 $rcmail_config['inline_images'] = TRUE; 350 353 351 354 // end of config file -
program/localization/en_US/labels.inc
r62e43d2 r166b615 264 264 $labels['readwhendeleted'] = 'Mark the message as read on delete'; 265 265 $labels['flagfordeletion'] = 'Flag the message for deletion instead of delete'; 266 266 $labels['showinlineimages'] = 'Display attached images below the message'; 267 267 $labels['autosavedraft'] = 'Automatically save draft'; 268 268 $labels['everynminutes'] = 'every $n minutes'; -
program/localization/pl_PL/labels.inc
rf0d4b72 r166b615 61 61 $labels['showknownimages'] = 'WyÅwietlaj obrazki od znanych nadawców'; 62 62 $labels['prettydate'] = 'Åadne daty'; 63 $labels['showinlineimages'] = 'WyÅwietlaj zaÅÄ 64 czone obrazki pod treÅciÄ 65 wiadomoÅci'; 63 66 $labels['messagesdisplaying'] = 'WyÅwietlanie wiadomoÅci'; 64 67 $labels['messagescomposition'] = 'Tworzenie wiadomoÅci'; -
program/steps/mail/func.inc
r83a7636 r166b615 746 746 $ctype_primary = strtolower($MESSAGE->structure->ctype_primary); 747 747 $ctype_secondary = strtolower($MESSAGE->structure->ctype_secondary); 748 748 749 749 // list images after mail body 750 if (get_boolean($attrib['showimages']) && $ctype_primary == 'multipart' && 751 !empty($MESSAGE->attachments) && !strstr($message_body, '<html')) { 750 if (get_boolean($attrib['showimages']) 751 && $CONFIG['inline_images'] 752 && $ctype_primary == 'multipart' 753 && !empty($MESSAGE->attachments) 754 && !strstr($message_body, '<html')) 755 { 752 756 foreach ($MESSAGE->attachments as $attach_prop) { 753 757 if (strpos($attach_prop->mimetype, 'image/') === 0) { -
program/steps/settings/func.inc
rf0d4b72 r166b615 201 201 } 202 202 203 if (!isset($no_override['inline_images'])) 204 { 205 $field_id = 'rcmfd_inline_images'; 206 $input_inline_images = new html_checkbox(array('name' => '_inline_images', 'id' => $field_id, 'value' => 1)); 207 208 $out .= sprintf("<tr><td class=\"title\"><label for=\"%s\">%s</label></td><td>%s</td></tr>\n", 209 $field_id, 210 Q(rcube_label('showinlineimages')), 211 $input_inline_images->show($config['inline_images']?1:0)); 212 } 213 203 214 $out .= "</table></fieldset>\n<fieldset><legend>" . Q(rcube_label('messagescomposition')) . "</legend>\n<table" . $attrib_str . ">\n\n"; 204 215 -
program/steps/settings/save_prefs.inc
r712b30d r166b615 28 28 'addrbook_show_images' => isset($_POST['_addrbook_show_images']) ? TRUE : FALSE, 29 29 'htmleditor' => isset($_POST['_htmleditor']) ? TRUE : FALSE, 30 'inline_images' => isset($_POST['_inline_images']) ? TRUE : FALSE, 30 31 'preview_pane' => isset($_POST['_preview_pane']) ? TRUE : FALSE, 31 32 'read_when_deleted' => isset($_POST['_read_when_deleted']) ? TRUE : FALSE,
Note: See TracChangeset
for help on using the changeset viewer.
