[Koha-patches] [PATCH] Bug 3800 - Misplaced IF was causing the no permission message never to be displayed

Chris Cormack chris at bigballofwax.co.nz
Mon Nov 23 09:01:14 CET 2009


---
 koha-tmpl/opac-tmpl/prog/en/modules/opac-auth.tmpl |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-auth.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-auth.tmpl
index 274a1ac..4471edd 100644
--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-auth.tmpl
+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-auth.tmpl
@@ -16,14 +16,13 @@
 <div id="opac-auth">
 <!--CONTENT-->
 <!-- TMPL_IF NAME="opacuserlogin" -->
-<!-- TMPL_IF NAME="loginprompt" -->
-<!-- login prompt time-->
-<h3>Log In to Your Account</h3>
 <!-- TMPL_IF NAME="nopermission" -->
 <!-- This is what is displayed if user doesnt have permission -->
 <p>Sorry, the system doesn't think you have permission to access this page. </p>
 <!-- /TMPL_IF -->
-
+<!-- TMPL_IF NAME="loginprompt" -->
+<!-- login prompt time-->
+<h3>Log In to Your Account</h3>
 <!-- TMPL_IF NAME="timed_out" -->
 <!-- This is what is displayed if login has timed out -->
 <p>Sorry, your session has timed out.  Please log in again.</p>
-- 
1.6.3.3




More information about the Koha-patches mailing list