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

(-)a/authorities/authorities-home.pl (+2 lines)
Lines 177-181 $template->param( Link Here
177
    authtypesloop => \@authtypesloop,
177
    authtypesloop => \@authtypesloop,
178
);
178
);
179
179
180
$template->{VARS}->{marcflavour} = C4::Context->preference("marcflavour");
181
180
# Print the page
182
# Print the page
181
output_html_with_http_headers $query, $cookie, $template->output;
183
output_html_with_http_headers $query, $cookie, $template->output;
(-)a/authorities/detail.pl (+2 lines)
Lines 242-246 $template->param(authid => $authid, Link Here
242
		authtypetext => $authtypes->{$authtypecode}{'authtypetext'},
242
		authtypetext => $authtypes->{$authtypecode}{'authtypetext'},
243
		authtypesloop => \@authtypesloop,
243
		authtypesloop => \@authtypesloop,
244
		);
244
		);
245
246
$template->{VARS}->{marcflavour} = C4::Context->preference("marcflavour");
245
output_html_with_http_headers $query, $cookie, $template->output;
247
output_html_with_http_headers $query, $cookie, $template->output;
246
248
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search.inc (-4 / +3 lines)
Lines 8-14 Link Here
8
        <input type="hidden" name="op" value="do_search" />
8
        <input type="hidden" name="op" value="do_search" />
9
        <input type="hidden" name="type" value="intranet" />
9
        <input type="hidden" name="type" value="intranet" />
10
        <select name="authtypecode">
10
        <select name="authtypecode">
11
        <option value="">All Authority Types</option>
11
        [% IF (marcflavour == 'UNIMARC' ) %]<option value="">All authority types</option>[% END %]
12
        [% FOREACH authtypesloo IN authtypesloop %]
12
        [% FOREACH authtypesloo IN authtypesloop %]
13
            [% IF ( authtypesloo.selected ) %]
13
            [% IF ( authtypesloo.selected ) %]
14
            <option value="[% authtypesloo.value %]" selected="selected">[% authtypesloo.authtypetext %]</option>
14
            <option value="[% authtypesloo.value %]" selected="selected">[% authtypesloo.authtypetext %]</option>
Lines 38-44 Link Here
38
        <input type="hidden" name="op" value="do_search" />
38
        <input type="hidden" name="op" value="do_search" />
39
        <input type="hidden" name="type" value="intranet" />
39
        <input type="hidden" name="type" value="intranet" />
40
        <select  name="authtypecode">
40
        <select  name="authtypecode">
41
        <option value="">All Authority Types</option>
41
        [% IF (marcflavour == 'UNIMARC' ) %]<option value="">All authority types</option>[% END %]
42
        [% FOREACH authtypesloo IN authtypesloop %]
42
        [% FOREACH authtypesloo IN authtypesloop %]
43
            [% IF ( authtypesloo.selected ) %]
43
            [% IF ( authtypesloo.selected ) %]
44
            <option value="[% authtypesloo.value %]" selected="selected">[% authtypesloo.authtypetext %]</option>
44
            <option value="[% authtypesloo.value %]" selected="selected">[% authtypesloo.authtypetext %]</option>
Lines 70-76 Link Here
70
        <input type="hidden" name="op" value="do_search" />
70
        <input type="hidden" name="op" value="do_search" />
71
        <input type="hidden" name="type" value="intranet" />
71
        <input type="hidden" name="type" value="intranet" />
72
        <select name="authtypecode">
72
        <select name="authtypecode">
73
        <option value="">All Authority Types</option>
73
        [% IF (marcflavour == 'UNIMARC' ) %]<option value="">All authority types</option>[% END %]
74
        [% FOREACH authtypesloo IN authtypesloop %]
74
        [% FOREACH authtypesloo IN authtypesloop %]
75
            [% IF ( authtypesloo.selected ) %]
75
            [% IF ( authtypesloo.selected ) %]
76
            <option value="[% authtypesloo.value %]" selected="selected">[% authtypesloo.authtypetext %]</option>
76
            <option value="[% authtypesloo.value %]" selected="selected">[% authtypesloo.authtypetext %]</option>
77
- 

Return to bug 5910