summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/addressbook
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-09-21 07:33:38 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-09-21 07:33:38 +0000
commit02e9db7bf4b6c54928b67c64c7f0f917f796487d (patch)
tree5775354b10bd5473ac07b5dd1590326e174575be /roundcubemail/program/steps/addressbook
parent15951c5754935be7252f2d2817ba27c1e4c2d4e8 (diff)
- use more 'html' class
git-svn-id: https://svn.roundcube.net/trunk@1870 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/addressbook')
-rw-r--r--roundcubemail/program/steps/addressbook/func.inc13
1 files changed, 4 insertions, 9 deletions
diff --git a/roundcubemail/program/steps/addressbook/func.inc b/roundcubemail/program/steps/addressbook/func.inc
index 98cf29f10..2172f9783 100644
--- a/roundcubemail/program/steps/addressbook/func.inc
+++ b/roundcubemail/program/steps/addressbook/func.inc
@@ -152,11 +152,11 @@ function rcmail_contact_frame($attrib)
$attrib['id'] = 'rcmcontactframe';
$attrib['name'] = $attrib['id'];
- $attrib_str = create_attrib_string($attrib, array('name', 'id', 'class', 'style', 'src', 'width', 'height', 'frameborder'));
$OUTPUT->set_env('contentframe', $attrib['name']);
$OUTPUT->set_env('blankpage', $attrib['src'] ? $OUTPUT->abs_url($attrib['src']) : 'program/blank.gif');
- return '<iframe'. $attrib_str . '></iframe>';
+
+ return html::tag('iframe', $attrib);
}
@@ -169,13 +169,7 @@ function rcmail_rowcount_display($attrib)
$OUTPUT->add_gui_object('countdisplay', $attrib['id']);
- // allow the following attributes to be added to the <span> tag
- $attrib_str = create_attrib_string($attrib, array('style', 'class', 'id'));
-
- $out = '<span' . $attrib_str . '>';
- $out .= rcmail_get_rowcount_text();
- $out .= '</span>';
- return $out;
+ return html::span($attrib, rcmail_get_rowcount_text());
}
@@ -203,6 +197,7 @@ function rcmail_get_rowcount_text()
return $out;
}
+
$OUTPUT->set_pagetitle(rcube_label('addressbook'));
// register UI objects