Ignore:
Timestamp:
Feb 8, 2011 4:17:24 AM (2 years ago)
Author:
alec
Message:
  • Use html::span instead of HTML code
File:
1 edited

Legend:

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

    r4505 r4506  
    12761276 
    12771277      if ($addicon && $got_writable_abook) { 
    1278         $address = '<span>' . $address . html::a(array( 
     1278        $address = html::span(null, $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           ))) . '</span>'; 
     1286          )))); 
    12871287      } 
    12881288      $out .= $address; 
Note: See TracChangeset for help on using the changeset viewer.