summaryrefslogtreecommitdiff
path: root/templates/install_login.tpl
blob: c6558e253f62f098a6aaa4c0d996cb67e2f4468c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{* $Header$ *}

<h1>{$title|default:"You must be logged in as an administrator to run the installer."}</h1>

{form class="form-horizontal" 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="control-group">
		{forminput}
			<input type="submit" class="btn" name="login" value="{tr}Log in to {$gBitSystem->getConfig('site_title')|default:"this site"}{/tr}" />
		{/forminput}
		{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/">
		<img src="{$smarty.const.INSTALL_PKG_URL}style/images/bitweaver_logo-trans.png" width="121" height="121" alt="bitweaver logo" title="Click here to visit the upgrade instructions" />
	</a>
</div>