diff options
author | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2008-03-19 03:30:40 +0300 |
---|---|---|
committer | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2008-03-19 03:30:40 +0300 |
commit | 83ffd7749e726b91f38abc31fb81c20f61054ab2 (patch) | |
tree | d6c74c5aa39651845907c98f8bf9d4f9912f1c55 /plugins/Login/templates/login.tpl | |
parent | 55d8a3ad0bcb68a5c0da0c0b81c873d3d317b41e (diff) |
- new login screen design (thanks wordpress 2.5!!)
- misc changes
- plugins can now be loaded by default all the time (ex. Home, AdminHome, PluginsAdmin)
- improved admin design
Diffstat (limited to 'plugins/Login/templates/login.tpl')
-rw-r--r-- | plugins/Login/templates/login.tpl | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/plugins/Login/templates/login.tpl b/plugins/Login/templates/login.tpl new file mode 100644 index 0000000000..a4f7ad05fd --- /dev/null +++ b/plugins/Login/templates/login.tpl @@ -0,0 +1,70 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr"> +<head> + <title>Piwik › Login</title> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> + +{literal}<script type="text/javascript"> + function focusit() { + document.getElementById('form_login').focus(); + } + window.onload = focusit; + </script> +{/literal} +<link rel="stylesheet" href="plugins/Login/templates/login.css"> +</head> + +<body class="login"> + + +<div id="logo"> + <a href="http://piwik.org"><h1 title="Web analytics">Piwik <span class="description"># open source web analytics</span></h1></a> +</div> + +<div id="login"> + + +{if $form_data.errors} +<div id="login_error"> + {foreach from=$form_data.errors item=data} + <strong>ERROR</strong>: {$data}<br /> + {/foreach} +</div> +{/if} + +{if $AccessErrorString} +<div id="login_error"><strong>ERROR</strong>: {$AccessErrorString}<br /></div> +{/if} + +<form {$form_data.attributes}> + <p> + <label>Username<br /> + <input type="text" name="form_login" id="form_login" class="input" value="" size="20" tabindex="10" /></label> + </p> + + <p> + <label>Password<br /> + <input type="password" name="form_password" id="form_password" class="input" value="" size="20" tabindex="20" /></label> + </p> + {* + <p class="forgetmenot"><label><input name="rememberme" type="checkbox" id="rememberme" value="forever" tabindex="90" /> Remember Me</label></p> + *} + {$form_data.form_url.html} + <p class="submit"> + <input type="submit" name="wp-submit" id="wp-submit" value="Log In" tabindex="100" /> + </p> +</form> + +{* +<p id="nav"> +<a href="http://wp.chrisjohnston.org/wp-login.php?action=register">Register</a> | +<a href="http://wp.chrisjohnston.org/wp-login.php?action=lostpassword" title="Password Lost and Found">Lost your password?</a> +</p> +*} +</div> + +</body> +</html> + + + |