Link Here
|
1 |
[% USE Koha %] |
1 |
[% USE Koha %] |
|
|
2 |
[% USE date %] |
2 |
[% IF ( borrowernumber ) %] |
3 |
[% IF ( borrowernumber ) %] |
3 |
<div class="patroninfo"><h5>[% INCLUDE 'patron-title.inc' %]</h5> |
4 |
<div class="patroninfo"><h5>[% INCLUDE 'patron-title.inc' %]</h5> |
4 |
<!--[if IE 6]> |
5 |
<!--[if IE 6]> |
Link Here
|
13 |
<li id="patronbasics"><img src="[% interface %]/[% theme %]/img/patron-blank.png" alt="[% firstname %] [% surname %] ([% cardnumber %])" border="0" style="margin: .3em 0 .3em .3em; padding: .2em; border: 1px solid #CCCCCC;" /></li> |
14 |
<li id="patronbasics"><img src="[% interface %]/[% theme %]/img/patron-blank.png" alt="[% firstname %] [% surname %] ([% cardnumber %])" border="0" style="margin: .3em 0 .3em .3em; padding: .2em; border: 1px solid #CCCCCC;" /></li> |
14 |
[% END %] |
15 |
[% END %] |
15 |
[% END %] |
16 |
[% END %] |
|
|
17 |
[% IF ( dateofbirth ) %] |
18 |
[%- calc = date.calc |
19 |
YMD = dateofbirth.split("-") |
20 |
ageymd = calc.Delta_YMD( |
21 |
YMD.0, YMD.1, YMD.2, |
22 |
date.format(date.now, "%Y"), |
23 |
date.format(date.now, "%m"), |
24 |
date.format(date.now, "%d") |
25 |
) |
26 |
age = ageymd.0 |
27 |
-%] |
28 |
<li>Age: [% age %]</li> |
29 |
[% END %] |
16 |
[% IF Koha.Preference( 'AddressFormat' ) %] |
30 |
[% IF Koha.Preference( 'AddressFormat' ) %] |
17 |
[% INCLUDE "member-display-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %] |
31 |
[% INCLUDE "member-display-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %] |
18 |
[% ELSE %] |
32 |
[% ELSE %] |
Link Here
|
50 |
[% UNLESS ( email or emailpro) %] |
64 |
[% UNLESS ( email or emailpro) %] |
51 |
<li> <span class="empty">No email stored.</span></li> |
65 |
<li> <span class="empty">No email stored.</span></li> |
52 |
[% END %] |
66 |
[% END %] |
|
|
67 |
[% UNLESS ( dateofbirth ) %] |
68 |
<li> <span class="empty">No birth date stored.</span></li> |
69 |
[% END %] |
53 |
|
70 |
|
54 |
[% IF ( ExtendedPatronAttributes ) %][% FOREACH extendedattribute IN extendedattributes %] |
71 |
[% IF ( ExtendedPatronAttributes ) %][% FOREACH extendedattribute IN extendedattributes %] |
55 |
[% IF ( extendedattribute.display_checkout ) %] |
72 |
[% IF ( extendedattribute.display_checkout ) %] |