Merge pull request #96 from Dennis1993/patch-6
Added required attribute and delete deprecated border attributes
| | |
| | | $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; |
| | | |
| | |
| | | protected $tagname = 'input'; |
| | | protected $type = 'text'; |
| | | protected $allowed = array( |
| | | 'type','name','value','size','tabindex','autocapitalize', |
| | | 'type','name','value','size','tabindex','autocapitalize','required', |
| | | 'autocomplete','checked','onchange','onclick','disabled','readonly', |
| | | 'spellcheck','results','maxlength','src','multiple','accept', |
| | | 'placeholder','autofocus', |
| | |
| | | $blocks['main']['options']['default_charset'] = array( |
| | | 'title' => html::label($field_id, Q(rcube_label('defaultcharset'))), |
| | | 'content' => $RCMAIL->output->charset_selector(array( |
| | | 'name' => '_default_charset', 'selected' => $config['default_charset'] |
| | | 'id' => $field_id, 'name' => '_default_charset', 'selected' => $config['default_charset'] |
| | | ))); |
| | | } |
| | | |
| | |
| | | <roundcube:button command="logout" label="logout" class="button-logout" classSel="button-logout" innerClass="button-inner" /> |
| | | <span class="minmodetoggle"></span> |
| | | </div> |
| | | <roundcube:object name="logo" src="/images/roundcube_logo.png" id="toplogo" border="0" alt="Logo" onclick="rcmail.command('switch-task','mail');return false;" /> |
| | | <roundcube:object name="logo" src="/images/roundcube_logo.png" id="toplogo" alt="Logo" onclick="rcmail.command('switch-task','mail');return false;" /> |
| | | </div> |
| | | <roundcube:endif /> |
| | | |
| | |
| | | |
| | | input[type="text"]:focus, |
| | | input[type="password"]:focus, |
| | | input[type="text"]:required, |
| | | input[type="password"]:required, |
| | | input.button:focus, |
| | | textarea:focus { |
| | | border-color: #4787b1; |
| | |
| | | #toplogo { |
| | | padding-top: 2px; |
| | | cursor: pointer; |
| | | border: none; |
| | | } |
| | | |
| | | .topleft { |
| | |
| | | |
| | | #login-form #logo { |
| | | margin-bottom: 20px; |
| | | border: none; |
| | | } |
| | | |
| | | #login-form #message { |
| | |
| | | |
| | | <div id="login-form"> |
| | | <div class="box-inner"> |
| | | <roundcube:object name="logo" src="/images/roundcube_logo.png" id="logo" border="0" /> |
| | | <roundcube:object name="logo" src="/images/roundcube_logo.png" id="logo" /> |
| | | |
| | | <roundcube:form name="form" method="post"> |
| | | <roundcube:object name="loginform" form="form" size="40" /> |
| | |
| | | |
| | | </div><!-- end mainscreen --> |
| | | |
| | | <div><!-- end minwidth --> |
| | | </div><!-- end minwidth --> |
| | | |
| | | <div id="searchmenu" class="popupmenu"> |
| | | <ul class="toolbarmenu"> |