Trying again: Standardizing styling of error messages; other markup corrections.
[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>
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" style="overflow:auto;">
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 <form action="/cgi-bin/koha/opac-userupdate.pl" method="get">
17 <div class="yui-u first">
18
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="surname">Last Name:</label> <input id="surname" type="text" value="<!-- TMPL_VAR name="surname" -->"  name="surname" /></li>
23 </ol>
24 </fieldset>
25
26 <fieldset class="brief"><legend>Contact Information</legend>
27 <ol>
28 <li>
29     <label for="address">Address:</label>
30         <input type="text" name="address" value="<!-- TMPL_VAR NAME="address" -->" id="address" />
31         <input type="text" name="address2" value="<!-- TMPL_VAR NAME="address2" -->" id="address2" /></li>
32 <li><label for="city">City, State:</label> <input id="city" type="text" value="<!-- TMPL_VAR name="city" -->"  name="city" /></li>
33 <li><label for="zipcode">Zip Code: </label><input id="zipcode" name="zipcode" value="<!-- TMPL_VAR NAME="zipcode" -->" /></li>
34 <li><label for="phone">Home Phone:</label> <input id="phone" type="text" value="<!-- TMPL_VAR name="phone" -->"  name="phone" /></li>
35 <li><label for="mobile">Mobile Phone:</label> <input id="mobile" type="text" value="<!-- TMPL_VAR name="mobile" -->"  name="mobile" /></li>
36 <li><label for="fax">Fax:</label> <input id="fax" type="text" value="<!-- TMPL_VAR name="fax" -->"  name="fax" /></li>
37
38 <li><label for="phonepro">Work phone:</label> <input id="phonepro"  type="text" value="<!-- TMPL_VAR name="phonepro" -->"  name="phonepro" /></li>
39
40 <li><label for="emailaddress">Email:</label> <input id="emailaddress" type="text" value="<!-- TMPL_VAR name="email" -->"  name="emailaddress" /></li>
41 </ol>
42 </fieldset>
43 </div>
44 <div class="yui-u">
45 <fieldset class="brief">
46 <legend>Permanent Address</legend>
47 <ol>
48 <li>
49     <label for="B_streetaddress">Permanent or Alternate Address:</label>
50         <textarea id="B_streetaddress" cols="25" rows="2" name="B_streetaddress"><!--TMPL_VAR NAME="B_streetnumber"--> <!-- TMPL_VAR name="B_address" --></textarea>
51 </li>
52
53 <li><label for="B_city">City, State:</label> <input id="B_city" type="text" value="<!-- TMPL_VAR name="B_city" -->"  name="B_city" /></li>
54 <li><label for="B_zipcode">Zip Code</label> <input type="text" id="B_zipcode" name="B_zipcode" value="<!-- TMPL_VAR NAME="B_zipcode" -->" /></li>
55 </ol>
56 </fieldset>
57 <fieldset class="brief">
58 <ol>
59 <li><label for="dob">Date of Birth: </label> <input id="dob" type="text" size="10" value="<!-- TMPL_VAR NAME="dateofbirth" -->" name="dateofbirth" /></li>
60 <li><label for="sex">Sex: </label> <select name="sex" id="sex"><option></option>
61 <!-- TMPL_IF EXPR="sex eq 'F'" --><option value="F" selected="selected">Female</option><!-- TMPL_ELSE --><option value="F">Female</option><!-- /TMPL_IF -->
62 <!-- TMPL_IF EXPR="sex eq 'M'" --><option value="M" selected="selected">Male</option><!-- TMPL_ELSE --><option value="M">Male</option><!-- /TMPL_IF -->
63 </select></li>
64 </ol></fieldset>
65 <fieldset class="brief">
66 <legend>Library Use:</legend>
67 <ol>
68         <li><label for="borrowernumber">Patron Number:</label><input type="text" id="borrowernumber" disabled="disabled" readonly="readonly" value="<!-- TMPL_VAR NAME="borrowernumber" -->" /></li>
69         <li><label for="categorycode">Patron Category:</label><input type="text" id="categorycode" disabled="disabled" readonly="readonly" value="<!-- TMPL_VAR NAME="categorycode" -->" /></li>
70         <li><label for="dateenrolled">Joined: </label><input type="text" id="dateenrolled" disabled="disabled" readonly="readonly" value="<!-- TMPL_VAR NAME="dateenrolled" -->" /></li>
71         <li><label for="dateexpiry">Expires: </label><input type="text" id="dateexpiry" disabled="disabled" readonly="readonly" value="<!-- TMPL_VAR NAME="dateexpiry" -->" /></li>
72    <!-- TMPL_IF NAME="ExtendedPatronAttributes" -->
73     <!-- TMPL_LOOP NAME="patron_attributes" -->
74         <li><label><!-- TMPL_VAR NAME="description" --></label>
75         <!-- TMPL_IF NAME="value_description" -->
76             <input type="text"  disabled="disabled" readonly="readonly" value="<!-- TMPL_VAR NAME="value_description" -->" />
77         <!-- TMPL_ELSE -->
78             <input type="text"  disabled="disabled" readonly="readonly" value="<!-- TMPL_VAR NAME="value" -->" />
79         <!-- /TMPL_IF -->
80         </li>
81     <!-- /TMPL_LOOP -->
82    <!-- /TMPL_IF  -->
83 </ol>
84 </fieldset>
85 <fieldset class="action">
86 <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>
87 <input type="submit" value="Submit Changes" /> <a class="cancel" href="/cgi-bin/koha/opac-user.pl">Cancel</a></fieldset>
88 </div>
89
90 </form>
91 <!-- /TMPL_LOOP -->
92 </div>
93 </div>
94 </div>
95 </div>
96 <div class="yui-b">
97 <div class="container">
98 <!--TMPL_INCLUDE NAME="navigation.inc" -->
99 <!-- TMPL_INCLUDE name="usermenu.inc" -->
100 </div>
101 </div>
102 </div>
103 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->