View | Details | Raw Unified | Return to bug 19612
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/member-display-address-style-us.inc (-4 / +4 lines)
Lines 4-16 Link Here
4
        [% IF streettype %]
4
        [% IF streettype %]
5
            [% SET roadtype_desc = AuthorisedValues.GetByCode('ROADTYPE', streettype) %]
5
            [% SET roadtype_desc = AuthorisedValues.GetByCode('ROADTYPE', streettype) %]
6
        [% END %]
6
        [% END %]
7
        <li class="patronaddress1">[% if (streetnumber) %][% streetnumber %][% end %] [% address %] [% IF roadtype_desc %][% roadtype_desc %] [% END %][% end %]</li>
7
        <li class="patronaddress1">[% if (streetnumber) %][% streetnumber |html  %][% end %] [% address |html %] [% IF roadtype_desc %][% roadtype_desc |html  %] [% END %][% end %]</li>
8
    [% END %]
8
    [% END %]
9
    [% IF ( address2 ) %]
9
    [% IF ( address2 ) %]
10
        <li class="patronaddress2">[% address2 %]</li>
10
        <li class="patronaddress2">[% address2 |html  %]</li>
11
    [% END %]
11
    [% END %]
12
[% END %]
12
[% END %]
13
[% IF ( city ) %]<li class="patroncity">
13
[% IF ( city ) %]<li class="patroncity">
14
        [% city %][% IF ( state ) %], [% state %][% END %]
14
        [% city |html  %][% IF ( state ) %], [% state |html  %][% END %]
15
        [% zipcode %][% IF ( country ) %], [% country %][% END %]</li>
15
        [% zipcode |html  %][% IF ( country ) %], [% country |html  %][% END %]</li>
16
[% END %]
16
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/member-display-alt-address-style-us.inc (-4 / +4 lines)
Lines 4-16 Link Here
4
        [% IF B_streettype %]
4
        [% IF B_streettype %]
5
            [% SET roadtype_desc = AuthorisedValues.GetByCode('ROADTYPE', B_streettype) %]
5
            [% SET roadtype_desc = AuthorisedValues.GetByCode('ROADTYPE', B_streettype) %]
6
        [% END %]
6
        [% END %]
7
        <li class="patronaddress1">[% if (B_streetnumber) %][% B_streetnumber %][% end %] [% B_address %] [% IF roadtype_desc %][% roadtype_desc %] [% END %][% end %]</li>
7
        <li class="patronaddress1">[% if (B_streetnumber) %][% B_streetnumber |html %][% end %] [% B_address |html %] [% IF roadtype_desc %][% roadtype_desc |html %] [% END %][% end %]</li>
8
    [% END %]
8
    [% END %]
9
    [% IF ( B_address2 ) %]
9
    [% IF ( B_address2 ) %]
10
        <li class="patronaddress2">[% B_address2 %]</li>
10
        <li class="patronaddress2">[% B_address2 |html %]</li>
11
    [% END %]
11
    [% END %]
12
[% END %]
12
[% END %]
13
[% IF ( B_city ) %]<li class="patroncity">
13
[% IF ( B_city ) %]<li class="patroncity">
14
        [% B_city %][% IF ( B_state ) %], [% B_state %][% END %]
14
        [% B_city |html %][% IF ( B_state ) %], [% B_state |html %][% END %]
15
        [% B_zipcode %][% IF ( B_country ) %], [% B_country %][% END %]</li>
15
        [% B_zipcode |html %][% IF ( B_country ) %], [% B_country |html %][% END %]</li>
16
[% END %]
16
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt (-11 / +10 lines)
Lines 238-248 function validate1(date) { Link Here
238
        [% IF ( phone ) %]<li><span class="label">Primary phone: </span><a href="tel:[% phone %]">[% phone | html %]</a></li>[% END %]
238
        [% IF ( phone ) %]<li><span class="label">Primary phone: </span><a href="tel:[% phone %]">[% phone | html %]</a></li>[% END %]
239
        [% IF ( phonepro ) %]<li><span class="label">Secondary phone: </span><a href="tel:[% phonepro %]">[% phonepro | html %]</a></li>[% END %]
239
        [% IF ( phonepro ) %]<li><span class="label">Secondary phone: </span><a href="tel:[% phonepro %]">[% phonepro | html %]</a></li>[% END %]
240
        [% IF ( mobile ) %]<li><span class="label">Other phone: </span><a href="tel:[% mobile %]">[% mobile | html %]</a></li>[% END %]
240
        [% IF ( mobile ) %]<li><span class="label">Other phone: </span><a href="tel:[% mobile %]">[% mobile | html %]</a></li>[% END %]
241
        [% IF ( fax ) %]<li><span class="label">Fax: </span>[% fax %]</li>[% END %]
241
        [% IF ( fax ) %]<li><span class="label">Fax: </span>[% fax |html %]</li>[% END %]
242
        [% IF ( email ) %]<li class="email"><span class="label">Primary email:</span><a title="[% email %]" href="mailto:[% email | url %]">[% email | html %]</a></li>[% END %]
242
        [% IF ( email ) %]<li class="email"><span class="label">Primary email:</span><a title="[% email %]" href="mailto:[% email | url %]">[% email | html %]</a></li>[% END %]
243
        [% IF ( emailpro ) %]<li class="email"><span class="label">Secondary email: </span><a title="[% emailpro %]" href="mailto:[% emailpro | url %]">[% emailpro | html %]</a></li>[% END %]
243
        [% IF ( emailpro ) %]<li class="email"><span class="label">Secondary email: </span><a title="[% emailpro %]" href="mailto:[% emailpro | url %]">[% emailpro | html %]</a></li>[% END %]
244
        [% UNLESS ( I ) %]
244
        [% UNLESS ( I ) %]
245
            [% IF ( initials ) %]<li><span class="label">Initials: </span>[% initials %]</li>[% END %]
245
            [% IF ( initials ) %]<li><span class="label">Initials: </span>[% initials | html %]</li>[% END %]
246
            [% IF ( dateofbirth ) %]<li><span class="label">Date of birth:</span>[% dateofbirth | $KohaDates %] ([% age %] years)</li>[% END %]
246
            [% IF ( dateofbirth ) %]<li><span class="label">Date of birth:</span>[% dateofbirth | $KohaDates %] ([% age %] years)</li>[% END %]
247
            [% IF ( sex ) %]<li><span class="label">Gender:</span>
247
            [% IF ( sex ) %]<li><span class="label">Gender:</span>
248
                [% IF ( sex == 'F' ) %]Female[% ELSIF ( sex == 'M' ) %]Male[% ELSE %][% sex %][% END %]
248
                [% IF ( sex == 'F' ) %]Female[% ELSIF ( sex == 'M' ) %]Male[% ELSE %][% sex %][% END %]
Lines 422-430 function validate1(date) { Link Here
422
        [% END %]
422
        [% END %]
423
    </li>
423
    </li>
424
424
425
    [% IF ( sort1 ) %]<li><span class="label">Sort field 1:</span>[% AuthorisedValues.GetByCode('Bsort1', sort1) %]</li>[% END %]
425
    [% IF ( sort1 ) %]<li><span class="label">Sort field 1:</span>[% AuthorisedValues.GetByCode('Bsort1', sort1) |html %]</li>[% END %]
426
    [% IF ( sort2 ) %]<li><span class="label">Sort field 2:</span>[% AuthorisedValues.GetByCode('Bsort2', sort2) %]</li>[% END %]
426
    [% IF ( sort2 ) %]<li><span class="label">Sort field 2:</span>[% AuthorisedValues.GetByCode('Bsort2', sort2) |html %]</li>[% END %]
427
    <li><span class="label">Username: </span>[% userid %]</li>
427
    <li><span class="label">Username: </span>[% userid |html  %]</li>
428
    <li><span class="label">Password: </span>
428
    <li><span class="label">Password: </span>
429
    [% IF ( password ) %]
429
    [% IF ( password ) %]
430
        *******
430
        *******
Lines 432-439 function validate1(date) { Link Here
432
        <span class="problem"><a href="/cgi-bin/koha/members/member-password.pl?member=[% borrowernumber %]">Undefined</a></span>
432
        <span class="problem"><a href="/cgi-bin/koha/members/member-password.pl?member=[% borrowernumber %]">Undefined</a></span>
433
    [% END %] 
433
    [% END %] 
434
    </li>
434
    </li>
435
    [% IF ( borrowernotes ) %]<li><span class="label">Circulation note: </span>[% borrowernotes %]</li>[% END %]
435
    [% IF ( borrowernotes ) %]<li><span class="label">Circulation note: </span>[% borrowernotes |html %]</li>[% END %]
436
    [% IF ( opacnote ) %]<li><span class="label">OPAC note:</span>[% opacnote %]</li>[% END %]
436
    [% IF ( opacnote ) %]<li><span class="label">OPAC note:</span>[% opacnote |html %]</li>[% END %]
437
    [% IF Koha.Preference( 'NorwegianPatronDBEnable' ) == 1 %]
437
    [% IF Koha.Preference( 'NorwegianPatronDBEnable' ) == 1 %]
438
        [% IF ( sync == 1 ) %]
438
        [% IF ( sync == 1 ) %]
439
            <li><span class="label">Activate sync: </span>Yes</li>
439
            <li><span class="label">Activate sync: </span>Yes</li>
Lines 475-483 function validate1(date) { Link Here
475
    [% END %]
475
    [% END %]
476
476
477
    <div class="rows">  <ol>
477
    <div class="rows">  <ol>
478
      [% IF ( B_phone ) %]<li><span class="label">Phone: </span><a href="tel:[% B_phone %]">[% B_phone %]</a></li>[% END %]
478
      [% IF ( B_phone ) %]<li><span class="label">Phone: </span><a href="tel:[% B_phone %]">[% B_phone |html  %]</a></li>[% END %]
479
      [% IF ( B_email ) %]<li class="email"><span class="label">Email: </span><a title="[% B_email %]" href="mailto:[% B_email %]">[% B_email %]</a></li>[% END %]
479
      [% IF ( B_email ) %]<li class="email"><span class="label">Email: </span><a title="[% B_email %]" href="mailto:[% B_email | url %]">[% B_email |html %]</a></li>[% END %]
480
      [% IF ( contactnote ) %]<li><span class="label">Contact note: </span> [% contactnote %]</li>[% END %]
480
      [% IF ( contactnote ) %]<li><span class="label">Contact note: </span> [% contactnote |html %]</li>[% END %]
481
      </ol>
481
      </ol>
482
    </div>
482
    </div>
483
</div>
483
</div>
484
- 

Return to bug 19612