diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-02-08 09:17:24 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-02-08 09:17:24 +0000 |
| commit | f1801ccc30b253e1af7e1f1bdcd66d2d6fd9872b (patch) | |
| tree | bb6dfb5034ddc104e657974f05ee8d3f4149a6a2 /roundcubemail/program/steps/mail | |
| parent | 33769d39644078d54ba216072580e7c769818b84 (diff) | |
- Use html::span instead of HTML code
git-svn-id: https://svn.roundcube.net/trunk@4506 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail')
| -rw-r--r-- | roundcubemail/program/steps/mail/func.inc | 4 |
1 files changed, 2 insertions, 2 deletions
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 = '<span>' . $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", - ))) . '</span>'; + )))); } $out .= $address; } |
