summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/header.tpl23
1 files changed, 12 insertions, 11 deletions
diff --git a/templates/header.tpl b/templates/header.tpl
index ca7371d..2f08cdd 100644
--- a/templates/header.tpl
+++ b/templates/header.tpl
@@ -17,23 +17,24 @@
</div>
{if isset($isLoggedIn)}
- <div id='headerMiddle'></div>
<div id='headerRight'>
Hi {$smarty.session.user.username|escape:"html"}.<br />
[<a href='logout.php'>Logout</a>]
</div>
{else}
- <form action='login.php' method='post' id='loginForm' onsubmit='return validateLoginFields();'>
- <div id='headerMiddle'>
- Login <input type='text' name='username' id='username' size='15' maxlength='25' /><br />
- Password <input type='password' name='password' id='password' size='15' maxlength='25' />
- </div>
- <div id='headerRight'>
- <input type='submit' name='doLogin' value='Login' style='margin-bottom: 1ex;' /><br />
- <a href='register.php'>Register</a>.
- </div>
- </form>
+ <div id='headerRight'>
+ <form action='login.php' method='post' id='loginForm' onsubmit='return validateLoginFields();'>
+ <div id='loginLeft'>
+ Login <input type='text' name='username' id='username' size='15' maxlength='25' /><br />
+ Password <input type='password' name='password' id='password' size='15' maxlength='25' />
+ </div>
+ <div id='loginRight'>
+ <input type='submit' name='doLogin' value='Login' style='margin-bottom: 1ex;' /><br />
+ <a href='register.php'>Register</a>.
+ </div>
+ </form>
+ </div>
{/if}
<div id='headerLinkBar'>