1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha › Patrons ›
3 <!-- TMPL_IF NAME="opadd" --> Add<!-- 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>Modify<!--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>
77 <!-- TMPL_IF NAME="opadd" --><div id="doc" class="yui-t7"><!-- TMPL_ELSE --><div id="doc3" class="yui-t2"><!-- /TMPL_IF -->
84 <!-- TMPL_IF NAME="opadd" -->
86 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" -->
90 Modify<!--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 -->
91 <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR NAME="surname" -->
95 <!-- TMPL_IF NAME="check_member" -->
97 <form name="form_double" action="/cgi-bin/koha/members/memberentry.pl" method="post">
98 <div class="dialog alert">
99 <h3>Duplicate suspected</h3>
100 <a href="javascript:Dopop('borrowers_details.pl?borrowernumber=<!--TMPL_VAR NAME="check_member"-->');" >Detail</a>
102 <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&borrowernumber=<!--TMPL_VAR NAME="check_member"-->&category_type=<!--TMPL_VAR NAME="check_categorytype"-->">Yes</a>
103 No, it is not
104 <!-- TMPL_IF NAME="checked"-->
105 <input type="checkbox" checked="checked" name="answernodouble" >
107 <input type="checkbox" name="answernodouble" />
114 <!-- TMPL_IF Name="debug" -->
116 <div>Debug is on (level <!-- TMPL_VAR NAME="debug" -->)</div>
119 <!-- TMPL_IF Name="nok" -->
120 <div class="dialog alert">
121 <p>The following fields are wrong. Please fix them.</p>
123 <!-- TMPL_IF NAME="ERROR_login_exist" -->
124 <li id="ERROR_login_exist">Login/password already exists.</li>
126 <!-- TMPL_IF NAME="ERROR_cardnumber" -->
127 <li id="ERROR_cardnumber">Cardnumber already in use.</li>
129 <!-- TMPL_IF NAME="ERROR_age_limitations" -->
130 <li id="ERROR_age_limitations">Patron's age is incorrect for their category.
131 Ages allowed are <!-- TMPL_VAR NAME="ERROR_age_limitations"-->.</li>
133 <!-- TMPL_IF NAME="ERROR_branch" -->
134 <li id="ERROR_branch">Library is invalid.</li>
136 <!-- TMPL_IF NAME="ERROR_dateofbirth" -->
137 <li id="ERROR_dateofbirth">Date of birth is invalid.</li>
139 <!-- TMPL_IF NAME="ERROR_dateenrolled" -->
140 <li id="ERROR_dateenrolled">Date of enrollment is invalid.</li>
142 <!-- TMPL_IF NAME="ERROR_dateexpiry" -->
143 <li id="ERROR_dateexpiry">Date of expiration is invalid.</li>
145 <!-- TMPL_IF NAME="ERROR_short_password" -->
146 <li id="ERROR_short_password">Password must be at least <!-- TMPL_VAR NAME="minPasswordLength" --> characters long.</li>
148 <!-- TMPL_IF NAME="ERROR_extended_unique_id_failed" -->
149 <li id="ERROR_extended_unique_id_failed">The attribute value
150 <!-- TMPL_VAR NAME="ERROR_extended_unique_id_failed" --> is already is use by another patron record.</li>
157 <form name="form" id="entryform" action="/cgi-bin/koha/members/memberentry.pl" method="post">
158 <!-- field always hidden in different form (1,2,3) -->
159 <input type="hidden" name="BorrowerMandatoryField" value="<!--TMPL_VAR NAME="BorrowerMandatoryField"-->" />
160 <input type="hidden" name="category_type" value="<!-- TMPL_VAR name="category_type" -->" />
161 <input type="hidden" name="updtype" value="<!-- TMPL_VAR NAME="updtype" -->" />
162 <input type="hidden" name="select_roadtype" value="<!-- TMPL_VAR NAME="select_roadtype" -->" />
163 <input type="hidden" name="destination" value="<!-- TMPL_VAR NAME="destination" -->" />
164 <input type="hidden" name="check_member" value="<!-- TMPL_VAR NAME="check_member" -->" />
165 <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
166 <input type="hidden" name="nodouble" value="<!-- TMPL_VAR NAME="nodouble" -->" />
167 <!--TMPL_IF Name="step"--><input type="hidden" name="step" value="<!-- TMPL_VAR NAME="step" -->" /><!--/TMPL_IF-->
168 <!-- TMPL_IF NAME="opadd" --><input type="hidden" name="op" value="insert" /><!-- TMPL_ELSE --><input type="hidden" name="op" value="save" /><!-- /TMPL_IF -->
170 <!--TMPL_IF Name="step_1"-->
171 <fieldset class="rows" id="memberentry_identity">
172 <legend><!--TMPL_IF Name="I"-->Organization <!--TMPL_ELSE-->Patron <!--/TMPL_IF-->identity</legend>
174 <!-- TMPL_UNLESS name="I" -->
175 <!-- TMPL_IF NAME="title_cgipopup" -->
177 <!-- TMPL_IF NAME="mandatorytitle" -->
178 <label for="btitle" class="required">
183 <!-- TMPL_VAR NAME="borrotitlepopup" -->
184 <!-- TMPL_IF NAME="mandatorytitle" --><span class="required">Required</span><!-- /TMPL_IF -->
187 <!-- /TMPL_UNLESS -->
189 <!-- TMPL_IF NAME="mandatorysurname" -->
190 <label for="surname" class="required">
192 <label for="surname">
195 <!-- TMPL_IF NAME="uppercasesurnames" -->
196 <input style="text-transform:uppercase;" type="text" id="surname" name="surname" size="20" value="<!-- TMPL_VAR NAME="surname" -->" />
198 <input type="text" id="surname" name="surname" size="20" value="<!-- TMPL_VAR NAME="surname" -->" />
200 <!-- TMPL_IF NAME="mandatorysurname" --><span class="required">Required</span><!-- /TMPL_IF -->
202 <!-- TMPL_UNLESS name="I" -->
204 <!-- TMPL_IF NAME="mandatoryfirstname" -->
205 <label for="firstname" class="required">
207 <label for="firstname">
210 <input type="text" id="firstname" name="firstname" size="20" value="<!-- TMPL_VAR NAME="firstname" -->" />
211 <!-- TMPL_IF NAME="mandatoryfirstname" --><span class="required">Required</span><!-- /TMPL_IF -->
214 <!-- TMPL_IF NAME="mandatorydateofbirth" -->
215 <label for="dateofbirth" class="required">
217 <label for="dateofbirth">
219 Date of birth: </label>
221 <!-- TMPL_IF NAME="metric" -->
222 <input type="text" id="dateofbirth" name="dateofbirth" size="20" onchange="CheckDate(document.form.dateofbirth);" value="<!-- TMPL_VAR NAME="dateofbirth" -->" />
224 <input type="text" id="dateofbirth" name="dateofbirth" size="20" value="<!-- TMPL_VAR NAME="dateofbirth" -->" />
227 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="dateofbirth_button" alt="Show Calendar" />
228 <script language="JavaScript" type="text/javascript">
231 inputField : "dateofbirth",
232 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
233 button : "dateofbirth_button"
237 <!-- TMPL_IF NAME="mandatorydateofbirth" --><span class="required">Required</span><!-- /TMPL_IF -->
238 <!-- TMPL_IF NAME="ERROR_dateofbirth" --><span class="required">(Error)</span><!-- /TMPL_IF -->
239 <div class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></div>
242 <!-- TMPL_IF NAME="mandatoryinitials" -->
243 <label for="initials" class="required">
245 <label for="initials">
248 <input type="text" id="initials" name="initials" size="20" value="<!-- TMPL_VAR NAME="initials" -->" />
249 <!-- TMPL_IF NAME="mandatoryinitials" --><span class="required">Required</span><!-- /TMPL_IF -->
251 <!-- /TMPL_UNLESS -->
253 <!-- TMPL_IF NAME="mandatoryothernames" -->
254 <label for="othernames" class="required">
256 <label for="othernames">
259 <input type="text" id="othernames" name="othernames" size="20" value="<!-- TMPL_VAR NAME="othernames" -->" />
260 <!-- TMPL_IF NAME="mandatoryothernames" --><span class="required">Required</span><!-- /TMPL_IF -->
261 <!-- TMPL_IF NAME="I" --><input type="hidden" name="sex" value="N" /><!-- /TMPL_IF -->
263 <!--TMPL_UNLESS Name="I"-->
266 <!-- TMPL_IF NAME="female" -->
267 <label for="sex-female">Female </label><input type="radio" name="sex" id="sex-female" value="F" checked="checked" />
269 <label for="sex-female">Female </label><input type="radio" name="sex" id="sex-female" value="F" />
271 <!-- TMPL_IF NAME="male" -->
272 <label for="sex-male">Male </label><input type="radio" name="sex" id="sex-male" value="M" checked="checked" />
274 <label for="sex-male">Male </label><input type="radio" name="sex" id="sex-male" value="M" />
276 <!-- TMPL_IF NAME="none" -->
277 <label for="sex-none">N/A </label><input type="radio" name="sex" id="sex-none" value="" checked="checked" />
279 <label for="sex-none">N/A </label><input type="radio" name="sex" id="sex-none" value="" />
286 <!--TMPL_IF Name="showguarantor"--><input type="hidden" id="guarantorid" name="guarantorid" value="<!-- TMPL_VAR NAME="guarantorid" -->" />
287 <fieldset class="rows">
288 <legend>Guarantor Information</legend>
290 <!--TMPL_IF Name="P"-->
291 <!-- TMPL_IF NAME="guarantorid" -->
292 <li id="contact-details">
294 <li id="contact-details" style="display: none">
296 <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 -->
299 <label for="contactname">Organization name: </label>
300 <!-- TMPL_IF NAME="guarantorid" -->
301 <span><!-- TMPL_VAR NAME="contactname" --></span>
302 <input name="contactname" id="contactname" type="hidden" size="20" value="<!-- TMPL_VAR NAME="contactname" -->" />
304 <input name="contactname" id="contactname" type="text" size="20" value="<!-- TMPL_VAR NAME="contactname" -->" />
308 <!-- TMPL_IF NAME="C" -->
309 <!-- TMPL_IF NAME="guarantorid" -->
310 <li id="contact-details">
312 <li id="contact-details" style="display: none">
314 <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 -->
317 <label for="contactname">Surname: </label>
318 <!-- TMPL_IF NAME="guarantorid" -->
319 <span><!-- TMPL_VAR NAME="contactname" --></span>
320 <input name="contactname" id="contactname" type="hidden" size="20" value="<!-- TMPL_VAR NAME="contactname" -->" />
322 <input name="contactname" id="contactname" type="text" size="20" value="<!-- TMPL_VAR NAME="contactname" -->" />
326 <label for="contactfirstname">First name: </label>
327 <!-- TMPL_IF NAME="guarantorid" -->
328 <span><!-- TMPL_VAR NAME="contactfirstname" --></span>
329 <input name="contactfirstname" id="contactfirstname" type="hidden" size="20" value="<!-- TMPL_VAR NAME="contactfirstname" -->" />
331 <input name="contactfirstname" id="contactfirstname" type="text" size="20" value="<!-- TMPL_VAR NAME="contactfirstname" -->" />
334 <!-- TMPL_IF name="relshiploop" -->
336 <label for="relationship">Relationship: </label>
337 <select name="relationship" id="relationship" >
338 <!-- TMPL_LOOP name="relshiploop" -->
339 <!-- TMPL_IF name="selected" -->
340 <option value="<!-- TMPL_VAR name="relationship" -->" selected="selected" ><!-- TMPL_VAR name="relationship" --></option>
342 <option value="<!-- TMPL_VAR name="relationship" -->"><!-- TMPL_VAR name="relationship" --></option>
351 <span class="label"> </span>
352 <!-- TMPL_IF NAME="guarantorid" -->
353 <input id="guarantorsearch" type="button" value="Change" onclick="Dopopguarantor('guarantor_search.pl?category_type=<!-- TMPL_VAR NAME="category_type" -->');" />
355 <input id="guarantorsearch" type="button" value="Set to Patron" onclick="Dopopguarantor('guarantor_search.pl?category_type=<!-- TMPL_VAR NAME="category_type" -->');" />
357 <input id="guarantordelete" type="button" value="Delete" />
363 <fieldset class="rows">
364 <legend>Main address</legend><ol>
366 <!-- TMPL_IF NAME="mandatorystreetnumber" -->
367 <label for="streetnumber" class="required">
369 <label for="streetnumber">
371 Street number: </label>
372 <input type="text" id="streetnumber" name="streetnumber" size="5" value="<!-- TMPL_VAR NAME="streetnumber" -->" />
373 <!-- TMPL_IF NAME="mandatorystreetnumber" --><span class="required">Required</span><!-- /TMPL_IF -->
375 <!-- TMPL_IF NAME="road_cgipopup" -->
377 <!-- TMPL_IF NAME="mandatorystreettype" -->
378 <label for="streettype" class="required">
380 <label for="streettype">
382 Street type: </label>
383 <!-- TMPL_VAR NAME="roadpopup" -->
384 <!-- TMPL_IF NAME="mandatorystreettype" --><span class="required">Required</span><!-- /TMPL_IF -->
388 <!-- TMPL_IF NAME="mandatoryaddress" -->
389 <label for="address" class="required">
391 <label for="address">
394 <input type="text" id="address" name="address" size="35" value="<!-- TMPL_VAR NAME="address" -->" />
395 <!-- TMPL_IF NAME="mandatoryaddress" --><span class="required">Required</span><!-- /TMPL_IF -->
398 <!-- TMPL_IF NAME="mandatoryaddress2" -->
399 <label for="address2" class="required">
401 <label for="address2">
404 <input type="text" id="address2" name="address2" size="35" value="<!-- TMPL_VAR NAME="address2" -->" />
405 <!-- TMPL_IF NAME="mandatoryaddress2" --><span class="required">Required</span><!-- /TMPL_IF -->
408 <!-- TMPL_IF NAME="mandatorycity" -->
409 <label for="city" class="required">
413 City, State: </label>
415 <input type="text" id="city" name="city" size="20" value="<!-- TMPL_VAR NAME="city" -->" />
416 <!-- TMPL_IF NAME="city_cgipopup" -->or <strong>choose</strong>
417 <select id="select_city" name="select_city">
418 <!-- TMPL_LOOP NAME="city_loop" -->
419 <!-- TMPL_IF NAME="selected" -->
420 <option value="<!-- TMPL_VAR NAME="city_zipcode"-->|<!-- TMPL_VAR NAME="city_name" -->" selected="selected">
422 <option value="<!-- TMPL_VAR NAME="city_zipcode"-->|<!-- TMPL_VAR NAME="city_name" -->">
424 <!-- TMPL_VAR NAME="city_name" --> <!-- TMPL_VAR NAME="city_zipcode" -->
429 <!-- TMPL_IF NAME="mandatorycity" --><span class="required">Required</span><!-- /TMPL_IF -->
432 <!-- TMPL_IF NAME="mandatoryzipcode" -->
433 <label for="zipcode" class="required">
435 <label for="zipcode">
437 Zip/Postal code: </label>
438 <input type="text" name="zipcode" id="zipcode" size="10" value="<!-- TMPL_VAR NAME="zipcode" -->" />
439 <!-- TMPL_IF NAME="mandatoryzipcode" --><span class="required">Required</span><!-- /TMPL_IF -->
443 <!-- TMPL_IF NAME="mandatorycountry" -->
444 <label for="country" class="required">
446 <label for="country">
449 <input type="text" name="country" id="country" size="20" value="<!-- TMPL_VAR NAME="country" -->" />
450 <!-- TMPL_IF NAME="mandatorycountry" --><span class="required">Required</span><!-- /TMPL_IF -->
455 <fieldset class="rows" id="memberentry_contact">
456 <legend>Contact</legend><ol>
458 <!-- TMPL_IF NAME="mandatoryphone" -->
459 <label for="phone" class="required">
463 Phone (home): </label>
464 <input type="text" id="phone" name="phone" value="<!-- TMPL_VAR NAME="phone" -->" />
465 <!-- TMPL_IF NAME="mandatoryphone" --><span class="required">Required</span><!-- /TMPL_IF --><div class="hint">Shows on transit slips</div>
469 <!-- TMPL_IF NAME="mandatoryphonepro" -->
470 <label for="phonepro" class="required">
472 <label for="phonepro">
474 Phone (work): </label>
475 <input type="text" id="phonepro" name="phonepro" value="<!-- TMPL_VAR NAME="phonepro" -->" />
476 <!-- TMPL_IF NAME="mandatoryphonepro" --><span class="required">Required</span><!-- /TMPL_IF -->
479 <!-- TMPL_IF NAME="mandatorymobile" -->
480 <label for="mobile" class="required">
484 Phone (cell): </label>
485 <input type="text" id="mobile" name="mobile" value="<!-- TMPL_VAR NAME="mobile" -->" />
486 <!-- TMPL_IF NAME="mandatorymobile" --><span class="required">Required</span><!-- /TMPL_IF -->
489 <!-- TMPL_IF NAME="mandatoryemail" -->
490 <label for="email" class="required">
494 Email (home): </label>
495 <input type="text" id="email" name="email" size="45" value="<!-- TMPL_VAR NAME="email" -->" />
496 <!-- TMPL_IF NAME="mandatoryemail" --><span class="required">Required</span><!-- /TMPL_IF --><div class="hint">Shows on transit slips</div>
500 <!-- TMPL_IF NAME="mandatoryemailpro" -->
501 <label for="emailpro" class="required">
503 <label for="emailpro">
505 Email (work): </label>
506 <input type="text" id="emailpro" name="emailpro" size="45" value="<!-- TMPL_VAR NAME="emailpro" -->" />
507 <!-- TMPL_IF NAME="mandatoryemailpro" --><span class="required">Required</span><!-- /TMPL_IF -->
510 <!-- TMPL_IF NAME="mandatoryfax" -->
511 <label for="fax" class="required">
516 <input type="text" id="fax" name="fax" value="<!-- TMPL_VAR NAME="fax" -->" />
517 <!-- TMPL_IF NAME="mandatoryfax" --><span class="required">Required</span><!-- /TMPL_IF -->
523 <!-- ************************ STEP_1 *********************** -->
525 <!--TMPL_IF Name="step_6"-->
527 <fieldset class="rows" id="memberentry_address">
528 <legend>Alternate address</legend><ol>
530 <!-- TMPL_IF NAME="mandatoryB_address" -->
531 <label for="B_address" class="required">
533 <label for="B_address">
536 <input type="text" id="B_address" name="B_address" size="40" value="<!-- TMPL_VAR NAME="B_address" -->" />
537 <!-- TMPL_IF NAME="mandatoryB_address" --><span class="required">Required</span><!-- /TMPL_IF -->
540 <!-- TMPL_IF NAME="mandatoryB_address2" -->
541 <label for="B_address2" class="required">
543 <label for="B_address2">
546 <input type="text" id="B_address2" name="B_address2" size="40" value="<!-- TMPL_VAR NAME="B_address2" -->" />
547 <!-- TMPL_IF NAME="mandatoryB_address2" --><span class="required">Required</span><!-- /TMPL_IF -->
550 <!-- TMPL_IF NAME="mandatoryB_city" -->
551 <label for="B_city" class="required" >
555 City, State: </label>
556 <input type="text" id="B_city" name="B_city" size="20" value="<!-- TMPL_VAR NAME="B_city" -->" />
557 <!-- TMPL_IF NAME="mandatoryB_city" --><span class="required">Required</span><!-- /TMPL_IF -->
560 <!-- TMPL_IF NAME="mandatoryB_zipcode" -->
561 <label for="B_zipcode" class="required">
563 <label for="B_zipcode">
565 Zip/Postal code: </label>
566 <input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="<!-- TMPL_VAR NAME="B_zipcode" -->" />
567 <!-- TMPL_IF NAME="mandatoryB_zipcode" --><span class="required">Required</span><!-- /TMPL_IF -->
570 <!-- TMPL_IF NAME="mandatoryB_country" -->
571 <label for="B_country" class="required">
573 <label for="B_country">
576 <input type="text" id="B_country" name="B_country" size="20" value="<!-- TMPL_VAR NAME="B_country" -->" />
577 <!-- TMPL_IF NAME="mandatoryB_country" --><span class="required">Required</span><!-- /TMPL_IF -->
580 <!-- TMPL_IF NAME="mandatoryB_phone" -->
581 <label for="B_phone" class="required">
583 <label for="B_phone">
586 <input type="text" id="B_phone" name="B_phone" value="<!-- TMPL_VAR NAME="B_phone" -->" />
587 <!-- TMPL_IF NAME="mandatoryB_phone" --><span class="required">Required</span><!-- /TMPL_IF -->
590 <!-- TMPL_IF NAME="mandatoryB_email" -->
591 <label for="B_email" class="required">
593 <label for="B_email">
596 <input type="text" id="B_email" name="B_email" size="45" value="<!-- TMPL_VAR NAME="B_email" -->" />
597 <!-- TMPL_IF NAME="mandatoryB_email" --><span class="required">Required</span><!-- /TMPL_IF --> </li>
599 <!-- TMPL_IF NAME="mandatorycontactnote" -->
600 <label for="contactnote" class="required">
602 <label for="contactnote">
604 Contact note: </label>
605 <textarea id="contactnote" name="contactnote" cols="40" rows="2"><!-- TMPL_VAR NAME="contactnote" --></textarea>
606 <!-- TMPL_IF NAME="mandatorycontactnote" --><span class="required">Required</span><!-- /TMPL_IF -->
611 <!--TMPL_IF Name="step_2"-->
612 <fieldset class="rows" id="memberentry_altaddress">
613 <legend>Alternate Contact</legend><ol>
615 <!-- TMPL_IF NAME="mandatoryaltcontactsurname" -->
616 <label for="altcontactsurname" class="required">
618 <label for="altcontactsurname">
621 <input type="text" name="altcontactsurname" id="altcontactsurname" value="<!-- TMPL_VAR NAME="altcontactsurname" -->" />
622 <!-- TMPL_IF NAME="mandatoryaltcontactsurname" --><span class="required">Required</span><!-- /TMPL_IF -->
625 <!-- TMPL_IF NAME="mandatoryaltcontactfirstname" -->
626 <label for="altcontactfirstname" class="required">
628 <label for="altcontactfirstname">
631 <input type="text" name="altcontactfirstname" id="altcontactfirstname" value="<!-- TMPL_VAR NAME="altcontactfirstname" -->" />
632 <!-- TMPL_IF NAME="mandatoryaltcontactfirstname" --><span class="required">Required</span><!-- /TMPL_IF -->
635 <!-- TMPL_IF NAME="mandatoryaltcontactaddress1" -->
636 <label for="altcontactaddress1" class="required">
638 <label for="altcontactaddress1">
641 <input type="text" name="altcontactaddress1" id="altcontactaddress1" value="<!-- TMPL_VAR NAME="altcontactaddress1" -->" size="40" />
642 <!-- TMPL_IF NAME="mandatoryaltcontactaddress1" --><span class="required">Required</span><!-- /TMPL_IF -->
645 <!-- TMPL_IF NAME="mandatoryaltcontactaddress2" -->
646 <label for="altcontactaddress2" class="required">
648 <label for="altcontactaddress2">
651 <input type="text" name="altcontactaddress2" id="altcontactaddress2" value="<!-- TMPL_VAR NAME="altcontactaddress2" -->" size="40" />
652 <!-- TMPL_IF NAME="mandatoryaltcontactaddress2" --><span class="required">Required</span><!-- /TMPL_IF -->
655 <!-- TMPL_IF NAME="mandatoryaltcontactaddress3" -->
656 <label for="altcontactaddress3" class="required">
658 <label for="altcontactaddress3">
661 <input type="text" name="altcontactaddress3" id="altcontactaddress3" value="<!-- TMPL_VAR NAME="altcontactaddress3" -->" size="40" />
662 <!-- TMPL_IF NAME="mandatoryaltcontactaddress3" --><span class="required">Required</span><!-- /TMPL_IF -->
665 <!-- TMPL_IF NAME="mandatoryaltcontactzipcode" -->
666 <label for="altcontactzipcode" class="required">
668 <label for="altcontactzipcode">
670 Zip/Postal code:</label>
671 <input type="text" name="altcontactzipcode" id="altcontactzipcode" value="<!-- TMPL_VAR NAME="altcontactzipcode" -->" size="5" />
672 <!-- TMPL_IF NAME="mandatoryaltcontactzipcode" --><span class="required">Required</span><!-- /TMPL_IF -->
675 <!-- TMPL_IF NAME="mandatoryaltcontactcountry" -->
676 <label for="altcontactcountry" class="required">
678 <label for="altcontactcountry">
681 <input type="text" name="altcontactcountry" id="altcontactcountry" value="<!-- TMPL_VAR NAME="altcontactcountry" -->" size="20" />
682 <!-- TMPL_IF NAME="mandatoryaltcontactcountry" --><span class="required">Required</span><!-- /TMPL_IF -->
685 <!-- TMPL_IF NAME="mandatoryaltcontactphone" -->
686 <label for="altcontactphone" class="required">
688 <label for="altcontactphone">
691 <input type="text" name="altcontactphone" id="altcontactphone" value="<!-- TMPL_VAR NAME="altcontactphone" -->" />
692 <!-- TMPL_IF NAME="mandatoryaltcontactphone" --><span class="required">Required</span><!-- /TMPL_IF -->
698 <!-- TMPL_IF NAME="I" -->
699 <!-- TMPL_IF NAME="memberofinstution" -->
700 <fieldset class="rows" id="memberentry_organisation">
701 <legend>Organizations</legend><ol>
703 <!-- TMPL_IF NAME="mandatoryphone" -->
704 <label for="organisations" class="required">
706 <label for="organisations">
708 Organization(s): </label>
709 <!-- TMPL_VAR NAME="CGIorganisations" -->
710 <!-- TMPL_IF NAME="mandatoryphone" --><span class="required">Required</span><!-- /TMPL_IF -->
718 <!--TMPL_IF Name="step_3"-->
720 <fieldset class="rows" id="memberentry_library_management">
721 <legend>Library Management</legend><ol>
722 <li> <!-- TMPL_IF NAME="mandatorycardnumber" -->
723 <label for="cardnumber" class="required">
725 <label for="cardnumber">
727 Card number: </label>
728 <input type="text" id="cardnumber" name="cardnumber" size="20" value="<!-- TMPL_VAR NAME="cardnumber" -->" />
729 <!-- TMPL_IF NAME="mandatorycardnumber" --><span class="required">Required</span><!-- /TMPL_IF --></li>
731 <!-- TMPL_IF NAME="mandatorybranchcode" -->
732 <label for="branchcode" class="required">
734 <label for="branchcode">
737 <!-- TMPL_VAR NAME="CGIbranch" -->
738 <!-- TMPL_IF NAME="mandatorybranchcode" --><span class="required">Required</span><!-- /TMPL_IF -->
741 <!-- TMPL_IF NAME="typeloop" -->
742 <label for="categorycode">Category: </label>
743 <select id="categorycode" name="categorycode">
744 <!-- TMPL_LOOP NAME="typeloop" -->
745 <!-- TMPL_LOOP NAME="categoryloop" -->
746 <!-- TMPL_IF NAME="__first__" -->
747 <!-- TMPL_IF NAME="typename_C" --><optgroup label="Child"><!-- /TMPL_IF -->
748 <!-- TMPL_IF NAME="typename_A" --><optgroup label="Adult"><!-- /TMPL_IF -->
749 <!-- TMPL_IF NAME="typename_S" --><optgroup label="Staff"><!-- /TMPL_IF -->
750 <!-- TMPL_IF NAME="typename_I" --><optgroup label="Organization"><!-- /TMPL_IF -->
751 <!-- TMPL_IF NAME="typename_P" --><optgroup label="Professional"><!-- /TMPL_IF -->
752 <!-- TMPL_IF NAME="typename_X" --><optgroup label="Statistical"><!-- /TMPL_IF -->
754 <!-- TMPL_IF NAME="categorycodeselected" -->
755 <option value="<!-- TMPL_VAR NAME="categorycode" -->" selected="selected"><!-- TMPL_VAR NAME="categoryname" --></option>
757 <option value="<!-- TMPL_VAR NAME="categorycode" -->"><!-- TMPL_VAR NAME="categoryname" --></option>
759 <!-- TMPL_IF NAME="__last__" -->
766 <span class="problem">There is no category type to add <!--TMPL_IF Name="A"-->an Adult<!--/TMPL_IF--><!--TMPL_IF Name="C"-->a Child<!--/TMPL_IF--><!--TMPL_IF Name="I"-->an Institution<!--/TMPL_IF--><!--TMPL_IF Name="P"-->a Professional<!--/TMPL_IF--><!--TMPL_IF Name="S"-->a Staff Member<!--/TMPL_IF-->.</span>
767 <a href="/cgi-bin/koha/admin/categorie.pl">Please create one</a>
771 <!-- TMPL_IF NAME="mandatorysort1" -->
772 <label for="sort1" class="required">
777 <!--TMPL_IF NAME="CGIsort1" -->
778 <!-- TMPL_VAR NAME="CGIsort1" -->
780 <input type="text" id="sort1" name="sort1" size="20" value="<!-- TMPL_VAR NAME="sort1" -->" />
781 <!-- TMPL_IF NAME="mandatorysort1" --><span class="required">Required</span><!-- /TMPL_IF -->
785 <!-- TMPL_IF NAME="mandatorysort2" -->
786 <label for="sort2" class="required">
791 <!--TMPL_IF NAME="CGIsort2" -->
792 <!-- TMPL_VAR NAME="CGIsort2" -->
794 <input type="text" id="sort2" name="sort2" size="20" value="<!-- TMPL_VAR NAME="sort2" -->" />
795 <!-- TMPL_IF NAME="mandatorysort2" --><span class="required">Required</span><!-- /TMPL_IF -->
800 <fieldset class="rows" id="memberentry_subscription">
801 <legend>Library set-up</legend><ol>
803 <!-- TMPL_IF NAME="mandatorydateenrolled" -->
804 <label for="dateenrolled" class="required">
806 <label for="dateenrolled">
808 Registration date: </label>
809 <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" -->" />
810 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="dateenrolled_button" alt="Show Calendar" />
811 <script language="JavaScript" type="text/javascript">
814 inputField : "dateenrolled",
815 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
816 button : "dateenrolled_button"
820 <!-- TMPL_IF NAME="mandatorydateenrolled" --><span class="required">Required</span><!-- /TMPL_IF -->
821 <!-- TMPL_IF NAME="ERROR_dateenrolled" --><span class="required">(Error)</span><!-- /TMPL_IF -->
822 <div class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></div>
825 <!-- TMPL_IF NAME="mandatorydateexpiry" -->
826 <label for="dateexpiry" class="required">
828 <label for="dateexpiry">
830 Expiry date (leave blank for auto calc) </label>
831 <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 -->" />
832 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="dateexpiry_button" alt="Show Calendar" />
833 <script language="JavaScript" type="text/javascript">
836 inputField : "dateexpiry",
837 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
838 button : "dateexpiry_button"
842 <!-- TMPL_IF NAME="mandatorydateexpiry" --><span class="required">Required</span><!-- /TMPL_IF -->
843 <!-- TMPL_IF NAME="ERROR_dateexpiry" --><span class="required">(Error)</span><!-- /TMPL_IF -->
844 <div class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></div>
847 <!-- TMPL_IF NAME="mandatoryopacnote" -->
848 <label for="opacnote" class="required">
850 <label for="opacnote">
853 <textarea id="opacnote" name="opacnote" cols="55" rows="5"><!-- TMPL_VAR NAME="opacnote" --></textarea>
854 <div class="hint">This message appears on this patron's user page in the OPAC</div>
855 <!-- TMPL_IF NAME="mandatoryopacnote" --><span class="required">Required</span><!-- /TMPL_IF -->
858 <!-- TMPL_IF NAME="mandatoryborrowernotes" -->
859 <label for="borrowernotes" class="required">
861 <label for="borrowernotes">
863 Circulation note: </label>
864 <textarea id="borrowernotes" name="borrowernotes" cols="55" rows="5"><!-- TMPL_VAR NAME="borrowernotes" --></textarea>
865 <div class="hint">This message displays when checking out to this patron</div>
866 <!-- TMPL_IF NAME="mandatoryborrowernotes" --><span class="required">Required</span><!-- /TMPL_IF -->
870 <fieldset class="rows" id="memberentry_userid">
871 <legend>OPAC login</legend><ol>
873 <!-- TMPL_IF NAME="mandatoryuserid" -->
874 <label for="userid" class="required">
880 <!-- TMPL_IF NAME="NoUpdateLogin" -->
881 <input type="text" id="userid" name="userid" size="20" disabled="disabled" value="<!-- TMPL_VAR NAME="userid" -->" />
883 <input type="text" id="userid" name="userid" size="20" value="<!-- TMPL_VAR NAME="userid" -->" />
886 <!-- TMPL_IF NAME="mandatoryuserid" --><span class="required">Required</span><!-- /TMPL_IF -->
889 <!-- TMPL_IF NAME="mandatorypassword" -->
890 <label for="password" class="required">
892 <label for="password">
895 <!--TMPL_IF NAME="opadd"-->
896 <!-- TMPL_IF NAME="NoUpdateLogin" -->
897 <input type="text" id="password" name="password" size="20" disabled="disabled" value="<!-- TMPL_VAR NAME="password" -->" />
899 <input type="text" id="password" name="password" size="20" value="<!-- TMPL_VAR NAME="password" -->" />
902 <!--TMPL_IF NAME="password"-->
903 <!-- TMPL_IF NAME="NoUpdateLogin" -->
904 <input type="text" id="password" name="password" size="20" disabled="disabled" value="****" />
906 <input type="text" id="password" name="password" size="20" value="****" />
909 <!-- TMPL_IF NAME="NoUpdateLogin" -->
910 <input type="text" id="password" name="password" size="20" disabled="disabled" value="" />
912 <input type="text" id="password" name="password" size="20" value="" />
916 <!-- 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 -->
917 <!-- TMPL_IF NAME="minPasswordLength" --><div class="hint">Minimum password length: <!-- TMPL_VAR NAME="minPasswordLength" --></div><!-- /TMPL_IF -->
920 <!--this zones are not necessary in modif mode -->
921 <!-- TMPL_UNLESS NAME="opadd" -->
922 <fieldset class="rows">
923 <legend>Patron Account Flags</legend>
925 <!-- TMPL_LOOP NAME="flagloop" -->
926 <li><label class="radio" for="yes<!-- TMPL_VAR name="name" -->">
927 <!-- TMPL_IF EXPR="key eq 'gonenoaddress'" -->Gone no Address:<!-- /TMPL_IF -->
928 <!-- TMPL_IF EXPR="key eq 'debarred'" -->Debarred:<!-- /TMPL_IF -->
929 <!-- TMPL_IF EXPR="key eq 'lost'" -->Lost Card:<!-- /TMPL_IF -->
932 <label for="yes<!-- TMPL_VAR NAME="name" -->">Yes </label>
933 <!-- TMPL_IF NAME="yes" -->
934 <input type="radio" id="yes<!-- TMPL_VAR NAME="name" -->" name="<!-- TMPL_VAR NAME="name" -->" value="1" checked="checked" />
936 <input type="radio" id="yes<!-- TMPL_VAR NAME="name" -->" name="<!-- TMPL_VAR NAME="name" -->" value="1" />
939 <label for="no<!-- TMPL_VAR NAME="name" -->">No </label>
940 <!-- TMPL_IF NAME="no" -->
941 <input type="radio" id="no<!-- TMPL_VAR NAME="name" -->" name="<!-- TMPL_VAR NAME="name" -->" value="0" checked="checked"/>
943 <input type="radio" id="no<!-- TMPL_VAR NAME="name" -->" name="<!-- TMPL_VAR NAME="name" -->" value="0" />
950 <!-- /TMPL_UNLESS -->
954 <!-- TMPL_IF NAME="step_4" --><!-- TMPL_IF NAME="ExtendedPatronAttributes" --><!-- TMPL_UNLESS NAME="no_patron_attribute_types" -->
955 <fieldset class="rows" id="memberentry_patron_attributes">
956 <input type="hidden" name="setting_extended_patron_attributes" value="1" />
957 <legend>Additional attributes and identifiers</legend>
961 <th colspan="2">Value</th>
963 <!-- TMPL_LOOP NAME='patron_attributes' -->
965 <td><!-- TMPL_VAR NAME="code" --> (<!-- TMPL_VAR NAME="description" -->)
968 <input type="hidden" id="<!-- TMPL_VAR NAME="form_id" -->_code" name="<!-- TMPL_VAR NAME="form_id" -->_code" value="<!-- TMPL_VAR NAME="code" ESCAPE="HTML" -->" />
969 <!-- TMPL_IF NAME="use_dropdown" -->
970 <select id="<!-- TMPL_VAR NAME="form_id" -->" name="<!-- TMPL_VAR NAME="form_id" -->">
972 <!-- TMPL_LOOP NAME="auth_val_loop" -->
973 <!-- TMPL_IF NAME="selected" -->
974 <option value="<!-- TMPL_VAR NAME="authorised_value" -->" selected="selected">
975 <!-- TMPL_VAR NAME="lib" -->
978 <option value="<!-- TMPL_VAR NAME="authorised_value" -->" >
979 <!-- TMPL_VAR NAME="lib" -->
985 <input type="text" maxlength="64" value="<!-- TMPL_VAR NAME="value" -->"
986 id="<!-- TMPL_VAR NAME="form_id" -->" name="<!-- TMPL_VAR NAME="form_id" -->" />
988 <!-- TMPL_IF NAME="password_allowed" -->
989 (Password: <input type="password" maxlength="64" value="<!-- TMPL_VAR NAME="password" -->"
990 id="<!-- TMPL_VAR NAME="form_id" -->_password" name="<!-- TMPL_VAR NAME="form_id" -->_password" />)
994 <a href="#" onclick="clear_entry(this); return false;">Clear</a>
995 <!-- TMPL_IF NAME="repeatable" -->
996 <a href="#" onclick="clone_entry(this); return false;">New</a>
1003 <!-- /TMPL_IF--><!-- /TMPL_IF --><!-- /TMPL_UNLESS -->
1005 <!-- TMPL_IF NAME="step_5" --><!-- TMPL_IF NAME="EnhancedMessagingPreferences" -->
1006 <fieldset class="rows" id="memberentry_messaging_prefs">
1007 <!-- TMPL_IF NAME="opadd" -->
1008 <!-- handle changing prefs if creating new patron and changing
1011 <script language="javascript" type="text/javascript">//<![CDATA[
1012 $(document).ready(function(){
1013 var message_prefs_dirty = false;
1014 $('#memberentry_messaging_prefs > *').change(function() {
1015 message_prefs_dirty = true;
1017 $('#categorycode').change(function() {
1018 var categorycode = $(this).val();
1019 if (message_prefs_dirty) {
1020 if (!confirm('Change messaging preferences to default for this category?')) {
1024 $.getJSON('/cgi-bin/koha/members/default_messageprefs.pl?categorycode=' + categorycode,
1026 $.each(data.messaging_preferences, function(i, item) {
1027 var attrid = item.message_attribute_id;
1028 var transports = ['email', 'rss', 'sms'];
1029 $.each(transports, function(j, transport) {
1030 if (item['transport-' + transport] != ' ') {
1031 $('#' + transport + attrid).attr('checked', item['transport-' + transport]);
1033 $('#' + transport + attrid).removeAttr('checked');
1036 if (item.digest && item.digest != ' ') {
1037 $('#digest' + attrid).attr('checked', item.digest);
1039 $('#digest' + attrid).removeAttr('checked');
1041 if (item.takes_days == '1') {
1042 $('[name=' + attrid + '-DAYS]').val('' + item.days_in_advance);
1045 message_prefs_dirty = false;
1053 <input type="hidden" name="setting_messaging_prefs" value="1" />
1054 <legend>Patron messaging preferences</legend>
1055 <!-- TMPL_INCLUDE NAME="messaging-preference-form.inc" -->
1056 <!-- TMPL_IF NAME="SMSSendDriver" -->
1057 <p><label for="SMSnumber">SMS number:</label>
1058 <input type="text" id="SMSnumber" name="SMSnumber" value="<!-- TMPL_VAR NAME="SMSnumber" -->" />
1062 <!-- /TMPL_IF --> <!-- /TMPL_IF -->
1064 <fieldset class="action">
1065 <input type="submit" name="save" onclick="return check_form_borrowers();" value="Save" />
1066 <!-- TMPL_IF NAME="opadd" -->
1067 <a class="cancel" href="/cgi-bin/koha/members/member.pl">Cancel</a>
1069 <a class="cancel" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">Cancel</a>
1077 <!-- TMPL_UNLESS NAME="opadd" --><div class="yui-b">
1078 <!-- TMPL_INCLUDE NAME="members-menu.inc" -->
1079 </div><!-- /TMPL_UNLESS -->
1081 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->