|
Lines 1-195
Link Here
|
| 1 |
[% USE KohaDates %] |
|
|
| 2 |
|
| 3 |
[% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %][% ELSE %]Koha online[% END %] catalog › Your personal details |
| 4 |
[% INCLUDE 'doc-head-close.inc' %] |
| 5 |
</head> |
| 6 |
<body id="opac-userupdate"> |
| 7 |
<div id="doc3" class="yui-t1"> |
| 8 |
<div id="bd"> |
| 9 |
[% INCLUDE 'masthead.inc' %] |
| 10 |
|
| 11 |
<div id="yui-main"> |
| 12 |
<div class="yui-b"><div class="yui-g" id="userupdate"> |
| 13 |
|
| 14 |
<div id="userupdatecontainer" class="container"> |
| 15 |
[% FOREACH BORROWER_INF IN BORROWER_INFO %] |
| 16 |
<h3><a href="/cgi-bin/koha/opac-user.pl">[% INCLUDE 'patron-title.inc' firstname = BORROWER_INF.firstname surname = BORROWER_INF.surname othernames = BORROWER_INF.othernames cardnumber = BORROWER_INF.cardnumber %]'s account</a> ⇢ Your personal details</h3> |
| 17 |
|
| 18 |
[% IF ( OPACPatronDetails ) %] |
| 19 |
<form action="/cgi-bin/koha/opac-userupdate.pl" method="get"> |
| 20 |
<div class="yui-u first"> |
| 21 |
<input type="hidden" name="modify" value="yes" /> |
| 22 |
[% IF ( display_patron_image ) %]<p class="patronimage edit"> |
| 23 |
<img src="/cgi-bin/koha/opac-patron-image.pl" alt="" /> |
| 24 |
</p>[% END %] |
| 25 |
<fieldset class="brief"><legend>Name</legend><ol> |
| 26 |
<li><label for="firstname">First name:</label> <input id="firstname" type="text" value="[% BORROWER_INF.firstname %]" name="firstname" /></li> |
| 27 |
<li><label for="othernames">Other name:</label> <input id="othernames" type="text" value="[% BORROWER_INF.othernames %]" name="othernames" /></li> |
| 28 |
<li><label for="surname">Last name:</label> <input id="surname" type="text" value="[% BORROWER_INF.surname %]" name="surname" /></li> |
| 29 |
</ol> |
| 30 |
</fieldset> |
| 31 |
|
| 32 |
<fieldset class="brief"><legend>Contact information</legend> |
| 33 |
<ol> |
| 34 |
<li><label for="address">Address:</label> |
| 35 |
<input id="streetnumber" size ="7" type="text" value="[% BORROWER_INF.streetnumber %]" name="streetnumber" /> |
| 36 |
<input type="text" name="address" value="[% BORROWER_INF.address %]" id="address" /> |
| 37 |
<input type="text" name="address2" value="[% BORROWER_INF.address2 %]" id="address2" /></li> |
| 38 |
<li><label for="city">City:</label> <input id="city" type="text" value="[% BORROWER_INF.city %]" name="city" /></li> |
| 39 |
<li><label for="state">State:</label> <input id="state" type="text" value="[% BORROWER_INF.state %]" name="state" /></li> |
| 40 |
<li><label for="zipcode">Zip code: </label><input type="text" id="zipcode" value="[% BORROWER_INF.zipcode %]" name="zipcode" /></li> |
| 41 |
<li><label for="country">Country: </label><input type="text" id="country" value="[% BORROWER_INF.country %]" name="country" /></li> |
| 42 |
<li><label for="phone">Primary phone:</label> <input id="phone" type="text" value="[% BORROWER_INF.phone %]" name="phone" /></li> |
| 43 |
<li><label for="mobile">Secondary phone:</label> <input id="mobile" type="text" value="[% BORROWER_INF.mobile %]" name="mobile" /></li> |
| 44 |
<li><label for="phonepro">Other phone:</label> <input id="phonepro" type="text" value="[% BORROWER_INF.phonepro %]" name="phonepro" /></li> |
| 45 |
<li><label for="fax">Fax:</label> <input id="fax" type="text" value="[% BORROWER_INF.fax %]" name="fax" /></li> |
| 46 |
<li><label for="emailaddress">Primary email:</label> <input id="emailaddress" type="text" value="[% BORROWER_INF.email %]" name="emailaddress" /></li> |
| 47 |
<li><label for="emailpro">Secondary email:</label> <input id="emailpro" type="text" value="[% BORROWER_INF.emailpro %]" name="emailpro" /></li> |
| 48 |
</ol> |
| 49 |
</fieldset> |
| 50 |
|
| 51 |
</div> |
| 52 |
<div class="yui-u"> |
| 53 |
<fieldset class="brief"> |
| 54 |
<legend>Alternate contact information</legend> |
| 55 |
<ol> |
| 56 |
<li> |
| 57 |
<label for="B_streetaddress">Alternate address:</label> |
| 58 |
<input id="B_streetnumber" size ="7" type="text" value="[% BORROWER_INF.B_streetnumber %]" name="B_streetnumber" /> |
| 59 |
<input id="B_address" type="text" value="[% BORROWER_INF.B_address %]" name="B_address" /> |
| 60 |
<input id="B_address2" type="text" value="[% BORROWER_INF.B_address2 %]" name="B_address2" /> |
| 61 |
</li> |
| 62 |
|
| 63 |
<li><label for="B_city">City:</label> <input id="B_city" type="text" value="[% BORROWER_INF.B_city %]" name="B_city" /></li> |
| 64 |
<li><label for="B_state">State:</label> <input id="B_state" type="text" value="[% BORROWER_INF.B_state %]" name="B_state" /></li> |
| 65 |
<li><label for="B_zipcode">Zip code:</label> <input type="text" id="B_zipcode" value="[% BORROWER_INF.B_zipcode %]" name="B_zipcode" /></li> |
| 66 |
<li><label for="B_country">Country:</label> <input type="text" id="B_country" value="[% BORROWER_INF.B_country %]" name="B_country" /></li> |
| 67 |
<li><label for="B_phone">Phone:</label> <input type="text" id="B_phone" value="[% BORROWER_INF.B_phone %]" name="B_phone" /></li> |
| 68 |
<li><label for="B_email">Email:</label> <input type="text" id="B_email" value="[% BORROWER_INF.B_email %]" name="B_email" /></li> |
| 69 |
</ol> |
| 70 |
</fieldset> |
| 71 |
<fieldset class="brief"> |
| 72 |
<ol> |
| 73 |
<li><label for="dob">Date of birth: </label> <input id="dob" type="text" size="10" value="[% BORROWER_INF.dateofbirth | $KohaDates %]" name="dateofbirth" /></li> |
| 74 |
<li><label for="sex">Gender: </label> <select name="sex" id="sex"><option></option> |
| 75 |
[% IF ( BORROWER_INF.sex == 'F' ) %]<option value="F" selected="selected">Female</option>[% ELSE %]<option value="F">Female</option>[% END %] |
| 76 |
[% IF ( BORROWER_INF.sex == 'M' ) %]<option value="M" selected="selected">Male</option>[% ELSE %]<option value="M">Male</option>[% END %] |
| 77 |
</select></li> |
| 78 |
</ol></fieldset> |
| 79 |
<fieldset class="brief"> |
| 80 |
<legend>Library use:</legend> |
| 81 |
<ol> |
| 82 |
<li><label for="cardnumber">Card number:</label><input type="text" id="cardnumber" disabled="disabled" readonly="readonly" value="[% BORROWER_INF.cardnumber %]" /></li> |
| 83 |
<li><label for="branchname">Home library:</label><input type="text" id="branchname" disabled="disabled" readonly="readonly" value="[% BORROWER_INF.branchname %]" /></li> |
| 84 |
<li><label for="borrowernumber">Patron number:</label><input type="text" id="borrowernumber" disabled="disabled" readonly="readonly" value="[% BORROWER_INF.borrowernumber %]" /></li> |
| 85 |
<li><label for="categorycode">Patron category:</label><input type="text" id="categorycode" disabled="disabled" readonly="readonly" value="[% BORROWER_INF.description %] ([% BORROWER_INF.categorycode %])" /></li> |
| 86 |
<li><label for="dateenrolled">Joined: </label><input type="text" id="dateenrolled" disabled="disabled" readonly="readonly" value="[% BORROWER_INF.dateenrolled | $KohaDates %]" /></li> |
| 87 |
<li><label for="dateexpiry">Expires: </label><input type="text" id="dateexpiry" disabled="disabled" readonly="readonly" value="[% BORROWER_INF.dateexpiry | $KohaDates %]" /></li> |
| 88 |
[% IF ( BORROWER_INF.ExtendedPatronAttributes ) %] |
| 89 |
[% FOREACH patron_attribute IN BORROWER_INF.patron_attributes %] |
| 90 |
<li><label>[% patron_attribute.description %]</label> |
| 91 |
[% IF ( patron_attribute.value_description ) %] |
| 92 |
[% patron_attribute.value_description %]" |
| 93 |
[% ELSE %] |
| 94 |
[% patron_attribute.value |html_line_break %] |
| 95 |
[% END %] |
| 96 |
</li> |
| 97 |
[% END %] |
| 98 |
[% END %] |
| 99 |
</ol> |
| 100 |
</fieldset> |
| 101 |
<fieldset class="action"> |
| 102 |
<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> |
| 103 |
<input type="submit" value="Submit Changes" /> <a class="cancel" href="/cgi-bin/koha/opac-user.pl">Cancel</a></fieldset> |
| 104 |
</div> |
| 105 |
|
| 106 |
</form> |
| 107 |
[% ELSE %] |
| 108 |
<p style="clear:left;padding:1em 0">To make changes to your record please contact the library.</p> |
| 109 |
<div class="yui-u first"> |
| 110 |
[% IF ( display_patron_image ) %]<p class="patronimage"> |
| 111 |
<img src="/cgi-bin/koha/opac-patron-image.pl" alt="" /> |
| 112 |
</p>[% END %] |
| 113 |
<fieldset class="rows"> |
| 114 |
<legend>Contact information</legend> |
| 115 |
<ol> |
| 116 |
<li><span class="label">Name:</span> [% BORROWER_INF.firstname %] [% BORROWER_INF.surname %]</li> |
| 117 |
<li><span class="label">Other name:</span> [% BORROWER_INF.othernames %]</li> |
| 118 |
<li><span class="label">Address:</span> [% BORROWER_INF.streetnumber %] [% BORROWER_INF.address %]</li> |
| 119 |
<li><span class="label"> </span>[% BORROWER_INF.address2 %]</li> |
| 120 |
<li><span class="label">City:</span> [% BORROWER_INF.city %]</li> |
| 121 |
<li><span class="label">State:</span> [% BORROWER_INF.state %]</li> |
| 122 |
<li><span class="label">Zip code:</span> [% BORROWER_INF.zipcode %]</li> |
| 123 |
<li><span class="label">Country:</span> [% BORROWER_INF.country %]</li> |
| 124 |
<li><span class="label">Primary phone:</span> [% BORROWER_INF.phone %]</li> |
| 125 |
<li><span class="label">Secondary phone:</span> [% BORROWER_INF.mobile %]</li> |
| 126 |
<li><span class="label">Other phone:</span> [% BORROWER_INF.phonepro %]</li> |
| 127 |
<li><span class="label">Fax:</span> [% BORROWER_INF.fax %]</li> |
| 128 |
<li><span class="label">Primary email:</span> [% BORROWER_INF.email %]</li> |
| 129 |
<li><span class="label">Secondary email:</span> [% BORROWER_INF.emailpro %]</li> |
| 130 |
</ol> |
| 131 |
</fieldset> |
| 132 |
|
| 133 |
<fieldset class="rows"> |
| 134 |
<legend>Personal information</legend> |
| 135 |
<ol> |
| 136 |
<li><span class="label">Date of birth:</span> [% BORROWER_INF.dateofbirth | $KohaDates %]</li> |
| 137 |
<li><span class="label">Gender:</span> |
| 138 |
[% IF ( sex == 'F' ) %]Female[% END %] |
| 139 |
[% IF ( sex == 'M' ) %]Male[% END %] |
| 140 |
</li> |
| 141 |
</ol> |
| 142 |
</fieldset> |
| 143 |
</div> |
| 144 |
|
| 145 |
<div class="yui-u"> |
| 146 |
<fieldset class="rows"> |
| 147 |
<legend>Alternate contact information</legend> |
| 148 |
<ol> |
| 149 |
<li><span class="label">Alternate address:</span> [% BORROWER_INF.B_streetnumber %] [% BORROWER_INF.B_address %] </li> |
| 150 |
<li><span class="label"> </span>[% BORROWER_INF.B_address2 %]</li> |
| 151 |
<li><span class="label">City:</span> [% BORROWER_INF.B_city %]</li> |
| 152 |
<li><span class="label">State:</span> [% BORROWER_INF.B_state %]</li> |
| 153 |
<li><span class="label">Zip code:</span> [% BORROWER_INF.B_zipcode %]</li> |
| 154 |
<li><span class="label">Country:</span> [% BORROWER_INF.B_country %]</li> |
| 155 |
<li><span class="label">Phone:</span> [% BORROWER_INF.B_phone %]</li> |
| 156 |
<li><span class="label">Email:</span> [% BORROWER_INF.B_email %]</li> |
| 157 |
</ol> |
| 158 |
</fieldset> |
| 159 |
|
| 160 |
<fieldset class="rows"> |
| 161 |
<legend>Library use:</legend> |
| 162 |
<ol> |
| 163 |
<li><span class="label">Card number:</span> [% BORROWER_INF.cardnumber %]</li> |
| 164 |
<li><span class="label">Home library:</span> [% BORROWER_INF.branchname %]</li> |
| 165 |
<li><span class="label">Patron number:</span> [% BORROWER_INF.borrowernumber %]</li> |
| 166 |
<li><span class="label">Patron category:</span> [% BORROWER_INF.description %] ([% BORROWER_INF.categorycode %])</li> |
| 167 |
<li><span class="label">Joined:</span> [% BORROWER_INF.dateenrolled | $KohaDates %]</li> |
| 168 |
<li><span class="label">Expires:</span> [% BORROWER_INF.dateexpiry | $KohaDates %]</li> |
| 169 |
[% IF ( BORROWER_INF.ExtendedPatronAttributes ) %] |
| 170 |
[% FOREACH patron_attribute IN BORROWER_INF.patron_attributes %] |
| 171 |
<li><span class="label">[% patron_attribute.description %]</span> |
| 172 |
[% IF ( patron_attribute.value_description ) %] |
| 173 |
[% patron_attribute.value_description %] |
| 174 |
[% ELSE %] |
| 175 |
[% patron_attribute.value %] |
| 176 |
[% END %] |
| 177 |
</li> |
| 178 |
[% END %] |
| 179 |
[% END %] |
| 180 |
</ol> |
| 181 |
</fieldset> |
| 182 |
</div> |
| 183 |
[% END %] |
| 184 |
[% END %] |
| 185 |
</div> |
| 186 |
</div> |
| 187 |
</div> |
| 188 |
</div> |
| 189 |
<div class="yui-b"> |
| 190 |
<div id="leftmenus" class="container"> |
| 191 |
[% INCLUDE 'navigation.inc' IsPatronPage=1 %] |
| 192 |
</div> |
| 193 |
</div> |
| 194 |
</div> |
| 195 |
[% INCLUDE 'opac-bottom.inc' %] |