diff options
Diffstat (limited to 'tpl/default/page.header.html')
-rw-r--r-- | tpl/default/page.header.html | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/tpl/default/page.header.html b/tpl/default/page.header.html index 177b32fb..5442ab42 100644 --- a/tpl/default/page.header.html +++ b/tpl/default/page.header.html | |||
@@ -118,19 +118,21 @@ | |||
118 | </div> | 118 | </div> |
119 | 119 | ||
120 | <div id="content"> | 120 | <div id="content"> |
121 | <form method="post" name="loginform"> | 121 | {if="!isLoggedIn()"} |
122 | <div id="header-login-form"> | 122 | <form method="post" name="loginform"> |
123 | <input type="text" name="login" placeholder="{'Username'|t}" tabindex="3"> | 123 | <div id="header-login-form"> |
124 | <input type="password" name="password" placeholder="{'Password'|t}" tabindex="5"> | 124 | <input type="text" name="login" placeholder="{'Username'|t}" tabindex="3"> |
125 | <div class="remember-me"> | 125 | <input type="password" name="password" placeholder="{'Password'|t}" tabindex="5"> |
126 | <input type="checkbox" name="longlastingsession" id="longlastingsession" tabindex="6"> | 126 | <div class="remember-me"> |
127 | <label for="longlastingsession">{'Remember me'|t}</label> | 127 | <input type="checkbox" name="longlastingsession" id="longlastingsession" tabindex="6"> |
128 | <label for="longlastingsession">{'Remember me'|t}</label> | ||
129 | </div> | ||
130 | <input type="hidden" name="token" value="{$token}"> | ||
131 | <input type="hidden" name="returnurl"> | ||
132 | <input type="submit" value="Login" tabindex="7"> | ||
128 | </div> | 133 | </div> |
129 | <input type="hidden" name="token" value="{$token}"> | 134 | </form> |
130 | <input type="hidden" name="returnurl"> | 135 | {/if} |
131 | <input type="submit" value="Login" tabindex="7"> | ||
132 | </div> | ||
133 | </form> | ||
134 | 136 | ||
135 | {if="!empty($newVersion) || !empty($versionError)"} | 137 | {if="!empty($newVersion) || !empty($versionError)"} |
136 | <div class="pure-g new-version-message pure-alert pure-alert-warning pure-alert-closable"> | 138 | <div class="pure-g new-version-message pure-alert pure-alert-warning pure-alert-closable"> |