Add Local-use statistical patron category_type
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / members / memberentrygen.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Patrons &rsaquo; 
3 <!-- 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 -->
4 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 --><!--TMPL_IF Name="S"--> Staff<!--/TMPL_IF -->
5 patron <!-- TMPL_VAR NAME="surname" -->, <!-- TMPL_VAR name="firstname" --><!-- /TMPL_IF --></title>
6 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
7 <script type="text/javascript" src="<!-- TMPL_VAR NAME='themelang' -->/js/members.js"></script>
8 <!-- TMPL_INCLUDE NAME="calendar.inc" -->
9 <script type="text/JavaScript" language="JavaScript">
10 //<![CDATA[
11          $(document).ready(function() {
12                 $("#guarantordelete").click(function() {
13                         $("#guarantorid").attr("value","");
14                         $("#contactname").attr("value","");
15                         $("#contactfirstname").attr("value","");
16                         $("#guarantorsearch").attr("value","Find guarantor");
17                 });
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;                                     
23                 });
24          });
25 //]]>
26 </script>
27 </head>
28 <body>
29 <!-- TMPL_INCLUDE NAME="header.inc" -->
30 <!-- TMPL_INCLUDE NAME="patron-search.inc" -->
31
32 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a>  &rsaquo; 
33 <!-- TMPL_IF NAME="opadd" -->
34                 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 -->
35 patron <!-- TMPL_VAR NAME="surname" --> <!-- TMPL_VAR name="firstname" -->
36 <!-- TMPL_ELSE --> 
37 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->"><!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR NAME="surname" --></a> &rsaquo; <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 -->
38 patron <!-- TMPL_VAR NAME="surname" --> <!-- TMPL_VAR name="firstname" --></strong><!-- /TMPL_IF --></div>
39
40 <!-- TMPL_IF NAME="opadd" --><div id="doc" class="yui-t7"><!-- TMPL_ELSE --><div id="doc3" class="yui-t2"><!-- /TMPL_IF -->
41    
42    <div id="bd">
43         <div id="yui-main">
44         <div class="yui-b">
45
46
47         <!-- TMPL_IF NAME="opadd" -->
48         <h1>
49                 <!--TMPL_IF Name="I"--> Add organisation patron <!--/TMPL_IF --><!--TMPL_IF Name="A"--> Add adult patron <!--/TMPL_IF --><!--TMPL_IF Name="C"--> Add child patron <!--/TMPL_IF --><!--TMPL_IF Name="P"--> Add professional patron <!--/TMPL_IF --><!--TMPL_IF Name="S"--> Add staff patron <!--/TMPL_IF -->
50 <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR NAME="surname" --> 
51         </h1>
52         <!-- TMPL_ELSE -->
53         <h1 >
54                 <!--TMPL_IF Name="I"--> Modify organisation patron <!--/TMPL_IF --><!--TMPL_IF Name="A"--> Modify adult patron <!--/TMPL_IF --><!--TMPL_IF Name="C"--> Modify child patron <!--/TMPL_IF --><!--TMPL_IF Name="P"--> Modify professional patron <!--/TMPL_IF --><!--TMPL_IF Name="S"--> Modify staff patron <!--/TMPL_IF -->
55 <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR NAME="surname" --> 
56         </h1>
57         <!-- /TMPL_IF -->
58   
59         <!-- TMPL_IF NAME="check_member" -->
60                 <p>
61                 <form name="form_double" action="/cgi-bin/koha/members/memberentry.pl" method="post">
62                         <div class="dialog error">
63                                 <h3>Duplicate suspected</h3>
64                                 <a href="javascript:Dopop('borrowers_details.pl?borrowernumber=<!--TMPL_VAR NAME="check_member"-->');" >Detail</a>
65                                 Duplicate ?
66                                 <a href="/cgi-bin/koha/members/memberentry.pl?borrowernumber=<!--TMPL_VAR NAME="check_member"-->&amp;category_type=<!--TMPL_VAR NAME="check_categorytype"-->">Yes</a> 
67                                 &nbsp;&nbsp;&nbsp; No, it is not
68                                 <!-- TMPL_IF NAME="checked"-->
69                                         <input type="checkbox" checked="checked" name="answernodouble" >
70                                 <!-- TMPL_ELSE -->
71                                         <input type="checkbox" name="answernodouble" />
72                                 <!-- /TMPL_IF -->
73                         </div>
74                 </form>
75                 </p>
76         <!--/TMPL_IF-->
77                 
78         <!-- TMPL_IF Name="debug" -->
79                 <div id="debug">
80                                 <div>Debug is on (level <!-- TMPL_VAR NAME="debug" -->)</div>
81                 </div>
82         <!-- /TMPL_IF -->
83         <!-- TMPL_IF Name="nok" -->
84                 <div class="dialog error">
85                         <p>The following fields are wrong. Please fix them.</p>
86                         <ul>
87                         <!-- TMPL_IF NAME="ERROR_login_exist" -->
88                                 <li id="ERROR_login_exist">Login/password already exists.</li>
89                         <!-- /TMPL_IF -->
90                         <!-- TMPL_IF NAME="ERROR_cardnumber" -->
91                                 <li id="ERROR_cardnumber">Cardnumber already in use.</li>
92                         <!-- /TMPL_IF -->
93                         <!-- TMPL_IF NAME="ERROR_age_limitations" -->
94                                 <li id="ERROR_age_limitations">Patron's age is incorrect for their category.  
95                                         Ages allowed are <!-- TMPL_VAR NAME="ERROR_age_limitations"-->.</li>
96                         <!-- /TMPL_IF -->
97                         <!-- TMPL_IF NAME="ERROR_branch" -->
98                                 <li id="ERROR_branch">Library is invalid.</li>
99                         <!-- /TMPL_IF -->   
100                         <!-- TMPL_IF NAME="ERROR_dateofbirth" -->
101                                 <li id="ERROR_dateofbirth">Date of birth is invalid.</li>
102                         <!-- /TMPL_IF -->
103                         <!-- TMPL_IF NAME="ERROR_dateenrolled" -->
104                                 <li id="ERROR_dateenrolled">Date of enrollment is invalid.</li>
105                         <!-- /TMPL_IF -->
106                         <!-- TMPL_IF NAME="ERROR_dateexpiry" -->
107                                 <li id="ERROR_dateexpiry">Date of expiration is invalid.</li>
108                         <!-- /TMPL_IF -->
109                         </ul>
110                 </div>
111         <!-- /TMPL_IF -->
112         
113   
114 <form name="form"  action="/cgi-bin/koha/members/memberentry.pl" method="post"> 
115 <!--    field always hidden in different form (1,2,3) -->
116 <input type="hidden" name="BorrowerMandatoryField" value="<!--TMPL_VAR NAME="BorrowerMandatoryField"-->" />
117 <input type="hidden" name="category_type" value="<!-- TMPL_VAR name="category_type" -->" />
118 <input type="hidden" name="updtype" value="<!-- TMPL_VAR NAME="updtype" -->" />
119 <input type="hidden" name="guarantorid"   value="<!-- TMPL_VAR NAME="guarantorid" -->" />
120 <input type="hidden" name="select_roadtype" value="<!-- TMPL_VAR NAME="select_roadtype" -->" />
121 <input type="hidden" name="destination" value="<!-- TMPL_VAR NAME="destination" -->" />
122 <input type="hidden" name="check_member" value="<!-- TMPL_VAR NAME="check_member" -->" />
123 <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
124 <input type="hidden" name="nodouble"  value="<!-- TMPL_VAR NAME="nodouble" -->" />
125 <!--TMPL_IF Name="step"--><input type="hidden" name="step"  value="<!-- TMPL_VAR NAME="step" -->" /><!--/TMPL_IF-->
126 <!-- TMPL_IF NAME="opadd" --><input type="hidden" name="op" value="insert" /><!-- TMPL_ELSE --><input type="hidden" name="op" value="save" /><!-- /TMPL_IF -->
127
128 <!--TMPL_IF Name="step_1"-->
129         <fieldset class="rows" id="memberentry_identity">
130                 <legend><!--TMPL_IF Name="I"-->Organisation <!--TMPL_ELSE-->Patron <!--/TMPL_IF-->identity</legend>
131                 <ol>
132                 <!-- TMPL_UNLESS name="I" -->
133                 <!-- TMPL_IF NAME="title_cgipopup" -->
134             <li>
135             <!-- TMPL_IF NAME="mandatorytitle" -->
136                 <label for="btitle" class="required">
137             <!-- TMPL_ELSE -->
138                 <label for="btitle">
139             <!-- /TMPL_IF-->
140             Salutation: </label>
141             <!-- TMPL_VAR NAME="borrotitlepopup" -->
142             <!-- TMPL_IF NAME="mandatorytitle" --><span class="required">Required</span><!-- /TMPL_IF -->
143             </li>
144                 <!-- /TMPL_IF -->
145         <!-- /TMPL_UNLESS -->
146                 <li>
147                 <!-- TMPL_IF NAME="mandatorysurname" -->
148                 <label for="surname" class="required">
149                 <!-- TMPL_ELSE -->
150                 <label for="surname">
151                 <!-- /TMPL_IF-->
152                 Surname: </label>
153                 <!-- TMPL_IF NAME="uppercasesurnames" -->
154                 <input style="text-transform:uppercase;" type="text" id="surname" name="surname" size="20"  value="<!-- TMPL_VAR NAME="surname" -->" />
155                 <!-- TMPL_ELSE -->
156                 <input type="text" id="surname" name="surname" size="20"  value="<!-- TMPL_VAR NAME="surname" -->" />
157                 <!-- /TMPL_IF -->
158                 <!-- TMPL_IF NAME="mandatorysurname" --><span class="required">Required</span><!-- /TMPL_IF -->
159                 </li>
160                 <!-- TMPL_UNLESS name="I" -->
161             <li>
162                 <!-- TMPL_IF NAME="mandatoryfirstname" -->
163                 <label for="firstname" class="required">
164                 <!-- TMPL_ELSE -->
165                 <label for="firstname">
166                 <!-- /TMPL_IF-->
167                 Firstname: </label>
168                 <input type="text" id="firstname" name="firstname" size="20"  value="<!-- TMPL_VAR NAME="firstname" -->" />
169                 <!-- TMPL_IF NAME="mandatoryfirstname" --><span class="required">Required</span><!-- /TMPL_IF -->
170             </li>
171             <li>
172                 <!-- TMPL_IF NAME="mandatorydateofbirth" -->
173                 <label for="dateofbirth" class="required">
174                 <!-- TMPL_ELSE -->
175                 <label for="dateofbirth">
176                 <!-- /TMPL_IF-->
177                 Date of birth: </label>
178                                 
179         <!-- TMPL_IF NAME="metric" -->                  
180                 <input type="text" id="dateofbirth" name="dateofbirth" size="20" onchange="CheckDate(document.form.dateofbirth);" value="<!-- TMPL_VAR NAME="dateofbirth" -->" />
181 <!-- TMPL_ELSE -->
182                 <input type="text" id="dateofbirth" name="dateofbirth" size="20" value="<!-- TMPL_VAR NAME="dateofbirth" -->" />
183 <!-- /TMPL_IF -->
184
185                 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="dateofbirth_button" alt="Show Calendar" />
186         <script language="JavaScript" type="text/javascript">
187             Calendar.setup(
188             {
189                 inputField : "dateofbirth",
190                 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
191                 button : "dateofbirth_button"
192             }
193             );
194         </script>
195         <!-- TMPL_IF NAME="mandatorydateofbirth" --><span class="required">Required</span><!-- /TMPL_IF -->
196         <!-- TMPL_IF NAME="ERROR_dateofbirth" --><span class="required">(Error)</span><!-- /TMPL_IF -->
197             </li>
198             <li>
199                 <!-- TMPL_IF NAME="mandatoryinitials" -->
200                     <label for="initials" class="required">
201                 <!-- TMPL_ELSE -->
202                     <label for="initials">
203                 <!-- /TMPL_IF-->
204                 Initials: </label>
205                 <input type="text" id="initials" name="initials" size="20"  value="<!-- TMPL_VAR NAME="initials" -->" />        
206                 <!-- TMPL_IF NAME="mandatoryinitials" --><span class="required">Required</span><!-- /TMPL_IF -->
207             </li>
208         <!-- /TMPL_UNLESS -->
209                 <li>
210                         <!-- TMPL_IF NAME="mandatoryothernames" -->
211                         <label for="othernames" class="required">
212                         <!-- TMPL_ELSE -->
213                         <label for="othernames">
214                         <!-- /TMPL_IF-->
215                         Other name: </label>
216                         <input type="text" id="othernames" name="othernames" size="20"  value="<!-- TMPL_VAR NAME="othernames" -->" />
217 <!-- TMPL_IF NAME="mandatoryothernames" --><span class="required">Required</span><!-- /TMPL_IF -->
218                 <!-- TMPL_IF NAME="I" --><input type="hidden" name="sex" value="N" /><!-- /TMPL_IF -->
219                 </li>
220     <!--TMPL_UNLESS Name="I"-->
221                 <li class="radio">
222                 
223                 <!-- TMPL_IF NAME="female" -->
224                                 <label for="sex-female">Female </label><input type="radio" name="sex" id="sex-female" value="F" checked="checked"  />
225 <!-- TMPL_ELSE -->
226                                 <label for="sex-female">Female </label><input type="radio" name="sex" id="sex-female" value="F" />
227 <!-- /TMPL_IF -->
228                 <!-- TMPL_IF NAME="male" -->
229                 <label for="sex-male">Male </label><input type="radio" name="sex" id="sex-male" value="M" checked="checked" />
230 <!-- TMPL_ELSE -->
231                                 <label for="sex-male">Male </label><input type="radio" name="sex" id="sex-male" value="M" />
232 <!-- /TMPL_IF -->
233 <!-- TMPL_IF NAME="none" -->
234                                 <label for="sex-none">N/A </label><input type="radio" name="sex" id="sex-none" value=""  checked="checked"  />
235 <!-- TMPL_ELSE -->
236                                 <label for="sex-none">N/A </label><input type="radio" name="sex" id="sex-none" value="" />
237 <!-- /TMPL_IF -->
238         </li>
239     <!--/TMPL_UNLESS-->
240 <!--TMPL_IF EXPR="showguarantor"-->  <li><label for="">Guarantor: </label>
241   <select name="relationship" id="relationship" >
242     <!-- TMPL_LOOP name="relshiploop" -->
243         <!-- TMPL_IF name="selected" -->
244             <option value="<!-- TMPL_VAR name="relationship" -->" selected="selected" ><!-- TMPL_VAR name="relationship" --></option>
245         <!-- TMPL_ELSE -->
246             <option value="<!-- TMPL_VAR name="relationship" -->"><!-- TMPL_VAR name="relationship" --></option>
247         <!-- /TMPL_IF -->
248     <!-- /TMPL_LOOP -->
249     </select>
250   <input name="contactname" id="contactname" type="text"  size="20" value="<!-- TMPL_VAR NAME="contactname" -->" />
251   <input name="contactfirstname" id="contactfirstname" type="text"  size="20" value="<!-- TMPL_VAR NAME="contactfirstname" -->" />
252   <!-- TMPL_IF NAME="guarantorid"-->  
253     <input id="guarantorsearch" type="button" value="Modify Guarantor" onclick="Dopopguarantor('guarantor_search.pl');" />
254   <!-- TMPL_ELSE -->
255     <input id="guarantorsearch" type="button" value="Find guarantor" onclick="Dopopguarantor('guarantor_search.pl');" />
256   <!-- /TMPL_IF --> <input id="guarantordelete" type="button" value="Delete Guarantor" />
257   </li>
258 <!--/TMPL_IF-->  
259                 </ol>
260         </fieldset>
261 <fieldset class="rows">
262     <legend>Main address</legend><ol>
263     <li>
264       <!-- TMPL_IF NAME="mandatorystreetnumber" -->
265       <label for="streetnumber" class="required">
266       <!--TMPL_ELSE-->
267       <label for="streetnumber">
268       <!-- /TMPL_IF-->
269       Street number: </label>
270       <input type="text" id="streetnumber" name="streetnumber" size="5" value="<!-- TMPL_VAR NAME="streetnumber" -->" />
271 <!-- TMPL_IF NAME="mandatorystreetnumber" --><span class="required">Required</span><!-- /TMPL_IF -->
272     </li>
273     <!-- TMPL_IF NAME="road_cgipopup" -->
274       <li>
275       <!-- TMPL_IF NAME="mandatorystreettype" -->
276       <label for="streettype" class="required">
277       <!--TMPL_ELSE-->
278       <label for="streettype">
279       <!-- /TMPL_IF-->
280       Street type: </label>
281       <!-- TMPL_VAR NAME="roadpopup" -->
282           <!-- TMPL_IF NAME="mandatorystreettype" --><span class="required">Required</span><!-- /TMPL_IF -->
283       </li>
284     <!--/TMPL_IF--> 
285     <li>
286       <!-- TMPL_IF NAME="mandatoryaddress" -->
287       <label for="address" class="required">
288       <!--TMPL_ELSE-->
289       <label for="address">
290       <!--/TMPL_IF-->
291       Address: </label>
292       <input type="text" id="address" name="address" size="35" value="<!-- TMPL_VAR NAME="address" -->" />
293           <!-- TMPL_IF NAME="mandatoryaddress" --><span class="required">Required</span><!-- /TMPL_IF -->
294     </li>
295     <li>
296       <!-- TMPL_IF NAME="mandatoryaddress2" -->
297       <label for="address2" class="required">
298       <!--TMPL_ELSE-->
299       <label for="address2">
300       <!-- /TMPL_IF-->
301       Address 2: </label>
302       <input type="text" id="address2" name="address2" size="35" value="<!-- TMPL_VAR NAME="address2" -->" />
303           <!-- TMPL_IF NAME="mandatoryaddress2" --><span class="required">Required</span><!-- /TMPL_IF -->
304     </li>  
305     <li>
306       <!-- TMPL_IF NAME="mandatorycity" -->
307         <label for="city" class="required">
308       <!--TMPL_ELSE-->
309         <label for="city">
310       <!-- /TMPL_IF-->
311       City, State: </label>
312         
313         <input type="text" id="city" name="city" size="20" value="<!-- TMPL_VAR NAME="city" -->" />
314         <!-- TMPL_IF NAME="city_cgipopup" -->or <strong>choose</strong> <!-- TMPL_VAR NAME="citypopup" --><!-- /TMPL_IF -->
315           <!-- TMPL_IF NAME="mandatorycity" --><span class="required">Required</span><!-- /TMPL_IF -->
316     </li>
317     <li> 
318       <!-- TMPL_IF NAME="mandatoryzipcode" -->
319         <label for="zipcode" class="required">
320       <!--TMPL_ELSE-->
321         <label for="zipcode">
322       <!-- /TMPL_IF-->
323       Zipcode: </label>
324       <input type="text" name="zipcode" id="zipcode" size="10" value="<!-- TMPL_VAR NAME="zipcode" -->" />
325           <!-- TMPL_IF NAME="mandatoryzipcode" --><span class="required">Required</span><!-- /TMPL_IF -->
326     </li>
327   
328         </ol>
329     </fieldset>
330   <fieldset class="rows" id="memberentry_contact">
331     <legend>Contact</legend><ol>       
332 <!--TMPL_IF Name="C"-->
333       <h2>Patron</h2>
334       <li> 
335         <!-- TMPL_IF NAME="mandatoryB_email" -->
336           <label for="B_email" class="required">
337         <!--TMPL_ELSE-->
338           <label for="B_email">
339         <!-- /TMPL_IF-->
340         E-mail (home): </label>
341         <input type="text" id="B_email" name="B_email" size="45" value="<!-- TMPL_VAR NAME="B_email" -->" />
342                 <!-- TMPL_IF NAME="mandatoryB_email" --><span class="required">Required</span><!-- /TMPL_IF --> </li>
343 <!--/TMPL_IF-->
344       <li>
345       <!-- TMPL_IF NAME="mandatoryphone" --> 
346       <label for="phone" class="required">
347       <!--TMPL_ELSE-->
348       <label for="phone">
349       <!-- /TMPL_IF-->
350       Phone (home): </label>
351       <input type="text" id="phone" name="phone" value="<!-- TMPL_VAR NAME="phone" -->" />
352           <!-- TMPL_IF NAME="mandatoryphone" --><span class="required">Required</span><!-- /TMPL_IF -->
353     </li>
354     <li>
355       <!-- TMPL_IF NAME="mandatoryphonepro" -->
356       <label for="phonepro" class="required">
357       <!--TMPL_ELSE-->
358       <label for="phonepro">
359       <!-- /TMPL_IF-->
360       Phone (work): </label>
361       <input type="text" id="phonepro" name="phonepro" value="<!-- TMPL_VAR NAME="phonepro" -->" />
362           <!-- TMPL_IF NAME="mandatoryphonepro" --><span class="required">Required</span><!-- /TMPL_IF -->
363     </li>
364     <li>
365       <!-- TMPL_IF NAME="mandatorymobile" -->
366       <label for="mobile" class="required">
367       <!--TMPL_ELSE-->
368       <label for="mobile">
369       <!-- /TMPL_IF-->
370       Phone (cell): </label>
371       <input type="text" id="mobile" name="mobile" value="<!-- TMPL_VAR NAME="mobile" -->" />
372           <!-- TMPL_IF NAME="mandatorymobile" --><span class="required">Required</span><!-- /TMPL_IF -->
373     </li>
374     <li>
375       <!-- TMPL_IF NAME="mandatoryemail" -->
376       <label for="email" class="required">
377       <!--TMPL_ELSE-->
378       <label for="email">
379       <!-- /TMPL_IF-->
380       E-mail (home): </label>
381       <input type="text" id="email" name="email" size="45" value="<!-- TMPL_VAR NAME="email" -->" />  
382           <!-- TMPL_IF NAME="mandatoryemail" --><span class="required">Required</span><!-- /TMPL_IF -->
383     </li>
384     <li>
385       <!-- TMPL_IF NAME="mandatoryemailpro" --> 
386       <label for="emailpro" class="required">
387       <!--TMPL_ELSE-->
388       <label for="emailpro">
389       <!-- /TMPL_IF-->
390       E-mail (work): </label>
391       <input type="text" id="emailpro" name="emailpro" size="45" value="<!-- TMPL_VAR NAME="emailpro" -->" />
392           <!-- TMPL_IF NAME="mandatoryemailpro" --><span class="required">Required</span><!-- /TMPL_IF -->
393     </li>
394     <li>
395       <!-- TMPL_IF NAME="mandatoryfax" -->
396       <label for="fax" class="required">
397       <!--TMPL_ELSE-->
398       <label for="fax">
399       <!-- /TMPL_IF-->
400       Fax: </label>
401       <input type="text" id="fax" name="fax" value="<!-- TMPL_VAR NAME="fax" -->" />
402           <!-- TMPL_IF NAME="mandatoryfax" --><span class="required">Required</span><!-- /TMPL_IF -->
403     </li>
404         </ol>
405   </fieldset>
406
407
408 <!-- ************************ STEP_1 *********************** -->
409 <!--/TMPL_IF -->
410 <!--TMPL_IF Name="step_2"-->
411
412                 <fieldset class="rows" id="memberentry_address">
413                 <legend>Alternate address</legend><ol>
414                         <li>
415                                 <!-- TMPL_IF NAME="mandatoryB_address" -->
416                                         <label for="B_address" class="required">
417                                 <!--TMPL_ELSE-->
418                                         <label for="B_address">
419                                 <!-- /TMPL_IF-->
420                                 Address: </label>
421                                 <input type="text" id="B_address" name="B_address" size="40" value="<!-- TMPL_VAR NAME="B_address" -->" />
422           <!-- TMPL_IF NAME="mandatoryB_address" --><span class="required">Required</span><!-- /TMPL_IF -->
423                         </li>
424                         <li>
425                                 <!-- TMPL_IF NAME="mandatoryB_city" -->
426                                         <label for="B_city" class="required" >
427                                 <!--TMPL_ELSE-->
428                                         <label for="B_city">
429                                 <!-- /TMPL_IF-->
430                                 City: </label>
431                                 <input type="text" id="B_city" name="B_city" size="20" value="<!-- TMPL_VAR NAME="B_city" -->" />
432           <!-- TMPL_IF NAME="mandatoryB_city" --><span class="required">Required</span><!-- /TMPL_IF -->
433                         </li>
434                         <li>
435                                 <!-- TMPL_IF NAME="mandatoryB_zipcode" -->
436                                         <label for="B_zipcode" class="required">
437                                 <!--TMPL_ELSE-->
438                                         <label for="B_zipcode">
439                                 <!-- /TMPL_IF-->
440                                 Zipcode: </label>
441                                 <input type="text" id="B_zipcode" name="B_zipcode" maxlength="5" size="5" value="<!-- TMPL_VAR NAME="B_zipcode" -->" />
442           <!-- TMPL_IF NAME="mandatoryB_zipcode" --><span class="required">Required</span><!-- /TMPL_IF -->
443                         </li>
444             <li>
445                 <!-- TMPL_IF NAME="mandatoryB_phone" -->
446                 <label for="B_phone" class="required">
447                 <!--TMPL_ELSE-->
448                 <label for="B_phone">
449                 <!-- /TMPL_IF-->
450                 Phone: </label>  
451                 <input type="text" id="B_phone" name="B_phone" value="<!-- TMPL_VAR NAME="B_phone" -->" />
452                 <!-- TMPL_IF NAME="mandatoryB_phone" --><span class="required">Required</span><!-- /TMPL_IF -->
453             </li>
454                         <li> 
455         <!-- TMPL_IF NAME="mandatoryB_email" -->
456           <label for="B_email" class="required">
457         <!--TMPL_ELSE-->
458           <label for="B_email">
459         <!-- /TMPL_IF-->
460         E-mail: </label>
461         <input type="text" id="B_email" name="B_email" size="45" value="<!-- TMPL_VAR NAME="B_email" -->" />
462                 <!-- TMPL_IF NAME="mandatoryB_email" --><span class="required">Required</span><!-- /TMPL_IF --> </li>
463             <li>
464                 <!-- TMPL_IF NAME="mandatorycontactnote" -->
465                 <label for="contactnote" class="required">
466                 <!--TMPL_ELSE-->
467                 <label for="contactnote">
468                 <!-- /TMPL_IF-->
469                 Contact note: </label>
470                 <textarea id="contactnote" name="contactnote" cols="40" rows="2"><!-- TMPL_VAR NAME="contactnote" --></textarea>
471         <!-- TMPL_IF NAME="mandatorycontactnote" --><span class="required">Required</span><!-- /TMPL_IF -->
472             </li>
473                         </ol>
474                 </fieldset>
475                 <fieldset class="rows" id="memberentry_altaddress">       
476                     <legend>Alternate Contact</legend><ol>
477                         <li>
478                             <!-- TMPL_IF NAME="mandatoryaltcontactfirstname" -->
479                                 <label for="altcontactfirstname" class="required">
480                                 <!-- TMPL_ELSE -->
481                                 <label for="altcontactfirstname">
482                                 <!-- /TMPL_IF -->
483                                 Firstname:</label>
484                                 <input type="text" name="altcontactfirstname" id="altcontactfirstname" value="<!-- TMPL_VAR NAME="altcontactfirstname" -->" />
485                                 <!-- TMPL_IF NAME="mandatoryaltcontactfirstname" --><span class="required">Required</span><!-- /TMPL_IF -->
486                         </li>
487                         <li>
488                             <!-- TMPL_IF NAME="mandatoryaltcontactsurname" -->
489                                 <label for="altcontactsurname" class="required">
490                                 <!-- TMPL_ELSE -->
491                                 <label for="altcontactsurname">
492                                 <!-- /TMPL_IF -->
493                                 Surname:</label>
494                                 <input type="text" name="altcontactsurname" id="altcontactsurname" value="<!-- TMPL_VAR NAME="altcontactsurname" -->" />
495                                 <!-- TMPL_IF NAME="mandatoryaltcontactsurname" --><span class="required">Required</span><!-- /TMPL_IF -->
496                         </li>
497                         <li>
498                             <!-- TMPL_IF NAME="mandatoryaltcontactaddress1" -->
499                                 <label for="altcontactaddress1" class="required">
500                                 <!-- TMPL_ELSE -->
501                                 <label for="altcontactaddress1">
502                                 <!-- /TMPL_IF -->
503                                 Address line 1:</label>
504                                 <input type="text" name="altcontactaddress1" id="altcontactaddress1" value="<!-- TMPL_VAR NAME="altcontactaddress1" -->" size="40" />
505                                 <!-- TMPL_IF NAME="mandatoryaltcontactaddress1" --><span class="required">Required</span><!-- /TMPL_IF -->
506                         </li>
507                         <li>
508                             <!-- TMPL_IF NAME="mandatoryaltcontactaddress2" -->
509                                 <label for="altcontactaddress2" class="required">
510                                 <!-- TMPL_ELSE -->
511                                 <label for="altcontactaddress2">
512                                 <!-- /TMPL_IF -->
513                                 Address line 2:</label>
514                                 <input type="text" name="altcontactaddress2" id="altcontactaddress2" value="<!-- TMPL_VAR NAME="altcontactaddress2" -->" size="40" />
515                                 <!-- TMPL_IF NAME="mandatoryaltcontactaddress2" --><span class="required">Required</span><!-- /TMPL_IF -->
516                         </li>
517                         <li>
518                             <!-- TMPL_IF NAME="mandatoryaltcontactaddress3" -->
519                                 <label for="altcontactaddress3" class="required">
520                                 <!-- TMPL_ELSE -->
521                                 <label for="altcontactaddress3">
522                                 <!-- /TMPL_IF -->
523                                 City, State:</label>
524                                 <input type="text" name="altcontactaddress3" id="altcontactaddress3" value="<!-- TMPL_VAR NAME="altcontactaddress3" -->" size="40" />
525                                 <!-- TMPL_IF NAME="mandatoryaltcontactaddress3" --><span class="required">Required</span><!-- /TMPL_IF -->
526                         </li>
527                         <li>
528                             <!-- TMPL_IF NAME="mandatoryaltcontactzipcode" -->
529                                 <label for="altcontactzipcode" class="required">
530                                 <!-- TMPL_ELSE -->
531                                 <label for="altcontactzipcode">
532                                 <!-- /TMPL_IF -->
533                                 ZIP/Post code:</label>
534                                 <input type="text" name="altcontactzipcode" id="altcontactzipcode" value="<!-- TMPL_VAR NAME="altcontactzipcode" -->" size="5" />
535                                 <!-- TMPL_IF NAME="mandatoryaltcontactzipcode" --><span class="required">Required</span><!-- /TMPL_IF -->
536                         </li>
537                         <li>
538                             <!-- TMPL_IF NAME="mandatoryaltcontactphone" -->
539                                 <label for="altcontactphone" class="required">
540                                 <!-- TMPL_ELSE -->
541                                 <label for="altcontactphone">
542                                 <!-- /TMPL_IF -->
543                                 Phone:</label>
544                                 <input type="text" name="altcontactphone" id="altcontactphone" value="<!-- TMPL_VAR NAME="altcontactphone" -->" />
545                                 <!-- TMPL_IF NAME="mandatoryaltcontactphone" --><span class="required">Required</span><!-- /TMPL_IF -->
546                         </li>
547             </ol>
548         </fieldset>
549
550
551   <!-- TMPL_IF NAME="I" -->
552         <!-- TMPL_IF NAME="memberofinstution" -->
553         <fieldset class="rows" id="memberentry_organisation">
554                 <legend>Organisations</legend><ol>
555                 <li>
556                         <!-- TMPL_IF NAME="mandatoryphone" --> 
557                         <label for="organisations" class="required">
558                         <!--TMPL_ELSE-->
559                         <label for="organisations">
560                         <!-- /TMPL_IF-->
561                         Organisation(s): </label>
562                         <!-- TMPL_VAR NAME="CGIorganisations" -->
563           <!-- TMPL_IF NAME="mandatoryphone" --><span class="required">Required</span><!-- /TMPL_IF -->
564                 </li>
565                 </ol>
566         </fieldset>
567         <!-- /TMPL_IF -->
568   <!-- /TMPL_IF -->
569               
570 <!-- /TMPL_IF -->
571 <!--TMPL_IF Name="step_3"-->
572
573   <fieldset class="rows" id="memberentry_library_management">
574     <legend>Library Management</legend><ol>
575    <li> <!-- TMPL_IF NAME="mandatorycardnumber" -->
576       <label for="cardnumber" class="required">
577     <!--TMPL_ELSE -->
578       <label for="cardnumber">
579     <!-- /TMPL_IF--> 
580     Card number: </label>
581     <input type="text" id="cardnumber" name="cardnumber" size="10" value="<!-- TMPL_VAR NAME="cardnumber" -->" />
582           <!-- TMPL_IF NAME="mandatorycardnumber" --><span class="required">Required</span><!-- /TMPL_IF --></li>
583     <li>
584       <!-- TMPL_IF NAME="mandatorybranchcode" -->
585         <label for="branchcode" class="required">
586       <!--TMPL_ELSE-->
587         <label for="branchcode">
588       <!-- /TMPL_IF-->
589       Library: </label>
590       <!-- TMPL_VAR NAME="CGIbranch" -->
591           <!-- TMPL_IF NAME="mandatorybranchcode" --><span class="required">Required</span><!-- /TMPL_IF -->
592     </li>
593     <li>
594     <!-- TMPL_IF NAME="typeloop" -->
595         <label for="categorycode">Category: </label>
596         <select id="categorycode" name="categorycode">
597         <!-- TMPL_LOOP NAME="typeloop" -->
598                 <!-- TMPL_IF EXPR="typename eq 'C'" --><optgroup label="Child"><!-- /TMPL_IF -->
599                 <!-- TMPL_IF EXPR="typename eq 'A'" --><optgroup label="Adult"><!-- /TMPL_IF -->
600                 <!-- TMPL_IF EXPR="typename eq 'S'" --><optgroup label="Staff"><!-- /TMPL_IF -->
601                 <!-- TMPL_IF EXPR="typename eq 'I'" --><optgroup label="Organisation"><!-- /TMPL_IF -->
602                 <!-- TMPL_IF EXPR="typename eq 'P'" --><optgroup label="Professional"><!-- /TMPL_IF -->
603                 <!-- TMPL_IF EXPR="typename eq 'X'" --><optgroup label="Statistical"><!-- /TMPL_IF -->
604                 <!-- TMPL_LOOP NAME="categoryloop" -->
605                                 <!-- TMPL_IF NAME="categorycodeselected" -->
606                <option value="<!-- TMPL_VAR NAME="categorycode" -->" selected="selected"><!-- TMPL_VAR NAME="categoryname" --></option>
607                                 <!-- TMPL_ELSE -->
608 <option value="<!-- TMPL_VAR NAME="categorycode" -->"><!-- TMPL_VAR NAME="categoryname" --></option>
609                                 <!-- /TMPL_IF -->
610                 <!-- /TMPL_LOOP -->
611         </optgroup>
612         <!-- /TMPL_LOOP -->
613                 </select>
614     <!-- TMPL_ELSE -->
615         <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--><!--TMPL_IF Name="S"-->a Staff Member<!--/TMPL_IF-->.</span>
616               <a href="/cgi-bin/koha/admin/categorie.pl">Please create one</a>
617     <!-- /TMPL_IF -->
618     </li>
619     <li>
620       <!-- TMPL_IF NAME="mandatorysort1" -->
621         <label for="sort1" class="required">
622       <!-- TMPL_ELSE -->
623         <label for="sort1">
624       <!-- /TMPL_IF-->
625       Sort 1: </label>
626       <!--TMPL_IF NAME="CGIsort1" --> 
627         <!-- TMPL_VAR NAME="CGIsort1" -->
628       <!--TMPL_ELSE-->
629         <input  type="text" id="sort1" name="sort1" size="20"  value="<!-- TMPL_VAR NAME="sort1" -->" />
630           <!-- TMPL_IF NAME="mandatorysort1" --><span class="required">Required</span><!-- /TMPL_IF -->
631       <!-- /TMPL_IF -->   
632     </li>
633     <li>
634     <!-- TMPL_IF NAME="mandatorysort2" -->
635     <label for="sort2" class="required">
636     <!-- TMPL_ELSE -->
637     <label for="sort2">
638     <!-- /TMPL_IF-->
639     Sort 2: </label>
640     <!--TMPL_IF NAME="CGIsort2" --> 
641       <!-- TMPL_VAR NAME="CGIsort2" -->
642     <!--TMPL_ELSE-->
643       <input  type="text" id="sort2" name="sort2" size="20"  value="<!-- TMPL_VAR NAME="sort2" -->" />
644           <!-- TMPL_IF NAME="mandatorysort2" --><span class="required">Required</span><!-- /TMPL_IF -->
645     <!-- /TMPL_IF --> 
646     </li>
647         </ol>
648   </fieldset>
649         <fieldset class="rows" id="memberentry_subscription">
650         <legend>Library set-up</legend><ol>
651                 <li>
652                         <!-- TMPL_IF NAME="mandatorydateenrolled" -->
653                         <label for="dateenrolled" class="required">
654                         <!--TMPL_ELSE-->
655                         <label for="dateenrolled">
656                         <!-- /TMPL_IF-->
657                         Registration date: </label>
658                         <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" -->" />
659             <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="dateenrolled_button" alt="Show Calendar" />
660       <script language="JavaScript" type="text/javascript">
661         Calendar.setup(
662           {
663             inputField : "dateenrolled",
664             ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
665             button : "dateenrolled_button"
666           }
667         );
668       </script>
669                 <!-- TMPL_IF NAME="mandatorydateenrolled" --><span class="required">Required</span><!-- /TMPL_IF -->
670                 <!-- TMPL_IF NAME="ERROR_dateenrolled" --><span class="required">(Error)</span><!-- /TMPL_IF -->
671                 </li>
672                 <li>
673                         <!-- TMPL_IF NAME="mandatorydateexpiry" -->
674                         <label for="dateexpiry" class="required">
675                         <!--TMPL_ELSE-->
676                         <label for="dateexpiry">
677                         <!-- /TMPL_IF-->
678                         Expiry date: </label>
679                         <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_VAR NAME="dateexpiry" -->" />
680             <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="dateexpiry_button" alt="Show Calendar" />
681       <script language="JavaScript" type="text/javascript">
682         Calendar.setup(
683           {
684             inputField : "dateexpiry",
685             ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
686             button : "dateexpiry_button"
687           }
688         );
689       </script>
690                 <!-- TMPL_IF NAME="mandatorydateexpiry" --><span class="required">Required</span><!-- /TMPL_IF -->
691                 <!-- TMPL_IF NAME="ERROR_dateexpiry" --><span class="required">(Error)</span><!-- /TMPL_IF -->
692                 </li>
693                 <li>
694                         <!-- TMPL_IF NAME="mandatoryopacnote" -->
695                                 <label for="opacnote" class="required">
696                         <!--TMPL_ELSE-->
697                                 <label for="opacnote">
698                         <!-- /TMPL_IF-->        
699                         OPAC note: </label>
700                         <textarea id="opacnote" name="opacnote" cols="40" rows="2"><!-- TMPL_VAR NAME="opacnote" --></textarea>
701           <!-- TMPL_IF NAME="mandatoryopacnote" --><span class="required">Required</span><!-- /TMPL_IF -->
702                 </li>
703                 <li>
704                         <!-- TMPL_IF NAME="mandatoryborrowernotes" -->  
705                                 <label for="borrowernotes" class="required">
706                         <!--TMPL_ELSE-->
707                                 <label for="borrowernotes">
708                         <!-- /TMPL_IF-->
709                         Library note: </label>
710                         <textarea id="borrowernotes" name="borrowernotes" cols="40" rows="2"><!-- TMPL_VAR NAME="borrowernotes" --></textarea>
711           <!-- TMPL_IF NAME="mandatoryborrowernotes" --><span class="required">Required</span><!-- /TMPL_IF -->
712                 </li>
713                 </ol>
714         </fieldset>
715         <fieldset class="rows" id="memberentry_userid">
716                 <legend>OPAC login</legend><ol>
717                 <li>
718                         <!-- TMPL_IF NAME="mandatoryuserid" -->
719                         <label for="userid" class="required">
720                         <!--TMPL_ELSE-->
721                         <label for="userid">
722                         <!-- /TMPL_IF-->
723                         OPAC Login: </label>
724
725 <!-- TMPL_IF NAME="NoUpdateLogin" -->
726 <input type="text" id="userid" name="userid" size="20" disabled="disabled" value="<!-- TMPL_VAR NAME="userid" -->" />
727 <!-- TMPL_ELSE -->
728 <input type="text" id="userid" name="userid" size="20" value="<!-- TMPL_VAR NAME="userid" -->" />
729 <!-- /TMPL_IF -->
730
731           <!-- TMPL_IF NAME="mandatoryuserid" --><span class="required">Required</span><!-- /TMPL_IF -->
732                 </li>
733                 <li>
734                         <!-- TMPL_IF NAME="mandatorypassword" -->
735                         <label for="password" class="required">
736                         <!--TMPL_ELSE-->
737                         <label for="password">
738                         <!-- /TMPL_IF-->
739                         Password: </label>
740                         <!--TMPL_IF NAME="opadd"-->
741                         <!-- TMPL_IF NAME="NoUpdateLogin" -->
742                                 <input type="text" id="password" name="password" size="20"  disabled="disabled" value="<!-- TMPL_VAR NAME="password" -->" />
743 <!-- TMPL_ELSE -->
744                                 <input type="text" id="password" name="password" size="20" value="<!-- TMPL_VAR NAME="password" -->" />
745 <!-- /TMPL_IF -->
746                         <!--TMPL_ELSE-->
747                         <!--TMPL_IF NAME="password"-->
748                                 <!-- TMPL_IF NAME="NoUpdateLogin" -->
749                                         <input type="text" id="password" name="password" size="20"  disabled="disabled" value="****" />
750                                 <!-- TMPL_ELSE -->
751                                         <input type="text" id="password" name="password" size="20" value="****" />
752                                 <!-- /TMPL_IF -->
753                         <!--TMPL_ELSE-->
754                                 <!-- TMPL_IF NAME="NoUpdateLogin" -->
755                                         <input type="text" id="password" name="password" size="20"  disabled="disabled" value="" />
756                                 <!-- TMPL_ELSE -->
757                                         <input type="text" id="password" name="password" size="20" value="" />
758                                 <!-- /TMPL_IF -->
759                         <!--/TMPL_IF-->
760                         <!--/TMPL_IF-->
761           <!-- TMPL_IF NAME="mandatorypassword" --><span class="required">Required</span><!-- /TMPL_IF -->
762                 </li></ol>
763                 </fieldset>
764                 <!--this zones are not necessary in modif mode -->
765                 <!-- TMPL_UNLESS NAME="opadd" -->
766                 <fieldset class="rows">
767                         <legend>Patron Account Flags</legend>
768                         <ol class="radio">
769                         <!-- TMPL_LOOP NAME="flagloop" -->
770                                 <li><label class="radio" for="yes<!-- TMPL_VAR name="name" -->">
771                                 <!-- TMPL_IF EXPR="key eq 'gonenoaddress'" -->Gone no Address:<!-- /TMPL_IF -->
772                                 <!-- TMPL_IF EXPR="key eq 'debarred'" -->Debarred:<!-- /TMPL_IF -->
773                                 <!-- TMPL_IF EXPR="key eq 'lost'" -->Lost Card:<!-- /TMPL_IF -->
774                 </label>
775                                 
776                                 <label for="yes<!-- TMPL_VAR NAME="name" -->">Yes </label>
777                                 <!-- TMPL_IF NAME="yes" -->
778                                 <input type="radio" id="yes<!-- TMPL_VAR NAME="name" -->" name="<!-- TMPL_VAR NAME="name" -->" value="1" checked="checked" />
779                                 <!-- TMPL_ELSE -->
780                                 <input type="radio" id="yes<!-- TMPL_VAR NAME="name" -->" name="<!-- TMPL_VAR NAME="name" -->" value="1" />
781                                 <!-- /TMPL_IF -->
782                                 
783                                 <label for="no<!-- TMPL_VAR NAME="name" -->">No </label>
784                                 <!-- TMPL_IF NAME="no" -->
785                                 <input type="radio" id="no<!-- TMPL_VAR NAME="name" -->" name="<!-- TMPL_VAR NAME="name" -->" value="0" checked="checked"/>
786                                 <!-- TMPL_ELSE -->
787                                 <input type="radio" id="no<!-- TMPL_VAR NAME="name" -->" name="<!-- TMPL_VAR NAME="name" -->" value="0" />
788                                 <!-- /TMPL_IF -->
789
790 </li>
791                         <!-- /TMPL_LOOP -->
792                         </ol>
793                         </fieldset>
794                 <!-- /TMPL_UNLESS -->   
795 <!-- /TMPL_IF -->
796     <fieldset class="action">
797         <input type="submit" name="save" onclick="return check_form_borrowers();" value="Save" />
798       <!-- TMPL_IF NAME="opadd" -->
799        <a class="cancel" href="/cgi-bin/koha/members/member.pl">Cancel</a>
800            <!-- TMPL_ELSE -->
801           <a class="cancel" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">Cancel</a>
802            <!-- /TMPL_IF -->
803     </fieldset>
804 </form>
805   
806 </div>
807 </div>
808
809 <!-- TMPL_UNLESS NAME="opadd" --><div class="yui-b">
810 <!-- TMPL_INCLUDE NAME="members-menu.inc" -->
811 </div><!-- /TMPL_UNLESS -->
812 </div>
813 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->