diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2014-06-04 12:10:49 +0200 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2014-06-04 12:10:49 +0200 |
commit | 24e89eceed9694882ff943c4106519fab449705f (patch) | |
tree | 64d12a7774175b5b01b193ae6fe68ef846b2c490 /program/steps/addressbook/edit.inc | |
parent | 77043f8469ba8e7b64af5b0192b0297ded5c615f (diff) |
Add fieldset legends and input element labels to contact edit form
Diffstat (limited to 'program/steps/addressbook/edit.inc')
-rw-r--r-- | program/steps/addressbook/edit.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/program/steps/addressbook/edit.inc b/program/steps/addressbook/edit.inc index 3bbbfccdf..0fc753056 100644 --- a/program/steps/addressbook/edit.inc +++ b/program/steps/addressbook/edit.inc @@ -98,12 +98,15 @@ function rcmail_get_edit_record() function rcmail_contact_edithead($attrib) { + global $RCMAIL; + // check if we have a valid result $record = rcmail_get_edit_record(); $i_size = !empty($attrib['size']) ? $attrib['size'] : 20; $form = array( 'head' => array( + 'name' => $RCMAIL->gettext('contactnameandorg'), 'content' => array( 'prefix' => array('size' => $i_size), 'firstname' => array('size' => $i_size, 'visible' => true), |