mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-26 05:32:59 +00:00
Make username box autofocus
This commit is contained in:
parent
e95f4f1e0d
commit
6e21a2aba6
3 changed files with 6 additions and 6 deletions
|
@ -3719,7 +3719,7 @@ function generate_page_list($pagelist)
|
||||||
|
|
||||||
register_module([
|
register_module([
|
||||||
"name" => "Login",
|
"name" => "Login",
|
||||||
"version" => "0.8",
|
"version" => "0.8.1",
|
||||||
"author" => "Starbeamrainbowlabs",
|
"author" => "Starbeamrainbowlabs",
|
||||||
"description" => "Adds a pair of actions (login and checklogin) that allow users to login. You need this one if you want your users to be able to login.",
|
"description" => "Adds a pair of actions (login and checklogin) that allow users to login. You need this one if you want your users to be able to login.",
|
||||||
"id" => "page-login",
|
"id" => "page-login",
|
||||||
|
@ -3750,7 +3750,7 @@ register_module([
|
||||||
$content .= "\t\t<p><em>$settings->sitename requires that you login before continuing.</em></p>\n";
|
$content .= "\t\t<p><em>$settings->sitename requires that you login before continuing.</em></p>\n";
|
||||||
$content .= "\t\t<form method='post' action='$login_form_action_url'>
|
$content .= "\t\t<form method='post' action='$login_form_action_url'>
|
||||||
<label for='user'>Username:</label>
|
<label for='user'>Username:</label>
|
||||||
<input type='text' name='user' id='user' />
|
<input type='text' name='user' id='user' autofocus />
|
||||||
<br />
|
<br />
|
||||||
<label for='pass'>Password:</label>
|
<label for='pass'>Password:</label>
|
||||||
<input type='password' name='pass' id='pass' />
|
<input type='password' name='pass' id='pass' />
|
||||||
|
|
|
@ -136,11 +136,11 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Login",
|
"name": "Login",
|
||||||
"version": "0.8",
|
"version": "0.8.1",
|
||||||
"author": "Starbeamrainbowlabs",
|
"author": "Starbeamrainbowlabs",
|
||||||
"description": "Adds a pair of actions (login and checklogin) that allow users to login. You need this one if you want your users to be able to login.",
|
"description": "Adds a pair of actions (login and checklogin) that allow users to login. You need this one if you want your users to be able to login.",
|
||||||
"id": "page-login",
|
"id": "page-login",
|
||||||
"lastupdate": 1450705429,
|
"lastupdate": 1460196125,
|
||||||
"optional": false
|
"optional": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
register_module([
|
register_module([
|
||||||
"name" => "Login",
|
"name" => "Login",
|
||||||
"version" => "0.8",
|
"version" => "0.8.1",
|
||||||
"author" => "Starbeamrainbowlabs",
|
"author" => "Starbeamrainbowlabs",
|
||||||
"description" => "Adds a pair of actions (login and checklogin) that allow users to login. You need this one if you want your users to be able to login.",
|
"description" => "Adds a pair of actions (login and checklogin) that allow users to login. You need this one if you want your users to be able to login.",
|
||||||
"id" => "page-login",
|
"id" => "page-login",
|
||||||
|
@ -32,7 +32,7 @@ register_module([
|
||||||
$content .= "\t\t<p><em>$settings->sitename requires that you login before continuing.</em></p>\n";
|
$content .= "\t\t<p><em>$settings->sitename requires that you login before continuing.</em></p>\n";
|
||||||
$content .= "\t\t<form method='post' action='$login_form_action_url'>
|
$content .= "\t\t<form method='post' action='$login_form_action_url'>
|
||||||
<label for='user'>Username:</label>
|
<label for='user'>Username:</label>
|
||||||
<input type='text' name='user' id='user' />
|
<input type='text' name='user' id='user' autofocus />
|
||||||
<br />
|
<br />
|
||||||
<label for='pass'>Password:</label>
|
<label for='pass'>Password:</label>
|
||||||
<input type='password' name='pass' id='pass' />
|
<input type='password' name='pass' id='pass' />
|
||||||
|
|
Loading…
Reference in a new issue