Add id for login submit button (#1489676) - make it skin independent
| | |
| | | $out .= $input_host->show(); |
| | | } |
| | | |
| | | if (rcube_utils::get_boolean($attrib['submit'])) { |
| | | $submit = new html_inputfield(array('type' => 'submit', 'id' => 'rcmloginsubmit', |
| | | 'class' => 'button mainaction', 'value' => $this->app->gettext('login'))); |
| | | $out .= html::p('formbuttons', $submit->show()); |
| | | } |
| | | |
| | | // surround html output with a form tag |
| | | if (empty($attrib['form'])) { |
| | | $out = $this->form_tag(array('name' => $form_name, 'method' => 'post'), $out); |
| | |
| | | font-weight: bold; |
| | | } |
| | | |
| | | .formbuttons |
| | | { |
| | | text-align: center; |
| | | } |
| | | |
| | | /***** onclick menu list *****/ |
| | | |
| | |
| | | <div class="boxcontent"> |
| | | |
| | | <roundcube:form name="form" method="post"> |
| | | <roundcube:object name="loginform" form="form" /> |
| | | |
| | | <p style="text-align:center;"><input type="submit" class="button mainaction" value="<roundcube:label name='login' />" /></p> |
| | | |
| | | <roundcube:object name="loginform" form="form" submit=true /> |
| | | </form> |
| | | |
| | | </div> |
| | | </div> |
| | | |
| | |
| | | <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" /> |
| | | |
| | | <p class="formbuttons"><input type="submit" class="button mainaction" value="<roundcube:label name='login' />" /></p> |
| | | |
| | | <roundcube:object name="loginform" form="form" size="40" submit=true /> |
| | | </form> |
| | | |
| | | </div> |
| | | |
| | | <div class="box-bottom"> |