Skip to content

Commit

Permalink
MDL-27793 Themes : fixed "remember username" wrapping unnecessarily.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aparup Banerjee committed Feb 24, 2012
1 parent 89ec652 commit 26c1694
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions login/index_form.html
Expand Up @@ -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>
Expand Down

0 comments on commit 26c1694

Please sign in to comment.