bug fix : do not display login box if opagloginuser syspref is set to '0'
This commit is contained in:
parent
466979fff0
commit
c7a263aa11
1 changed files with 4 additions and 2 deletions
|
@ -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" -->
|
||||
|
|
Loading…
Reference in a new issue