diff options
author | glenda <glenda@9front.local> | 2020-11-15 15:13:27 +0000 |
---|---|---|
committer | glenda <glenda@9front.local> | 2020-11-15 15:13:27 +0000 |
commit | 39318169e0b50551db511851829f9337c5fa6313 (patch) | |
tree | 65a0ef5c1da9677532fa8105293d017919473057 /tpl/_users/login.tpl |
Import site to git
Diffstat (limited to 'tpl/_users/login.tpl')
-rw-r--r-- | tpl/_users/login.tpl | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tpl/_users/login.tpl b/tpl/_users/login.tpl new file mode 100644 index 0000000..5857188 --- /dev/null +++ b/tpl/_users/login.tpl @@ -0,0 +1,18 @@ +<h1>User login</h1> +<br /> +% if(check_user) { + You are logged in as: <b>%($logged_user%)</b> +% } +% if not { +% if (~ $REQUEST_METHOD POST) +% echo '<div class="notify_errors">Login failed!</div>' +<form method="POST" action="" style="text-align: right; float: left;"> +<fieldset> + <label>User name: <input type="text" name="user_name" value="%($"post_arg_user_name%)"/></label><br> + <label>User password: <input type="password" name="user_password"></label><br> + <input name="s" type="submit" value="Login"> +</fieldset> +</form> +% } + +<br style="clear:left"> |