1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha › Child Patron Management</title>
3 <script type="text/javascript" src="<!-- TMPL_VAR NAME="themelang" -->/js/members.js"></script>
4 <!-- TMPL_INCLUDE NAME="calendar.inc" -->
5 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
8 <!-- TMPL_INCLUDE NAME="header.inc" -->
9 <!-- TMPL_INCLUDE NAME="members-search.inc" -->
11 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a> › Add Child Patron</div>
13 <div id="doc3" class="yui-t2">
19 <!-- TMPL_IF NAME="add" -->
21 Add child patron (step <!-- TMPL_VAR NAME="step" -->) <!-- TMPL_VAR NAME="surname" --> <!-- TMPL_VAR name="firstname" -->
25 Modify child patron <!-- TMPL_VAR NAME="surname" --> <!-- TMPL_VAR name="firstname" -->
28 <!-- TMPL_IF NAME="check_member" -->
29 <!-- TMPL_IF NAME="step_2" -->
31 <form name="form_double">
34 <a href="javascript:Dopop('borrowers_details.pl?borrowernumber=<!--TMPL_VAR NAME="check_member"-->');" class="borrowers_button">Details</a>
36 <a href="/cgi-bin/koha/members/memberentry.pl?borrowernumber=<!--TMPL_VAR NAME="check_member"-->&category_type=<!--TMPL_VAR NAME="check_categorytype"-->" class="borrowers_button">Yes</a>
37 No, it is not
38 <INPUT type="checkbox" <!-- TMPL_IF NAME="checked"--> checked <!--/TMPL_IF--> name="answernodouble" >
45 <!-- TMPL_IF Name="nok" -->
48 <p>The following fields are wrong. Please fix it/them</p>
49 <!-- TMPL_IF NAME="ERROR_login_exist" -->
50 <p>login/password already exist</p>
52 <!-- TMPL_IF NAME="ERROR_cardnumber" -->
53 <p>Cardnumber already in use</p>
55 <!-- TMPL_IF NAME="ERROR_age_limitations" -->
56 Patron is too young or too old for this category
61 <!--############################################################FORMULAIRE 1 #######################################-->
62 <!-- TMPL_IF NAME="step_1"-->
63 <form name="form" action="/cgi-bin/koha/members/memberentry.pl" method="post">
64 <!-- field always hidden in different form (1,2,3) -->
65 <input type="hidden" name="BorrowerMandatoryField" value="<!--TMPL_VAR NAME="BorrowerMandatoryField"-->" />
66 <input type="hidden" name="FormFieldList" value="cardnumber|title|surname|firstname|dateofbirth|initials|othernames|select_city|sort1|sort2" />
67 <input type="hidden" name="category_type" value="<!-- TMPL_VAR name="category_type" -->" />
68 <input type="hidden" name="type" value="borrowers" />
69 <input type="hidden" name="step" value="<!-- TMPL_VAR NAME="step" -->" />
70 <input type="hidden" name="updtype" value="<!-- TMPL_VAR NAME="updtype" -->" />
71 <input type="hidden" name="guarantorid" value="<!-- TMPL_VAR NAME="guarantorid" -->" />
72 <input type="hidden" name="select_roadtype" value="<!-- TMPL_VAR NAME="select_roadtype" -->" />
73 <input type="hidden" name="destination" value="<!-- TMPL_VAR NAME="destination" -->" />
74 <input type="hidden" name="check_member" value="<!-- TMPL_VAR NAME="check_member" -->" />
75 <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
76 <input type="hidden" name="nodouble" value="<!-- TMPL_VAR NAME="nodouble" -->" />
78 <!-- input from form 2 -->
79 <input type="hidden" name="contacttitle" size="20" value="<!-- TMPL_VAR NAME="contacttitle" -->" />
80 <input type="hidden" name="contactname" value="<!-- TMPL_VAR NAME="contactname" -->" />
81 <input type="hidden" name="contactfirstname" value="<!-- TMPL_VAR NAME="contactfirstname" -->" />
82 <input type="hidden" name="branchcode" value="<!-- TMPL_VAR NAME="branchcode" -->" />
83 <input type="hidden" name="streetnumber" value="<!-- TMPL_VAR NAME="streetnumber" -->" />
84 <input type="hidden" name="streettype" value="<!-- TMPL_VAR NAME="streettype" -->" />
85 <input type="hidden" name="address" value="<!-- TMPL_VAR NAME="address" -->" />
86 <input type="hidden" name="address2" value="<!-- TMPL_VAR NAME="address2" -->" />
87 <input type="hidden" name="zipcode" value="<!-- TMPL_VAR NAME="zipcode" -->" />
88 <input type="hidden" name="city" value="<!-- TMPL_VAR NAME="city" -->" />
89 <input type="hidden" name="relationship" value="<!-- TMPL_VAR NAME="relationship" -->" />
90 <input type="hidden" name="phone" value="<!-- TMPL_VAR NAME="phone" -->" />
91 <input type="hidden" name="phonepro" value="<!-- TMPL_VAR NAME="phonepro" -->" />
92 <input type="hidden" name="mobile" size="10" value="<!-- TMPL_VAR NAME="mobile" -->" />
93 <input type="hidden" name="email" value="<!-- TMPL_VAR NAME="email" -->" />
94 <input type="hidden" name="emailpro" value="<!-- TMPL_VAR NAME="emailpro" -->" />
95 <input type="hidden" name="B_email" value="<!-- TMPL_VAR NAME="B_email" -->" />
96 <input type="hidden" name="B_phone" value="<!-- TMPL_VAR NAME="B_phone" -->" />
97 <input type="hidden" name="fax" value="<!-- TMPL_VAR NAME="fax" -->" />
99 <!-- input from form3 -->
100 <input type="hidden" name="dateenrolled" value="<!-- TMPL_VAR NAME="dateenrolled" -->" />
101 <input type="hidden" name="dateexpiry" value="<!-- TMPL_VAR NAME="dateexpiry" -->" />
102 <textarea style="display:none;" name="opacnote" cols="70" rows="3"><!-- TMPL_VAR NAME="opacnote"--></textarea>
103 <textarea style="display:none;" name="borrowernotes" cols="70" rows="3"><!-- TMPL_VAR NAME="borrowernotes" --></textarea>
104 <input type="hidden" name="userid" value="<!-- TMPL_VAR NAME="userid" -->" />
105 <input type="hidden" name="password" value="<!-- TMPL_VAR NAME="password" -->" />
106 <input type="hidden" name="debarred" value="<!-- TMPL_VAR NAME="debarred" -->" />
107 <input type="hidden" name="lost" value="<!-- TMPL_VAR NAME="lost" -->" />
108 <input type="hidden" name="gonenoaddress" value="<!-- TMPL_VAR NAME="gonenoaddress" -->" />
110 <!-- TMPL_IF NAME="opadd" -->
111 <input type="hidden" name="op" value="add" />
113 <input type="hidden" name="op" value="modify" />
115 <!-- TMPL_VAR NAME="member" -->
117 <!-- TMPL_IF NAME="mandatorycardnumber" -->
118 <label style="font-weight:bold">
123 <input type="text" name="cardnumber" size="10" value="<!-- TMPL_VAR NAME="cardnumber" -->" />
125 <fieldset id="memberentry_identity">
126 <legend>Patron identity</legend>
128 <!-- TMPL_IF NAME="female" -->
129 <input type="radio" name="sex" value="F" checked="checked" />Female
130 <input type="radio" name="sex" value="M" />Male
132 <input type="radio" name="sex" value="F" />Female
133 <input type="radio" name="sex" value="M" checked="checked" />Male
137 <!-- TMPL_IF NAME="mandatorytitle" -->
138 <label style="font-weight:bold">
143 <!-- TMPL_VAR NAME="borrotitlepopup" -->
146 <!-- TMPL_IF NAME="mandatorysurname" -->
147 <label style="font-weight:bold">
152 <! --TMPL_IF NAME="uppercasesurnames" -->
153 <input style="text-transform:uppercase;" type="text" name="surname" size="20" value="<!-- TMPL_VAR NAME="surname" -->" />
155 <input style="text-transform:capitalize;" type="text" name="surname" size="20" value="<!-- TMPL_VAR NAME="surname" -->" />
159 <!-- TMPL_IF NAME="mandatoryfirstname" -->
160 <label style="font-weight:bold">
165 <input style="text-transform:capitalize;" type="text" name="firstname" size="20" value="<!-- TMPL_VAR NAME="firstname" -->" />
168 <!-- TMPL_IF NAME="mandatorydateofbirth" -->
169 <label style="font-weight:bold">
173 Date of birth</label>
174 <input type="text" id="dateofbirth" name="dateofbirth" size="20" onchange="CheckDate(document.form.dateofbirth);" value="<!-- TMPL_VAR NAME="dateofbirth" -->" />
175 <img src="<!-- TMPL_VAR Name="themelang" -->/includes/calendar/cal.gif" id="dateofbirth_button" alt="" />
176 <script language="JavaScript" type="text/javascript">
179 inputField : "dateofbirth",
180 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
181 button : "dateofbirth_button"
187 <!-- TMPL_IF NAME="mandatoryinitials" -->
188 <label style="font-weight:bold">
193 <input type="text" name="initials" size="20" value="<!-- TMPL_VAR NAME="initials" -->" />
196 <!-- TMPL_IF NAME="mandatoryothernames" -->
197 <label style="font-weight:bold">
202 <input style="text-transform:uppercase;" type="text" name="othernames" size="20" value="<!-- TMPL_VAR NAME="othernames" -->" />
206 <input name="guarantordelete" type="button" value="Delete Guarantor" onclick="document.form.guarantorid.value='';document.form.guarantorinfo.value='',document.form.guarantorsearch.value='Find guarantor';" />
207 <!-- TMPL_IF NAME="guarantorid"-->
209 <input name="guarantorsearch" type="button" value="Modify Guarantor" onclick="Dopopguarantor('guarantor_search.pl');" />
211 <input name="guarantorsearch" type="button" value="Find guarantor" onclick="Dopopguarantor('guarantor_search.pl');" />
213 <input name="guarantorinfo" type="text" size="20" value="<!-- TMPL_VAR NAME="guarantorinfo" -->" disabled="disabled" readonly="readonly" />
216 <fieldset id="memberentry_identity">
217 <legend>Patron type</legend>
219 <!-- TMPL_IF NAME="catcodepopup" -->
220 <label>Category</label>
221 <!-- TMPL_VAR NAME="catcodepopup" -->
223 <span class="problem">There is no category type to add a Child.</span>
224 <a href="/cgi-bin/koha/admin/categorie.pl">Please create one</a>
228 <!-- TMPL_IF NAME="city_cgipopup" -->
230 <!-- TMPL_IF NAME="mandatoryselect_city" -->
231 <label style="font-weight:bold">
235 Select a city</label>
236 <!-- TMPL_VAR NAME="citypopup" -->
240 <!-- TMPL_IF NAME="mandatorysort1" -->
241 <label style="font-weight:bold">
246 <!--TMPL_IF NAME="CGIsort1" -->
247 <!-- TMPL_VAR NAME="CGIsort1" -->
249 <input type="text" name="sort1" size="20" value="<!-- TMPL_VAR NAME="sort1" -->" />
253 <!-- TMPL_IF NAME="mandatorysort2" -->
254 <label style="font-weight:bold">
259 <!--TMPL_IF NAME="CGIsort2" -->
260 <!-- TMPL_VAR NAME="CGIsort2" -->
262 <input type="text" name="sort2" size="20" value="<!-- TMPL_VAR NAME="sort2" -->" />
267 <input type="button" name="next_step" value="Next Step" onclick="if(document.form.guarantorinfo.value){check_form_borrowers(1)} else{alert(_('You must define a guarantor'));};" />
270 <!-- ************************ STEP_1 *********************** -->
273 <!-- TMPL_IF NAME="step_2"-->
274 <form name="form" action="/cgi-bin/koha/members/memberentry.pl" method="post">
275 <!-- field always hidden in different form (1,2,3) -->
276 <input type="hidden" name="BorrowerMandatoryField" value="<!--TMPL_VAR NAME="BorrowerMandatoryField"-->" />
277 <input type="hidden" name="FormFieldList" value="cardnumber|streetnumber|streettype|address|address2|zipcode|contacttitle|city|contactname|contactfirstname|phone|phonepro|mobile|email|emailpro|B_email|B_phone|relationship|fax" />
278 <input type="hidden" name="category_type" value="<!-- TMPL_VAR name="category_type" -->" />
279 <input type="hidden" name="type" value="borrowers" />
280 <input type="hidden" name="step" value="<!-- TMPL_VAR NAME="step" -->" />
281 <input type="hidden" name="updtype" value="<!-- TMPL_VAR NAME="updtype" -->" />
282 <input type="hidden" name="guarantorid" value="<!-- TMPL_VAR NAME="guarantorid" -->" />
283 <input type="hidden" name="select_roadtype" value="<!-- TMPL_VAR NAME="select_roadtype" -->" />
284 <input type="hidden" name="destination" value="<!-- TMPL_VAR NAME="destination" -->" />
285 <input type="hidden" name="check_member" value="<!-- TMPL_VAR NAME="check_member" -->" />
286 <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
287 <input type="hidden" name="nodouble" value="<!-- TMPL_VAR NAME="nodouble" -->" />
289 <!-- input from form 1 -->
290 <input type="hidden" name="title" size="10" value="<!-- TMPL_VAR NAME="title" -->" />
291 <input style="text-transform:capitalize;" type="hidden" name="firstname" size="20" value="<!-- TMPL_VAR NAME="firstname" -->" />
292 <input style="text-transform:uppercase;" type="hidden" name="surname" size="20" value="<!-- TMPL_VAR NAME="surname" -->" />
293 <input type="hidden" name="dateofbirth" size="20" value="<!-- TMPL_VAR NAME="dateofbirth" -->" />
294 <input type="hidden" name="initials" size="20" value="<!-- TMPL_VAR NAME="initials" -->" />
295 <input type="hidden" name="othernames" size="20" value="<!-- TMPL_VAR NAME="othernames" -->" />
296 <input type="hidden" name="sex" value="<!-- TMPL_VAR NAME="sex" -->" />
297 <input type="hidden" name="categorycode" size="10" value="<!-- TMPL_VAR NAME="categorycode" -->" />
298 <input type="hidden" name="select_city" value="<!-- TMPL_VAR NAME="select_city" -->" />
299 <input type="hidden" name="sort1" value="<!-- TMPL_VAR NAME="sort1" -->" />
300 <input type="hidden" name="sort2" value="<!-- TMPL_VAR NAME="sort2" -->" />
301 <input name="guarantorinfo" type="hidden" size="20" value="<!-- TMPL_VAR NAME="guarantorinfo" -->" readonly="readonly" />
303 <!-- input from form3 -->
304 <input type="hidden" name="dateenrolled" size="20" value="<!-- TMPL_VAR NAME="dateenrolled" -->" />
305 <input type="hidden" name="dateexpiry" size="20" value="<!-- TMPL_VAR NAME="dateexpiry" -->" />
306 <textarea style="display:none;" name="opacnote" cols="70" rows="3"><!-- TMPL_VAR NAME="opacnote"--></textarea>
307 <textarea style="display:none;" name="borrowernotes" cols="70" rows="3"><!-- TMPL_VAR NAME="borrowernotes" --></textarea>
308 <input type="hidden" name="userid" size="20" value="<!-- TMPL_VAR NAME="userid" -->" />
309 <input type="hidden" name="password" size="20" value="<!-- TMPL_VAR NAME="password" -->" />
310 <input type="hidden" name="debarred" value="<!-- TMPL_VAR NAME="debarred" -->" />
311 <input type="hidden" name="lost" value="<!-- TMPL_VAR NAME="lost" -->" />
312 <input type="hidden" name="gonenoaddress" value="<!-- TMPL_VAR NAME="gonenoaddress" -->" />
314 <!-- TMPL_IF NAME="opadd" -->
315 <input type="hidden" name="op" value="add" />
317 <input type="hidden" name="op" value="modify" />
320 <!-- TMPL_VAR NAME="member" -->
322 <!-- TMPL_IF NAME="mandatorycardnumber" -->
323 <label style="font-weight:bold">
328 <input type="text" name="cardnumber" size="10" value="<!-- TMPL_VAR NAME="cardnumber" -->" />
331 <legend>Guarantor</legend>
333 <!-- TMPL_IF NAME="mandatorycontacttitle" -->
334 <label style="font-weight:bold">
339 <select name="contacttitle" >
340 <option <!-- TMPL_VAR NAME="contacttitle_selected " --> value="" >Select title</option>
341 <option value="Mlle" <!-- TMPL_VAR NAME="contacttitle_Mlle" -->>Mlle</option>
342 <option value="Mme" <!-- TMPL_VAR NAME="contacttitle_Mme" -->>Mme</option>
343 <option value="Mr" <!-- TMPL_VAR NAME="contacttitle_Mr" --> >M.</option>
347 <!-- TMPL_IF NAME="mandatorycontactname" -->
348 <label style="font-weight:bold">
353 <input type="text" style="text-transform:uppercase;" name="contactname" size="20" value="<!-- TMPL_VAR NAME="contactname" -->" />
356 <!-- TMPL_IF NAME="mandatorycontactfirstname" -->
357 <label style="font-weight:bold">
362 <input type="text" style="text-transform:capitalize;" name="contactfirstname" size="20" value="<!-- TMPL_VAR NAME="contactfirstname" -->" />
365 <!-- TMPL_IF NAME="mandatorybranchcode" -->
366 <label style="font-weight:bold">
371 <!-- TMPL_VAR NAME="CGIbranch" -->
374 <!-- TMPL_IF NAME="mandatorystreetnumber" -->
375 <label style="font-weight:bold">
379 Street number</label>
380 <input type="text" name="streetnumber" size="5" value="<!-- TMPL_VAR NAME="streetnumber" -->" />
382 <!-- TMPL_IF NAME="road_cgipopup" -->
384 <!-- TMPL_IF NAME="mandatorystreettype" -->
385 <label style="font-weight:bold">
390 <!-- TMPL_VAR NAME="roadpopup" -->
394 <!-- TMPL_IF NAME="mandatoryaddress" -->
395 <label style="font-weight:bold">
400 <input type="text" name="address" size="35" value="<!-- TMPL_VAR NAME="address" -->" />
403 <!-- TMPL_IF NAME="mandatoryaddress2" -->
404 <label style="font-weight:bold">
409 <input type="text" name="address2" size="35" value="<!-- TMPL_VAR NAME="address2" -->" />
412 <!-- TMPL_IF NAME="mandatoryzipcode" -->
413 <label style="font-weight:bold">
418 <input type="text" maxlength="5" name="zipcode" size="10" value="<!-- TMPL_VAR NAME="zipcode" -->" />
421 <!-- TMPL_IF NAME="mandatorycity" -->
422 <label style="font-weight:bold">
427 <input style="text-transform:uppercase;" type="text" name="city" size="20" value="<!-- TMPL_VAR NAME="city" -->" />
430 <!-- TMPL_IF NAME="mandatoryrelationship" -->
431 <label style="font-weight:bold">
436 <select name="relationship" size="1">
437 <!-- TMPL_LOOP NAME="relshiploop" -->
438 <option <!-- TMPL_VAR NAME="selected" -->><!-- TMPL_VAR NAME="relationship" --></option>
444 <legend>Contact</legend>
447 <!-- TMPL_IF NAME="mandatoryphone" -->
448 <label style="font-weight:bold">
453 <input type="text" name="phone" value="<!-- TMPL_VAR NAME="phone" -->" />
456 <!-- TMPL_IF NAME="mandatoryphonepro" -->
457 <label style="font-weight:bold">
462 <input type="text" name="phonepro" value="<!-- TMPL_VAR NAME="phonepro" -->" />
465 <!-- TMPL_IF NAME="mandatorymobile" -->
466 <label style="font-weight:bold">
471 <input type="text" name="mobile" value="<!-- TMPL_VAR NAME="mobile" -->" />
474 <!-- TMPL_IF NAME="mandatoryemail" -->
475 <label style="font-weight:bold">
479 E-mail (home)</label>
480 <input type="text" name="email" value="<!-- TMPL_VAR NAME="email" -->" />
483 <!-- TMPL_IF NAME="mandatoryemailpro" -->
484 <label style="font-weight:bold">
488 E-mail (prof)</label>
489 <input type="text" name="emailpro" value="<!-- TMPL_VAR NAME="emailpro" -->" />
492 <!-- TMPL_IF NAME="mandatoryfax" -->
493 <label style="font-weight:bold">
498 <input type="text" name="fax" value="<!-- TMPL_VAR NAME="fax" -->" />
502 <!-- TMPL_IF NAME="mandatoryB_email" -->
503 <label style="font-weight:bold">
507 E-mail (home)</label>
508 <input type="text" name="B_email" value="<!-- TMPL_VAR NAME="B_email" -->" />
509 <!-- TMPL_IF NAME="mandatoryB_phone" -->
510 <label style="font-weight:bold">
515 <input type="text" name="B_phone" value="<!-- TMPL_VAR NAME="B_phone" -->" />
519 <input type="button" name="step1" value="Previous step" onclick="check_form_borrowers(0);" />
520 <input type="button" name="step3" onclick="check_form_borrowers(3)" value="Next step" />
525 <!-- TMPL_IF NAME="step_3"-->
526 <form name="form" action="/cgi-bin/koha/members/memberentry.pl" method="post">
527 <!-- field always hidden in different form (1,2,3) -->
528 <input type="hidden" name="BorrowerMandatoryField" value="<!--TMPL_VAR NAME="BorrowerMandatoryField"-->" />
529 <input type="hidden" name="FormFieldList" value="cardnumber|dateenrolled|dateexpiry|opacnote|borrowernotes|userid|password" />
530 <input type="hidden" name="category_type" value="<!-- TMPL_VAR name="category_type" -->" />
531 <input type="hidden" name="type" value="borrowers" />
532 <input type="hidden" name="step" value="<!-- TMPL_VAR NAME="step" -->" />
533 <input type="hidden" name="updtype" value="<!-- TMPL_VAR NAME="updtype" -->" />
534 <input type="hidden" name="guarantorid" value="<!-- TMPL_VAR NAME="guarantorid" -->" />
535 <input type="hidden" name="select_roadtype" value="<!-- TMPL_VAR NAME="select_roadtype" -->" />
536 <input type="hidden" name="destination" value="<!-- TMPL_VAR NAME="destination" -->" />
537 <input type="hidden" name="check_member" value="<!-- TMPL_VAR NAME="check_member" -->" />
538 <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
539 <input type="hidden" name="nodouble" value="<!-- TMPL_VAR NAME="nodouble" -->" />
541 <!-- input from form 1 -->
542 <input type="hidden" name="title" size="10" value="<!-- TMPL_VAR NAME="title" -->" />
543 <input style="text-transform:capitalize;" type="hidden" name="firstname" size="20" value="<!-- TMPL_VAR NAME="firstname" -->" />
544 <input style="text-transform:uppercase;" type="hidden" name="surname" size="20" value="<!-- TMPL_VAR NAME="surname" -->" />
545 <input type="hidden" name="dateofbirth" size="20" value="<!-- TMPL_VAR NAME="dateofbirth" -->" />
546 <input type="hidden" name="initials" size="20" value="<!-- TMPL_VAR NAME="initials" -->" />
547 <input type="hidden" name="othernames" size="20" value="<!-- TMPL_VAR NAME="othernames" -->" />
548 <input type="hidden" name="sex" value="<!-- TMPL_VAR NAME="sex" -->" />
549 <input type="hidden" name="categorycode" size="10" value="<!-- TMPL_VAR NAME="categorycode" -->" />
550 <input type="hidden" name="select_city" value="<!-- TMPL_VAR NAME="select_city" -->" />
551 <input type="hidden" name="sort1" value="<!-- TMPL_VAR NAME="sort1" -->" />
552 <input type="hidden" name="sort2" value="<!-- TMPL_VAR NAME="sort2" -->" />
553 <input name="guarantorinfo" type="hidden" size="20" value="<!-- TMPL_VAR NAME="guarantorinfo" -->" readonly="readonly" />
554 <!-- input from form 2 -->
555 <input type="hidden" name="contacttitle" size="20" value="<!-- TMPL_VAR NAME="contacttitle" -->" />
556 <input type="hidden" name="contactname" size="35" value="<!-- TMPL_VAR NAME="contactname" -->" />
557 <input type="hidden" name="contactfirstname" size="5" value="<!-- TMPL_VAR NAME="contactfirstname" -->" />
558 <input type="hidden" name="branchcode" size="20" value="<!-- TMPL_VAR NAME="branchcode" -->" />
559 <input type="hidden" name="streetnumber" value="<!-- TMPL_VAR NAME="streetnumber" -->" />
560 <input type="hidden" name="streettype" value="<!-- TMPL_VAR NAME="streettype" -->" />
561 <input type="hidden" name="address" value="<!-- TMPL_VAR NAME="address" -->" />
562 <input type="hidden" name="address2" value="<!-- TMPL_VAR NAME="address2" -->" />
563 <input type="hidden" name="zipcode" size="20" value="<!-- TMPL_VAR NAME="zipcode" -->" />
564 <input type="hidden" name="city" size="20" value="<!-- TMPL_VAR NAME="city" -->" />
565 <input type="hidden" name="relationship" size="20" value="<!-- TMPL_VAR NAME="relationship" -->" />
566 <input type="hidden" name="phone" size="10" value="<!-- TMPL_VAR NAME="phone" -->" />
567 <input type="hidden" name="phonepro" value="<!-- TMPL_VAR NAME="phonepro" -->" />
568 <input type="hidden" name="mobile" size="10" value="<!-- TMPL_VAR NAME="mobile" -->" />
569 <input type="hidden" name="email" value="<!-- TMPL_VAR NAME="email" -->" />
570 <input type="hidden" name="emailpro" value="<!-- TMPL_VAR NAME="emailpro" -->" />
571 <input type="hidden" name="B_email" value="<!-- TMPL_VAR NAME="B_email" -->" />
572 <input type="hidden" name="B_phone" value="<!-- TMPL_VAR NAME="B_phone" -->" />
573 <input type="hidden" name="fax" value="<!-- TMPL_VAR NAME="fax" -->" />
575 <!-- TMPL_IF NAME="opadd" -->
576 <input type="hidden" name="op" value="add" />
578 <input type="hidden" name="op" value="modify" />
581 <!-- TMPL_IF NAME="mandatorycardnumber" -->
582 <label style="font-weight:bold">
587 <input type="text" name="cardnumber" size="10" value="<!-- TMPL_VAR NAME="cardnumber" -->" />
589 <fieldset id="memberentry_subscription">
590 <legend>Library set-up</legend>
592 <!-- TMPL_IF NAME="mandatorydateenrolled" -->
593 <label style="font-weight:bold">
598 <input type="text" name="dateenrolled" maxlength="10" size="10" onchange="CheckDate(document.form.dateenrolled);check_manip_date('verify');" value="<!-- TMPL_VAR NAME="dateenrolled" -->" />
601 <!-- TMPL_IF NAME="mandatorydateexpiry" -->
602 <label style="font-weight:bold">
607 <input type="text" name="dateexpiry" maxlength="10" size="10" onchange="CheckDate(document.form.dateexpiry);check_manip_date('verify');" value="<!-- TMPL_VAR NAME="dateexpiry" -->" />
610 <!-- TMPL_IF NAME="mandatoryopacnote" -->
611 <label style="font-weight:bold">
616 <textarea name="opacnote" cols="40" rows="2"><!-- TMPL_VAR NAME="opacnote" --></textarea>
619 <!-- TMPL_IF NAME="mandatoryborrowernotes" -->
620 <label style="font-weight:bold">
625 <textarea name="borrowernotes" cols="40" rows="2"><!-- TMPL_VAR NAME="borrowernotes" --></textarea>
628 <fieldset id="memberentry_userid">
629 <legend>OPAC login</legend>
631 <!-- TMPL_IF NAME="mandatoryuserid" -->
632 <label style="font-weight:bold">
637 <input type="text" name="userid" size="20" value="<!-- TMPL_VAR NAME="userid" -->" />
640 <!-- TMPL_IF NAME="mandatorypassword" -->
641 <label style="font-weight:bold">
646 <!--TMPL_IF NAME="opadd"-->
647 <input type="text" name="password" size="20" value="<!-- TMPL_VAR NAME="password" -->" />
649 <!--TMPL_IF NAME="password"-->
650 <input type="text" name="password" size="20" value="****" />
652 <input type="text" name="password" size="20" value="" />
656 <!--this zones are not necessary in modif mode -->
657 <!-- TMPL_UNLESS NAME="opadd" -->
659 <!-- TMPL_LOOP NAME="flagloop" -->
661 <label class="borrowers_labels_title"><!-- TMPL_VAR NAME="html" --></label>
662 <input type="radio" name="<!-- TMPL_VAR NAME="name" -->" value="1" <!-- TMPL_VAR NAME="yes" --> />Yes
663 <input type="radio" name="<!-- TMPL_VAR NAME="name" -->" value="0" <!-- TMPL_VAR NAME="no" --> />No
666 <!-- /TMPL_UNLESS -->
670 <input type="button" class="borrowers_button" name="step2" value="Previous step" onclick="check_form_borrowers(1);" />
671 <!-- TMPL_IF NAME="opadd" -->
672 <input type="button" name="step4" onclick="unique();" value="Add member" />
674 <input type="button" name="step4" onclick="check_form_borrowers();" value="Modify member" />
683 <!-- TMPL_INCLUDE NAME="members-menu.inc" -->
686 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->