alecpl
2011-02-08 829cbfe88cb4cd86072cf2a2b926868e9d4558cf
- Use html::span instead of HTML code


1 files modified
4 ■■■■ changed files
program/steps/mail/func.inc 4 ●●●● patch | view | raw | blame | history
program/steps/mail/func.inc
@@ -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;
    }