koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Antoine Farnault
Subject: [Koha-cvs] koha/koha-tmpl/opac-tmpl/prog en/opac-passwd.tm...
Date: Thu, 19 Jul 2007 09:46:48 +0000

CVSROOT:        /sources/koha
Module name:    koha
Changes by:     Antoine Farnault <toins>        07/07/19 09:46:47

Modified files:
        koha-tmpl/opac-tmpl/prog/en: opac-passwd.tmpl 
        koha-tmpl/opac-tmpl/prog/fr: opac-passwd.tmpl 

Log message:
        disable to change password if syspref is set to '0'

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/prog/en/opac-passwd.tmpl?cvsroot=koha&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/prog/fr/opac-passwd.tmpl?cvsroot=koha&r1=1.1&r2=1.2

Patches:
Index: en/opac-passwd.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/opac-tmpl/prog/en/opac-passwd.tmpl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- en/opac-passwd.tmpl 9 Mar 2007 14:48:06 -0000       1.2
+++ en/opac-passwd.tmpl 19 Jul 2007 09:46:47 -0000      1.3
@@ -22,12 +22,16 @@
     <!-- /TMPL_IF -->
     
     <!-- TMPL_IF NAME= "Ask_data" -->
+        <!-- TMPL_IF NAME="OpacPasswordChange" -->
         <h1>Change your Password</h1>
         <form action="/cgi-bin/koha/opac-passwd.pl" name="mainform" 
id="mainform" method="get">
             <p><label for="password">Current Password:</label><input 
type="password" id="Oldkey" size="25"  name="Oldkey" /></p>
             <p><label for="Newkey">New Password:</label><input type="password" 
id="Newkey"  size="25"  name="Newkey" /></p>
             <p><label for="Confirm">Re-Type New Password:</label><input 
type="password"  id="Confirm" size="25" name="Confirm" /></p>
             <p><input type="submit" value="Submit Changes" class="submit" 
/></p>
+        <!-- TMPL_ELSE -->
+            <div class="error">You can't change your password.</div>
+        <!-- /TMPL_IF -->
     <!-- /TMPL_IF -->
     
     <!-- TMPL_IF NAME= "password_updated" -->

Index: fr/opac-passwd.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/opac-tmpl/prog/fr/opac-passwd.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- fr/opac-passwd.tmpl 23 May 2007 16:17:49 -0000      1.1
+++ fr/opac-passwd.tmpl 19 Jul 2007 09:46:47 -0000      1.2
@@ -22,12 +22,16 @@
     <!-- /TMPL_IF -->
     
     <!-- TMPL_IF NAME= "Ask_data" -->
+         <!-- TMPL_IF NAME="OpacPasswordChange" -->
         <h1>Modifiez votre mot de passe</h1>
         <form action="/cgi-bin/koha/opac-passwd.pl" name="mainform" 
id="mainform" method="get">
             <p><label for="password">Mot de passe actuel :</label><input 
type="password" id="Oldkey" size="25"  name="Oldkey" /></p>
             <p><label for="Newkey">Nouveau mot de passe :</label><input 
type="password" id="Newkey"  size="25"  name="Newkey" /></p>
             <p><label for="Confirm">Confirmez votre nouveau mot de passe 
:</label><input type="password"  id="Confirm" size="25" name="Confirm" /></p>
             <p><input type="submit" value="Proposer les modifications à la 
bibliothèque" class="submit"></p>
+            <!-- TMPL_ELSE -->
+            <div class="error">Vous ne pouvez pas changez votre mot de 
passe.</div>
+        <!-- /TMPL_IF -->
     <!-- /TMPL_IF -->
     
     <!-- TMPL_IF NAME= "password_updated" -->




reply via email to

[Prev in Thread] Current Thread [Next in Thread]