Permalink
Browse files

MDL-27793 Themes : fixed "remember username" wrapping unnecessarily.

  • Loading branch information...
1 parent 5c5a30f commit c5f2853d82b8955b9f84ef10a5cd28970c9090be @nebgor nebgor committed Sep 29, 2011
Showing with 5 additions and 3 deletions.
  1. +5 −3 login/index_form.html
View
@@ -47,12 +47,14 @@ <h2><?php print_string("returningtosite") ?></h2>
<input type="password" name="password" id="password" size="15" value="" <?php echo $autocomplete; ?> />
<input type="submit" id="loginbtn" value="<?php print_string("login") ?>" />
</div>
+ </div>
<div class="clearer"><!-- --></div>
<?php if (isset($CFG->rememberusername) and $CFG->rememberusername == 2) { ?>
- <div class="form-label"><input type="checkbox" name="rememberusername" id="rememberusername" value="1" <?php if ($frm->username) {echo 'checked="checked"';} ?> /></div>
- <div class="form-input"><label for="rememberusername"><?php print_string('rememberusername', 'admin') ?></label></div>
+ <div class="rememberpass">
+ <input type="checkbox" name="rememberusername" id="rememberusername" value="1" <?php if ($frm->username) {echo 'checked="checked"';} ?> />
+ <label for="rememberusername"><?php print_string('rememberusername', 'admin') ?></label>
+ </div>
<?php } ?>
- </div>
<div class="clearer"><!-- --></div>
<div class="forgetpass"><a href="forgot_password.php"><?php print_string("forgotten") ?></a></div>
</form>

0 comments on commit c5f2853

Please sign in to comment.