|
Lines 3-9
Link Here
|
| 3 |
[% IF ( opadd ) %]Add[% ELSIF ( opduplicate ) %]Duplicate[% ELSE %] Modify[% END %] [% IF ( categoryname ) %] [% categoryname %] patron[% ELSE %][% IF ( I ) %] Organization patron[% END %][% IF ( A ) %] Adult patron[% END %][% IF ( C ) %] Child patron[% END %][% IF ( P ) %] Professional patron[% END %][% IF ( S ) %] Staff patron[% END %][% END %][% UNLESS ( opadd ) %] [% surname %], [% firstname %][% END %]</title> |
3 |
[% IF ( opadd ) %]Add[% ELSIF ( opduplicate ) %]Duplicate[% ELSE %] Modify[% END %] [% IF ( categoryname ) %] [% categoryname %] patron[% ELSE %][% IF ( I ) %] Organization patron[% END %][% IF ( A ) %] Adult patron[% END %][% IF ( C ) %] Child patron[% END %][% IF ( P ) %] Professional patron[% END %][% IF ( S ) %] Staff patron[% END %][% END %][% UNLESS ( opadd ) %] [% surname %], [% firstname %][% END %]</title> |
| 4 |
[% INCLUDE 'doc-head-close.inc' %] |
4 |
[% INCLUDE 'doc-head-close.inc' %] |
| 5 |
[% INCLUDE 'calendar.inc' %] |
5 |
[% INCLUDE 'calendar.inc' %] |
| 6 |
<script type="text/JavaScript" language="JavaScript"> |
6 |
<script type="text/JavaScript"> |
| 7 |
//<![CDATA[ |
7 |
//<![CDATA[ |
| 8 |
$(document).ready(function() { |
8 |
$(document).ready(function() { |
| 9 |
$("fieldset.rows input").keydown(function(e){ return checkEnter(e); }); |
9 |
$("fieldset.rows input").keydown(function(e){ return checkEnter(e); }); |
|
Lines 60-65
Link Here
|
| 60 |
var MSG_LATE_EXPIRY = _("Warning: Expiration date falls before enrollment date"); |
60 |
var MSG_LATE_EXPIRY = _("Warning: Expiration date falls before enrollment date"); |
| 61 |
var MSG_MISSING_MANDATORY = _("The following fields are mandatory:"); |
61 |
var MSG_MISSING_MANDATORY = _("The following fields are mandatory:"); |
| 62 |
var MSG_DUPLICATE_SUSPICION = _("Please confirm whether this is a duplicate patron"); |
62 |
var MSG_DUPLICATE_SUSPICION = _("Please confirm whether this is a duplicate patron"); |
|
|
63 |
var MSG_PASSWORD_MISMATCH = _("The passwords entered do not match"); |
| 63 |
//]]> |
64 |
//]]> |
| 64 |
</script> |
65 |
</script> |
| 65 |
<script type="text/javascript" src="[% themelang %]/js/members.js"></script> |
66 |
<script type="text/javascript" src="[% themelang %]/js/members.js"></script> |
|
Lines 143-148
Link Here
|
| 143 |
[% IF ( ERROR_short_password ) %] |
144 |
[% IF ( ERROR_short_password ) %] |
| 144 |
<li id="ERROR_short_password">Password must be at least [% minPasswordLength %] characters long.</li> |
145 |
<li id="ERROR_short_password">Password must be at least [% minPasswordLength %] characters long.</li> |
| 145 |
[% END %] |
146 |
[% END %] |
|
|
147 |
[% IF ( ERROR_password_mismatch ) %] |
| 148 |
<li id="ERROR_password_mismatch">Passwords do not match.</li> |
| 149 |
[% END %] |
| 146 |
[% IF ( ERROR_extended_unique_id_failed ) %] |
150 |
[% IF ( ERROR_extended_unique_id_failed ) %] |
| 147 |
<li id="ERROR_extended_unique_id_failed">The attribute value |
151 |
<li id="ERROR_extended_unique_id_failed">The attribute value |
| 148 |
[% ERROR_extended_unique_id_failed %] is already is use by another patron record.</li> |
152 |
[% ERROR_extended_unique_id_failed %] is already is use by another patron record.</li> |
|
Lines 1182-1222
Link Here
|
| 1182 |
[% IF ( opadd ) %] |
1186 |
[% IF ( opadd ) %] |
| 1183 |
[% IF ( NoUpdateLogin ) %] |
1187 |
[% IF ( NoUpdateLogin ) %] |
| 1184 |
[% IF ( opduplicate ) %] |
1188 |
[% IF ( opduplicate ) %] |
| 1185 |
<input type="text" id="password" name="password" size="20" disabled="disabled" /> |
1189 |
<input type="password" id="password" name="password" size="20" disabled="disabled" /> |
| 1186 |
[% ELSE %] |
1190 |
[% ELSE %] |
| 1187 |
<input type="text" id="password" name="password" size="20" disabled="disabled" value="[% password %]" /> |
1191 |
<input type="password" id="password" name="password" size="20" disabled="disabled" value="[% password %]" /> |
| 1188 |
[% END %] |
1192 |
[% END %] |
| 1189 |
[% ELSE %] |
1193 |
[% ELSE %] |
| 1190 |
[% IF ( opduplicate ) %] |
1194 |
[% IF ( opduplicate ) %] |
| 1191 |
<input type="text" id="password" name="password" size="20" /> |
1195 |
<input type="password" id="password" name="password" size="20" /> |
| 1192 |
[% ELSE %] |
1196 |
[% ELSE %] |
| 1193 |
<input type="text" id="password" name="password" size="20" value="[% password %]" /> |
1197 |
<input type="password" id="password" name="password" size="20" value="[% password %]" /> |
| 1194 |
[% END %] |
1198 |
[% END %] |
| 1195 |
[% END %] |
1199 |
[% END %] |
| 1196 |
[% ELSE %] |
1200 |
[% ELSE %] |
| 1197 |
[% IF ( password ) %] |
1201 |
[% IF ( password ) %] |
| 1198 |
[% IF ( NoUpdateLogin ) %] |
1202 |
[% IF ( NoUpdateLogin ) %] |
| 1199 |
<input type="text" id="password" name="password" size="20" disabled="disabled" value="****" /> |
1203 |
<input type="password" id="password" name="password" size="20" disabled="disabled" value="****" /> |
| 1200 |
[% ELSE %] |
1204 |
[% ELSE %] |
| 1201 |
[% IF ( opduplicate ) %] |
1205 |
[% IF ( opduplicate ) %] |
| 1202 |
<input type="text" id="password" name="password" size="20" /> |
1206 |
<input type="password" id="password" name="password" size="20" /> |
| 1203 |
[% ELSE %] |
1207 |
[% ELSE %] |
| 1204 |
<input type="text" id="password" name="password" size="20" value="****" /> |
1208 |
<input type="password" id="password" name="password" size="20" value="****" /> |
| 1205 |
[% END %] |
1209 |
[% END %] |
| 1206 |
[% END %] |
1210 |
[% END %] |
| 1207 |
[% ELSE %] |
1211 |
[% ELSE %] |
| 1208 |
[% IF ( NoUpdateLogin ) %] |
1212 |
[% IF ( NoUpdateLogin ) %] |
| 1209 |
<input type="text" id="password" name="password" size="20" disabled="disabled" value="" /> |
1213 |
<input type="password" id="password" name="password" size="20" disabled="disabled" value="" /> |
| 1210 |
[% ELSE %] |
1214 |
[% ELSE %] |
| 1211 |
<input type="text" id="password" name="password" size="20" value="" /> |
1215 |
<input type="password" id="password" name="password" size="20" value="" /> |
| 1212 |
[% END %] |
1216 |
[% END %] |
| 1213 |
[% END %] |
1217 |
[% END %] |
| 1214 |
[% END %] |
1218 |
[% END %] |
| 1215 |
[% IF ( mandatorypassword ) %]<span class="required">Required</span>[% END %][% IF ( ERROR_short_password ) %]<span class="required">Password is too short</span>[% END %] |
1219 |
<li> |
| 1216 |
[% IF ( minPasswordLength ) %]<div class="hint">Minimum password length: [% minPasswordLength %]</div>[% END %] |
1220 |
[% IF ( mandatorypassword ) %] |
|
|
1221 |
<label for="password2" class="required"> |
| 1222 |
[% ELSE %] |
| 1223 |
<label for="password2"> |
| 1224 |
[% END %] |
| 1225 |
Confirm password: </label> |
| 1226 |
[% IF ( opadd ) %] |
| 1227 |
[% IF ( NoUpdateLogin ) %] |
| 1228 |
[% IF ( opduplicate ) %] |
| 1229 |
<input type="password" id="password2" name="password2" size="20" disabled="disabled" /> |
| 1230 |
[% ELSE %] |
| 1231 |
<input type="password" id="password2" name="password2" size="20" disabled="disabled" value="[% password %]" /> |
| 1232 |
[% END %] |
| 1233 |
[% ELSE %] |
| 1234 |
[% IF ( opduplicate ) %] |
| 1235 |
<input type="password" id="password2" name="password2" size="20" /> |
| 1236 |
[% ELSE %] |
| 1237 |
<input type="password" id="password2" name="password2" size="20" value="[% password %]" /> |
| 1238 |
[% END %] |
| 1239 |
[% END %] |
| 1240 |
[% ELSE %] |
| 1241 |
[% IF ( password ) %] |
| 1242 |
[% IF ( NoUpdateLogin ) %] |
| 1243 |
<input type="password" id="password2" name="password2" size="20" disabled="disabled" value="****" /> |
| 1244 |
[% ELSE %] |
| 1245 |
[% IF ( opduplicate ) %] |
| 1246 |
<input type="password" id="password2" name="password2" size="20" /> |
| 1247 |
[% ELSE %] |
| 1248 |
<input type="password" id="password2" name="password2" size="20" value="****" /> |
| 1249 |
[% END %] |
| 1250 |
[% END %] |
| 1251 |
[% ELSE %] |
| 1252 |
[% IF ( NoUpdateLogin ) %] |
| 1253 |
<input type="password" id="password2" name="password2" size="20" disabled="disabled" value="" /> |
| 1254 |
[% ELSE %] |
| 1255 |
<input type="password" id="password2" name="password2" size="20" value="" /> |
| 1256 |
[% END %] |
| 1257 |
[% END %] |
| 1258 |
[% END %] |
| 1259 |
[% IF ( mandatorypassword ) %]<span class="required">Required</span>[% END %][% IF ( ERROR_password_mismatch ) %]<span class="required">Passwords do not match</span>[% END %] |
| 1217 |
</li> |
1260 |
</li> |
| 1218 |
[% END %] |
1261 |
</ol> |
| 1219 |
</ol> |
|
|
| 1220 |
</fieldset> |
1262 |
</fieldset> |
| 1221 |
[% END # hide fieldset %] |
1263 |
[% END # hide fieldset %] |
| 1222 |
<!--this zones are not necessary in modif mode --> |
1264 |
<!--this zones are not necessary in modif mode --> |