<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
-<title>Koha › Patrons › <!-- TMPL_IF NAME="opadd" -->
- 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" --><!-- TMPL_ELSE -->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" --><!-- /TMPL_IF --></title>
+<title>Koha › Patrons ›
+<!-- TMPL_IF NAME="opadd" --> 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" --><!-- TMPL_ELSE -->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" --><!-- /TMPL_IF --></title>
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
<script type="text/javascript" src="<!-- TMPL_VAR NAME='themelang' -->/js/members.js"></script>
<!-- TMPL_INCLUDE NAME="calendar.inc" -->
-
-<style type="text/css">
-
-fieldset {
-border-width : 1px;
-border-bottom : 1px solid black;
-float : left;
-font-size : 90%;
-clear : left;
-margin: 1.5em 0 0 0;
-padding: 0;
-width: 100%;
-}
-
-legend {
-margin-left: 1em;
-color: #000000;
-font-weight: bold;
-font-size : 110%;
-}
-
-label {
-float: left;
-font-weight : bold;
-width: 12em;
-margin-right: 1em;
-text-align: right;
-}
-
-fieldset ol {
-padding: 1em 1em 0 1em;
-list-style-type: none;
-}
-
-fieldset li {
-float : left;
-clear : left;
-padding-bottom: 1em;
-list-style-type: none;
-width: 100%;
-}
-
-fieldset.submit {
-border-style: none;
-}
-
-ol.radio label {
- width : auto;
- float : none;
- margin-right : 0;
-}
-
-ol.radio label.radio {
- float : left;
- width : 12em;
- margin-right : 1em;
-}
-</style>
+<script type="text/JavaScript" language="JavaScript">
+//<![CDATA[
+ $(document).ready(function() {
+ $("#guarantordelete").click(function() {
+ $("#guarantorid").attr("value","");
+ $("#contactname").attr("value","");
+ $("#contactfirstname").attr("value","");
+ $("#guarantorsearch").attr("value","Find guarantor");
+ });
+ });
+//]]>
+</script>
</head>
<body>
<!-- TMPL_INCLUDE NAME="header.inc" -->
-<!-- TMPL_INCLUDE NAME="members-search.inc" -->
+<!-- TMPL_INCLUDE NAME="patron-search.inc" -->
-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a> › <!-- TMPL_IF NAME="opadd" -->
- 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" --><!-- TMPL_ELSE --> <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->"><!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR NAME="surname" --></a> › 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" --><!-- /TMPL_IF --></div>
+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a> ›
+<!-- TMPL_IF NAME="opadd" -->
+ 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 --> <!--TMPL_IF Name="S"-->Staff <!--/TMPL_IF -->
+patron <!-- TMPL_VAR NAME="surname" --> <!-- TMPL_VAR name="firstname" -->
+<!-- TMPL_ELSE -->
+<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="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 --><!--TMPL_IF Name="S"-->Staff <!--/TMPL_IF -->
+patron <!-- TMPL_VAR NAME="surname" --> <!-- TMPL_VAR name="firstname" --><!-- /TMPL_IF --></strong></div>
<div id="doc3" class="yui-t2">
<!-- 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" -->
+ 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 --><!--TMPL_IF Name="S"-->staff <!--/TMPL_IF -->
+patron <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR NAME="surname" -->
</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" -->
+ 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 --><!--TMPL_IF Name="S"-->staff <!--/TMPL_IF -->
+patron <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR NAME="surname" -->
</h1>
<!-- /TMPL_IF -->
+
<!-- TMPL_IF NAME="check_member" -->
<p>
<form name="form_double" action="/cgi-bin/koha/members/memberentry.pl" method="post">
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>
+ <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="checked" name="answernodouble" >
<!-- TMPL_IF Name="nok" -->
<div id="problem">
- <p>The following fields are wrong. Please fix it/them</p>
+ <p>The following fields are wrong. Please fix them</p>
<!-- TMPL_IF NAME="ERROR_login_exist" -->
<div id="ERROR_login_exist">login/password already exist</div>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="ERROR_age_limitations" -->
<div id="ERROR_age_limitations">Patron is too young or too old for this category</div>
<!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="ERROR_branch" -->
+ <div id="ERROR_branch">branch selected not allowed.</div>
+ <!-- /TMPL_IF -->
</div>
<!-- /TMPL_IF -->
- <!--TMPL_IF Name="allsteps"-->
-
- <!--/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="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="step"--><input type="hidden" name="step" value="<!-- TMPL_VAR NAME="step" -->" /><!--/TMPL_IF-->
<!-- 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 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">
+ <fieldset class="rows" id="memberentry_identity">
<legend><!--TMPL_IF Name="I"-->Organisation <!--TMPL_ELSE-->Patron <!--/TMPL_IF-->identity</legend>
<ol>
<li>
<!-- /TMPL_IF-->
Title: </label>
<!-- TMPL_VAR NAME="borrotitlepopup" -->
+ <!-- TMPL_IF NAME="mandatorytitle" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<li>
<!-- TMPL_ELSE -->
<input type="text" id="surname" name="surname" size="20" value="<!-- TMPL_VAR NAME="surname" -->" />
<!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="mandatorysurname" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<li>
<!-- TMPL_IF NAME="mandatoryfirstname" -->
<!-- /TMPL_IF-->
Firstname: </label>
<input type="text" id="firstname" name="firstname" size="20" value="<!-- TMPL_VAR NAME="firstname" -->" />
+ <!-- TMPL_IF NAME="mandatoryfirstname" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<li>
<!-- TMPL_IF NAME="mandatorydateofbirth" -->
}
);
</script>
+ <!-- TMPL_IF NAME="mandatorydateofbirth" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<li>
<!-- TMPL_IF NAME="mandatoryinitials" -->
<!-- /TMPL_IF-->
Initials: </label>
<input type="text" id="initials" name="initials" size="20" value="<!-- TMPL_VAR NAME="initials" -->" />
+ <!-- TMPL_IF NAME="mandatoryinitials" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<li>
<!-- TMPL_IF NAME="mandatoryothernames" -->
<!-- /TMPL_IF-->
Other name: </label>
<input type="text" id="othernames" name="othernames" size="20" value="<!-- TMPL_VAR NAME="othernames" -->" />
+<!-- TMPL_IF NAME="mandatoryothernames" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
- <li class="radio"><!-- TMPL_IF NAME="female" --><label for="sex-female">Female </label><input type="radio" name="sex" id="sex-female" value="F" checked="checked" />
- <label for="sex-male">Male </label><input type="radio" name="sex" id="sex-male" value="M" />
+ <!--TMPL_IF Name="I"-->
+ <input type="hidden" name="sex" value="N" />
+ <!--TMPL_ELSE-->
+ <li class="radio">
+ <!-- TMPL_IF NAME="female" -->
+ <label for="sex-female">Female </label><input type="radio" name="sex" id="sex-female" value="F" checked="checked" />
+ <label for="sex-male">Male </label><input type="radio" name="sex" id="sex-male" value="M" />
<!-- TMPL_ELSE -->
- <label for="sex-female">Female </label><input type="radio" name="sex" id="sex-female" value="F" />
- <label for="sex-male">Male </label><input type="radio" name="sex" id="sex-male" value="M" checked="checked" /></li>
- </ol>
-
+ <label for="sex-female">Female </label><input type="radio" name="sex" id="sex-female" value="F" />
+ <label for="sex-male">Male </label><input type="radio" name="sex" id="sex-male" value="M" checked="checked" />
<!-- /TMPL_IF -->
-<!--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';" />
+ </li>
+ <!--/TMPL_IF-->
+<!--TMPL_IF EXPR="showguarantor"--> <li><label for="">Guarantor: </label>
+
+ <input name="contactname" id="contactname" type="text" size="20" value="<!-- TMPL_VAR NAME="contactname" -->" disabled="disabled" readonly="readonly" />
+ <input name="contactfirstname" id="contactfirstname" type="text" size="20" value="<!-- TMPL_VAR NAME="contactfirstname" -->" disabled="disabled" readonly="readonly" />
<!-- TMPL_IF NAME="guarantorid"-->
-
- <input name="guarantorsearch" type="button" value="Modify Guarantor" onclick="Dopopguarantor('guarantor_search.pl');" />
+ <input id="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-->
+ <input id="guarantorsearch" type="button" value="Find guarantor" onclick="Dopopguarantor('guarantor_search.pl');" />
+ <!-- /TMPL_IF --> <input id="guarantordelete" type="button" value="Delete Guarantor" />
+ </li>
+<!--/TMPL_IF-->
+ </ol>
</fieldset>
-<fieldset>
+<fieldset class="rows">
<legend>Main address</legend><ol>
<li>
<!-- TMPL_IF NAME="mandatorystreetnumber" -->
<!-- /TMPL_IF-->
Street number: </label>
<input type="text" id="streetnumber" name="streetnumber" size="5" value="<!-- TMPL_VAR NAME="streetnumber" -->" />
+<!-- TMPL_IF NAME="mandatorystreetnumber" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<!-- TMPL_IF NAME="road_cgipopup" -->
<li>
<!-- /TMPL_IF-->
Street type: </label>
<!-- TMPL_VAR NAME="roadpopup" -->
+ <!-- TMPL_IF NAME="mandatorystreettype" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<!--/TMPL_IF-->
<li>
<!--/TMPL_IF-->
Address: </label>
<input type="text" id="address" name="address" size="35" value="<!-- TMPL_VAR NAME="address" -->" />
+ <!-- TMPL_IF NAME="mandatoryaddress" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<li>
<!-- TMPL_IF NAME="mandatoryaddress2" -->
<!-- /TMPL_IF-->
Address 2: </label>
<input type="text" id="address2" name="address2" size="35" value="<!-- TMPL_VAR NAME="address2" -->" />
- </li>
- <li>
- <!-- TMPL_IF NAME="mandatoryzipcode" -->
- <label for="zipcode" class="required">
- <!--TMPL_ELSE-->
- <label for="zipcode">
- <!-- /TMPL_IF-->
- Zipcode: </label>
- <input type="text" name="zipcode" id="zipcode" size="10" value="<!-- TMPL_VAR NAME="zipcode" -->" />
- </li>
- <!-- TMPL_IF NAME="city_cgipopup" -->
+ <!-- TMPL_IF NAME="mandatoryaddress2" --><span class="required">Required</span><!-- /TMPL_IF -->
+ </li>
+ <!-- TMPL_IF NAME="city_cgipopup" -->
<li>
<!-- TMPL_IF NAME="mandatoryselect_city" -->
<label for="select_city" class="required">
<!-- /TMPL_IF-->
Select a city: </label>
<!-- TMPL_VAR NAME="citypopup" -->
+ <!-- TMPL_IF NAME="mandatoryselect_city" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<!-- /TMPL_IF-->
<li>
<!-- /TMPL_IF-->
City: </label>
<input type="text" id="city" name="city" size="20" value="<!-- TMPL_VAR NAME="city" -->" />
+ <!-- TMPL_IF NAME="mandatorycity" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
+ <li>
+ <!-- TMPL_IF NAME="mandatoryzipcode" -->
+ <label for="zipcode" class="required">
+ <!--TMPL_ELSE-->
+ <label for="zipcode">
+ <!-- /TMPL_IF-->
+ Zipcode: </label>
+ <input type="text" name="zipcode" id="zipcode" size="10" value="<!-- TMPL_VAR NAME="zipcode" -->" />
+ <!-- TMPL_IF NAME="mandatoryzipcode" --><span class="required">Required</span><!-- /TMPL_IF -->
+ </li>
+
</ol>
</fieldset>
- <fieldset id="memberentry_contact">
+ <fieldset class="rows" id="memberentry_contact">
<legend>Contact</legend><ol>
<!--TMPL_IF Name="C"-->
- <h2>Borrower</h2>
+ <h2>Patron</h2>
<li>
<!-- TMPL_IF NAME="mandatoryB_email" -->
<label for="B_email" class="required">
<label for="B_email">
<!-- /TMPL_IF-->
E-mail (home): </label>
- <input type="text" id="B_email" name="B_email" value="<!-- TMPL_VAR NAME="B_email" -->" />
+ <input type="text" id="B_email" name="B_email" size="45" value="<!-- TMPL_VAR NAME="B_email" -->" />
+ <!-- TMPL_IF NAME="mandatoryB_email" --><span class="required">Required</span><!-- /TMPL_IF --> </li>
+ <li>
<!-- TMPL_IF NAME="mandatoryB_phone" -->
<label for="B_phone" class="required">
<!--TMPL_ELSE-->
<label for="B_phone">
<!-- /TMPL_IF-->
- Phone (cell): </label>
- <input type="text" id="B_phone" name="B_phone" value="<!-- TMPL_VAR NAME="B_phone" -->" />
+ Phone (mobile): </label>
+ <input type="text" id="B_phone" name="B_phone" value="<!-- TMPL_VAR NAME="B_phone" -->" />
+ <!-- TMPL_IF NAME="mandatoryB_phone" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<!--/TMPL_IF-->
<li>
<!-- /TMPL_IF-->
Phone (home): </label>
<input type="text" id="phone" name="phone" value="<!-- TMPL_VAR NAME="phone" -->" />
+ <!-- TMPL_IF NAME="mandatoryphone" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<li>
<!-- TMPL_IF NAME="mandatoryphonepro" -->
<!--TMPL_ELSE-->
<label for="phonepro">
<!-- /TMPL_IF-->
- Phone (prof): </label>
+ Phone (work): </label>
<input type="text" id="phonepro" name="phonepro" value="<!-- TMPL_VAR NAME="phonepro" -->" />
+ <!-- TMPL_IF NAME="mandatoryphonepro" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<li>
<!-- TMPL_IF NAME="mandatorymobile" -->
<!-- /TMPL_IF-->
Phone (cell): </label>
<input type="text" id="mobile" name="mobile" value="<!-- TMPL_VAR NAME="mobile" -->" />
+ <!-- TMPL_IF NAME="mandatorymobile" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<li>
<!-- TMPL_IF NAME="mandatoryemail" -->
<label for="email">
<!-- /TMPL_IF-->
E-mail (home): </label>
- <input type="text" id="email" name="email" value="<!-- TMPL_VAR NAME="email" -->" />
+ <input type="text" id="email" name="email" size="45" value="<!-- TMPL_VAR NAME="email" -->" />
+ <!-- TMPL_IF NAME="mandatoryemail" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<li>
<!-- TMPL_IF NAME="mandatoryemailpro" -->
<!--TMPL_ELSE-->
<label for="emailpro">
<!-- /TMPL_IF-->
- E-mail (prof): </label>
- <input type="text" id="emailpro" name="emailpro" value="<!-- TMPL_VAR NAME="emailpro" -->" />
+ E-mail (work): </label>
+ <input type="text" id="emailpro" name="emailpro" size="45" value="<!-- TMPL_VAR NAME="emailpro" -->" />
+ <!-- TMPL_IF NAME="mandatoryemailpro" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<li>
<!-- TMPL_IF NAME="mandatoryfax" -->
<!-- /TMPL_IF-->
Fax: </label>
<input type="text" id="fax" name="fax" value="<!-- TMPL_VAR NAME="fax" -->" />
+ <!-- TMPL_IF NAME="mandatoryfax" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
</ol>
</fieldset>
-</div>
+
<!-- ************************ STEP_1 *********************** -->
<!--/TMPL_IF -->
<!--TMPL_IF Name="step_2"-->
-<!--TMPL_IF Name="step_1"-->
-<div id="step2" class="content_hidden">
-<!--TMPL_ELSE-->
-<div id="step2" class="content_visible">
-<!--/TMPL_IF-->
- <fieldset id="memberentry_address">
+ <fieldset class="rows" id="memberentry_address">
<legend>Alternate address</legend><ol>
<li>
<!-- TMPL_IF NAME="mandatoryB_address" -->
<!-- /TMPL_IF-->
Address: </label>
<input type="text" id="B_address" name="B_address" size="40" value="<!-- TMPL_VAR NAME="B_address" -->" />
- </li>
- <li>
- <!-- TMPL_IF NAME="mandatoryB_zipcode" -->
- <label for="B_zipcode" class="required">
- <!--TMPL_ELSE-->
- <label for="B_zipcode">
- <!-- /TMPL_IF-->
- Zipcode: </label>
- <input type="text" id="B_zipcode" name="B_zipcode" maxlength="5" size="5" value="<!-- TMPL_VAR NAME="B_zipcode" -->" />
+ <!-- TMPL_IF NAME="mandatoryB_address" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<li>
<!-- TMPL_IF NAME="mandatoryB_city" -->
<!-- /TMPL_IF-->
City: </label>
<input type="text" id="B_city" name="B_city" size="20" value="<!-- TMPL_VAR NAME="B_city" -->" />
+ <!-- TMPL_IF NAME="mandatoryB_city" --><span class="required">Required</span><!-- /TMPL_IF -->
+ </li>
+ <li>
+ <!-- TMPL_IF NAME="mandatoryB_zipcode" -->
+ <label for="B_zipcode" class="required">
+ <!--TMPL_ELSE-->
+ <label for="B_zipcode">
+ <!-- /TMPL_IF-->
+ Zipcode: </label>
+ <input type="text" id="B_zipcode" name="B_zipcode" maxlength="5" size="5" value="<!-- TMPL_VAR NAME="B_zipcode" -->" />
+ <!-- TMPL_IF NAME="mandatoryB_zipcode" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
</ol>
</fieldset>
<!-- TMPL_IF NAME="I" -->
<!-- TMPL_IF NAME="memberofinstution" -->
- <fieldset id="memberentry_organisation">
+ <fieldset class="rows" id="memberentry_organisation">
<legend>Organisations</legend><ol>
<li>
<!-- TMPL_IF NAME="mandatoryphone" -->
<!-- /TMPL_IF-->
Organisation(s): </label>
<!-- TMPL_VAR NAME="CGIorganisations" -->
+ <!-- TMPL_IF NAME="mandatoryphone" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
</ol>
</fieldset>
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
-</div>
<!-- /TMPL_IF -->
<!--TMPL_IF Name="step_3"-->
-<!--TMPL_IF Name="step_1"-->
-<div id="step3" class="content_hidden">
-<!--TMPL_ELSE-->
-<div id="step3" class="content_visible">
-<!--/TMPL_IF-->
- <fieldset id="memberentry_library_management">
+ <fieldset class="rows" id="memberentry_library_management">
<legend>Library Management</legend><ol>
<li> <!-- TMPL_IF NAME="mandatorycardnumber" -->
<label for="cardnumber" class="required">
<label for="cardnumber">
<!-- /TMPL_IF-->
Card number: </label>
- <input type="text" id="cardnumber" name="cardnumber" size="10" value="<!-- TMPL_VAR NAME="cardnumber" -->" /></li>
+ <input type="text" id="cardnumber" name="cardnumber" size="10" value="<!-- TMPL_VAR NAME="cardnumber" -->" />
+ <!-- TMPL_IF NAME="mandatorycardnumber" --><span class="required">Required</span><!-- /TMPL_IF --></li>
<li>
<!-- TMPL_IF NAME="mandatorybranchcode" -->
<label for="branchcode" class="required">
<!-- /TMPL_IF-->
Branch: </label>
<!-- TMPL_VAR NAME="CGIbranch" -->
+ <!-- TMPL_IF NAME="mandatorybranchcode" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<li>
<!-- TMPL_IF NAME="catcodepopup" -->
<!-- TMPL_VAR NAME="CGIsort1" -->
<!--TMPL_ELSE-->
<input type="text" id="sort1" name="sort1" size="20" value="<!-- TMPL_VAR NAME="sort1" -->" />
+ <!-- TMPL_IF NAME="mandatorysort1" --><span class="required">Required</span><!-- /TMPL_IF -->
<!-- /TMPL_IF -->
</li>
<li>
<!-- TMPL_VAR NAME="CGIsort2" -->
<!--TMPL_ELSE-->
<input type="text" id="sort2" name="sort2" size="20" value="<!-- TMPL_VAR NAME="sort2" -->" />
+ <!-- TMPL_IF NAME="mandatorysort2" --><span class="required">Required</span><!-- /TMPL_IF -->
<!-- /TMPL_IF -->
</li>
</ol>
</fieldset>
- <fieldset id="memberentry_subscription">
+ <fieldset class="rows" id="memberentry_subscription">
<legend>Library set-up</legend><ol>
<li>
<!-- TMPL_IF NAME="mandatorydateenrolled" -->
<!--TMPL_ELSE-->
<label for="dateenrolled">
<!-- /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" -->" />
+ Registration 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" alt="Show Calendar" />
<script language="JavaScript" type="text/javascript">
Calendar.setup(
}
);
</script>
+ <!-- TMPL_IF NAME="mandatorydateenrolled" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<li>
<!-- TMPL_IF NAME="mandatorydateexpiry" -->
<label for="dateexpiry">
<!-- /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" -->" />
+ <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" alt="Show Calendar" />
<script language="JavaScript" type="text/javascript">
Calendar.setup(
{
- inputField : "dateeexpiry",
+ inputField : "dateexpiry",
ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
button : "dateexpiry_button"
}
);
</script>
+ <!-- TMPL_IF NAME="mandatorydateexpiry" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<li>
<!-- TMPL_IF NAME="mandatoryopacnote" -->
<!-- /TMPL_IF-->
OPAC note: </label>
<textarea id="opacnote" name="opacnote" cols="40" rows="2"><!-- TMPL_VAR NAME="opacnote" --></textarea>
+ <!-- TMPL_IF NAME="mandatoryopacnote" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<li>
<!-- TMPL_IF NAME="mandatoryborrowernotes" -->
<!-- /TMPL_IF-->
Library note: </label>
<textarea id="borrowernotes" name="borrowernotes" cols="40" rows="2"><!-- TMPL_VAR NAME="borrowernotes" --></textarea>
+ <!-- TMPL_IF NAME="mandatoryborrowernotes" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
</ol>
</fieldset>
- <fieldset id="memberentry_userid">
+ <fieldset class="rows" id="memberentry_userid">
<legend>OPAC login</legend><ol>
<li>
<!-- TMPL_IF NAME="mandatoryuserid" -->
<label for="userid">
<!-- /TMPL_IF-->
OPAC Login: </label>
- <input type="text" id="userid" name="userid" size="20" value="<!-- TMPL_VAR NAME="userid" -->" />
+ <input type="text" id="userid" name="userid" size="20" <!-- TMPL_IF NAME="NoUpdateLogin" -->disabled='true'<!-- /TMPL_IF --> value="<!-- TMPL_VAR NAME="userid" -->" />
+ <!-- TMPL_IF NAME="mandatoryuserid" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<li>
<!-- TMPL_IF NAME="mandatorypassword" -->
<!-- /TMPL_IF-->
Password: </label>
<!--TMPL_IF NAME="opadd"-->
- <input type="text" id="password" name="password" size="20" value="<!-- TMPL_VAR NAME="password" -->" />
+ <input type="text" id="password" name="password" size="20" <!-- TMPL_IF NAME="NoUpdateLogin" -->disabled='true'<!-- /TMPL_IF --> value="<!-- TMPL_VAR NAME="password" -->" />
<!--TMPL_ELSE-->
<!--TMPL_IF NAME="password"-->
- <input type="text" id="password" name="password" size="20" value="****" />
+ <input type="text" id="password" name="password" size="20" <!-- TMPL_IF NAME="NoUpdateLogin" -->disabled='true'<!-- /TMPL_IF --> value="****" />
<!--TMPL_ELSE-->
- <input type="text" id="password" name="password" size="20" value="" />
+ <input type="text" id="password" name="password" size="20" <!-- TMPL_IF NAME="NoUpdateLogin" -->disabled='true'<!-- /TMPL_IF --> value="" />
<!--/TMPL_IF-->
<!--/TMPL_IF-->
+ <!-- TMPL_IF NAME="mandatorypassword" --><span class="required">Required</span><!-- /TMPL_IF -->
</li></ol>
</fieldset>
<!--this zones are not necessary in modif mode -->
<!-- TMPL_UNLESS NAME="opadd" -->
- <fieldset>
+ <fieldset class="rows">
<legend>Patron Account Flags</legend>
<ol class="radio">
<!-- TMPL_LOOP NAME="flagloop" -->
</ol>
</fieldset>
<!-- /TMPL_UNLESS -->
-</div>
<!-- /TMPL_IF -->
- <div id="action">
+ <fieldset class="action">
+ <input type="button" name="save" onclick="return check_form_borrowers();" value="Save" />
<!-- TMPL_IF NAME="opadd" -->
- <input type="button" name="step4" onclick="return check_form_borrowers(); unique();" value="Add member" />
- <!-- TMPL_ELSE -->
- <input type="button" name="step4" onclick="return check_form_borrowers();" value="Modify member" />
- <!--/TMPL_IF -->
- </div>
+ <a class="cancel" href="/cgi-bin/koha/members/member.pl">Cancel</a>
+ <!-- TMPL_ELSE -->
+ <a class="cancel" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">Cancel</a>
+ <!-- /TMPL_IF -->
+ </fieldset>
</form>
</div>