Ignore:
Timestamp:
Feb 8, 2011 4:13:04 AM (2 years ago)
Author:
alec
Message:
  • Make so addcontact icon doesn't jump alone to next line
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/steps/mail/func.inc

    r4488 r4505  
    12621262    else if (check_email($part['mailto'], false)) { 
    12631263      if ($linked) { 
    1264         $out .= html::a(array( 
     1264        $address = html::a(array( 
    12651265            'href' => 'mailto:'.$mailto, 
    12661266            'onclick' => sprintf("return %s.command('compose','%s',this)", JS_OBJECT_NAME, JQ($mailto)), 
     
    12711271      } 
    12721272      else { 
    1273         $out .= html::span(array('title' => $mailto, 'class' => "rcmContactAddress"), 
     1273        $address = html::span(array('title' => $mailto, 'class' => "rcmContactAddress"), 
    12741274          Q($name ? $name : $mailto)); 
    12751275      } 
    12761276 
    12771277      if ($addicon && $got_writable_abook) { 
    1278         $out .= ' ' . html::a(array( 
     1278        $address = '<span>' . $address . html::a(array( 
    12791279            'href' => "#add", 
    12801280            'onclick' => sprintf("return %s.command('add-contact','%s',this)", JS_OBJECT_NAME, urlencode($string)), 
     
    12841284            'src' => $CONFIG['skin_path'] . $addicon, 
    12851285            'alt' => "Add contact", 
    1286           ))); 
     1286          ))) . '</span>'; 
    12871287      } 
     1288      $out .= $address; 
    12881289    } 
    12891290    else { 
Note: See TracChangeset for help on using the changeset viewer.