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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc (-1 / +1 lines)
Lines 3-9 Link Here
3
        [% IF l.selected %]
3
        [% IF l.selected %]
4
            <option value="[% l.branchcode | html %]" selected="selected">[% l.branchname %]</option>
4
            <option value="[% l.branchcode | html %]" selected="selected">[% l.branchname %]</option>
5
        [% ELSE %]
5
        [% ELSE %]
6
            <option value="[% l.branchcode | html %]">[% l.branchname %]</option>
6
            <option value="[% l.branchcode | html %]">[% l.branchname |html %]</option>
7
        [% END%]
7
        [% END%]
8
    [% END %]
8
    [% END %]
9
[% END %]
9
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc (-3 / +3 lines)
Lines 94-100 Link Here
94
                    [% IF b.selected %]
94
                    [% IF b.selected %]
95
                        <option value="[% b.branchcode %]" selected="selected">[% b.branchname %]</option>
95
                        <option value="[% b.branchcode %]" selected="selected">[% b.branchname %]</option>
96
                    [% ELSE %]
96
                    [% ELSE %]
97
                        <option value="[% b.branchcode %]">[% b.branchname %]</option>
97
                        <option value="[% b.branchcode %]">[% b.branchname |html %]</option>
98
                    [% END %]
98
                    [% END %]
99
                [% END %]
99
                [% END %]
100
            </select>
100
            </select>
Lines 107-115 Link Here
107
                <option value="">Any</option>
107
                <option value="">Any</option>
108
                [% FOREACH category IN categories %]
108
                [% FOREACH category IN categories %]
109
                    [% IF category.categorycode == categorycode_filter %]
109
                    [% IF category.categorycode == categorycode_filter %]
110
                        <option value="[% category.categorycode %]" selected="selected">[% category.description %]</option>
110
                        <option value="[% category.categorycode %]" selected="selected">[% category.description |html %]</option>
111
                    [% ELSE %]
111
                    [% ELSE %]
112
                        <option value="[% category.categorycode %]">[% category.description %]</option>
112
                        <option value="[% category.categorycode %]">[% category.description |html %]</option>
113
                    [% END %]
113
                    [% END %]
114
                [% END %]
114
                [% END %]
115
            </select>
115
            </select>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-toolbar.inc (-2 / +2 lines)
Lines 7-20 Link Here
7
    <div class="btn-group">
7
    <div class="btn-group">
8
        <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> New patron <span class="caret"></span></button>
8
        <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> New patron <span class="caret"></span></button>
9
            <ul class="dropdown-menu">
9
            <ul class="dropdown-menu">
10
                [% FOREACH category IN categories %]<li><a href="/cgi-bin/koha/members/memberentry.pl?op=add&amp;categorycode=[% category.categorycode %]">[% category.description %]</a></li>[% END %]
10
                [% FOREACH category IN categories %]<li><a href="/cgi-bin/koha/members/memberentry.pl?op=add&amp;categorycode=[% category.categorycode %]">[% category.description |html %]</a></li>[% END %]
11
            </ul>
11
            </ul>
12
    </div>
12
    </div>
13
    [% IF Koha.Preference('PatronQuickAddFields') || Koha.Preference('BorrowerMandatoryField') %]
13
    [% IF Koha.Preference('PatronQuickAddFields') || Koha.Preference('BorrowerMandatoryField') %]
14
    <div class="btn-group">
14
    <div class="btn-group">
15
        <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> Quick add new patron <span class="caret"></span></button>
15
        <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> Quick add new patron <span class="caret"></span></button>
16
            <ul class="dropdown-menu">
16
            <ul class="dropdown-menu">
17
                [% FOREACH category IN categories %]<li><a href="/cgi-bin/koha/members/memberentry.pl?op=add&amp;categorycode=[% category.categorycode %]&amp;quickadd=true">[% category.description %]</a></li>[% END %]
17
                [% FOREACH category IN categories %]<li><a href="/cgi-bin/koha/members/memberentry.pl?op=add&amp;categorycode=[% category.categorycode %]&amp;quickadd=true">[% category.description |html %]</a></li>[% END %]
18
            </ul>
18
            </ul>
19
    </div>
19
    </div>
20
    [% END %]
20
    [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt (-4 / +3 lines)
Lines 373-379 function filterByFirstLetterSurname(letter) { Link Here
373
                              [% IF patron_lists %]
373
                              [% IF patron_lists %]
374
                                  <optgroup label="Patron lists:">
374
                                  <optgroup label="Patron lists:">
375
                                      [% FOREACH pl IN patron_lists %]
375
                                      [% FOREACH pl IN patron_lists %]
376
                                          <option value="[% pl.patron_list_id %]">[% pl.name %]</option>
376
                                          <option value="[% pl.patron_list_id %]">[% pl.name |html %]</option>
377
                                      [% END %]
377
                                      [% END %]
378
                                  </optgroup>
378
                                  </optgroup>
379
                              [% END %]
379
                              [% END %]
Lines 497-505 function filterByFirstLetterSurname(letter) { Link Here
497
                <option value="">Any</option>
497
                <option value="">Any</option>
498
                [% FOREACH cat IN categories %]
498
                [% FOREACH cat IN categories %]
499
                  [% IF cat.categorycode == categorycode_filter %]
499
                  [% IF cat.categorycode == categorycode_filter %]
500
                    <option selected="selected" value="[% cat.categorycode %]">[% cat.description %]</option>
500
                    <option selected="selected" value="[% cat.categorycode %]">[% cat.description |html %]</option>
501
                  [% ELSE %]
501
                  [% ELSE %]
502
                    <option value="[% cat.categorycode %]">[% cat.description %]</option>
502
                    <option value="[% cat.categorycode %]">[% cat.description |html %]</option>
503
                  [% END %]
503
                  [% END %]
504
                [% END %]
504
                [% END %]
505
              </select>
505
              </select>
506
- 

Return to bug 19125