From f1801ccc30b253e1af7e1f1bdcd66d2d6fd9872b Mon Sep 17 00:00:00 2001 From: alec Date: Tue, 8 Feb 2011 09:17:24 +0000 Subject: - Use html::span instead of HTML code git-svn-id: https://svn.roundcube.net/trunk@4506 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/steps/mail/func.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roundcubemail/program/steps') diff --git a/roundcubemail/program/steps/mail/func.inc b/roundcubemail/program/steps/mail/func.inc index 0ccc923d2..9fa1e01fc 100644 --- a/roundcubemail/program/steps/mail/func.inc +++ b/roundcubemail/program/steps/mail/func.inc @@ -1275,7 +1275,7 @@ function rcmail_address_string($input, $max=null, $linked=false, $addicon=null) } if ($addicon && $got_writable_abook) { - $address = '' . $address . html::a(array( + $address = html::span(null, $address . html::a(array( 'href' => "#add", 'onclick' => sprintf("return %s.command('add-contact','%s',this)", JS_OBJECT_NAME, urlencode($string)), 'title' => rcube_label('addtoaddressbook'), @@ -1283,7 +1283,7 @@ function rcmail_address_string($input, $max=null, $linked=false, $addicon=null) html::img(array( 'src' => $CONFIG['skin_path'] . $addicon, 'alt' => "Add contact", - ))) . ''; + )))); } $out .= $address; } -- cgit v1.2.3