1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha › Patrons ›
3 <!-- TMPL_IF NAME="opadd" -->Add<!-- TMPL_ELSIF NAME="opduplicate" -->Duplicate<!-- TMPL_ELSE --> Modify<!--/TMPL_IF--> <!--TMPL_IF Name="categoryname"--> <!--TMPL_VAR Name="categoryname"--> patron<!-- TMPL_ELSE --><!--TMPL_IF Name="I"--> Organization patron<!--/TMPL_IF --><!--TMPL_IF Name="A"--> Adult patron<!--/TMPL_IF --><!--TMPL_IF Name="C"--> Child patron<!--/TMPL_IF --><!--TMPL_IF Name="P"--> Professional patron<!--/TMPL_IF --><!--TMPL_IF Name="S"--> Staff patron<!--/TMPL_IF --><!--/TMPL_IF --><!--TMPL_UNLESS Name="opadd"--> <!-- TMPL_VAR NAME="surname" -->, <!-- TMPL_VAR name="firstname" --><!--/TMPL_UNLESS--></title>
4 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
5 <!-- TMPL_INCLUDE NAME="calendar.inc" -->
6 <script type="text/JavaScript" language="JavaScript">
8 $(document).ready(function() {
9 $("fieldset.rows input").keydown(function(e){ return checkEnter(e); });
10 $("#guarantordelete").click(function() {
11 $("#contact-details").hide().find('a').remove();
12 $("#guarantorid, #contactname, #contactfirstname").each(function () { this.value = "" });
13 $("#contactname, #contactfirstname")
14 .each(function () { this.type = 'text' })
15 .parent().find('span').remove();
16 $("#guarantorsearch").val("Set to Patron");
18 $("#select_city").change(function(){
19 var myRegEx=new RegExp(/(.*)\|(.*)/);
20 document.form.select_city.value.match(myRegEx);
21 document.form.zipcode.value=RegExp.$1;
22 document.form.city.value=RegExp.$2;
26 function clear_entry(node) {
27 var original = node.parentNode.parentNode;
28 $("input[type=text]", original).attr('value', '');
29 $("select", original).attr('value', '');
32 function clone_entry(node) {
33 var original = node.parentNode.parentNode;
34 var clone = original.cloneNode(true);
35 var newId = 50 + parseInt(Math.random() * 100000);
36 $("input", clone).attr('id', function() {
37 return this.id.replace(/patron_attr_\d+/, 'patron_attr_' + newId);
39 $("input", clone).attr('name', function() {
40 return this.name.replace(/patron_attr_\d+/, 'patron_attr_' + newId);
42 $("select", clone).attr('id', function() {
43 return this.id.replace(/patron_attr_\d+/, 'patron_attr_' + newId);
45 $("select", clone).attr('name', function() {
46 return this.name.replace(/patron_attr_\d+/, 'patron_attr_' + newId);
48 $("input#patron_attr_" + newId, clone).attr('value','');
49 $("select#patron_attr_" + newId, clone).attr('value','');
50 original.parentNode.insertBefore(clone, original.nextSibling);
52 var MSG_SEPARATOR = _("Separator must be / in field ");
53 var MSG_INCORRECT_DAY = _("Invalid day entered in field ");
54 var MSG_INCORRECT_MONTH = _("Invalid month entered in field ");
55 var MSG_INCORRECT_YEAR = _("Invalid year entered in field ");
56 var MSG_DUPLICATE_PATRON = _("Warning: Duplicate patron");
57 var MSG_DUPLICATE_ORGANIZATION = _("Warning: Duplicate organization");
58 var MSG_LATE_EXPIRY = _("Warning: Expiration date falls before enrollment date");
59 var MSG_MISSING_MANDATORY = _("The following fields are mandatory:");
60 var MSG_DUPLICATE_SUSPICION = _("Please confirm whether this is a duplicate patron");
63 <script type="text/javascript" src="<!-- TMPL_VAR NAME='themelang' -->/js/members.js"></script>
66 <!-- TMPL_INCLUDE NAME="header.inc" -->
67 <!-- TMPL_INCLUDE NAME="patron-search.inc" -->
69 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a> ›
70 <!-- TMPL_IF NAME="opadd" -->
71 Add<!--TMPL_IF Name="categoryname"--> <!--TMPL_VAR Name="categoryname"--> patron<!-- TMPL_ELSE --><!--TMPL_IF Name="I"--> Organization patron<!--/TMPL_IF --><!--TMPL_IF Name="A"--> Adult patron<!--/TMPL_IF --><!--TMPL_IF Name="C"--> Child patron<!--/TMPL_IF --><!--TMPL_IF Name="P"--> Professional patron<!--/TMPL_IF --><!--TMPL_IF Name="S"--> Staff patron<!--/TMPL_IF --><!--/TMPL_IF -->
72 <!-- TMPL_VAR NAME="surname" --> <!-- TMPL_VAR name="firstname" -->
74 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->"><!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR NAME="surname" --></a> › <strong><!-- TMPL_IF NAME="opduplicate" -->Duplicate<!-- TMPL_ELSE -->Modify<!--/TMPL_IF --><!--TMPL_IF Name="categoryname"--> <!--TMPL_VAR Name="categoryname"--> patron<!-- TMPL_ELSE --><!--TMPL_IF Name="I"--> Organization patron<!--/TMPL_IF --><!--TMPL_IF Name="A"--> Adult patron<!--/TMPL_IF --><!--TMPL_IF Name="C"--> Child patron<!--/TMPL_IF --><!--TMPL_IF Name="P"--> Professional patron<!--/TMPL_IF --><!--TMPL_IF Name="S"--> Staff patron<!--/TMPL_IF --><!--/TMPL_IF -->
75 </strong><!-- /TMPL_IF --></div>
76 <!-- TMPL_IF NAME="opadd" --><div id="doc" class="yui-t7"><!-- TMPL_ELSE --><div id="doc3" class="yui-t2"><!-- /TMPL_IF -->
82 <!-- TMPL_IF NAME="no_add" --><div class="dialog alert"><h3>Cannot add patron</h3>
83 <!-- TMPL_IF NAME="no_branches" --><p>There are <strong>no libraries defined</strong>. <!-- TMPL_IF NAME="CAN_user_parameters" -->Please <a href="/cgi-bin/koha/admin/branches.pl">add a library</a>.<!-- TMPL_ELSE -->An administrator must define at least one library.<!-- /TMPL_IF --></p><!-- /TMPL_IF -->
84 <!-- TMPL_IF NAME="no_categories" --><p>There are <strong>no patron categories defined</strong>. <!-- TMPL_IF NAME="CAN_user_parameters" -->Please <a href="/cgi-bin/koha/admin/categorie.pl">add a patron category</a>.<!-- TMPL_ELSE -->An administrator must define at least one patron category.</p><!-- /TMPL_IF --><!-- /TMPL_IF --></div><!-- /TMPL_IF -->
86 <!-- TMPL_UNLESS NAME="no_add" -->
87 <!-- TMPL_IF NAME="opadd" -->
89 Add<!--TMPL_IF Name="categoryname"--> <!--TMPL_VAR Name="categoryname"--> patron<!-- TMPL_ELSE --><!--TMPL_IF Name="I"--> Organization patron<!--/TMPL_IF --><!--TMPL_IF Name="A"--> Adult patron<!--/TMPL_IF --><!--TMPL_IF Name="C"--> Child patron<!--/TMPL_IF --><!--TMPL_IF Name="P"--> Professional patron<!--/TMPL_IF --><!--TMPL_IF Name="S"--> Staff patron<!--/TMPL_IF --><!--/TMPL_IF --> <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR NAME="surname" -->
93 <!-- TMPL_IF NAME="opduplicate" -->Duplicate<!-- TMPL_ELSE -->Modify<!--/TMPL_IF --><!--TMPL_IF Name="categoryname"--> <!--TMPL_VAR Name="categoryname"--> patron<!-- TMPL_ELSE --><!--TMPL_IF Name="I"--> Organization patron<!--/TMPL_IF --><!--TMPL_IF Name="A"--> Adult patron<!--/TMPL_IF --><!--TMPL_IF Name="C"--> Child patron<!--/TMPL_IF --><!--TMPL_IF Name="P"--> Professional patron<!--/TMPL_IF --><!--TMPL_IF Name="S"--> Staff patron<!--/TMPL_IF --><!--/TMPL_IF -->
94 <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR NAME="surname" -->
98 <!-- TMPL_IF NAME="check_member" -->
99 <div class="dialog alert">
100 <h3>Duplicate patron record?</h3>
101 <p><a class="popup" href="javascript:Dopop('moremember.pl?print=brief&borrowernumber=<!--TMPL_VAR NAME="check_member"-->');" >View existing record</a></p>
102 <form action="/cgi-bin/koha/members/memberentry.pl" method="get"><input type="hidden" name="op" value="modify" /><input type="hidden" name="borrowernumber" value="<!--TMPL_VAR NAME="check_member"-->" /><input type="hidden" name="category_type" value="<!--TMPL_VAR NAME="check_categorytype"-->" /><input class="edit" type="submit" value="It is a duplicate. Edit existing record" /></form>
104 <form name="form_double" action="/cgi-bin/koha/members/memberentry.pl" method="post">
105 <input type="hidden" name="nodouble" value="1" />
106 <input class="new" type="submit" value="Not a duplicate. Save as new record" />
110 <!-- TMPL_IF Name="debug" -->
112 <div>Debug is on (level <!-- TMPL_VAR NAME="debug" -->)</div>
115 <!-- TMPL_IF Name="nok" -->
116 <div class="dialog alert">
117 <p>The following fields are wrong. Please fix them.</p>
119 <!-- TMPL_IF NAME="ERROR_login_exist" -->
120 <li id="ERROR_login_exist">Login/password already exists.</li>
122 <!-- TMPL_IF NAME="ERROR_cardnumber" -->
123 <li id="ERROR_cardnumber">Cardnumber already in use.</li>
125 <!-- TMPL_IF NAME="ERROR_age_limitations" -->
126 <li id="ERROR_age_limitations">Patron's age is incorrect for their category.
127 Ages allowed are <!-- TMPL_VAR NAME="ERROR_age_limitations"-->.</li>
129 <!-- TMPL_IF NAME="ERROR_branch" -->
130 <li id="ERROR_branch">Library is invalid.</li>
132 <!-- TMPL_IF NAME="ERROR_dateofbirth" -->
133 <li id="ERROR_dateofbirth">Date of birth is invalid.</li>
135 <!-- TMPL_IF NAME="ERROR_dateenrolled" -->
136 <li id="ERROR_dateenrolled">Date of enrollment is invalid.</li>
138 <!-- TMPL_IF NAME="ERROR_dateexpiry" -->
139 <li id="ERROR_dateexpiry">Date of expiration is invalid.</li>
141 <!-- TMPL_IF NAME="ERROR_short_password" -->
142 <li id="ERROR_short_password">Password must be at least <!-- TMPL_VAR NAME="minPasswordLength" --> characters long.</li>
144 <!-- TMPL_IF NAME="ERROR_extended_unique_id_failed" -->
145 <li id="ERROR_extended_unique_id_failed">The attribute value
146 <!-- TMPL_VAR NAME="ERROR_extended_unique_id_failed" --> is already is use by another patron record.</li>
153 <!-- TMPL_UNLESS NAME="check_member" --><form name="form" id="entryform" action="/cgi-bin/koha/members/memberentry.pl" method="post">
154 <input type="hidden" name="nodouble" value="<!-- TMPL_VAR NAME="nodouble" -->" /> <!-- /TMPL_UNLESS -->
155 <!-- field always hidden in different form (1,2,3) -->
156 <input type="hidden" name="BorrowerMandatoryField" value="<!--TMPL_VAR NAME="BorrowerMandatoryField"-->" />
157 <input type="hidden" name="category_type" value="<!-- TMPL_VAR name="category_type" -->" />
158 <input type="hidden" name="updtype" value="<!-- TMPL_VAR NAME="updtype" -->" />
159 <input type="hidden" name="select_roadtype" value="<!-- TMPL_VAR NAME="select_roadtype" -->" />
160 <input type="hidden" name="destination" value="<!-- TMPL_VAR NAME="destination" -->" />
161 <input type="hidden" name="check_member" value="<!-- TMPL_VAR NAME="check_member" -->" />
162 <input type="hidden" name="borrowernumber" value="<!-- TMPL_IF NAME="opduplicate" --><!-- TMPL_ELSE --><!-- TMPL_VAR NAME="borrowernumber" --><!-- /TMPL_IF -->" />
163 <input type="hidden" name="nodouble" value="<!-- TMPL_IF NAME="opduplicate" --><!-- TMPL_ELSE --><!-- TMPL_VAR NAME="nodouble" --><!-- /TMPL_IF -->" />
164 <!--TMPL_IF Name="step"--><input type="hidden" name="step" value="<!-- TMPL_VAR NAME="step" -->" /><!--/TMPL_IF-->
165 <!-- TMPL_IF NAME="opadd" --><input type="hidden" name="op" value="insert" /><!-- TMPL_ELSIF NAME="opduplicate" --><input type="hidden" name="op" value="insert" /><!-- TMPL_ELSE --><input type="hidden" name="op" value="save" /><!-- /TMPL_IF -->
167 <!--TMPL_IF Name="step_1"-->
168 <fieldset class="rows" id="memberentry_identity">
169 <legend><!--TMPL_IF Name="I"-->Organization <!--TMPL_ELSE-->Patron <!--/TMPL_IF-->identity</legend>
171 <!-- TMPL_UNLESS name="I" -->
172 <!-- TMPL_IF NAME="title_cgipopup" -->
174 <!-- TMPL_IF NAME="mandatorytitle" -->
175 <label for="btitle" class="required">
180 <!-- TMPL_VAR NAME="borrotitlepopup" -->
181 <!-- TMPL_IF NAME="mandatorytitle" --><span class="required">Required</span><!-- /TMPL_IF -->
184 <!-- /TMPL_UNLESS -->
186 <!-- TMPL_IF NAME="mandatorysurname" -->
187 <label for="surname" class="required">
189 <label for="surname">
192 <!-- TMPL_IF NAME="uppercasesurnames" -->
193 <input style="text-transform:uppercase;" type="text" id="surname" name="surname" size="20" value="<!-- TMPL_VAR NAME="surname" -->"<!--TMPL_IF NAME="opduplicate"--> onclick="this.value=''"<!-- /TMPL_IF --> />
195 <input type="text" id="surname" name="surname" size="20" value="<!-- TMPL_VAR NAME="surname" -->"<!--TMPL_IF NAME="opduplicate"--> onclick="this.value=''"<!-- /TMPL_IF --> />
197 <!-- TMPL_IF NAME="mandatorysurname" --><span class="required">Required</span><!-- /TMPL_IF -->
199 <!-- TMPL_UNLESS name="I" -->
201 <!-- TMPL_IF NAME="mandatoryfirstname" -->
202 <label for="firstname" class="required">
204 <label for="firstname">
207 <input type="text" id="firstname" name="firstname" size="20" value="<!-- TMPL_IF NAME="opduplicate" --><!--TMPL_ELSE--><!-- TMPL_VAR NAME="firstname" --><!-- /TMPL_IF -->" />
208 <!-- TMPL_IF NAME="mandatoryfirstname" --><span class="required">Required</span><!-- /TMPL_IF -->
211 <!-- TMPL_IF NAME="mandatorydateofbirth" -->
212 <label for="dateofbirth" class="required">
214 <label for="dateofbirth">
216 Date of birth: </label>
218 <!-- TMPL_IF NAME="metric" -->
219 <input type="text" id="dateofbirth" name="dateofbirth" size="20" onchange="CheckDate(document.form.dateofbirth);" value="<!-- TMPL_IF NAME="opduplicate" --><!--TMPL_ELSE--><!-- TMPL_VAR NAME="dateofbirth" --><!-- /TMPL_IF -->" />
221 <input type="text" id="dateofbirth" name="dateofbirth" size="20" value="<!-- TMPL_IF NAME="opduplicate" --><!--TMPL_ELSE--><!-- TMPL_VAR NAME="dateofbirth" --><!-- /TMPL_IF -->" />
224 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="dateofbirth_button" alt="Show Calendar" />
225 <script language="JavaScript" type="text/javascript">
228 inputField : "dateofbirth",
229 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
230 button : "dateofbirth_button"
234 <!-- TMPL_IF NAME="mandatorydateofbirth" --><span class="required">Required</span><!-- /TMPL_IF -->
235 <!-- TMPL_IF NAME="ERROR_dateofbirth" --><span class="required">(Error)</span><!-- /TMPL_IF -->
236 <div class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></div>
239 <!-- TMPL_IF NAME="mandatoryinitials" -->
240 <label for="initials" class="required">
242 <label for="initials">
245 <input type="text" id="initials" name="initials" size="20" value="<!-- TMPL_VAR NAME="initials" -->"<!--TMPL_IF NAME="opduplicate"--> onclick="this.value=''"<!-- /TMPL_IF --> />
246 <!-- TMPL_IF NAME="mandatoryinitials" --><span class="required">Required</span><!-- /TMPL_IF -->
248 <!-- /TMPL_UNLESS -->
250 <!-- TMPL_IF NAME="mandatoryothernames" -->
251 <label for="othernames" class="required">
253 <label for="othernames">
256 <input type="text" id="othernames" name="othernames" size="20" value="<!-- TMPL_VAR NAME="othernames" -->"<!--TMPL_IF NAME="opduplicate"--> onclick="this.value=''"<!-- /TMPL_IF --> />
257 <!-- TMPL_IF NAME="mandatoryothernames" --><span class="required">Required</span><!-- /TMPL_IF -->
258 <!-- TMPL_IF NAME="I" --><input type="hidden" name="sex" value="N" /><!-- /TMPL_IF -->
260 <!--TMPL_UNLESS Name="I"-->
263 <!-- TMPL_IF NAME="female" -->
264 <label for="sex-female">Female </label><input type="radio" name="sex" id="sex-female" value="F" checked="checked" />
266 <label for="sex-female">Female </label><input type="radio" name="sex" id="sex-female" value="F" />
268 <!-- TMPL_IF NAME="male" -->
269 <label for="sex-male">Male </label><input type="radio" name="sex" id="sex-male" value="M" checked="checked" />
271 <label for="sex-male">Male </label><input type="radio" name="sex" id="sex-male" value="M" />
273 <!-- TMPL_IF NAME="none" -->
274 <label for="sex-none">N/A </label><input type="radio" name="sex" id="sex-none" value="" checked="checked" />
276 <label for="sex-none">N/A </label><input type="radio" name="sex" id="sex-none" value="" />
283 <!--TMPL_IF Name="showguarantor"--><input type="hidden" id="guarantorid" name="guarantorid" value="<!-- TMPL_VAR NAME="guarantorid" -->" />
284 <fieldset class="rows">
285 <legend>Guarantor Information</legend>
287 <!--TMPL_IF Name="P"-->
288 <!-- TMPL_IF NAME="guarantorid" -->
289 <li id="contact-details">
291 <li id="contact-details" style="display: none">
293 <span class="label">Organization #:</span> <!-- TMPL_IF NAME="guarantorid" --> <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="guarantorid" -->" target="blank"><!-- TMPL_VAR NAME="guarantorid" --></a><!-- /TMPL_IF -->
296 <label for="contactname">Organization name: </label>
297 <!-- TMPL_IF NAME="guarantorid" -->
298 <span><!-- TMPL_VAR NAME="contactname" --></span>
299 <input name="contactname" id="contactname" type="hidden" size="20" value="<!-- TMPL_VAR NAME="contactname" -->" />
301 <input name="contactname" id="contactname" type="text" size="20" value="<!-- TMPL_VAR NAME="contactname" -->"<!--TMPL_IF NAME="opduplicate"--> onclick="this.value=''"<!-- /TMPL_IF --> />
305 <!-- TMPL_IF NAME="C" -->
306 <!-- TMPL_IF NAME="guarantorid" -->
307 <li id="contact-details">
309 <li id="contact-details" style="display: none">
311 <span class="label">Patron #:</span> <!-- TMPL_IF NAME="guarantorid" --> <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="guarantorid" -->" target="blank"><!-- TMPL_VAR NAME="guarantorid" --></a><!-- /TMPL_IF -->
314 <label for="contactname">Surname: </label>
315 <!-- TMPL_IF NAME="guarantorid" -->
316 <span><!-- TMPL_VAR NAME="contactname" --></span>
317 <input name="contactname" id="contactname" type="hidden" size="20" value="<!-- TMPL_VAR NAME="contactname" -->" />
319 <input name="contactname" id="contactname" type="text" size="20" value="<!-- TMPL_VAR NAME="contactname" -->"<!--TMPL_IF NAME="opduplicate"--> onclick="this.value=''"<!-- /TMPL_IF --> />
323 <label for="contactfirstname">First name: </label>
324 <!-- TMPL_IF NAME="guarantorid" -->
325 <span><!-- TMPL_VAR NAME="contactfirstname" --></span>
326 <input name="contactfirstname" id="contactfirstname" type="hidden" size="20" value="<!-- TMPL_VAR NAME="contactfirstname" -->" />
328 <input name="contactfirstname" id="contactfirstname" type="text" size="20" value="<!-- TMPL_VAR NAME="contactfirstname" -->"<!--TMPL_IF NAME="opduplicate"--> onclick="this.value=''"<!-- /TMPL_IF --> />
331 <!-- TMPL_IF name="relshiploop" -->
333 <label for="relationship">Relationship: </label>
334 <select name="relationship" id="relationship" >
335 <!-- TMPL_LOOP name="relshiploop" -->
336 <!-- TMPL_IF name="selected" -->
337 <option value="<!-- TMPL_VAR name="relationship" -->" selected="selected" ><!-- TMPL_VAR name="relationship" --></option>
339 <option value="<!-- TMPL_VAR name="relationship" -->"><!-- TMPL_VAR name="relationship" --></option>
348 <span class="label"> </span>
349 <!-- TMPL_IF NAME="guarantorid" -->
350 <input id="guarantorsearch" type="button" value="Change" onclick="Dopopguarantor('guarantor_search.pl?category_type=<!-- TMPL_VAR NAME="category_type" -->');" />
352 <input id="guarantorsearch" type="button" value="Set to Patron" onclick="Dopopguarantor('guarantor_search.pl?category_type=<!-- TMPL_VAR NAME="category_type" -->');" />
354 <input id="guarantordelete" type="button" value="Delete" />
360 <fieldset class="rows">
361 <legend>Main address</legend><ol>
363 <!-- TMPL_IF NAME="mandatorystreetnumber" -->
364 <label for="streetnumber" class="required">
366 <label for="streetnumber">
368 Street number: </label>
369 <input type="text" id="streetnumber" name="streetnumber" size="5" value="<!-- TMPL_VAR NAME="streetnumber" -->"<!--TMPL_IF NAME="opduplicate"--> onclick="this.value=''"<!-- /TMPL_IF --> />
370 <!-- TMPL_IF NAME="mandatorystreetnumber" --><span class="required">Required</span><!-- /TMPL_IF -->
372 <!-- TMPL_IF NAME="road_cgipopup" -->
374 <!-- TMPL_IF NAME="mandatorystreettype" -->
375 <label for="streettype" class="required">
377 <label for="streettype">
379 Street type: </label>
380 <!-- TMPL_VAR NAME="roadpopup" -->
381 <!-- TMPL_IF NAME="mandatorystreettype" --><span class="required">Required</span><!-- /TMPL_IF -->
385 <!-- TMPL_IF NAME="mandatoryaddress" -->
386 <label for="address" class="required">
388 <label for="address">
391 <input type="text" id="address" name="address" size="35" value="<!-- TMPL_VAR NAME="address" -->"<!--TMPL_IF NAME="opduplicate"--> onclick="this.value=''"<!-- /TMPL_IF --> />
392 <!-- TMPL_IF NAME="mandatoryaddress" --><span class="required">Required</span><!-- /TMPL_IF -->
395 <!-- TMPL_IF NAME="mandatoryaddress2" -->
396 <label for="address2" class="required">
398 <label for="address2">
401 <input type="text" id="address2" name="address2" size="35" value="<!-- TMPL_VAR NAME="address2" -->"<!--TMPL_IF NAME="opduplicate"--> onclick="this.value=''"<!-- /TMPL_IF --> />
402 <!-- TMPL_IF NAME="mandatoryaddress2" --><span class="required">Required</span><!-- /TMPL_IF -->
405 <!-- TMPL_IF NAME="mandatorycity" -->
406 <label for="city" class="required">
412 <input type="text" id="city" name="city" size="20" value="<!-- TMPL_VAR NAME="city" -->"<!--TMPL_IF NAME="opduplicate"--> onclick="this.value=''"<!-- /TMPL_IF --> />
413 <!-- TMPL_IF NAME="city_cgipopup" -->or <strong>choose</strong>
414 <select id="select_city" name="select_city">
415 <!-- TMPL_LOOP NAME="city_loop" -->
416 <!-- TMPL_IF NAME="selected" -->
417 <option value="<!-- TMPL_VAR NAME="city_zipcode"-->|<!-- TMPL_VAR NAME="city_name" -->" selected="selected">
419 <option value="<!-- TMPL_VAR NAME="city_zipcode"-->|<!-- TMPL_VAR NAME="city_name" -->">
421 <!-- TMPL_VAR NAME="city_name" --> <!-- TMPL_VAR NAME="city_zipcode" -->
426 <!-- TMPL_IF NAME="mandatorycity" --><span class="required">Required</span><!-- /TMPL_IF -->
429 <!-- TMPL_IF NAME="mandatorystate" -->
430 <label for="state" class="required">
435 <input type="text" name="state" id="state" size="20" value="<!-- TMPL_VAR NAME="state" -->" />
436 <!-- TMPL_IF NAME="mandatorystate" --><span class="required">Required</span><!-- /TMPL_IF -->
439 <!-- TMPL_IF NAME="mandatoryzipcode" -->
440 <label for="zipcode" class="required">
442 <label for="zipcode">
444 Zip/Postal code: </label>
445 <input type="text" name="zipcode" id="zipcode" size="10" value="<!-- TMPL_VAR NAME="zipcode" -->"<!--TMPL_IF NAME="opduplicate"--> onclick="this.value=''"<!-- /TMPL_IF --> />
446 <!-- TMPL_IF NAME="mandatoryzipcode" --><span class="required">Required</span><!-- /TMPL_IF -->
450 <!-- TMPL_IF NAME="mandatorycountry" -->
451 <label for="country" class="required">
453 <label for="country">
456 <input type="text" name="country" id="country" size="20" value="<!-- TMPL_VAR NAME="country" -->"<!--TMPL_IF NAME="opduplicate"--> onclick="this.value=''"<!-- /TMPL_IF --> />
457 <!-- TMPL_IF NAME="mandatorycountry" --><span class="required">Required</span><!-- /TMPL_IF -->
462 <fieldset class="rows" id="memberentry_contact">
463 <legend>Contact</legend><ol>
465 <!-- TMPL_IF NAME="mandatoryphone" -->
466 <label for="phone" class="required">
470 Phone (home): </label>
471 <input type="text" id="phone" name="phone" value="<!-- TMPL_VAR NAME="phone" -->"<!--TMPL_IF NAME="opduplicate"--> onclick="this.value=''"<!-- /TMPL_IF --> />
472 <!-- TMPL_IF NAME="mandatoryphone" --><span class="required">Required</span><!-- /TMPL_IF --><div class="hint">Shows on transit slips</div>
476 <!-- TMPL_IF NAME="mandatoryphonepro" -->
477 <label for="phonepro" class="required">
479 <label for="phonepro">
481 Phone (work): </label>
482 <input type="text" id="phonepro" name="phonepro" value="<!-- TMPL_VAR NAME="phonepro" -->"<!--TMPL_IF NAME="opduplicate"--> onclick="this.value=''"<!-- /TMPL_IF --> />
483 <!-- TMPL_IF NAME="mandatoryphonepro" --><span class="required">Required</span><!-- /TMPL_IF -->
486 <!-- TMPL_IF NAME="mandatorymobile" -->
487 <label for="mobile" class="required">
491 Phone (cell): </label>
492 <input type="text" id="mobile" name="mobile" value="<!-- TMPL_VAR NAME="mobile" -->"<!--TMPL_IF NAME="opduplicate"--> onclick="this.value=''"<!-- /TMPL_IF --> />
493 <!-- TMPL_IF NAME="mandatorymobile" --><span class="required">Required</span><!-- /TMPL_IF -->
496 <!-- TMPL_IF NAME="mandatoryemail" -->
497 <label for="email" class="required">
501 Primary Email: </label>
502 <input type="text" id="email" name="email" size="45" value="<!-- TMPL_VAR NAME="email" -->"<!--TMPL_IF NAME="opduplicate"--> onclick="this.value=''"<!-- /TMPL_IF --> />
503 <!-- TMPL_IF NAME="mandatoryemail" --><span class="required">Required</span><!-- /TMPL_IF --><div class="hint">Shows on transit slips</div>
507 <!-- TMPL_IF NAME="mandatoryemailpro" -->
508 <label for="emailpro" class="required">
510 <label for="emailpro">
512 Secondary Email: </label>
513 <input type="text" id="emailpro" name="emailpro" size="45" value="<!-- TMPL_VAR NAME="emailpro" -->"<!--TMPL_IF NAME="opduplicate"--> onclick="this.value=''"<!-- /TMPL_IF --> />
514 <!-- TMPL_IF NAME="mandatoryemailpro" --><span class="required">Required</span><!-- /TMPL_IF -->
517 <!-- TMPL_IF NAME="mandatoryfax" -->
518 <label for="fax" class="required">
523 <input type="text" id="fax" name="fax" value="<!-- TMPL_VAR NAME="fax" -->"<!--TMPL_IF NAME="opduplicate"--> onclick="this.value=''"<!-- /TMPL_IF --> />
524 <!-- TMPL_IF NAME="mandatoryfax" --><span class="required">Required</span><!-- /TMPL_IF -->
530 <!-- ************************ STEP_1 *********************** -->
532 <!--TMPL_IF Name="step_6"-->
534 <fieldset class="rows" id="memberentry_address">
535 <legend>Alternate address</legend><ol>
537 <!-- TMPL_IF NAME="mandatoryB_address" -->
538 <label for="B_address" class="required">
540 <label for="B_address">
543 <input type="text" id="B_address" name="B_address" size="40" value="<!-- TMPL_VAR NAME="B_address" -->"<!--TMPL_IF NAME="opduplicate"--> onclick="this.value=''"<!-- /TMPL_IF --> />
544 <!-- TMPL_IF NAME="mandatoryB_address" --><span class="required">Required</span><!-- /TMPL_IF -->
547 <!-- TMPL_IF NAME="mandatoryB_address2" -->
548 <label for="B_address2" class="required">
550 <label for="B_address2">
553 <input type="text" id="B_address2" name="B_address2" size="40" value="<!-- TMPL_VAR NAME="B_address2" -->"<!--TMPL_IF NAME="opduplicate"--> onclick="this.value=''"<!-- /TMPL_IF --> />
554 <!-- TMPL_IF NAME="mandatoryB_address2" --><span class="required">Required</span><!-- /TMPL_IF -->
557 <!-- TMPL_IF NAME="mandatoryB_city" -->
558 <label for="B_city" class="required" >
563 <input type="text" id="B_city" name="B_city" size="20" value="<!-- TMPL_VAR NAME="B_city" -->" />
564 <!-- TMPL_IF NAME="mandatoryB_city" --><span class="required">Required</span><!-- /TMPL_IF -->
567 <!-- TMPL_IF NAME="mandatoryB_state" -->
568 <label for="B_state" class="required" >
570 <label for="B_state">
573 <input type="text" id="B_state" name="B_state" size="20" value="<!-- TMPL_VAR NAME="B_state" -->" />
574 <!-- TMPL_IF NAME="mandatoryB_state" --><span class="required">Required</span><!-- /TMPL_IF -->
577 <!-- TMPL_IF NAME="mandatoryB_zipcode" -->
578 <label for="B_zipcode" class="required">
580 <label for="B_zipcode">
582 Zip/Postal code: </label>
583 <input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="<!-- TMPL_VAR NAME="B_zipcode" -->"<!--TMPL_IF NAME="opduplicate"--> onclick="this.value=''"<!-- /TMPL_IF --> />
584 <!-- TMPL_IF NAME="mandatoryB_zipcode" --><span class="required">Required</span><!-- /TMPL_IF -->
587 <!-- TMPL_IF NAME="mandatoryB_country" -->
588 <label for="B_country" class="required">
590 <label for="B_country">
593 <input type="text" id="B_country" name="B_country" size="20" value="<!-- TMPL_VAR NAME="B_country" -->"<!--TMPL_IF NAME="opduplicate"--> onclick="this.value=''"<!-- /TMPL_IF --> />
594 <!-- TMPL_IF NAME="mandatoryB_country" --><span class="required">Required</span><!-- /TMPL_IF -->
597 <!-- TMPL_IF NAME="mandatoryB_phone" -->
598 <label for="B_phone" class="required">
600 <label for="B_phone">
603 <input type="text" id="B_phone" name="B_phone" value="<!-- TMPL_VAR NAME="B_phone" -->"<!--TMPL_IF NAME="opduplicate"--> onclick="this.value=''"<!-- /TMPL_IF --> />
604 <!-- TMPL_IF NAME="mandatoryB_phone" --><span class="required">Required</span><!-- /TMPL_IF -->
607 <!-- TMPL_IF NAME="mandatoryB_email" -->
608 <label for="B_email" class="required">
610 <label for="B_email">
613 <input type="text" id="B_email" name="B_email" size="45" value="<!-- TMPL_VAR NAME="B_email" -->"<!--TMPL_IF NAME="opduplicate"--> onclick="this.value=''"<!-- /TMPL_IF --> />
614 <!-- TMPL_IF NAME="mandatoryB_email" --><span class="required">Required</span><!-- /TMPL_IF --> </li>
616 <!-- TMPL_IF NAME="mandatorycontactnote" -->
617 <label for="contactnote" class="required">
619 <label for="contactnote">
621 Contact note: </label>
622 <textarea id="contactnote" name="contactnote" cols="40" rows="2"><!-- TMPL_VAR NAME="contactnote" --></textarea>
623 <!-- TMPL_IF NAME="mandatorycontactnote" --><span class="required">Required</span><!-- /TMPL_IF -->
628 <!--TMPL_IF Name="step_2"-->
629 <fieldset class="rows" id="memberentry_altaddress">
630 <legend>Alternate Contact</legend><ol>
632 <!-- TMPL_IF NAME="mandatoryaltcontactsurname" -->
633 <label for="altcontactsurname" class="required">
635 <label for="altcontactsurname">
638 <input type="text" name="altcontactsurname" id="altcontactsurname" value="<!-- TMPL_VAR NAME="altcontactsurname" -->"<!--TMPL_IF NAME="opduplicate"--> onclick="this.value=''"<!-- /TMPL_IF --> />
639 <!-- TMPL_IF NAME="mandatoryaltcontactsurname" --><span class="required">Required</span><!-- /TMPL_IF -->
642 <!-- TMPL_IF NAME="mandatoryaltcontactfirstname" -->
643 <label for="altcontactfirstname" class="required">
645 <label for="altcontactfirstname">
648 <input type="text" name="altcontactfirstname" id="altcontactfirstname" value="<!-- TMPL_VAR NAME="altcontactfirstname" -->"<!--TMPL_IF NAME="opduplicate"--> onclick="this.value=''"<!-- /TMPL_IF --> />
649 <!-- TMPL_IF NAME="mandatoryaltcontactfirstname" --><span class="required">Required</span><!-- /TMPL_IF -->
652 <!-- TMPL_IF NAME="mandatoryaltcontactaddress1" -->
653 <label for="altcontactaddress1" class="required">
655 <label for="altcontactaddress1">
658 <input type="text" name="altcontactaddress1" id="altcontactaddress1" value="<!-- TMPL_VAR NAME="altcontactaddress1" -->"<!--TMPL_IF NAME="opduplicate"--> onclick="this.value=''"<!-- /TMPL_IF --> size="40" />
659 <!-- TMPL_IF NAME="mandatoryaltcontactaddress1" --><span class="required">Required</span><!-- /TMPL_IF -->
662 <!-- TMPL_IF NAME="mandatoryaltcontactaddress2" -->
663 <label for="altcontactaddress2" class="required">
665 <label for="altcontactaddress2">
668 <input type="text" name="altcontactaddress2" id="altcontactaddress2" value="<!-- TMPL_VAR NAME="altcontactaddress2" -->"<!--TMPL_IF NAME="opduplicate"--> onclick="this.value=''"<!-- /TMPL_IF --> size="40" />
669 <!-- TMPL_IF NAME="mandatoryaltcontactaddress2" --><span class="required">Required</span><!-- /TMPL_IF -->
672 <!-- TMPL_IF NAME="mandatoryaltcontactaddress3" -->
673 <label for="altcontactaddress3" class="required">
675 <label for="altcontactaddress3">
678 <input type="text" name="altcontactaddress3" id="altcontactaddress3" value="<!-- TMPL_VAR NAME="altcontactaddress3" -->" size="20" />
679 <!-- TMPL_IF NAME="mandatoryaltcontactaddress3" --><span class="required">Required</span><!-- /TMPL_IF -->
682 <!-- TMPL_IF NAME="mandatoryaltcontactstate" -->
683 <label for="altcontactstate" class="required">
685 <label for="altcontactstate">
688 <input type="text" name="altcontactstate" id="altcontactstate" value="<!-- TMPL_VAR NAME="altcontactstate" -->" size="20" />
689 <!-- TMPL_IF NAME="mandatoryaltcontactstate" --><span class="required">Required</span><!-- /TMPL_IF -->
692 <!-- TMPL_IF NAME="mandatoryaltcontactzipcode" -->
693 <label for="altcontactzipcode" class="required">
695 <label for="altcontactzipcode">
697 Zip/Postal code:</label>
698 <input type="text" name="altcontactzipcode" id="altcontactzipcode" value="<!-- TMPL_VAR NAME="altcontactzipcode" -->"<!--TMPL_IF NAME="opduplicate"--> onclick="this.value=''"<!-- /TMPL_IF --> size="5" />
699 <!-- TMPL_IF NAME="mandatoryaltcontactzipcode" --><span class="required">Required</span><!-- /TMPL_IF -->
702 <!-- TMPL_IF NAME="mandatoryaltcontactcountry" -->
703 <label for="altcontactcountry" class="required">
705 <label for="altcontactcountry">
708 <input type="text" name="altcontactcountry" id="altcontactcountry" value="<!-- TMPL_VAR NAME="altcontactcountry" -->"<!--TMPL_IF NAME="opduplicate"--> onclick="this.value=''"<!-- /TMPL_IF --> size="20" />
709 <!-- TMPL_IF NAME="mandatoryaltcontactcountry" --><span class="required">Required</span><!-- /TMPL_IF -->
712 <!-- TMPL_IF NAME="mandatoryaltcontactphone" -->
713 <label for="altcontactphone" class="required">
715 <label for="altcontactphone">
718 <input type="text" name="altcontactphone" id="altcontactphone" value="<!-- TMPL_VAR NAME="altcontactphone" -->"<!--TMPL_IF NAME="opduplicate"--> onclick="this.value=''"<!-- /TMPL_IF --> />
719 <!-- TMPL_IF NAME="mandatoryaltcontactphone" --><span class="required">Required</span><!-- /TMPL_IF -->
725 <!-- TMPL_IF NAME="I" -->
726 <!-- TMPL_IF NAME="memberofinstution" -->
727 <fieldset class="rows" id="memberentry_organisation">
728 <legend>Organizations</legend><ol>
730 <!-- TMPL_IF NAME="mandatoryphone" -->
731 <label for="organisations" class="required">
733 <label for="organisations">
735 Organization(s): </label>
736 <!-- TMPL_VAR NAME="CGIorganisations" -->
737 <!-- TMPL_IF NAME="mandatoryphone" --><span class="required">Required</span><!-- /TMPL_IF -->
745 <!--TMPL_IF Name="step_3"-->
747 <fieldset class="rows" id="memberentry_library_management">
748 <legend>Library Management</legend><ol>
749 <li> <!-- TMPL_IF NAME="mandatorycardnumber" -->
750 <label for="cardnumber" class="required">
752 <label for="cardnumber">
754 Card number: </label>
755 <input type="text" id="cardnumber" name="cardnumber" size="20" value="<!-- TMPL_IF NAME="opduplicate" --><!--TMPL_ELSE--><!-- TMPL_VAR NAME="cardnumber" --><!-- /TMPL_IF -->" />
756 <!-- TMPL_IF NAME="mandatorycardnumber" --><span class="required">Required</span><!-- /TMPL_IF --></li>
758 <!-- TMPL_IF NAME="mandatorybranchcode" -->
759 <label for="branchcode" class="required">
761 <label for="branchcode">
764 <!-- TMPL_VAR NAME="CGIbranch" -->
765 <!-- TMPL_IF NAME="mandatorybranchcode" --><span class="required">Required</span><!-- /TMPL_IF -->
768 <label for="categorycode">Category: </label>
769 <select id="categorycode" name="categorycode">
770 <!-- TMPL_LOOP NAME="typeloop" -->
771 <!-- TMPL_LOOP NAME="categoryloop" -->
772 <!-- TMPL_IF NAME="__first__" -->
773 <!-- TMPL_IF NAME="typename_C" --><optgroup label="Child"><!-- /TMPL_IF -->
774 <!-- TMPL_IF NAME="typename_A" --><optgroup label="Adult"><!-- /TMPL_IF -->
775 <!-- TMPL_IF NAME="typename_S" --><optgroup label="Staff"><!-- /TMPL_IF -->
776 <!-- TMPL_IF NAME="typename_I" --><optgroup label="Organization"><!-- /TMPL_IF -->
777 <!-- TMPL_IF NAME="typename_P" --><optgroup label="Professional"><!-- /TMPL_IF -->
778 <!-- TMPL_IF NAME="typename_X" --><optgroup label="Statistical"><!-- /TMPL_IF -->
780 <!-- TMPL_IF NAME="categorycodeselected" -->
781 <option value="<!-- TMPL_VAR NAME="categorycode" -->" selected="selected"><!-- TMPL_VAR NAME="categoryname" --></option>
783 <option value="<!-- TMPL_VAR NAME="categorycode" -->"><!-- TMPL_VAR NAME="categoryname" --></option>
785 <!-- TMPL_IF NAME="__last__" -->
793 <!-- TMPL_IF NAME="mandatorysort1" -->
794 <label for="sort1" class="required">
799 <!--TMPL_IF NAME="CGIsort1" -->
800 <!-- TMPL_VAR NAME="CGIsort1" -->
802 <input type="text" id="sort1" name="sort1" size="20" value="<!-- TMPL_VAR NAME="sort1" -->" />
803 <!-- TMPL_IF NAME="mandatorysort1" --><span class="required">Required</span><!-- /TMPL_IF -->
807 <!-- TMPL_IF NAME="mandatorysort2" -->
808 <label for="sort2" class="required">
813 <!--TMPL_IF NAME="CGIsort2" -->
814 <!-- TMPL_VAR NAME="CGIsort2" -->
816 <input type="text" id="sort2" name="sort2" size="20" value="<!-- TMPL_VAR NAME="sort2" -->"<!--TMPL_IF NAME="opduplicate"--> onclick="this.value=''"<!-- /TMPL_IF --> />
817 <!-- TMPL_IF NAME="mandatorysort2" --><span class="required">Required</span><!-- /TMPL_IF -->
822 <fieldset class="rows" id="memberentry_subscription">
823 <legend>Library set-up</legend><ol>
825 <!-- TMPL_IF NAME="mandatorydateenrolled" -->
826 <label for="dateenrolled" class="required">
828 <label for="dateenrolled">
830 Registration date: </label>
831 <input type="text" id="dateenrolled" name="dateenrolled" maxlength="10" size="10" <!-- TMPL_IF NAME="metric" -->onchange="CheckDate(document.form.dateenrolled);check_manip_date('verify');"<!-- /TMPL_IF--> value="<!-- TMPL_VAR NAME="dateenrolled" -->" />
832 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="dateenrolled_button" alt="Show Calendar" />
833 <script language="JavaScript" type="text/javascript">
836 inputField : "dateenrolled",
837 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
838 button : "dateenrolled_button"
842 <!-- TMPL_IF NAME="mandatorydateenrolled" --><span class="required">Required</span><!-- /TMPL_IF -->
843 <!-- TMPL_IF NAME="ERROR_dateenrolled" --><span class="required">(Error)</span><!-- /TMPL_IF -->
844 <div class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></div>
847 <!-- TMPL_IF NAME="mandatorydateexpiry" -->
848 <label for="dateexpiry" class="required">
850 <label for="dateexpiry">
852 Expiry date (leave blank for auto calc) </label>
853 <input type="text" id="dateexpiry" name="dateexpiry" maxlength="10" size="10" <!-- TMPL_IF NAME="metric" -->onchange="CheckDate(document.form.dateexpiry);check_manip_date('verify');"<!-- /TMPL_IF--> value="<!-- TMPL_UNLESS NAME="opadd" --><!-- TMPL_VAR NAME="dateexpiry" --><!-- /TMPL_UNLESS -->" />
854 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="dateexpiry_button" alt="Show Calendar" />
855 <script language="JavaScript" type="text/javascript">
858 inputField : "dateexpiry",
859 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
860 button : "dateexpiry_button"
864 <!-- TMPL_IF NAME="mandatorydateexpiry" --><span class="required">Required</span><!-- /TMPL_IF -->
865 <!-- TMPL_IF NAME="ERROR_dateexpiry" --><span class="required">(Error)</span><!-- /TMPL_IF -->
866 <div class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></div>
869 <!-- TMPL_IF NAME="mandatoryopacnote" -->
870 <label for="opacnote" class="required">
872 <label for="opacnote">
875 <textarea id="opacnote" name="opacnote" cols="55" rows="5"><!-- TMPL_VAR NAME="opacnote" --></textarea>
876 <div class="hint">This message appears on this patron's user page in the OPAC</div>
877 <!-- TMPL_IF NAME="mandatoryopacnote" --><span class="required">Required</span><!-- /TMPL_IF -->
880 <!-- TMPL_IF NAME="mandatoryborrowernotes" -->
881 <label for="borrowernotes" class="required">
883 <label for="borrowernotes">
885 Circulation note: </label>
886 <textarea id="borrowernotes" name="borrowernotes" cols="55" rows="5"><!-- TMPL_VAR NAME="borrowernotes" --></textarea>
887 <div class="hint">This message displays when checking out to this patron</div>
888 <!-- TMPL_IF NAME="mandatoryborrowernotes" --><span class="required">Required</span><!-- /TMPL_IF -->
892 <fieldset class="rows" id="memberentry_userid">
893 <legend>OPAC login</legend><ol>
895 <!-- TMPL_IF NAME="mandatoryuserid" -->
896 <label for="userid" class="required">
902 <!-- TMPL_IF NAME="NoUpdateLogin" -->
903 <input type="text" id="userid" name="userid" size="20" disabled="disabled" value="<!-- TMPL_IF NAME="opduplicate" --><!--TMPL_ELSE--><!-- TMPL_VAR NAME="userid" --><!-- /TMPL_IF -->" />
905 <input type="text" id="userid" name="userid" size="20" value="<!-- TMPL_IF NAME="opduplicate" --><!--TMPL_ELSE--><!-- TMPL_VAR NAME="userid" --><!-- /TMPL_IF -->" />
908 <!-- TMPL_IF NAME="mandatoryuserid" --><span class="required">Required</span><!-- /TMPL_IF -->
911 <!-- TMPL_IF NAME="mandatorypassword" -->
912 <label for="password" class="required">
914 <label for="password">
917 <!--TMPL_IF NAME="opadd"-->
918 <!-- TMPL_IF NAME="NoUpdateLogin" -->
919 <input type="text" id="password" name="password" size="20" disabled="disabled" value="<!-- TMPL_IF NAME="opduplicate" --><!--TMPL_ELSE--><!-- TMPL_VAR NAME="password" --><!-- /TMPL_IF -->" />
921 <input type="text" id="password" name="password" size="20" value="<!-- TMPL_IF NAME="opduplicate" --><!--TMPL_ELSE--><!-- TMPL_VAR NAME="password" --><!-- /TMPL_IF -->" />
924 <!--TMPL_IF NAME="password"-->
925 <!-- TMPL_IF NAME="NoUpdateLogin" -->
926 <input type="text" id="password" name="password" size="20" disabled="disabled" value="****" />
928 <input type="text" id="password" name="password" size="20" value="<!-- TMPL_IF NAME="opduplicate" --><!--TMPL_ELSE-->****<!-- /TMPL_IF -->" />
931 <!-- TMPL_IF NAME="NoUpdateLogin" -->
932 <input type="text" id="password" name="password" size="20" disabled="disabled" value="" />
934 <input type="text" id="password" name="password" size="20" value="" />
938 <!-- TMPL_IF NAME="mandatorypassword" --><span class="required">Required</span><!-- /TMPL_IF --><!-- TMPL_IF NAME="ERROR_short_password" --><span class="required">Password is too short</span><!-- /TMPL_IF -->
939 <!-- TMPL_IF NAME="minPasswordLength" --><div class="hint">Minimum password length: <!-- TMPL_VAR NAME="minPasswordLength" --></div><!-- /TMPL_IF -->
942 <!--this zones are not necessary in modif mode -->
943 <!-- TMPL_UNLESS NAME="opadd" -->
944 <fieldset class="rows">
945 <legend>Patron Account Flags</legend>
947 <!-- TMPL_LOOP NAME="flagloop" -->
948 <li><label class="radio" for="yes<!-- TMPL_VAR name="name" -->">
949 <!-- TMPL_IF EXPR="key eq 'gonenoaddress'" -->Gone no Address:<!-- /TMPL_IF -->
950 <!-- TMPL_IF EXPR="key eq 'debarred'" -->Debarred:<!-- /TMPL_IF -->
951 <!-- TMPL_IF EXPR="key eq 'lost'" -->Lost Card:<!-- /TMPL_IF -->
953 <label for="yes<!-- TMPL_VAR NAME="name" -->">Yes </label>
954 <!-- TMPL_IF NAME="yes" -->
955 <input type="radio" id="yes<!-- TMPL_VAR NAME="name" -->" name="<!-- TMPL_VAR NAME="name" -->" value="1" checked="checked" />
957 <input type="radio" id="yes<!-- TMPL_VAR NAME="name" -->" name="<!-- TMPL_VAR NAME="name" -->" value="1" />
959 <label for="no<!-- TMPL_VAR NAME="name" -->">No </label>
960 <!-- TMPL_IF NAME="no" -->
961 <input type="radio" id="no<!-- TMPL_VAR NAME="name" -->" name="<!-- TMPL_VAR NAME="name" -->" value="0" checked="checked"/>
963 <input type="radio" id="no<!-- TMPL_VAR NAME="name" -->" name="<!-- TMPL_VAR NAME="name" -->" value="0" />
970 <!-- /TMPL_UNLESS -->
974 <!-- TMPL_IF NAME="step_4" --><!-- TMPL_IF NAME="ExtendedPatronAttributes" --><!-- TMPL_UNLESS NAME="no_patron_attribute_types" -->
975 <fieldset class="rows" id="memberentry_patron_attributes">
976 <input type="hidden" name="setting_extended_patron_attributes" value="1" />
977 <legend>Additional attributes and identifiers</legend>
981 <th colspan="2">Value</th>
983 <!-- TMPL_LOOP NAME='patron_attributes' -->
985 <td><!-- TMPL_VAR NAME="code" --> (<!-- TMPL_VAR NAME="description" -->)
988 <input type="hidden" id="<!-- TMPL_VAR NAME="form_id" -->_code" name="<!-- TMPL_VAR NAME="form_id" -->_code" value="<!-- TMPL_VAR NAME="code" ESCAPE="HTML" -->" />
989 <!-- TMPL_IF NAME="use_dropdown" -->
990 <select id="<!-- TMPL_VAR NAME="form_id" -->" name="<!-- TMPL_VAR NAME="form_id" -->">
992 <!-- TMPL_LOOP NAME="auth_val_loop" -->
993 <!-- TMPL_IF NAME="selected" -->
994 <option value="<!-- TMPL_VAR NAME="authorised_value" -->" selected="selected">
995 <!-- TMPL_VAR NAME="lib" -->
998 <option value="<!-- TMPL_VAR NAME="authorised_value" -->" >
999 <!-- TMPL_VAR NAME="lib" -->
1005 <input type="text" maxlength="64" value="<!-- TMPL_VAR NAME="value" -->"
1006 id="<!-- TMPL_VAR NAME="form_id" -->" name="<!-- TMPL_VAR NAME="form_id" -->"<!--TMPL_IF NAME="opduplicate"--> onclick="this.value=''"<!-- /TMPL_IF --> />
1008 <!-- TMPL_IF NAME="password_allowed" -->
1009 (Password: <input type="password" maxlength="64" value="<!-- TMPL_VAR NAME="password" -->"
1010 id="<!-- TMPL_VAR NAME="form_id" -->_password" name="<!-- TMPL_VAR NAME="form_id" -->_password" />)
1014 <a href="#" onclick="clear_entry(this); return false;">Clear</a>
1015 <!-- TMPL_IF NAME="repeatable" -->
1016 <a href="#" onclick="clone_entry(this); return false;">New</a>
1023 <!-- /TMPL_IF--><!-- /TMPL_IF --><!-- /TMPL_UNLESS -->
1025 <!-- TMPL_IF NAME="step_5" --><!-- TMPL_IF NAME="EnhancedMessagingPreferences" -->
1026 <fieldset class="rows" id="memberentry_messaging_prefs">
1027 <!-- TMPL_IF NAME="opadd" -->
1028 <!-- handle changing prefs if creating new patron and changing
1031 <script language="javascript" type="text/javascript">//<![CDATA[
1032 $(document).ready(function(){
1033 var message_prefs_dirty = false;
1034 $('#memberentry_messaging_prefs > *').change(function() {
1035 message_prefs_dirty = true;
1037 $('#categorycode').change(function() {
1038 var categorycode = $(this).val();
1039 if (message_prefs_dirty) {
1040 if (!confirm('Change messaging preferences to default for this category?')) {
1044 $.getJSON('/cgi-bin/koha/members/default_messageprefs.pl?categorycode=' + categorycode,
1046 $.each(data.messaging_preferences, function(i, item) {
1047 var attrid = item.message_attribute_id;
1048 var transports = ['email', 'rss', 'sms'];
1049 $.each(transports, function(j, transport) {
1050 if (item['transport-' + transport] != ' ') {
1051 $('#' + transport + attrid).attr('checked', item['transport-' + transport]);
1053 $('#' + transport + attrid).removeAttr('checked');
1056 if (item.digest && item.digest != ' ') {
1057 $('#digest' + attrid).attr('checked', item.digest);
1059 $('#digest' + attrid).removeAttr('checked');
1061 if (item.takes_days == '1') {
1062 $('[name=' + attrid + '-DAYS]').val('' + item.days_in_advance);
1065 message_prefs_dirty = false;
1073 <input type="hidden" name="setting_messaging_prefs" value="1" />
1074 <legend>Patron messaging preferences</legend>
1075 <!-- TMPL_INCLUDE NAME="messaging-preference-form.inc" -->
1076 <!-- TMPL_IF NAME="SMSSendDriver" -->
1077 <p><label for="SMSnumber">SMS number:</label>
1078 <input type="text" id="SMSnumber" name="SMSnumber" value="<!-- TMPL_VAR NAME="SMSnumber" -->"<!--TMPL_IF NAME="opduplicate"--> onclick="this.value=''"<!-- /TMPL_IF --> />
1082 <!-- /TMPL_IF --> <!-- /TMPL_IF -->
1084 <fieldset class="action">
1085 <input type="submit" name="save" onclick="return check_form_borrowers();" value="Save" />
1086 <!-- TMPL_IF NAME="opadd" -->
1087 <a class="cancel" href="/cgi-bin/koha/members/member.pl">Cancel</a>
1089 <a class="cancel" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">Cancel</a>
1097 <!-- TMPL_UNLESS NAME="opadd" --><div class="yui-b">
1098 <!-- TMPL_INCLUDE NAME="members-menu.inc" -->
1099 </div><!-- /TMPL_UNLESS -->
1100 <!-- /TMPL_UNLESS -->
1102 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->