From 66e2bfa5507ebbbc73dc5fcabe511cd473e0c62a Mon Sep 17 00:00:00 2001 From: thomascube Date: Tue, 18 Jul 2006 21:24:12 +0000 Subject: Added label tags to forms (Ticket #1483810) --- program/include/main.inc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'program/include') diff --git a/program/include/main.inc b/program/include/main.inc index 34e21c2a1..ef2ecbfe8 100644 --- a/program/include/main.inc +++ b/program/include/main.inc @@ -1665,8 +1665,8 @@ function rcmail_login_form($attrib) $labels['pass'] = rcube_label('password'); $labels['host'] = rcube_label('server'); - $input_user = new textfield(array('name' => '_user', 'size' => 30)); - $input_pass = new passwordfield(array('name' => '_pass', 'size' => 30)); + $input_user = new textfield(array('name' => '_user', 'id' => 'rcmloginuser', 'size' => 30)); + $input_pass = new passwordfield(array('name' => '_pass', 'id' => 'rcmloginpwd', 'size' => 30)); $input_action = new hiddenfield(array('name' => '_action', 'value' => 'login')); $fields = array(); @@ -1676,7 +1676,7 @@ function rcmail_login_form($attrib) if (is_array($CONFIG['default_host'])) { - $select_host = new select(array('name' => '_host')); + $select_host = new select(array('name' => '_host', 'id' => 'rcmloginhost')); foreach ($CONFIG['default_host'] as $key => $value) $select_host->add($value, (is_numeric($key) ? $value : $key)); @@ -1685,7 +1685,7 @@ function rcmail_login_form($attrib) } else if (!strlen($CONFIG['default_host'])) { - $input_host = new textfield(array('name' => '_host', 'size' => 30)); + $input_host = new textfield(array('name' => '_host', 'id' => 'rcmloginhost', 'size' => 30)); $fields['host'] = $input_host->show($_POST['_host']); } @@ -1698,7 +1698,7 @@ function rcmail_login_form($attrib) -$labels[host] + $fields[host] EOF; @@ -1711,12 +1711,12 @@ $SESS_HIDDEN_FIELD $fields[action] - + - + $form_host
$labels[user] $fields[user]
$labels[pass] $fields[pass]
-- cgit v1.2.3