[Svn] r4506 - trunk/roundcubemail/program/steps/mail

trac at roundcube.net trac at roundcube.net
Tue Feb 8 10:17:24 CET 2011


Author: alec
Date: 2011-02-08 03:17:24 -0600 (Tue, 08 Feb 2011)
New Revision: 4506

Modified:
   trunk/roundcubemail/program/steps/mail/func.inc
Log:
- Use html::span instead of HTML code


Modified: trunk/roundcubemail/program/steps/mail/func.inc
===================================================================
--- trunk/roundcubemail/program/steps/mail/func.inc	2011-02-08 09:13:04 UTC (rev 4505)
+++ trunk/roundcubemail/program/steps/mail/func.inc	2011-02-08 09:17:24 UTC (rev 4506)
@@ -1275,7 +1275,7 @@
       }
 
       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 @@
           html::img(array(
             'src' => $CONFIG['skin_path'] . $addicon,
             'alt' => "Add contact",
-          ))) . '</span>';
+          ))));
       }
       $out .= $address;
     }

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list