diff options
author | alecpl <alec@alec.pl> | 2011-02-08 09:17:24 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-02-08 09:17:24 +0000 |
commit | 829cbfe88cb4cd86072cf2a2b926868e9d4558cf (patch) | |
tree | b0e1f7da4667f27117a4aa881752a83d3ef9f7d4 /program/steps/mail/func.inc | |
parent | 768091e09416cc071eee1224000f67fe6cae16ac (diff) |
- Use html::span instead of HTML code
Diffstat (limited to 'program/steps/mail/func.inc')
-rw-r--r-- | program/steps/mail/func.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 0ccc923d2..9fa1e01fc 100644 --- a/program/steps/mail/func.inc +++ b/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; } |