[Koha-cvs] koha/koha-tmpl/opac-tmpl/prog/en/includes opac-...

Antoine Farnault antoine at koha-fr.org
Mon Jul 16 17:55:29 CEST 2007


CVSROOT:	/sources/koha
Module name:	koha
Changes by:	Antoine Farnault <toins>	07/07/16 15:55:28

Modified files:
	koha-tmpl/opac-tmpl/prog/en/includes: opac-bottom.inc 

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

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/prog/en/includes/opac-bottom.inc?cvsroot=koha&r1=1.3&r2=1.4

Patches:
Index: opac-bottom.inc
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/opac-tmpl/prog/en/includes/opac-bottom.inc,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- opac-bottom.inc	6 Jun 2007 13:07:16 -0000	1.3
+++ opac-bottom.inc	16 Jul 2007 15:55:28 -0000	1.4
@@ -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>
@@ -16,6 +17,7 @@
             </form>
     <!-- /TMPL_IF -->
 </div>
+<!-- /TMPL_IF -->
 <!-- TMPL_IF NAME="opaccredits" -->
     <div id="footer">
         <!-- TMPL_VAR NAME="opaccredits" -->





More information about the Koha-cvs mailing list