bug fix : do not display login box if opagloginuser syspref is set to '0'

This commit is contained in:
toins 2007-07-16 15:55:28 +00:00
parent 466979fff0
commit c7a263aa11

View file

@ -1,11 +1,12 @@
</div>
<!-- TMPL_IF NAME="opacuserlogin" -->
<div id="login">
<!-- TMPL_IF NAME="loggedinusername" -->
<a href="/cgi-bin/koha/opac-user.pl"><b>User Info</b></a>
<p>Logged in as: <b> <!-- TMPL_VAR NAME="loggedinusername" --> </b></p>
<p><a href="/cgi-bin/koha/opac-logout.pl?logout=Log Out">Log Out</a></p>
<!-- TMPL_ELSE -->
<form action="/cgi-bin/koha/opac-user.pl" method="POST" name="auth" id="auth">
<form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="auth">
<p>Login:</p>
<input type="text" id="userid" size="10" name="userid" />
<p>Pass:</p>
@ -13,9 +14,10 @@
<p>
<input type="submit" value="Log In" class="submit" />
</p>
</form>
</form>
<!-- /TMPL_IF -->
</div>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="opaccredits" -->
<div id="footer">
<!-- TMPL_VAR NAME="opaccredits" -->