[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en auth.tmpl,NONE,1.1

Paul POULAIN tipaul at users.sourceforge.net
Tue Dec 10 16:54:33 CET 2002


Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en
In directory sc8-pr-cvs1:/tmp/cvs-serv14244/koha-tmpl/intranet-tmpl/default/en

Added Files:
	auth.tmpl 
Log Message:
copying opac-auth.tmpl into intranet templates branch to enable auth.pm to work properly and show a login screen if user is not logged in.
finlay => see yesterday mail about auth.tmpl missing and validate this commit (which is just a copy/paste from opac-auth)

--- NEW FILE ---

<TMPL_IF NAME="nopermission">
<!-- This is what is displayed if user doesnt have permission -->
<h2>Sorry, KOHA doesnt think you have permission for this page.<h2>
</TMPL_IF>

<TMPL_IF NAME="timed_out">
<!-- This is what is displayed if login has timed out -->
<h2>Sorry, your session has timed out, please login again.<h2>
</TMPL_IF>

<TMPL_IF NAME="different_ip">
<!-- This is what is displayed if user doesnt have permission -->
<h2>You are accessing koha from a different ip address! please login again.<h2>
</TMPL_IF>

<TMPL_IF NAME="invalid_username_or_password">
<!-- This is what is displayed if user doesnt have permission -->
<h2>You entered an incorrect username or password, please try again.<h2>
</TMPL_IF>


<TMPL_IF NAME="loginprompt">
<!-- login prompt time-->

<center>

<form action='<TMPL_VAR NAME="url">' method="post">
<TMPL_LOOP NAME="INPUTS">
  <input type="hidden" name='<TMPL_VAR NAME="name">' value='<TMPL_VAR NAME="value">'>
</TMPL_LOOP>
<table border="0" cellpadding="10" cellspacing="0" width="60%">
    <tr><td align="center" valign="top">

    <table border="0" bgcolor="#dddddd" cellpadding="10" cellspacing="0">
    <tr><th colspan="2" background="/images/background-mem.gif"><font size="+2">Koha Login</font></th></tr>
    <tr><td>Cardnumber:</td><td><input name="userid"></td></tr>
    <tr><td>Password:</td><td><input type="password" name="password"></td></tr>
    <tr><td colspan="2" align="center"><input type="submit" value="login"></td></tr>
    </table>
    </td><td align="center" valign="top">


    </td></tr>
</table>
</form>


</TMPL_IF>





More information about the Koha-cvs mailing list