Changeset 7a48e55 in github


Ignore:
Timestamp:
Mar 28, 2010 1:52:34 PM (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:
23d5349
Parents:
7999075
Message:
  • Re-organize editor buttons, add blockquote and search buttons
  • Make possible to write inside or after a quoted html message (#1485476)
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG

    r59c216f r7a48e55  
    22=========================== 
    33 
     4- Re-organize editor buttons, add blockquote and search buttons 
     5- Make possible to write inside or after a quoted html message (#1485476) 
    46- Fix bugs on unexpected IMAP connection close (#1486190, #1486270) 
    57- Iloha's imap.inc rewritten into rcube_imap_generic class 
  • program/js/editor.js

    r5821ff5 r7a48e55  
    4444      language : editor_lang, 
    4545      plugins : 'paste,emotions,media,nonbreaking,table,searchreplace,visualchars,directionality' + (spellcheck ? ',spellchecker' : ''), 
    46       theme_advanced_buttons1 : 'bold,italic,underline,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,bullist,numlist,outdent,indent,separator,link,unlink,emotions,charmap,code,forecolor,backcolor,fontselect,fontsizeselect, separator' + (spellcheck ? ',spellchecker' : '') + ',undo,redo,image,media,ltr,rtl', 
    47       theme_advanced_buttons2 : '', 
     46      theme_advanced_buttons1 : 'bold,italic,underline,|,justifyleft,justifycenter,justifyright,justifyfull,|,bullist,numlist,outdent,indent,ltr,rtl,blockquote,|,forecolor,backcolor,fontselect,fontsizeselect', 
     47      theme_advanced_buttons2 : 'link,unlink,code,|,emotions,charmap,image,media,|,search' + (spellcheck ? ',spellchecker' : '') + ',undo,redo', 
    4848      theme_advanced_buttons3 : '', 
    4949      theme_advanced_toolbar_location : 'top', 
  • program/steps/mail/compose.inc

    rce46738 r7a48e55  
    614614      $MESSAGE->headers->date, 
    615615      htmlspecialchars(Q($MESSAGE->get_header('from'), 'replace'), ENT_COMPAT, $RCMAIL->output->get_charset())); 
    616     $prefix .= '<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%">'; 
     616    $prefix .= '<blockquote>'; 
    617617 
    618618    if ($RCMAIL->config->get('top_posting')) { 
  • program/steps/mail/sendmail.inc

    rbc404ff r7a48e55  
    367367 
    368368if (!$savedraft) { 
    369   // remove signature's div ID 
    370   if ($isHtml) 
     369  if ($isHtml) { 
     370    // remove signature's div ID 
    371371    $message_body = preg_replace('/\s*id="_rc_sig"/', '', $message_body); 
    372372 
     373    // add inline css for blockquotes 
     374    $bstyle = 'padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%'; 
     375    $message_body = preg_replace('/<blockquote>/', 
     376        '<blockquote type="cite" style="'.$bstyle.'">', $message_body); 
     377  } 
    373378  // generic footer for all messages 
    374379  if (!empty($CONFIG['generic_message_footer'])) { 
  • skins/default/editor_content.css

    r0f8ff20 r7a48e55  
    2323        word-wrap: break-word; /* IE (and Safari) */ 
    2424} 
     25blockquote 
     26{ 
     27        padding-left:5px; 
     28        border-left:#1010ff 2px solid; 
     29        margin-left:5px; 
     30        width:100%; 
     31} 
Note: See TracChangeset for help on using the changeset viewer.