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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/serials/subscription_daily_choice.inc (-5 / +5 lines)
Lines 19-33 Link Here
19
[% FOREACH day IN daily_choice %]
19
[% FOREACH day IN daily_choice %]
20
    [% IF permanent_irreg.grep( day.value ).0 == day.value %]
20
    [% IF permanent_irreg.grep( day.value ).0 == day.value %]
21
        <input type="checkbox" name="permanent_irregularity"
21
        <input type="checkbox" name="permanent_irregularity"
22
               id="[% day.name %]" data-dow="[% day.value %]"
22
               id="[% day.name | html %]" data-dow="[% day.value | html %]"
23
               value="[% day.value %]" class="skip"
23
               value="[% day.value | html %]" class="skip"
24
               checked="checked"
24
               checked="checked"
25
        />
25
        />
26
    [% ELSE %]
26
    [% ELSE %]
27
        <input type="checkbox" name="permanent_irregularity"
27
        <input type="checkbox" name="permanent_irregularity"
28
               id="[% day.name %]" data-dow="[% day.value %]"
28
               id="[% day.name | html %]" data-dow="[% day.value | html %]"
29
               value="[% day.value %]" class="skip"
29
               value="[% day.value | html %]" class="skip"
30
        />
30
        />
31
    [% END %]
31
    [% END %]
32
    <label for="[% day.name %]">[% PROCESS days d=day.name %]</label>
32
    <label for="[% day.name | html %]">[% PROCESS days d=day.name %]</label>
33
[% END %]
33
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/serials/subscription_monthly_choice.inc (-5 / +5 lines)
Lines 24-38 Link Here
24
[% FOREACH month IN monthly_choice %]
24
[% FOREACH month IN monthly_choice %]
25
    [% IF permanent_irreg.grep( month.value ).0 == month.value %]
25
    [% IF permanent_irreg.grep( month.value ).0 == month.value %]
26
        <input type="checkbox" name="permanent_irregularity"
26
        <input type="checkbox" name="permanent_irregularity"
27
               id="[% month.name %]" data-dow="[% month.value %]"
27
               id="[% month.name | html %]" data-dow="[% month.value | html %]"
28
               value="[% month.value %]" class="skip"
28
               value="[% month.value | html %]" class="skip"
29
               checked="checked"
29
               checked="checked"
30
        />
30
        />
31
    [% ELSE %]
31
    [% ELSE %]
32
        <input type="checkbox" name="permanent_irregularity"
32
        <input type="checkbox" name="permanent_irregularity"
33
               id="[% month.name %]" data-dow="[% month.value %]"
33
               id="[% month.name | html %]" data-dow="[% month.value | html %]"
34
               value="[% month.value %]" class="skip"
34
               value="[% month.value | html %]" class="skip"
35
        />
35
        />
36
    [% END %]
36
    [% END %]
37
    <label for="[% month.name %]">[% PROCESS months m=month.name %]</label>
37
    <label for="[% month.name | html %]">[% PROCESS months m=month.name %]</label>
38
[% END %]
38
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/serials/subscription_weekly_choice.inc (-3 / +3 lines)
Lines 10-20 Link Here
10
                    <li>
10
                    <li>
11
                        <a href="#" class="small">
11
                        <a href="#" class="small">
12
                            [% IF permanent_irreg.grep( p.dow ).0 == p.dow %]
12
                            [% IF permanent_irreg.grep( p.dow ).0 == p.dow %]
13
                                <input type="checkbox" name="permanent_irregularity" value="[% p.dow %]" data-dow="[% p.dow %]" class="skip" checked="checked"/>
13
                                <input type="checkbox" name="permanent_irregularity" value="[% p.dow | html %]" data-dow="[% p.dow | html %]" class="skip" checked="checked"/>
14
                            [% ELSE %]
14
                            [% ELSE %]
15
                                <input type="checkbox" name="permanent_irregularity" value="[% p.dow %]" data-dow="[% p.dow %]" class="skip"/>
15
                                <input type="checkbox" name="permanent_irregularity" value="[% p.dow | html %]" data-dow="[% p.dow | html %]" class="skip"/>
16
                            [% END %]
16
                            [% END %]
17
                            &nbsp;Week <b>#[% p.dow %]</b> ([% p.publicationdate | $KohaDates %])
17
                            &nbsp;Week <b>#[% p.dow | html %]</b> ([% p.publicationdate | $KohaDates %])
18
                        </a>
18
                        </a>
19
                    </li>
19
                    </li>
20
                [% END %]
20
                [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-renew.tt (-7 / +7 lines)
Lines 1-3 Link Here
1
[% USE raw %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
Lines 113-121 Link Here
113
[% MACRO jsinclude BLOCK %]
114
[% MACRO jsinclude BLOCK %]
114
    [% INCLUDE 'calendar.inc' %]
115
    [% INCLUDE 'calendar.inc' %]
115
    <script type="text/javascript">
116
    <script type="text/javascript">
116
        var subscriptionid = "[% subscription.subscriptionid %]";
117
        var subscriptionid = "[% subscription.subscriptionid | html %]";
117
        var irregularity = "[% subscription.irregularity %]";
118
        var irregularity = "[% subscription.irregularity | html %]";
118
        var more_than_one_serial = "[% more_than_one_serial %]";
119
        var more_than_one_serial = "[% more_than_one_serial | html %]";
119
        $(document).ready(function(){
120
        $(document).ready(function(){
120
            if (subscriptionid) {
121
            if (subscriptionid) {
121
                testPredictionPattern();
122
                testPredictionPattern();
Lines 127-135 Link Here
127
            });
128
            });
128
        });
129
        });
129
    </script>
130
    </script>
130
    [% Asset.js("js/subscription-add.js") %]
131
    [% Asset.js("js/subscription-add.js") | $raw %]
131
    [% Asset.js("js/subscription.js") %]
132
    [% Asset.js("js/subscription.js") | $raw %]
132
    [% Asset.js("js/showpredictionpattern.js") %]
133
    [% Asset.js("js/showpredictionpattern.js") | $raw %]
133
[% END %]
134
[% END %]
134
135
135
[% INCLUDE 'intranet-bottom.inc' popup_window=1 %]
136
[% INCLUDE 'intranet-bottom.inc' popup_window=1 %]
136
- 

Return to bug 17656