diff options
author | thomascube <thomas@roundcube.net> | 2006-07-18 21:24:12 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2006-07-18 21:24:12 +0000 |
commit | 66e2bfa5507ebbbc73dc5fcabe511cd473e0c62a (patch) | |
tree | 7953eebab742ab0b4e61738d11fc728f98fecca2 /program/steps/mail/compose.inc | |
parent | bac7d1742d45f256ded98656482ec9995e1c330a (diff) |
Added label tags to forms (Ticket #1483810)
Diffstat (limited to 'program/steps/mail/compose.inc')
-rw-r--r-- | program/steps/mail/compose.inc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc index 64b0d6364..7e6d306bd 100644 --- a/program/steps/mail/compose.inc +++ b/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); |