5f4542992a
previously, it wasn't possible to insert anything into the <head> on an individual template unless it was the title of the page. Now, the structure is a bit more flexible to allow additional head elements to be included.
51 lines
2.2 KiB
Cheetah
51 lines
2.2 KiB
Cheetah
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
|
|
<title>Koha ›
|
|
<!-- TMPL_IF NAME="nopermission" -->Access denied<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="timed_out" -->Session timed out<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="different_ip" -->IP address change<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="invalid_username_or_password" -->Invalid username or password<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="loginprompt" -->Log in to Koha<!-- /TMPL_IF -->
|
|
</title>
|
|
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
|
<div id="login">
|
|
<h1><a href="" title=""><span class="hide">Log in to Koha</span></a></h1>
|
|
<!-- TMPL_IF NAME="nopermission" -->
|
|
<!-- This is what is displayed if user doesn"t have permission --><h3>Login Error</h3>
|
|
<p>Sorry, Koha doesn"t think you have permission for this page.</p>
|
|
<!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF NAME="timed_out" -->
|
|
<!-- This is what is displayed if login has timed out -->
|
|
<h3>Login Error</h3><p>Sorry, your session has timed out. Please login again.</p>
|
|
<!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF NAME="different_ip" -->
|
|
<!-- This is what is displayed if user"s IP has changed -->
|
|
<h3>Login Error</h3><p>You are accessing Koha from a different ip address! Please login again.</p>
|
|
<!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF NAME="invalid_username_or_password" -->
|
|
<!-- This is what is displayed if the username or password doesn"t work -->
|
|
<h3>Login Error</h3><p>You entered an incorrect username or password. Please try again.</p>
|
|
<!-- /TMPL_IF -->
|
|
|
|
|
|
<!-- TMPL_IF NAME="loginprompt" -->
|
|
<!-- login prompt time-->
|
|
<form action="<!-- TMPL_VAR NAME="url" -->" method="post" name="mainform" id="mainform">
|
|
<!-- TMPL_LOOP NAME="INPUTS" -->
|
|
<input type="hidden" name="<!-- TMPL_VAR NAME="name" -->" value="<!-- TMPL_VAR NAME="value" -->" />
|
|
<!-- /TMPL_LOOP -->
|
|
<p>
|
|
<label>Username:<br />
|
|
<input type="text" name="userid" id="userid" class="input" value="" size="20" tabindex="10" /></label>
|
|
</p>
|
|
<p>
|
|
<label>Password:<br />
|
|
<input type="password" name="password" id="password" class="input" value="" size="20" tabindex="20" /></label>
|
|
</p>
|
|
<p class="submit"><input type="submit" value="Login »" /></p>
|
|
</form>
|
|
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_INCLUDE name="intranet-bottom.inc" -->
|