summaryrefslogtreecommitdiff
path: root/program/include/rcmail_output_html.php
diff options
context:
space:
mode:
authorThomas B. <thomas@roundcube.net>2013-07-29 23:25:54 -0700
committerThomas B. <thomas@roundcube.net>2013-07-29 23:25:54 -0700
commit86dd03677466ceb37e0a2d3d43e8a76472966745 (patch)
treeb481ebe916723698e9db839f9bf53bf228c650bb /program/include/rcmail_output_html.php
parentd59a8d29d6ae877e9f56a0e3fe3d1068661a9473 (diff)
parentbb0ff201408a7bc5711588e6afdacf7e7f30d920 (diff)
Merge pull request #96 from Dennis1993/patch-6
Added required attribute and delete deprecated border attributes
Diffstat (limited to 'program/include/rcmail_output_html.php')
-rw-r--r--program/include/rcmail_output_html.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcmail_output_html.php b/program/include/rcmail_output_html.php
index 998779509..a2ec29ca3 100644
--- a/program/include/rcmail_output_html.php
+++ b/program/include/rcmail_output_html.php
@@ -1531,9 +1531,9 @@ class rcmail_output_html extends rcmail_output
$input_action = new html_hiddenfield(array('name' => '_action', 'value' => 'login'));
$input_tzone = new html_hiddenfield(array('name' => '_timezone', 'id' => 'rcmlogintz', 'value' => '_default_'));
$input_url = new html_hiddenfield(array('name' => '_url', 'id' => 'rcmloginurl', 'value' => $url));
- $input_user = new html_inputfield(array('name' => '_user', 'id' => 'rcmloginuser')
+ $input_user = new html_inputfield(array('name' => '_user', 'id' => 'rcmloginuser', 'required' => 'required')
+ $attrib + $user_attrib);
- $input_pass = new html_passwordfield(array('name' => '_pass', 'id' => 'rcmloginpwd')
+ $input_pass = new html_passwordfield(array('name' => '_pass', 'id' => 'rcmloginpwd', 'required' => 'required')
+ $attrib + $pass_attrib);
$input_host = null;