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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/systempreferences.tt (-13 / +12 lines)
Lines 7-22 Link Here
7
<title>[% FILTER collapse %]
7
<title>[% FILTER collapse %]
8
    [% IF ( add_form ) %]
8
    [% IF ( add_form ) %]
9
        [% IF ( modify ) %]
9
        [% IF ( modify ) %]
10
            [% tx("Modify preference '{searchfield}'", { searchfield = searchfield }) | html %]
10
            [% tx("Modify system preference '{system_preference}'", { system_preference = searchfield }) | html %]
11
        [% ELSE %]
11
        [% ELSE %]
12
            [% t("New preference") | html %]
12
            [% t("New system preference") | html %]
13
        [% END %] &rsaquo;
13
        [% END %] &rsaquo;
14
    [% END %]
14
    [% END %]
15
    [% IF ( delete_confirm ) %]
15
    [% IF ( delete_confirm ) %]
16
        [% tx("Confirm deletion of preference '{searchfield}'", { searchfield = searchfield }) | html %] &rsaquo;
16
        [% tx("Confirm deletion of system preference '{system_preference}'", { system_preference = searchfield }) | html %] &rsaquo;
17
    [% END %]
17
    [% END %]
18
    [% IF ( delete_confirmed ) %]
18
    [% IF ( delete_confirmed ) %]
19
        [% t("Preference deleted") | html %] &rsaquo;
19
        [% t("System preference deleted") | html %] &rsaquo;
20
    [% END %]
20
    [% END %]
21
    [% t("Local use system preferences") | html %] &rsaquo;
21
    [% t("Local use system preferences") | html %] &rsaquo;
22
    [% t("Administration") | html %] &rsaquo;
22
    [% t("Administration") | html %] &rsaquo;
Lines 45-53 Link Here
45
        [% IF ( add_form ) %]
45
        [% IF ( add_form ) %]
46
            [% WRAPPER breadcrumb_item bc_active= 1 %]
46
            [% WRAPPER breadcrumb_item bc_active= 1 %]
47
                [% IF ( modify ) %]
47
                [% IF ( modify ) %]
48
                    <span>Modify preference '[% searchfield | html %]'</span>
48
                    [% tx("Modify system preference '{system_preference}'", { system_preference = searchfield }) | html %]
49
                [% ELSE %]
49
                [% ELSE %]
50
                    <span>New preference</span>
50
                    <span>New system preference</span>
51
                [% END %]
51
                [% END %]
52
            [% END %]
52
            [% END %]
53
        [% END %]
53
        [% END %]
Lines 57-69 Link Here
57
                <a href="/cgi-bin/koha/admin/systempreferences.pl?op=add_form&amp;searchfield=[% searchfield | uri %]">[% searchfield | html %]</a>
57
                <a href="/cgi-bin/koha/admin/systempreferences.pl?op=add_form&amp;searchfield=[% searchfield | uri %]">[% searchfield | html %]</a>
58
            [% END %]
58
            [% END %]
59
            [% WRAPPER breadcrumb_item bc_active= 1 %]
59
            [% WRAPPER breadcrumb_item bc_active= 1 %]
60
                <span>Confirm deletion of preference '[% searchfield | html %]'</span>
60
                [% tx("Confirm deletion of system preference '{system_preference}'", { system_preference = searchfield }) | html %]
61
            [% END %]
61
            [% END %]
62
        [% END %]
62
        [% END %]
63
63
64
        [% IF ( delete_confirmed ) %]
64
        [% IF ( delete_confirmed ) %]
65
            [% WRAPPER breadcrumb_item bc_active= 1 %]
65
            [% WRAPPER breadcrumb_item bc_active= 1 %]
66
                <span>Preference deleted</span>
66
                <span>System preference deleted</span>
67
            [% END %]
67
            [% END %]
68
        [% END %]
68
        [% END %]
69
69
Lines 83-89 Link Here
83
[% IF ( add_form ) %]
83
[% IF ( add_form ) %]
84
        <h1>
84
        <h1>
85
            [% IF ( modify ) %]
85
            [% IF ( modify ) %]
86
                [% tx("Modify preference '{searchfield}'", { searchfield = searchfield }) | html %]
86
                [% tx("Modify system preference '{searchfield}'", { searchfield = searchfield }) | html %]
87
            [% ELSE %]
87
            [% ELSE %]
88
                New local use system preference
88
                New local use system preference
89
            [% END %]
89
            [% END %]
Lines 95-101 Link Here
95
            <form action="[% script_name | html %]" name="Aform" method="post">
95
            <form action="[% script_name | html %]" name="Aform" method="post">
96
        [% END %]
96
        [% END %]
97
        <fieldset class="rows">
97
        <fieldset class="rows">
98
            <legend class="sr-only">Preference details</legend>
98
            <legend class="sr-only">System preference details</legend>
99
            <ol>
99
            <ol>
100
            <li><label for="explanation">Explanation: </label><input type="text" name="explanation" id="explanation" size="60" value="[% explanation | html %]" /><input type="hidden" name="op" value="add_validate" /></li>
100
            <li><label for="explanation">Explanation: </label><input type="text" name="explanation" id="explanation" size="60" value="[% explanation | html %]" /><input type="hidden" name="op" value="add_validate" /></li>
101
            <li>[% IF ( searchfield ) %]<span class="label">Variable: </span>[% searchfield | html %]<input type="hidden" name="variable" value="[% searchfield | html %]" />
101
            <li>[% IF ( searchfield ) %]<span class="label">Variable: </span>[% searchfield | html %]<input type="hidden" name="variable" value="[% searchfield | html %]" />
Lines 267-273 Link Here
267
267
268
    [% IF ( delete_confirm ) %]
268
    [% IF ( delete_confirm ) %]
269
        <div class="dialog alert">
269
        <div class="dialog alert">
270
            <h1>Confirm deletion of [% searchfield | html %]?</h1>
270
            <h1>[% tx("Confirm deletion of system preference '{system_preference}'?", { system_preference = searchfield }) | html %]</h1>
271
            <table>
271
            <table>
272
                <tr>
272
                <tr>
273
                    <th>Variable name:</th>
273
                    <th>Variable name:</th>
Lines 302-308 Link Here
302
    [% IF ( else ) %]
302
    [% IF ( else ) %]
303
303
304
    <div id="toolbar" class="btn-toolbar">
304
    <div id="toolbar" class="btn-toolbar">
305
        <a class="btn btn-default" id="newstopword" href="[% script_name | url %]?op=add_form"><i class="fa fa-plus"></i> New preference</a>
305
        <a class="btn btn-default" id="newstopword" href="[% script_name | url %]?op=add_form"><i class="fa fa-plus"></i> New system preference</a>
306
    </div>
306
    </div>
307
307
308
    [% IF ( tab != 'local_use' ) %]
308
    [% IF ( tab != 'local_use' ) %]
309
- 

Return to bug 34412