Changeset 5084427 in github


Ignore:
Timestamp:
Jul 1, 2006 8:38:38 AM (7 years ago)
Author:
thomascube <thomas@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
b4b0817
Parents:
25d8ba6
Message:

Changed label and icon for attachment removal and some styles

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • program/steps/mail/compose.inc

    ra894ba5 r5084427  
    627627    { 
    628628    if ($attrib['deleteicon']) 
    629       $button = sprintf('<img src="%s%s" alt="%s" border="0" / style="padding-right:2px;vertical-align:middle">', $CONFIG['skin_path'], $attrib['deleteicon'], rcube_label('delete')); 
     629      $button = sprintf('<img src="%s%s" alt="%s" border="0" / style="padding-right:2px;vertical-align:middle">', 
     630                        $CONFIG['skin_path'], 
     631                        $attrib['deleteicon'], 
     632                        rcube_label('delete')); 
    630633    else 
    631634      $button = rcube_label('delete'); 
    632635 
    633636    foreach ($_SESSION['compose']['attachments'] as $i => $a_prop) 
    634       $out .= sprintf('<li id="%s"><a href="#" onclick="%s.command(\'remove-attachment\',\'%s\')" title="%s">%s</a>%s</li>', $a_prop['name'], $JS_OBJECT_NAME, $a_prop['name'], rcube_label('deletefolder'),  $button, $a_prop['name']);  
     637      $out .= sprintf('<li id="%s"><a href="#" onclick="%s.command(\'remove-attachment\',\'%s\')" title="%s">%s</a>%s</li>', 
     638                      $a_prop['name'], 
     639                      $JS_OBJECT_NAME, 
     640                      $a_prop['name'], 
     641                      rcube_label('delete'),  
     642                      $button, $a_prop['name']);  
    635643    } 
    636644 
  • program/steps/mail/sendmail.inc

    rb068a07d r5084427  
    115115$headers = array('Date' => date('D, j M Y G:i:s O'), 
    116116                 'From' => $identity_arr['string'], 
    117                  'To'   => $mailto); 
     117                 'To'   => rcube_charset_convert($mailto, $input_charset, $message_charset)); 
    118118 
    119119// additional recipients 
  • program/steps/mail/upload.inc

    ra894ba5 r5084427  
    4747 
    4848    $button = sprintf('<img src="%s/images/icons/remove-attachment.png" alt="%s" border="0" style="padding-right:2px;vertical-align:middle">', $CONFIG['skin_path'], rcube_label('delete')); 
    49     $content = sprintf('<a href="#" onclick="%s.command(\\\'remove-attachment\\\',\\\'%s\\\')" title="%s">%s</a>%s',$JS_OBJECT_NAME, $_FILES['_attachments']['name'][$i], rcube_label('deletefolder'), $button, $_FILES['_attachments']['name'][$i]); 
     49    $content = sprintf('<a href="#" onclick="%s.command(\\\'remove-attachment\\\',\\\'%s\\\')" title="%s">%s</a>%s',$JS_OBJECT_NAME, $_FILES['_attachments']['name'][$i], rcube_label('delete'), $button, $_FILES['_attachments']['name'][$i]); 
    5050    $response .= sprintf('parent.%s.add2attachment_list(\'%s\',\'%s\');',$JS_OBJECT_NAME, $_FILES['_attachments']['name'][$i], $content); 
    5151    } 
  • skins/default/mail.css

    ra894ba5 r5084427  
    594594  font-weight: bold; 
    595595} 
    596    
     596 
    597597#attachment-list 
    598598{ 
    599599  margin: 0px; 
    600   padding: 0px 0px 0px 0px; 
     600  padding: 0px 0px 0px 68px; 
    601601  height: 18px; 
    602602  list-style-image: none; 
    603603  list-style-type: none; 
    604   background-color: #DFDFDF; 
    605   background-position: 52px 1px; 
     604  background: url(images/icons/attachment.png) 52px 1px no-repeat #DFDFDF;  
    606605  border-bottom: 1px solid #FFFFFF; 
    607606} 
     
    826825} 
    827826 
     827#attachment-title 
     828{ 
     829  background: url(images/icons/attachment.png) top left no-repeat; 
     830  padding: 0px 0px 3px 22px; 
     831} 
     832 
    828833#attachment-form 
    829834{ 
  • skins/default/templates/compose.html

    ra894ba5 r5084427  
    112112 
    113113<div id="compose-attachments"> 
    114 <div><roundcube:label name="attachments" /></div> 
     114<div id="attachment-title"><roundcube:label name="attachments" /></div> 
    115115<roundcube:object name="composeAttachmentList" deleteIcon="/images/icons/remove-attachment.png"/ > 
    116116<p><roundcube:button command="add-attachment" imagePas="/images/buttons/add_pas.png" imageSel="/images/buttons/add_sel.png" imageAct="/images/buttons/add_act.png" width="23" height="18" title="addattachment" /> 
Note: See TracChangeset for help on using the changeset viewer.