Merge remote branch 'kc/new/bug_4851' into kcmaster
[koha.git] / koha-tmpl / opac-tmpl / prog / en / modules / opac-userupdate.tmpl
1 <!-- TMPL_INCLUDE name="doc-head-open.inc" --><!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog &rsaquo;  Updating Details for <!-- TMPL_LOOP name="BORROWER_INFO" --><!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --><!-- /TMPL_LOOP -->
2 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
3 </head>
4 <body id="opac-userupdate">
5 <div id="doc3" class="yui-t1">
6    <div id="bd">
7 <!-- TMPL_INCLUDE name="masthead.inc" -->
8
9         <div id="yui-main">
10         <div class="yui-b"><div class="yui-g" id="userupdate">
11
12 <div class="container">
13 <!-- TMPL_LOOP name="BORROWER_INFO" -->
14 <h3><a href="/cgi-bin/koha/opac-user.pl"><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" -->'s account</a> <img src="<!-- TMPL_VAR NAME="themelang" -->../../images/caret.gif" width="16" height="16" alt="&gt;" border="0" /> Your Personal Details</h3>
15
16 <!-- TMPL_IF NAME="OPACPatronDetails" -->
17 <form action="/cgi-bin/koha/opac-userupdate.pl" method="get">
18 <div class="yui-u first">
19 <input type="hidden" name="modify" value="yes" />
20 <fieldset class="brief"><legend>Name</legend><ol>
21 <li><label for="firstname">First Name:</label> <input id="firstname" type="text" value="<!-- TMPL_VAR name="firstname" -->"  name="firstname" /></li>
22 <li><label for="othernames">Other Name:</label> <input id="othernames" type="text" value="<!-- TMPL_VAR name="othernames" -->"  name="othernames" /></li>
23 <li><label for="surname">Last Name:</label> <input id="surname" type="text" value="<!-- TMPL_VAR name="surname" -->"  name="surname" /></li>
24 </ol>
25 </fieldset>
26
27 <fieldset class="brief"><legend>Contact Information</legend>
28 <ol>
29 <li><label for="address">Address:</label>
30         <input id="streetnumber" size ="7" type="text" value="<!-- TMPL_VAR name="streetnumber" -->"  name="streetnumber" /> 
31         <input type="text" name="address" value="<!-- TMPL_VAR NAME="address" -->" id="address" />
32         <input type="text" name="address2" value="<!-- TMPL_VAR NAME="address2" -->" id="address2" /></li>
33 <li><label for="city">City, State:</label> <input id="city" type="text" value="<!-- TMPL_VAR name="city" -->"  name="city" /></li>
34 <li><label for="zipcode">Zip Code: </label><input type="text" id="zipcode" value="<!-- TMPL_VAR NAME="zipcode" -->" name="zipcode" /></li>
35 <li><label for="country">Country: </label><input type="text" id="country" value="<!-- TMPL_VAR NAME="country" -->" name="country" /></li>
36 <li><label for="phone">Home Phone:</label> <input id="phone" type="text" value="<!-- TMPL_VAR name="phone" -->"  name="phone" /></li>
37 <li><label for="mobile">Mobile Phone:</label> <input id="mobile" type="text" value="<!-- TMPL_VAR name="mobile" -->"  name="mobile" /></li>
38 <li><label for="phonepro">Work phone:</label> <input id="phonepro"  type="text" value="<!-- TMPL_VAR name="phonepro" -->"  name="phonepro" /></li>
39 <li><label for="fax">Fax:</label> <input id="fax" type="text" value="<!-- TMPL_VAR name="fax" -->"  name="fax" /></li>
40 <li><label for="emailaddress">Email:</label> <input id="emailaddress" type="text" value="<!-- TMPL_VAR name="email" -->"  name="emailaddress" /></li>
41 <li><label for="emailpro">Work Email:</label> <input id="emailpro" type="text" value="<!-- TMPL_VAR name="emailpro" -->"  name="emailpro" /></li>
42 </ol>
43 </fieldset>
44
45 </div>
46 <div class="yui-u">
47 <fieldset class="brief">
48 <legend>Alternate Contact Information</legend>
49 <ol>
50 <li>
51     <label for="B_streetaddress">Alternate Address:</label> 
52     <input id="B_streetnumber" size ="7" type="text" value="<!-- TMPL_VAR name="B_streetnumber" -->"  name="B_streetnumber" /> 
53     <input id="B_address" type="text" value="<!-- TMPL_VAR name="B_address" -->"  name="B_address" /> 
54     <input id="B_address2" type="text" value="<!-- TMPL_VAR name="B_address2" -->"  name="B_address2" />
55 </li>
56
57 <li><label for="B_city">City, State:</label> <input id="B_city" type="text" value="<!-- TMPL_VAR name="B_city" -->"  name="B_city" /></li>
58 <li><label for="B_zipcode">Zip Code:</label> <input type="text" id="B_zipcode" value="<!-- TMPL_VAR NAME="B_zipcode" -->" name="B_zipcode" /></li>
59 <li><label for="B_country">Country:</label> <input type="text" id="B_country" value="<!-- TMPL_VAR NAME="B_country" -->" name="B_country" /></li>
60 <li><label for="B_phone">Phone:</label> <input type="text" id="B_phone" value="<!-- TMPL_VAR NAME="B_phone" -->" name="B_phone" /></li>
61 <li><label for="B_email">Email:</label> <input type="text" id="B_email" value="<!-- TMPL_VAR NAME="B_email" -->" name="B_email" /></li>
62 </ol>
63 </fieldset>
64 <fieldset class="brief">
65 <ol>
66 <li><label for="dob">Date of Birth: </label> <input id="dob" type="text" size="10" value="<!-- TMPL_VAR NAME="dateofbirth" -->" name="dateofbirth" /></li>
67 <li><label for="sex">Sex: </label> <select name="sex" id="sex"><option></option>
68 <!-- TMPL_IF EXPR="sex eq 'F'" --><option value="F" selected="selected">Female</option><!-- TMPL_ELSE --><option value="F">Female</option><!-- /TMPL_IF -->
69 <!-- TMPL_IF EXPR="sex eq 'M'" --><option value="M" selected="selected">Male</option><!-- TMPL_ELSE --><option value="M">Male</option><!-- /TMPL_IF -->
70 </select></li>
71 </ol></fieldset>
72 <fieldset class="brief">
73 <legend>Library Use:</legend>
74 <ol>
75         <li><label for="cardnumber">Card number:</label><input type="text" id="cardnumber" disabled="disabled" readonly="readonly" value="<!-- TMPL_VAR NAME="cardnumber" -->" /></li>
76     <li><label for="branchname">Home library:</label><input type="text" id="branchname" disabled="disabled" readonly="readonly" value="<!-- TMPL_VAR NAME="branchname" -->" /></li>
77         <li><label for="borrowernumber">Patron Number:</label><input type="text" id="borrowernumber" disabled="disabled" readonly="readonly" value="<!-- TMPL_VAR NAME="borrowernumber" -->" /></li>
78         <li><label for="categorycode">Patron Category:</label><input type="text" id="categorycode" disabled="disabled" readonly="readonly" value="<!-- TMPL_VAR NAME="description" --> (<!-- TMPL_VAR NAME="categorycode" -->)" /></li>
79         <li><label for="dateenrolled">Joined: </label><input type="text" id="dateenrolled" disabled="disabled" readonly="readonly" value="<!-- TMPL_VAR NAME="dateenrolled" -->" /></li>
80         <li><label for="dateexpiry">Expires: </label><input type="text" id="dateexpiry" disabled="disabled" readonly="readonly" value="<!-- TMPL_VAR NAME="dateexpiry" -->" /></li>
81    <!-- TMPL_IF NAME="ExtendedPatronAttributes" -->
82     <!-- TMPL_LOOP NAME="patron_attributes" -->
83         <li><label><!-- TMPL_VAR NAME="description" --></label>
84         <!-- TMPL_IF NAME="value_description" -->
85             <input type="text"  disabled="disabled" readonly="readonly" value="<!-- TMPL_VAR NAME="value_description" -->" />
86         <!-- TMPL_ELSE -->
87             <input type="text"  disabled="disabled" readonly="readonly" value="<!-- TMPL_VAR NAME="value" -->" />
88         <!-- /TMPL_IF -->
89         </li>
90     <!-- /TMPL_LOOP -->
91    <!-- /TMPL_IF  -->
92 </ol>
93 </fieldset>
94 <fieldset class="action">
95 <p>Please make any necessary changes to your record.  Submitting the form will notify a library staff member, who will make the changes permanent.</p>
96 <input type="submit" value="Submit Changes" /> <a class="cancel" href="/cgi-bin/koha/opac-user.pl">Cancel</a></fieldset>
97 </div>
98
99 </form>
100 <!-- TMPL_ELSE -->
101 <p style="clear:left;padding:1em 0">To make changes to your record please contact the library.</p>
102 <div class="yui-u first">
103 <fieldset class="rows">
104 <legend>Contact Information</legend>
105 <ol>
106 <li><span class="label">Name:</span> <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --></li>
107 <li><span class="label">Other Name:</span> <!-- TMPL_VAR NAME="othernames" --></li>
108 <li><span class="label">Address:</span> <!-- TMPL_VAR NAME="streetnumber" --> <!-- TMPL_VAR NAME="address" --></li>
109 <li><span class="label">&nbsp;</span><!-- TMPL_VAR NAME="address2" --></li>
110 <li><span class="label">City, State:</span>  <!-- TMPL_VAR name="city" --></li>
111 <li><span class="label">Zip Code:</span>  <!-- TMPL_VAR NAME="zipcode" --></li>
112 <li><span class="label">Country:</span>  <!-- TMPL_VAR NAME="country" --></li>
113 <li><span class="label">Home Phone:</span>  <!-- TMPL_VAR name="phone" --></li>
114 <li><span class="label">Mobile Phone:</span>  <!-- TMPL_VAR name="mobile" --></li>
115 <li><span class="label">Work phone:</span>  <!-- TMPL_VAR name="phonepro" --></li>
116 <li><span class="label">Fax:</span>  <!-- TMPL_VAR name="fax" --></li>
117 <li><span class="label">Email:</span>  <!-- TMPL_VAR name="email" --></li>
118 <li><span class="label">Work Email:</span>  <!-- TMPL_VAR name="emailpro" --></li>
119 </ol>
120 </fieldset>
121
122 <fieldset class="rows">
123 <legend>Personal Information</legend>
124 <ol>
125 <li><span class="label">Date of Birth:</span> <!-- TMPL_VAR NAME="dateofbirth" --></li>
126 <li><span class="label">Sex:</span>
127 <!-- TMPL_IF EXPR="sex eq 'F'" -->Female<!-- /TMPL_IF -->
128 <!-- TMPL_IF EXPR="sex eq 'M'" -->Male<!-- /TMPL_IF -->
129 </li>
130 </ol>
131 </fieldset>
132 </div>
133
134 <div class="yui-u">
135 <fieldset class="rows">
136 <legend>Alternate Contact Information</legend>
137 <ol>
138 <li><span class="label">Alternate Address:</span> <!--TMPL_VAR NAME="B_streetnumber"--> <!-- TMPL_VAR name="B_address" --> </li>
139 <li><span class="label">&nbsp;</span><!-- TMPL_VAR NAME="B_address2" --></li>
140 <li><span class="label">City, State:</span> <!-- TMPL_VAR name="B_city" --></li>
141 <li><span class="label">Zip Code:</span> <!-- TMPL_VAR NAME="B_zipcode" --></li>
142 <li><span class="label">Country:</span> <!-- TMPL_VAR NAME="B_country" --></li>
143 <li><span class="label">Phone:</span> <!-- TMPL_VAR NAME="B_phone" --></li>
144 <li><span class="label">Email:</span> <!-- TMPL_VAR NAME="B_email" --></li>
145 </ol>
146 </fieldset>
147
148 <fieldset class="rows">
149 <legend>Library Use:</legend>
150 <ol>
151 <li><span class="label">Card number:</span> <!-- TMPL_VAR NAME="cardnumber" --></li>
152 <li><span class="label">Patron Number:</span> <!-- TMPL_VAR NAME="borrowernumber" --></li>
153 <li><span class="label">Patron Category:</span> <!-- TMPL_VAR NAME="description" --> (<!-- TMPL_VAR NAME="categorycode" -->)</li>
154 <li><span class="label">Joined:</span> <!-- TMPL_VAR NAME="dateenrolled" --></li>
155 <li><span class="label">Expires:</span> <!-- TMPL_VAR NAME="dateexpiry" --></li>
156    <!-- TMPL_IF NAME="ExtendedPatronAttributes" -->
157     <!-- TMPL_LOOP NAME="patron_attributes" -->
158         <li><span class="label"><!-- TMPL_VAR NAME="description" --></span>
159         <!-- TMPL_IF NAME="value_description" -->
160             <!-- TMPL_VAR NAME="value_description" -->
161         <!-- TMPL_ELSE -->
162             <!-- TMPL_VAR NAME="value" -->
163         <!-- /TMPL_IF -->
164         </li>
165     <!-- /TMPL_LOOP -->
166    <!-- /TMPL_IF  -->
167 </ol>
168 </fieldset>
169 </div>
170 <!-- /TMPL_IF  -->
171 <!-- /TMPL_LOOP -->
172 </div>
173 </div>
174 </div>
175 </div>
176 <div class="yui-b">
177 <div class="container">
178 <!--TMPL_INCLUDE NAME="navigation.inc" -->
179 <!-- TMPL_INCLUDE name="usermenu.inc" -->
180 </div>
181 </div>
182 </div>
183 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->