summaryrefslogtreecommitdiff
path: root/templates/install_login.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/install_login.tpl')
-rw-r--r--templates/install_login.tpl26
1 files changed, 25 insertions, 1 deletions
diff --git a/templates/install_login.tpl b/templates/install_login.tpl
index 6fc76b8..13c344b 100644
--- a/templates/install_login.tpl
+++ b/templates/install_login.tpl
@@ -2,7 +2,31 @@
<h1>{$title|default:"You must be logged in as an administrator to run the installer."}</h1>
-{include file="bitpackage:users/login_inc.tpl"}
+{form name="login" legend="Please sign in to continue" secure=$gBitSystem->isFeatureActive("site_https_login_required")}
+ <div class="row">
+ {formfeedback error="$error"}
+ {formlabel label="Username or Email" for="user"}
+ {forminput}
+ <input type="text" name="user" id="user" size="25" />
+ {formhelp note=""}
+ {/forminput}
+ </div>
+
+ <div class="row">
+ {formlabel label="Password" for="pass"}
+ {forminput}
+ <input type="password" name="pass" id="pass" size="25" />
+ {/forminput}
+ </div>
+
+ <div class="row submit">
+ <input type="submit" name="login" value="{tr}Log in to {$gBitSystem->getConfig('site_title')|default:"this site"}{/tr}" />
+ {if $gBitSystem->isFeatureActive('site_https_login_required') || $smarty.server.HTTPS=='on'}
+ {biticon iname="emblem-readonly" ipackage="icons" iexplain="Secure Login"}
+ {/if}
+ </div>
+{/form}
+
<div class="center">
<a href="http://www.bitweaver.org/">