From 59405f774c07114dfb418f2a708a50f08173b785 Mon Sep 17 00:00:00 2001 From: thomasb Date: Tue, 18 Jul 2006 21:24:12 +0000 Subject: Added label tags to forms (Ticket #1483810) git-svn-id: https://svn.roundcube.net/trunk@276 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/steps/mail/compose.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'roundcubemail/program/steps') diff --git a/roundcubemail/program/steps/mail/compose.inc b/roundcubemail/program/steps/mail/compose.inc index 64b0d6364..7e6d306bd 100644 --- a/roundcubemail/program/steps/mail/compose.inc +++ b/roundcubemail/program/steps/mail/compose.inc @@ -690,6 +690,7 @@ function rcmail_compose_attachment_field($attrib) return $out; } + function rcmail_priority_selector($attrib) { list($form_start, $form_end) = get_form_tags($attrib); @@ -719,9 +720,13 @@ function rcmail_receipt_checkbox($attrib) { list($form_start, $form_end) = get_form_tags($attrib); unset($attrib['form']); + + if (!isset($attrib['id'])) + $attrib['id'] = 'receipt'; $attrib['name'] = '_receipt'; - $checkbox = new checkbox(array('name' => '_receipt', 'id' => 'receipt', 'value' => 1)); + $attrib['value'] = '1'; + $checkbox = new checkbox($attrib); $out = $form_start ? "$form_start\n" : ''; $out .= $checkbox->show(0); -- cgit v1.2.3