Paul POULAIN
17 years ago
committed by
Chris Cormack
4 changed files with 1048 additions and 574 deletions
@ -0,0 +1,575 @@ |
|||
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --> |
|||
<title>Koha ›<!--TMPL_IF Name="I"--> Organisation <!--/TMPL_IF --><!--TMPL_IF Name="A"--> Adult <!--/TMPL_IF --><!--TMPL_IF Name="C"--> Child <!--/TMPL_IF --><!--TMPL_IF Name="P"--> Professional <!--/TMPL_IF --> Patron Management</title> |
|||
<script type="text/javascript" src="<!-- TMPL_VAR NAME='themelang' -->/js/members.js"></script> |
|||
<!-- TMPL_INCLUDE NAME="calendar.inc" --> |
|||
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" --> |
|||
|
|||
<!-- TMPL_INCLUDE NAME="menus.inc" --> |
|||
<!-- TMPL_INCLUDE NAME="menu-members.inc" --> |
|||
<!-- TMPL_IF NAME="opadd" --> |
|||
<h1> |
|||
Add<!--TMPL_IF Name="I"--> Organisation <!--/TMPL_IF --><!--TMPL_IF Name="A"--> Adult <!--/TMPL_IF --><!--TMPL_IF Name="C"--> Child <!--/TMPL_IF --><!--TMPL_IF Name="P"--> Professional <!--/TMPL_IF --> |
|||
patron <!-- TMPL_VAR NAME="surname" --> <!-- TMPL_VAR name="firstname" --> |
|||
</h1> |
|||
<!-- TMPL_ELSE --> |
|||
<h1 > |
|||
Modify<!--TMPL_IF Name="I"--> Organisation <!--/TMPL_IF --><!--TMPL_IF Name="A"--> Adult <!--/TMPL_IF --><!--TMPL_IF Name="C"--> Child <!--/TMPL_IF --><!--TMPL_IF Name="P"--> Professional <!--/TMPL_IF --> |
|||
patron <!-- TMPL_VAR NAME="surname" --> <!-- TMPL_VAR name="firstname" --> |
|||
</h1> |
|||
<!-- /TMPL_IF --> |
|||
<!-- TMPL_IF NAME="check_member" --> |
|||
<p> |
|||
<form name="form_double"> |
|||
<div id="problem"> |
|||
Duplicate suspected |
|||
<a href="javascript:Dopop('borrowers_details.pl?borrowernumber=<!--TMPL_VAR NAME="check_member"-->');" >Detail</a> |
|||
Duplicate ? |
|||
<a href="/cgi-bin/koha/members/memberentry.pl?borrowernumber=<!--TMPL_VAR NAME="check_member"-->&category_type=<!--TMPL_VAR NAME="check_categorytype"-->">Yes</a> |
|||
No, it is not |
|||
<!-- TMPL_IF NAME="checked"--> |
|||
<input type="checkbox" checked name="answernodouble" > |
|||
<!-- TMPL_ELSE --> |
|||
<input type="checkbox" name="answernodouble" > |
|||
<!-- /TMPL_IF --> |
|||
</div> |
|||
</form> |
|||
</p> |
|||
<!--/TMPL_IF--> |
|||
|
|||
<!-- TMPL_IF Name="nok" --> |
|||
<div id="problem"> |
|||
<p>The following fields are wrong. Please fix it/them</p> |
|||
<!-- TMPL_IF NAME="ERROR_login_exist" --> |
|||
<p>login/password already exist</p> |
|||
<!-- /TMPL_IF --> |
|||
<!-- TMPL_IF NAME="ERROR_cardnumber" --> |
|||
<p>Cardnumber already in use</p> |
|||
<!-- /TMPL_IF --> |
|||
<!-- TMPL_IF NAME="ERROR_age_limitations" --> |
|||
Patron is too young or too old for this category |
|||
<!-- /TMPL_IF --> |
|||
</div> |
|||
<!-- /TMPL_IF --> |
|||
|
|||
<!--TMPL_IF Name="opadd"--> |
|||
<div id="tabs"> |
|||
<a href="javascript:active(1)" class="tab_active" id="link1">Personal Information</a> |
|||
<a href="javascript:active(2)" class="tab_inactive" id="link2">Contacts</a> |
|||
<a href="javascript:active(3)" class="tab_inactive" id="link3">Library Management</a> |
|||
</div> |
|||
<script language="JavaScript" type="text/javascript"> |
|||
function active(numlayer){ |
|||
for (i=1; i <= 3 ; i++ ) { |
|||
var tab = document.getElementById('step'+i); |
|||
if (numlayer==i) { |
|||
tab.setAttribute("class","content_visible"); |
|||
var tabactive=document.getElementById('link'+i); |
|||
tabactive.removeAttribute("class"); |
|||
tabactive.setAttribute("class","tab_active"); |
|||
} else { |
|||
tab.setAttribute("class","content_hidden"); |
|||
try { |
|||
var tabactive=document.getElementById('link'+i); |
|||
tabactive.removeAttribute("class"); |
|||
tabactive.setAttribute("class","tab_inactive"); |
|||
} |
|||
catch(e){}; |
|||
} |
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<!--/TMPL_IF--> |
|||
<form name="form" action="/cgi-bin/koha/members/memberentry.pl" method="post"> |
|||
<!-- field always hidden in different form (1,2,3) --> |
|||
<input type="hidden" name="BorrowerMandatoryField" value="<!--TMPL_VAR NAME="BorrowerMandatoryField"-->"> |
|||
<input type="hidden" name="category_type" value="<!-- TMPL_VAR name="category_type" -->"> |
|||
<input type="hidden" name="step" value="<!-- TMPL_VAR NAME="step" -->"> |
|||
<input type="hidden" name="updtype" value="<!-- TMPL_VAR NAME="updtype" -->"> |
|||
<input type="hidden" name="guarantorid" value="<!-- TMPL_VAR NAME="guarantorid" -->"> |
|||
<input type="hidden" name="select_roadtype" value="<!-- TMPL_VAR NAME="select_roadtype" -->"> |
|||
<input type="hidden" name="destination" value="<!-- TMPL_VAR NAME="destination" -->" /> |
|||
<input type="hidden" name="check_member" value="<!-- TMPL_VAR NAME="check_member" -->" /> |
|||
<input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->"> |
|||
<input type="hidden" name="nodouble" value="<!-- TMPL_VAR NAME="nodouble" -->" /> |
|||
<!-- TMPL_IF NAME="opadd" --><input type="hidden" name="op" value="insert"><!-- TMPL_ELSE --><input type="hidden" name="op" value="save"><!-- /TMPL_IF --> |
|||
|
|||
<!--TMPL_IF Name="step_1"--> |
|||
<div name="step_1" id="step1" class="content_visible"> |
|||
<!--TMPL_IF Name="I"--> |
|||
<input type="hidden" name="FormFieldList" value="surname|contactname|contactfirstname"> <!--TMPL_ELSE--> <input type="hidden" name="FormFieldList" value="title|surname|firstname|dateofbirth|initials|othernames"> <!--/TMPL_IF--> |
|||
<fieldset id="memberentry_identity"> |
|||
<legend><!--TMPL_IF Name="I"-->Organisation <!--TMPL_ELSE-->Patron <!--/TMPL_IF-->identity</legend> |
|||
<p> |
|||
<!-- TMPL_IF NAME="female" --> |
|||
<input type="radio" name="sex" value="F" checked>Female |
|||
<input type="radio" name="sex" value="M">Male |
|||
<!-- TMPL_ELSE --> |
|||
<input type="radio" name="sex" value="F">Female |
|||
<input type="radio" name="sex" value="M" checked>Male |
|||
<!-- /TMPL_IF --> |
|||
</p> |
|||
<p> |
|||
<!-- TMPL_IF NAME="mandatorytitle" --> |
|||
<label style="font-weight:bold"> |
|||
<!-- TMPL_ELSE --> |
|||
<label> |
|||
<!-- /TMPL_IF--> |
|||
Title</label> |
|||
<!-- TMPL_VAR NAME="borrotitlepopup" --> |
|||
</p> |
|||
|
|||
<p> |
|||
<!-- TMPL_IF NAME="mandatorysurname" --> |
|||
<label style="font-weight:bold"> |
|||
<!-- TMPL_ELSE --> |
|||
<label> |
|||
<!-- /TMPL_IF--> |
|||
Surname</label> |
|||
<!-- TMPL_IF NAME="uppercasesurnames" --> |
|||
<input style="text-transform:uppercase;" type="text" name="surname" size="20" value="<!-- TMPL_VAR NAME="surname" -->" > |
|||
<!-- TMPL_ELSE --> |
|||
<input style="text-transform:capitalize;" type="text" name="surname" size="20" value="<!-- TMPL_VAR NAME="surname" -->" > |
|||
<!-- /TMPL_IF --> |
|||
</p> |
|||
<p> |
|||
<!-- TMPL_IF NAME="mandatoryfirstname" --> |
|||
<label style="font-weight:bold"> |
|||
<!-- TMPL_ELSE --> |
|||
<label> |
|||
<!-- /TMPL_IF--> |
|||
Firstname</label> |
|||
<input style="text-transform:capitalize;" type="text" name="firstname" size="20" value="<!-- TMPL_VAR NAME="firstname" -->"> |
|||
</p> |
|||
<p> |
|||
<!-- TMPL_IF NAME="mandatorydateofbirth" --> |
|||
<label style="font-weight:bold"> |
|||
<!-- TMPL_ELSE --> |
|||
<label> |
|||
<!-- /TMPL_IF--> |
|||
Date of birth</label> |
|||
<input type="text" id="dateofbirth" name="dateofbirth" size="20" onchange="CheckDate(document.form.dateofbirth);" value="<!-- TMPL_VAR NAME="dateofbirth" -->"> |
|||
<img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="dateofbirth_button" /> |
|||
<script language="JavaScript" type="text/javascript"> |
|||
Calendar.setup( |
|||
{ |
|||
inputField : "dateofbirth", |
|||
ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->", |
|||
button : "dateofbirth_button" |
|||
} |
|||
); |
|||
</script> |
|||
</p> |
|||
<p> |
|||
<!-- TMPL_IF NAME="mandatoryinitials" --> |
|||
<label style="font-weight:bold"> |
|||
<!-- TMPL_ELSE --> |
|||
<label> |
|||
<!-- /TMPL_IF--> |
|||
Initials</label> |
|||
<input type="text" name="initials" size="20" value="<!-- TMPL_VAR NAME="initials" -->"> |
|||
</p> |
|||
<p> |
|||
<!-- TMPL_IF NAME="mandatoryothernames" --> |
|||
<label style="font-weight:bold"> |
|||
<!-- TMPL_ELSE --> |
|||
<label> |
|||
<!-- /TMPL_IF--> |
|||
Other name</label> |
|||
<input style="text-transform:uppercase;" type="text" name="othernames" size="20" value="<!-- TMPL_VAR NAME="othernames" -->" > |
|||
</p> |
|||
|
|||
<!--TMPL_IF Name="C"--> <p> |
|||
<input name="guarantordelete" type="button" value="Delete Guarantor" onclick="document.form.guarantorid.value='';document.form.guarantorinfo.value='',document.form.guarantorsearch.value='Find guarantor';" /> |
|||
<!-- TMPL_IF NAME="guarantorid"--> |
|||
|
|||
<input name="guarantorsearch" type="button" value="Modify Guarantor" onclick="Dopopguarantor('guarantor_search.pl');" /> |
|||
<!-- TMPL_ELSE --> |
|||
<input name="guarantorsearch" type="button" value="Find guarantor" onclick="Dopopguarantor('guarantor_search.pl');" /> |
|||
<!-- /TMPL_IF --> |
|||
<input name="guarantorinfo" type="text" size="20" value="<!-- TMPL_VAR NAME="guarantorinfo" -->" disabled="disabled" readonly="readonly" /> |
|||
</p> |
|||
<!--/TMPL_IF--> |
|||
</fieldset> |
|||
<fieldset> |
|||
<legend>Main address</legend> |
|||
<p> |
|||
<!-- TMPL_IF NAME="mandatorystreetnumber" --> |
|||
<label style="font-weight:bold"> |
|||
<!--TMPL_ELSE--> |
|||
<label> |
|||
<!-- /TMPL_IF--> |
|||
Street number</label> |
|||
<input type="text" name="streetnumber" size="5" value="<!-- TMPL_VAR NAME="streetnumber" -->"> |
|||
</p> |
|||
<!-- TMPL_IF NAME="road_cgipopup" --> |
|||
<p> |
|||
<!-- TMPL_IF NAME="mandatorystreettype" --> |
|||
<label style="font-weight:bold"> |
|||
<!--TMPL_ELSE--> |
|||
<label> |
|||
<!-- /TMPL_IF--> |
|||
Street type</label> |
|||
<!-- TMPL_VAR NAME="roadpopup" --> |
|||
</p> |
|||
<!--/TMPL_IF--> |
|||
<p> |
|||
<!-- TMPL_IF NAME="mandatoryaddress" --> |
|||
<label style="font-weight:bold"> |
|||
<!--TMPL_ELSE--> |
|||
<label> |
|||
<!--/TMPL_IF--> |
|||
Address</label> |
|||
<input type="text" name="address" size="35" value="<!-- TMPL_VAR NAME="address" -->"> |
|||
</p> |
|||
<p> |
|||
<!-- TMPL_IF NAME="mandatoryaddress2" --> |
|||
<label style="font-weight:bold"> |
|||
<!--TMPL_ELSE--> |
|||
<label> |
|||
<!-- /TMPL_IF--> |
|||
Address 2</label> |
|||
<input type="text" name="address2" size="35" value="<!-- TMPL_VAR NAME="address2" -->"> |
|||
</p> |
|||
<p> |
|||
<!-- TMPL_IF NAME="mandatoryzipcode" --> |
|||
<label style="font-weight:bold"> |
|||
<!--TMPL_ELSE--> |
|||
<label> |
|||
<!-- /TMPL_IF--> |
|||
Zipcode</label> |
|||
<input type="text" maxlength="5" name="zipcode" size="5" value="<!-- TMPL_VAR NAME="zipcode" -->"> |
|||
</p> |
|||
<!-- TMPL_IF NAME="city_cgipopup" --> |
|||
<p> |
|||
<!-- TMPL_IF NAME="mandatoryselect_city" --> |
|||
<label style="font-weight:bold"> |
|||
<!-- TMPL_ELSE --> |
|||
<label> |
|||
<!-- /TMPL_IF--> |
|||
Select a city</label> |
|||
<!-- TMPL_VAR NAME="citypopup" --> |
|||
</p> |
|||
<!-- /TMPL_IF--> |
|||
<p> |
|||
<!-- TMPL_IF NAME="mandatorycity" --> |
|||
<label style="font-weight:bold"> |
|||
<!--TMPL_ELSE--> |
|||
<label> |
|||
<!-- /TMPL_IF--> |
|||
City</label> |
|||
<input style="text-transform:uppercase;" type="text" name="city" size="20" value="<!-- TMPL_VAR NAME="city" -->"> |
|||
</p> |
|||
</fieldset> |
|||
<fieldset id="memberentry_contact"> |
|||
<legend>Contact</legend> |
|||
<!--TMPL_IF Name="C"--> |
|||
<h2>Borrower</h2> |
|||
<p> |
|||
<!-- TMPL_IF NAME="mandatoryB_email" --> |
|||
<label style="font-weight:bold"> |
|||
<!--TMPL_ELSE--> |
|||
<label> |
|||
<!-- /TMPL_IF--> |
|||
E-mail (home)</label> |
|||
<input type="text" name="B_email" value="<!-- TMPL_VAR NAME="B_email" -->" /> |
|||
<!-- TMPL_IF NAME="mandatoryB_phone" --> |
|||
<label style="font-weight:bold"> |
|||
<!--TMPL_ELSE--> |
|||
<label> |
|||
<!-- /TMPL_IF--> |
|||
Phone (cell)</label> |
|||
<input type="text" name="B_phone" value="<!-- TMPL_VAR NAME="B_phone" -->" /> |
|||
</p> |
|||
<!--/TMPL_IF--> |
|||
<p> |
|||
<!-- TMPL_IF NAME="mandatoryphone" --> |
|||
<label style="font-weight:bold"> |
|||
<!--TMPL_ELSE--> |
|||
<label> |
|||
<!-- /TMPL_IF--> |
|||
Phone (home)</label> |
|||
<input type="text" name="phone" value="<!-- TMPL_VAR NAME="phone" -->" > |
|||
</p> |
|||
<p> |
|||
<!-- TMPL_IF NAME="mandatoryphonepro" --> |
|||
<label style="font-weight:bold"> |
|||
<!--TMPL_ELSE--> |
|||
<label> |
|||
<!-- /TMPL_IF--> |
|||
Phone (prof)</label> |
|||
<input type="text" name="phonepro" value="<!-- TMPL_VAR NAME="phonepro" -->" > |
|||
</p> |
|||
<p> |
|||
<!-- TMPL_IF NAME="mandatorymobile" --> |
|||
<label style="font-weight:bold"> |
|||
<!--TMPL_ELSE--> |
|||
<label> |
|||
<!-- /TMPL_IF--> |
|||
Phone (cell)</label> |
|||
<input type="text" name="mobile" value="<!-- TMPL_VAR NAME="mobile" -->" > |
|||
</p> |
|||
<p> |
|||
<!-- TMPL_IF NAME="mandatoryemail" --> |
|||
<label style="font-weight:bold"> |
|||
<!--TMPL_ELSE--> |
|||
<label> |
|||
<!-- /TMPL_IF--> |
|||
E-mail (home)</label> |
|||
<input type="text" name="email" value="<!-- TMPL_VAR NAME="email" -->" > |
|||
</p> |
|||
<p> |
|||
<!-- TMPL_IF NAME="mandatoryemailpro" --> |
|||
<label style="font-weight:bold"> |
|||
<!--TMPL_ELSE--> |
|||
<label> |
|||
<!-- /TMPL_IF--> |
|||
E-mail (prof)</label> |
|||
<input type="text" name="emailpro" value="<!-- TMPL_VAR NAME="emailpro" -->" > |
|||
</p> |
|||
<p> |
|||
<!-- TMPL_IF NAME="mandatoryfax" --> |
|||
<label style="font-weight:bold"> |
|||
<!--TMPL_ELSE--> |
|||
<label> |
|||
<!-- /TMPL_IF--> |
|||
Fax</label> |
|||
<input type="text" name="fax" value="<!-- TMPL_VAR NAME="fax" -->" > |
|||
</p> |
|||
</fieldset> |
|||
</div> |
|||
|
|||
<!-- ************************ STEP_1 *********************** --> |
|||
<!--/TMPL_IF --> |
|||
<!--TMPL_IF Name="step_2"--> |
|||
<!--TMPL_IF Name="step_1"--> |
|||
<div name="step_2" id="step2" class="content_hidden"> |
|||
<!--TMPL_ELSE--> |
|||
<div name="step_2" id="step2" class="content_visible"> |
|||
<!--/TMPL_IF--> |
|||
<fieldset id="memberentry_address"> |
|||
<legend>Address</legend> |
|||
<fieldset> |
|||
<legend>Alternate address</legend> |
|||
<p> |
|||
<!-- TMPL_IF NAME="mandatoryB_address" --> |
|||
<label style="font-weight:bold"> |
|||
<!--TMPL_ELSE--> |
|||
<label> |
|||
<!-- /TMPL_IF--> |
|||
Address</label> |
|||
<input type="text" name="B_address" size="40" value="<!-- TMPL_VAR NAME="B_address" -->"> |
|||
</p> |
|||
<p> |
|||
<!-- TMPL_IF NAME="mandatoryB_zipcode" --> |
|||
<label style="font-weight:bold"> |
|||
<!--TMPL_ELSE--> |
|||
<label> |
|||
<!-- /TMPL_IF--> |
|||
Zipcode</label> |
|||
<input type="text" name="B_zipcode" maxlength="5" size="5" value="<!-- TMPL_VAR NAME="B_zipcode" -->"> |
|||
</p> |
|||
<p> |
|||
<!-- TMPL_IF NAME="mandatoryB_city" --> |
|||
<label style="font-weight:bold" > |
|||
<!--TMPL_ELSE--> |
|||
<label> |
|||
<!-- /TMPL_IF--> |
|||
City</label> |
|||
<input type="text" style="text-transform:uppercase;" name="B_city" size="20" value="<!-- TMPL_VAR NAME="B_city" -->"> |
|||
</p> |
|||
</fieldset> |
|||
</fieldset> |
|||
<!-- TMPL_IF NAME="I" --> |
|||
<!-- TMPL_IF NAME="memberofinstution" --> |
|||
<fieldset id="memberentry_organisation"> |
|||
<legend>Organisations</legend> |
|||
<p> |
|||
<!-- TMPL_IF NAME="mandatoryphone" --> |
|||
<label style="font-weight:bold"> |
|||
<!--TMPL_ELSE--> |
|||
<label> |
|||
<!-- /TMPL_IF--> |
|||
Organisation(s)</label> |
|||
<!-- TMPL_VAR NAME="CGIorganisations" --> |
|||
</p> |
|||
</fieldset> |
|||
<!-- /TMPL_IF --> |
|||
<!-- /TMPL_IF --> |
|||
</div> |
|||
|
|||
<!-- /TMPL_IF --> |
|||
<!--TMPL_IF Name="step_3"--> |
|||
<!--TMPL_IF Name="step_1"--> |
|||
<div name="step_3" id="step3" class="content_hidden"> |
|||
<!--TMPL_ELSE--> |
|||
<div name="step_3" id="step3" class="content_visible"> |
|||
<!--/TMPL_IF--> |
|||
|
|||
<fieldset id="memberentry_identity"> |
|||
<legend>Library Management</legend> |
|||
<!-- TMPL_IF NAME="mandatorycardnumber" --> |
|||
<label style="font-weight:bold"> |
|||
<!--TMPL_ELSE --> |
|||
<label> |
|||
<!-- /TMPL_IF--> |
|||
Card number</label> |
|||
<input type="text" name="cardnumber" size="10" value="<!-- TMPL_VAR NAME="cardnumber" -->"> |
|||
<p> |
|||
<!-- TMPL_IF NAME="mandatorybranchcode" --> |
|||
<label style="font-weight:bold"> |
|||
<!--TMPL_ELSE--> |
|||
<label> |
|||
<!-- /TMPL_IF--> |
|||
Branch</label> |
|||
<!-- TMPL_VAR NAME="CGIbranch" --> |
|||
</p> |
|||
<p> |
|||
<!-- TMPL_IF NAME="catcodepopup" --> |
|||
<label>Category</label> |
|||
<!-- TMPL_VAR NAME="catcodepopup" --> |
|||
<!-- TMPL_ELSE --> |
|||
<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 professionnal<!--/TMPL_IF-->.</span> |
|||
<a href="/cgi-bin/koha/admin/categorie.pl">Please create one</a> |
|||
<!-- /TMPL_IF --> |
|||
</p> |
|||
<p> |
|||
<!-- TMPL_IF NAME="mandatorysort1" --> |
|||
<label style="font-weight:bold"> |
|||
<!-- TMPL_ELSE --> |
|||
<label> |
|||
<!-- /TMPL_IF--> |
|||
Sort 1</label> |
|||
<!--TMPL_IF NAME="CGIsort1" --> |
|||
<!-- TMPL_VAR NAME="CGIsort1" --> |
|||
<!--TMPL_ELSE--> |
|||
<input type="text" name="sort1" size="20" value="<!-- TMPL_VAR NAME="sort1" -->" > |
|||
<!-- /TMPL_IF --> |
|||
</p> |
|||
<p> |
|||
<!-- TMPL_IF NAME="mandatorysort2" --> |
|||
<label style="font-weight:bold"> |
|||
<!-- TMPL_ELSE --> |
|||
<label> |
|||
<!-- /TMPL_IF--> |
|||
Sort 2</label> |
|||
<!--TMPL_IF NAME="CGIsort2" --> |
|||
<!-- TMPL_VAR NAME="CGIsort2" --> |
|||
<!--TMPL_ELSE--> |
|||
<input type="text" name="sort2" size="20" value="<!-- TMPL_VAR NAME="sort2" -->" > |
|||
<!-- /TMPL_IF --> |
|||
</p> |
|||
</fieldset> |
|||
<fieldset id="memberentry_subscription"> |
|||
<legend>Library set-up</legend> |
|||
<p> |
|||
<!-- TMPL_IF NAME="mandatorydateenrolled" --> |
|||
<label style="font-weight:bold"> |
|||
<!--TMPL_ELSE--> |
|||
<label> |
|||
<!-- /TMPL_IF--> |
|||
Arrival date</label> |
|||
<input type="text" id="dateenrolled" name="dateenrolled" maxlength="10" size="10" onchange="CheckDate(document.form.dateenrolled);check_manip_date('verify');" value="<!-- TMPL_VAR NAME="dateenrolled" -->"> |
|||
<img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="dateenrolled_button" /> |
|||
<script language="JavaScript" type="text/javascript"> |
|||
Calendar.setup( |
|||
{ |
|||
inputField : "dateenrolled", |
|||
ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->", |
|||
button : "dateenrolled_button" |
|||
} |
|||
); |
|||
</script> |
|||
</p> |
|||
<p> |
|||
<!-- TMPL_IF NAME="mandatorydateexpiry" --> |
|||
<label style="font-weight:bold"> |
|||
<!--TMPL_ELSE--> |
|||
<label> |
|||
<!-- /TMPL_IF--> |
|||
Expiry date</label> |
|||
<input type="text" id="dateexpiry" name="dateexpiry" maxlength="10" size="10" |
|||
onchange="CheckDate(document.form.dateexpiry);check_manip_date('verify');" value="<!-- TMPL_VAR NAME="dateexpiry" -->"> |
|||
<img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="dateexpiry_button" /> |
|||
<script language="JavaScript" type="text/javascript"> |
|||
Calendar.setup( |
|||
{ |
|||
inputField : "dateeexpiry", |
|||
ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->", |
|||
button : "dateexpiry_button" |
|||
} |
|||
); |
|||
</script> |
|||
</p> |
|||
<p> |
|||
<!-- TMPL_IF NAME="mandatoryopacnote" --> |
|||
<label style="font-weight:bold"> |
|||
<!--TMPL_ELSE--> |
|||
<label> |
|||
<!-- /TMPL_IF--> |
|||
OPAC note</label> |
|||
<textarea name="opacnote" cols="40" rows="2" ><!-- TMPL_VAR NAME="opacnote" --></textarea> |
|||
</p> |
|||
<p> |
|||
<!-- TMPL_IF NAME="mandatoryborrowernotes" --> |
|||
<label style="font-weight:bold"> |
|||
<!--TMPL_ELSE--> |
|||
<label> |
|||
<!-- /TMPL_IF--> |
|||
Library note</label> |
|||
<textarea name="borrowernotes" cols="40" rows="2" ><!-- TMPL_VAR NAME="borrowernotes" --></textarea> |
|||
</p> |
|||
</fieldset> |
|||
<fieldset id="memberentry_userid"> |
|||
<legend>OPAC login</legend> |
|||
<p> |
|||
<!-- TMPL_IF NAME="mandatoryuserid" --> |
|||
<label style="font-weight:bold"> |
|||
<!--TMPL_ELSE--> |
|||
<label> |
|||
<!-- /TMPL_IF--> |
|||
OPAC Login</label> |
|||
<input type="text" name="userid" size="20" value="<!-- TMPL_VAR NAME="userid" -->"> |
|||
</p> |
|||
<p> |
|||
<!-- TMPL_IF NAME="mandatorypassword" --> |
|||
<label style="font-weight:bold"> |
|||
<!--TMPL_ELSE--> |
|||
<label> |
|||
<!-- /TMPL_IF--> |
|||
Password</label> |
|||
<!--TMPL_IF NAME="opadd"--> |
|||
<input type="text" name="password" size="20" value="<!-- TMPL_VAR NAME="password" -->"> |
|||
<!--TMPL_ELSE--> |
|||
<!--TMPL_IF NAME="password"--> |
|||
<input type="text" name="password" size="20" value="****"> |
|||
<!--TMPL_ELSE--> |
|||
<input type="text" name="password" size="20" value=""> |
|||
<!--/TMPL_IF--> |
|||
<!--/TMPL_IF--> |
|||
</p> |
|||
<!--this zones are not necessary in modif mode --> |
|||
<!-- TMPL_UNLESS NAME="opadd" --> |
|||
<h2>Warning</h2> |
|||
<!-- TMPL_LOOP NAME="flagloop" --> |
|||
<p> |
|||
<label class="borrowers_labels_title"><!-- TMPL_VAR NAME="html" --></label> |
|||
<input type="radio" name="<!-- TMPL_VAR NAME="name" -->" value="1" <!-- TMPL_VAR NAME="yes" -->>Yes |
|||
<input type="radio" name="<!-- TMPL_VAR NAME="name" -->" value="0" <!-- TMPL_VAR NAME="no" -->>No |
|||
</p> |
|||
<!-- /TMPL_LOOP --> |
|||
<!-- /TMPL_UNLESS --> |
|||
<p> |
|||
</fieldset> |
|||
</div> |
|||
<!-- /TMPL_IF --> |
|||
<div name="action"> |
|||
<!-- TMPL_IF NAME="opadd" --> |
|||
<input type="button" name="step4" onclick="check_form_borrowers();unique();" value="Add member"> |
|||
<!-- TMPL_ELSE --> |
|||
<input type="button" name="step4" onclick="check_form_borrowers();" value="Modify member"> |
|||
<!--/TMPL_IF --> |
|||
</div> |
|||
</form> |
|||
|
|||
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" --> |
Loading…
Reference in new issue