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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt (-2 / +2 lines)
Lines 176-185 Link Here
176
                        [% IF ( loop_order.left_holds_on_order ) %]
176
                        [% IF ( loop_order.left_holds_on_order ) %]
177
                        <span class="button" title="Can't cancel order, ([% loop_order.holds_on_order %]) holds are linked with this order cancel holds first">Can't cancel order</span><br>
177
                        <span class="button" title="Can't cancel order, ([% loop_order.holds_on_order %]) holds are linked with this order cancel holds first">Can't cancel order</span><br>
178
                        [% ELSE %]
178
                        [% ELSE %]
179
                        <a href="/cgi-bin/koha/acqui/cancelorder.pl?ordernumber=[% loop_order.ordernumber %]&biblionumber=[% loop_order.biblionumber %]&referrer=[% "/cgi-bin/koha/acqui/parcel.pl?invoiceid=$invoiceid" | uri %]">Cancel order</a><br />
179
                        <a href="/cgi-bin/koha/acqui/cancelorder.pl?ordernumber=[% loop_order.ordernumber %]&biblionumber=[% loop_order.biblionumber %]&referrer=[% '/cgi-bin/koha/acqui/parcel.pl?invoiceid=' _ invoiceid | uri %]">Cancel order</a><br />
180
                        [% END %]
180
                        [% END %]
181
                        [% IF ( loop_order.can_del_bib ) %]
181
                        [% IF ( loop_order.can_del_bib ) %]
182
                        <a href="/cgi-bin/koha/acqui/cancelorder.pl?ordernumber=[% loop_order.ordernumber %]&biblionumber=[% loop_order.biblionumber %]&del_biblio=1&referrer=[% "/cgi-bin/koha/acqui/parcel.pl?invoiceid=$invoiceid" | uri %]">Cancel order and catalog record</a><br />
182
                        <a href="/cgi-bin/koha/acqui/cancelorder.pl?ordernumber=[% loop_order.ordernumber %]&biblionumber=[% loop_order.biblionumber %]&del_biblio=1&referrer=[% '/cgi-bin/koha/acqui/parcel.pl?invoiceid=' _ invoiceid | uri %]">Cancel order and catalog record</a><br />
183
                        [% ELSE %]
183
                        [% ELSE %]
184
                        <span class="button" title="Can't delete catalog record, see constraints below">Can't cancel order and delete catalog record</span><br>
184
                        <span class="button" title="Can't delete catalog record, see constraints below">Can't cancel order and delete catalog record</span><br>
185
                        [% END %]
185
                        [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt (-2 / +2 lines)
Lines 232-238 Link Here
232
            [% END %]
232
            [% END %]
233
            <ol>
233
            <ol>
234
            <li><label for="discount">Discount: </label>
234
            <li><label for="discount">Discount: </label>
235
                <input type="text" size="6" id="discount" name="discount" value="[% discount | format ("%.1f") %]" />%</li>
235
                <input type="text" size="6" id="discount" name="discount" value="[% discount | format ('%.1f') %]" />%</li>
236
            <li>
236
            <li>
237
                <label for="deliverytime">Delivery time: </label>
237
                <label for="deliverytime">Delivery time: </label>
238
                <input type="text" size="2" id="deliverytime" name="deliverytime" value="[% deliverytime %]" /> days
238
                <input type="text" size="2" id="deliverytime" name="deliverytime" value="[% deliverytime %]" /> days
Lines 279-285 Link Here
279
                <p><strong>Invoice item price includes tax: </strong>
279
                <p><strong>Invoice item price includes tax: </strong>
280
                        [% IF ( invoiceincgst ) %]Yes[% ELSE %]No[% END %]</p>[% END %]
280
                        [% IF ( invoiceincgst ) %]Yes[% ELSE %]No[% END %]</p>[% END %]
281
                <p><strong>Discount: </strong>
281
                <p><strong>Discount: </strong>
282
                    [% discount | format("%.1f") %] %</p>
282
                    [% discount | format('%.1f') %] %</p>
283
                <p><strong>Tax rate: </strong>
283
                <p><strong>Tax rate: </strong>
284
                    [% ( tax_rate || 0 ) * 100 %] %</p>
284
                    [% ( tax_rate || 0 ) * 100 %] %</p>
285
                [% IF deliverytime.defined %]
285
                [% IF deliverytime.defined %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt (-5 / +5 lines)
Lines 79-87 Link Here
79
                    [% IF ( CHUNK.type_text ) %]
79
                    [% IF ( CHUNK.type_text ) %]
80
                    [% CHUNK.contents %]
80
                    [% CHUNK.contents %]
81
                    [% ELSIF ( CHUNK.type_input ) %]
81
                    [% ELSIF ( CHUNK.type_input ) %]
82
                    <input type="[%IF CHUNK.input_type %][% CHUNK.input_type %][% ELSE %]text[% END %]" name="pref_[% CHUNK.name %]" id="pref_[% CHUNK.name %]" class="preference preference-[% CHUNK.class or "short" %]" value="[% CHUNK.value| html %]" autocomplete="off" /> [% IF ( CHUNK.dateinput ) %]<span class="hint">[% INCLUDE 'date-format.inc' %]</span>[% END %]
82
                    <input type="[%IF CHUNK.input_type %][% CHUNK.input_type %][% ELSE %]text[% END %]" name="pref_[% CHUNK.name %]" id="pref_[% CHUNK.name %]" class="preference preference-[% CHUNK.class or 'short' %]" value="[% CHUNK.value| html %]" autocomplete="off" /> [% IF ( CHUNK.dateinput ) %]<span class="hint">[% INCLUDE 'date-format.inc' %]</span>[% END %]
83
                    [% ELSIF ( CHUNK.type_select ) %]
83
                    [% ELSIF ( CHUNK.type_select ) %]
84
                    <select name="pref_[% CHUNK.name %]" id="pref_[% CHUNK.name %]" class="preference preference-[% CHUNK.class or "choice" %]">
84
                    <select name="pref_[% CHUNK.name %]" id="pref_[% CHUNK.name %]" class="preference preference-[% CHUNK.class or 'choice' %]">
85
                        [% FOREACH CHOICE IN CHUNK.CHOICES.sort('value') %]
85
                        [% FOREACH CHOICE IN CHUNK.CHOICES.sort('value') %]
86
                        [% IF ( CHOICE.selected ) %]
86
                        [% IF ( CHOICE.selected ) %]
87
                        <option value="[% CHOICE.value %]" selected="selected">
87
                        <option value="[% CHOICE.value %]" selected="selected">
Lines 93-107 Link Here
93
                        [% END %]
93
                        [% END %]
94
                    </select>
94
                    </select>
95
                    [% ELSIF ( CHUNK.type_multiple ) %]
95
                    [% ELSIF ( CHUNK.type_multiple ) %]
96
                    <select name="pref_[% CHUNK.name %]" id="pref_[% CHUNK.name %]" class="preference preference-[% CHUNK.class or "choice" %]" multiple="multiple">
96
                    <select name="pref_[% CHUNK.name %]" id="pref_[% CHUNK.name %]" class="preference preference-[% CHUNK.class or 'choice' %]" multiple="multiple">
97
                        [% FOREACH CHOICE IN CHUNK.CHOICES %][% IF ( CHOICE.selected ) %]<option value="[% CHOICE.value %]" selected="selected">[% ELSE %]<option value="[% CHOICE.value %]">[% END %][% CHOICE.text %]</option>[% END %]
97
                        [% FOREACH CHOICE IN CHUNK.CHOICES %][% IF ( CHOICE.selected ) %]<option value="[% CHOICE.value %]" selected="selected">[% ELSE %]<option value="[% CHOICE.value %]">[% END %][% CHOICE.text %]</option>[% END %]
98
                    </select>
98
                    </select>
99
                    [% ELSIF ( CHUNK.type_textarea ) || ( CHUNK.type_htmlarea )%]
99
                    [% ELSIF ( CHUNK.type_textarea ) || ( CHUNK.type_htmlarea )%]
100
                        [% IF ( CHUNK.type_htmlarea ) && ( Koha.Preference('UseWYSIWYGinSystemPreferences') ) %]
100
                        [% IF ( CHUNK.type_htmlarea ) && ( Koha.Preference('UseWYSIWYGinSystemPreferences') ) %]
101
                        <textarea name="pref_[% CHUNK.name %]" id="pref_[% CHUNK.name %]" class="preference preference-[% CHUNK.class or "short" %] mce" rows="20" cols="60">[% CHUNK.value %]</textarea>
101
                        <textarea name="pref_[% CHUNK.name %]" id="pref_[% CHUNK.name %]" class="preference preference-[% CHUNK.class or 'short' %] mce" rows="20" cols="60">[% CHUNK.value %]</textarea>
102
                        [% ELSE %]
102
                        [% ELSE %]
103
                        <a class="expand-textarea" style="display: none" href="#">Click to Edit</a>
103
                        <a class="expand-textarea" style="display: none" href="#">Click to Edit</a>
104
                        <textarea name="pref_[% CHUNK.name %]" id="pref_[% CHUNK.name %]" class="preference preference-[% CHUNK.class or "short" %]" rows="10" cols="40">[% CHUNK.value %]</textarea>
104
                        <textarea name="pref_[% CHUNK.name %]" id="pref_[% CHUNK.name %]" class="preference preference-[% CHUNK.class or 'short' %]" rows="10" cols="40">[% CHUNK.value %]</textarea>
105
                        <a class="collapse-textarea" style="display:none" href="#">Click to collapse</br></a>
105
                        <a class="collapse-textarea" style="display:none" href="#">Click to collapse</br></a>
106
                        [% END %]
106
                        [% END %]
107
                    [% ELSIF ( CHUNK.type_languages ) %]
107
                    [% ELSIF ( CHUNK.type_languages ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-3 / +3 lines)
Lines 550-556 Link Here
550
[% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && Koha.Preference('NovelistSelectStaffView') == 'above' ) %]
550
[% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && Koha.Preference('NovelistSelectStaffView') == 'above' ) %]
551
    <span class="results_summary NovelistSelect" style="display:none;">
551
    <span class="results_summary NovelistSelect" style="display:none;">
552
        <span class="label">Novelist Select: </span>
552
        <span class="label">Novelist Select: </span>
553
        <div data-novelist-novelistselect=[% normalized_isbn %]></div>
553
        <div data-novelist-novelistselect="[% normalized_isbn %]"></div>
554
    </span>
554
    </span>
555
[% END %]
555
[% END %]
556
556
Lines 582-588 Link Here
582
[% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && Koha.Preference('NovelistSelectStaffView') == 'below' ) %]
582
[% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && Koha.Preference('NovelistSelectStaffView') == 'below' ) %]
583
    <span class="results_summary NovelistSelect" style="display:none;">
583
    <span class="results_summary NovelistSelect" style="display:none;">
584
        <span class="label">Novelist Select: </span>
584
        <span class="label">Novelist Select: </span>
585
        <div data-novelist-novelistselect=[% normalized_isbn %]></div>
585
        <div data-novelist-novelistselect="[% normalized_isbn %]"></div>
586
    </span>
586
    </span>
587
[% END %]
587
[% END %]
588
    </div>
588
    </div>
Lines 807-813 Link Here
807
807
808
[% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && Koha.Preference('NovelistSelectStaffView') == 'tab' ) %]
808
[% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && Koha.Preference('NovelistSelectStaffView') == 'tab' ) %]
809
    <div id="NovelistSelect" class="novelistSelect">
809
    <div id="NovelistSelect" class="novelistSelect">
810
        <div data-novelist-novelistselect=[% normalized_isbn %]></div>
810
        <div data-novelist-novelistselect="[% normalized_isbn %]"></div>
811
    </div>
811
    </div>
812
[% END %]
812
[% END %]
813
813
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_210c.tt (-2 / +3 lines)
Lines 66-72 Link Here
66
                        <td>[% resul.used %] times</td>
66
                        <td>[% resul.used %] times</td>
67
                        <td>
67
                        <td>
68
                [% IF ( resul.to_report ) %]
68
                [% IF ( resul.to_report ) %]
69
                            <a href="javascript:report('[% resul.to_report |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %]')"><img alt="choose" src="[% interface %]/[% theme %]/images/arrow.gif" width="32" /></a>
69
                            [% report = BLOCK %][% resul.to_report |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %][% END %]
70
                            <a href="javascript:report('[% report %]')"><img alt="choose" src="[% interface %]/[% theme %]/images/arrow.gif" width="32" /></a>
70
                [% END %]
71
                [% END %]
71
                        </td>
72
                        </td>
72
                    </tr>
73
                    </tr>
Lines 92-95 Link Here
92
    </script>
93
    </script>
93
[% END %]
94
[% END %]
94
95
95
[% INCLUDE 'intranet-bottom.inc' popup_window=1 %]
96
[% INCLUDE 'intranet-bottom.inc' popup_window=1 %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/selectbranchprinter.tt (-2 / +2 lines)
Lines 36-42 Updated:<ul> Link Here
36
    [% END %]
36
    [% END %]
37
    [% END %]
37
    [% END %]
38
    </ul>
38
    </ul>
39
<form method="post" action="[% referer or "/cgi-bin/koha/circ/circulation.pl" |html %]">
39
<form method="post" action="[% referer or '/cgi-bin/koha/circ/circulation.pl' |html %]">
40
    <div class="noshow">
40
    <div class="noshow">
41
        [% FOREACH recycle_loo IN recycle_loop %]
41
        [% FOREACH recycle_loo IN recycle_loop %]
42
        <input type="text" name="[% recycle_loo.param %]" value="[% recycle_loo.value |html %]" />
42
        <input type="text" name="[% recycle_loo.param %]" value="[% recycle_loo.value |html %]" />
Lines 82-88 Updated:<ul> Link Here
82
    [% FOREACH recycle_loo IN recycle_loop %]
82
    [% FOREACH recycle_loo IN recycle_loop %]
83
    <input type="text" name="[% recycle_loo.param %]" value="[% recycle_loo.value |html %]" />
83
    <input type="text" name="[% recycle_loo.param %]" value="[% recycle_loo.value |html %]" />
84
    [% END %]
84
    [% END %]
85
    <input type="hidden" name="oldreferer" value="[% referer or "/cgi-bin/koha/circ/circulation.pl" |html %]" />
85
    <input type="hidden" name="oldreferer" value="[% referer or '/cgi-bin/koha/circ/circulation.pl' |html %]" />
86
</div>
86
</div>
87
</form>
87
</form>
88
<!-- /updated -->
88
<!-- /updated -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt (-1 / +1 lines)
Lines 371-377 Link Here
371
                                        <label for="partners" class="required">Select partner libraries:</label>
371
                                        <label for="partners" class="required">Select partner libraries:</label>
372
                                        <select size="5" multiple="true" id="partners" name="partners" required="required">
372
                                        <select size="5" multiple="true" id="partners" name="partners" required="required">
373
                                            [% FOREACH partner IN whole.value.partners %]
373
                                            [% FOREACH partner IN whole.value.partners %]
374
                                                <option value=[% partner.email %]>
374
                                                <option value="[% partner.email %]">
375
                                                    [% partner.branchcode _ " - " _ partner.surname %]
375
                                                    [% partner.branchcode _ " - " _ partner.surname %]
376
                                                </option>
376
                                                </option>
377
                                            [% END %]
377
                                            [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt (-1 / +2 lines)
Lines 243-249 Link Here
243
                </td>
243
                </td>
244
                [% IF ( routing ) %]
244
                [% IF ( routing ) %]
245
                <td class="actions">
245
                <td class="actions">
246
                    <a href="" onclick="print_slip([% serial.subscriptionid |html %], '[% serial.serialseq.replace("'", "\\'") |html %] ([% serial.publisheddate | $KohaDates %])'); return false" class="btn btn-default btn-xs"><i class="fa fa-print"></i> Print list</a>
246
                    [% serialseq = BLOCK %][% serial.serialseq.replace("'", "\\'") |html %][% END %]
247
                    <a href="" onclick="print_slip([% serial.subscriptionid |html %], '[% serialseq %] ([% serial.publisheddate | $KohaDates %])'); return false" class="btn btn-default btn-xs"><i class="fa fa-print"></i> Print list</a>
247
                </td>
248
                </td>
248
                [% END %]
249
                [% END %]
249
            </tr>
250
            </tr>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt (-1 / +2 lines)
Lines 321-327 td.repeatableyearly a.ui-state-default { background: #FFCC66 none; color : Bl Link Here
321
<tr>
321
<tr>
322
  <td><a href="/cgi-bin/koha/tools/holidays.pl?branch=[% branch %]&amp;calendardate=[% HOLIDAYS_LOO.DATE %]"><span title="[% HOLIDAYS_LOO.DATE_SORT %]">[% HOLIDAYS_LOO.DATE %]</span></a></td>
322
  <td><a href="/cgi-bin/koha/tools/holidays.pl?branch=[% branch %]&amp;calendardate=[% HOLIDAYS_LOO.DATE %]"><span title="[% HOLIDAYS_LOO.DATE_SORT %]">[% HOLIDAYS_LOO.DATE %]</span></a></td>
323
  <td>[% HOLIDAYS_LOO.TITLE |html %]</td>
323
  <td>[% HOLIDAYS_LOO.TITLE |html %]</td>
324
  <td>[% HOLIDAYS_LOO.DESCRIPTION.replace('\\\r\\\n', '<br />') |html %]</td>
324
  [% br = BLOCK %]<br/>[% END %]
325
  <td>[% HOLIDAYS_LOO.DESCRIPTION.replace('\\\r\\\n', br) |html %]</td>
325
</tr>
326
</tr>
326
  [% END %] 
327
  [% END %] 
327
</tbody>
328
</tbody>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/marc_modification_templates.tt (-19 / +38 lines)
Lines 162-187 Link Here
162
                                        </td>
162
                                        </td>
163
                                        <td>[% ActionsLoo.description %]</td>
163
                                        <td>[% ActionsLoo.description %]</td>
164
                                        <td>
164
                                        <td>
165
                                            [% mmta_id = BLOCK %][% ActionsLoo.mmta_id |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %][% END %]
166
                                            [% ordering = BLOCK %][% ActionsLoo.ordering |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %][% END %]
167
                                            [% action = BLOCK %][% ActionsLoo.action |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %][% END %]
168
                                            [% field_number = BLOCK %][% ActionsLoo.field_number |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %][% END %]
169
                                            [% from_field = BLOCK %][% ActionsLoo.from_field |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %][% END %]
170
                                            [% from_subfield = BLOCK %][% ActionsLoo.from_subfield |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %][% END %]
171
                                            [% field_value = BLOCK %][% ActionsLoo.field_value |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %][% END %]
172
                                            [% to_field = BLOCK %][% ActionsLoo.to_field |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %][% END %]
173
                                            [% to_subfield = BLOCK %][% ActionsLoo.to_subfield |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %][% END %]
174
                                            [% to_regex_search = BLOCK %][% ActionsLoo.to_regex_search |replace('\\\\', '\\\\') |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %][% END %]
175
                                            [% to_regex_replace = BLOCK %][% ActionsLoo.to_regex_replace |replace('\\\\', '\\\\') |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %][% END %]
176
                                            [% to_regex_modifiers = BLOCK %][% ActionsLoo.to_regex_modifiers |replace('\\\\', '\\\\') |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %][% END %]
177
                                            [% conditional = BLOCK %][% ActionsLoo.conditional |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %][% END %]
178
                                            [% conditional_field = BLOCK %][% ActionsLoo.conditional_field |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %][% END %]
179
                                            [% conditional_subfield = BLOCK %][% ActionsLoo.conditional_subfield |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %][% END %]
180
                                            [% conditional_comparison = BLOCK %][% ActionsLoo.conditional_comparison |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %][% END %]
181
                                            [% conditional_value = BLOCK %][% ActionsLoo.conditional_value |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %][% END %]
182
                                            [% conditional_regex = BLOCK %][% ActionsLoo.conditional_regex |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %][% END %]
183
                                            [% description = BLOCK %][% ActionsLoo.description |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %][% END %]
165
                                            <a class="btn btn-default btn-xs" href="#modaction" onclick='editAction(
184
                                            <a class="btn btn-default btn-xs" href="#modaction" onclick='editAction(
166
                                                            "[% ActionsLoo.mmta_id |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %]",
185
                                                            "[% mmta_id %]",
167
                                                            "[% ActionsLoo.ordering |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %]",
186
                                                            "[% ordering %]",
168
                                                            "[% ActionsLoo.action |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %]",
187
                                                            "[% action %]",
169
                                                            "[% ActionsLoo.field_number |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %]",
188
                                                            "[% field_number %]",
170
                                                            "[% ActionsLoo.from_field |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %]",
189
                                                            "[% from_field %]",
171
                                                            "[% ActionsLoo.from_subfield |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %]",
190
                                                            "[% from_subfield %]",
172
                                                            "[% ActionsLoo.field_value |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %]",
191
                                                            "[% field_value %]",
173
                                                            "[% ActionsLoo.to_field |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %]",
192
                                                            "[% to_field %]",
174
                                                            "[% ActionsLoo.to_subfield |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %]",
193
                                                            "[% to_subfield %]",
175
                                                            "[% ActionsLoo.to_regex_search |replace('\\\\', '\\\\') |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %]",
194
                                                            "[% to_regex_search %]",
176
                                                            "[% ActionsLoo.to_regex_replace |replace('\\\\', '\\\\') |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %]",
195
                                                            "[% to_regex_replace %]",
177
                                                            "[% ActionsLoo.to_regex_modifiers |replace('\\\\', '\\\\') |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %]",
196
                                                            "[% to_regex_modifiers %]",
178
                                                            "[% ActionsLoo.conditional |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %]",
197
                                                            "[% conditional %]",
179
                                                            "[% ActionsLoo.conditional_field |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %]",
198
                                                            "[% conditional_field %]",
180
                                                            "[% ActionsLoo.conditional_subfield |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %]",
199
                                                            "[% conditional_subfield %]",
181
                                                            "[% ActionsLoo.conditional_comparison |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %]",
200
                                                            "[% conditional_comparison %]",
182
                                                            "[% ActionsLoo.conditional_value |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %]",
201
                                                            "[% conditional_value %]",
183
                                                            "[% ActionsLoo.conditional_regex |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %]",
202
                                                            "[% conditional_regex %]",
184
                                                            "[% ActionsLoo.description |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %]"
203
                                                            "[% description %]"
185
                                                        );updateAllEvery();'><i class="fa fa-pencil"></i> Edit</a>
204
                                                        );updateAllEvery();'><i class="fa fa-pencil"></i> Edit</a>
186
                                        </td>
205
                                        </td>
187
                                        <td>
206
                                        <td>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/bodytag.inc (-7 / +7 lines)
Lines 1-15 Link Here
1
[% classprop  = 'class="' %]
1
[% classes = [] %]
2
[% IF LoginBranchcode.defined %]
2
[% IF LoginBranchcode.defined %]
3
    [% classprop = classprop _ 'branch-' _ LoginBranchcode %]
3
    [% classes.push('branch-' _ LoginBranchcode) %]
4
[% ELSE %]
4
[% ELSE %]
5
    [% classprop = classprop _ 'branch-default' %]
5
    [% classes.push('branch-default') %]
6
[% END %]
6
[% END %]
7
[% IF bodyclass.defined %]
7
[% IF bodyclass.defined %]
8
    [% classprop = classprop _ ' ' _ bodyclass %]
8
    [% classes.push(bodyclass) %]
9
[% END %]
9
[% END %]
10
[% classprop = classprop _ '"' %]
11
10
12
[% IF bodyid.defined %]
11
[% IF bodyid.defined %]
13
    [% idprop = 'ID="' _ bodyid _ '" ' %]
12
    <body id="[% bodyid %]" class="[% classes.join(' ') %]">
13
[% ELSE %]
14
    <body class="[% classes.join(' ') %]">
14
[% END %]
15
[% END %]
15
<body [%idprop%][% classprop %] >
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-4 / +4 lines)
Lines 536-542 Link Here
536
                        [% IF ( NovelistSelectView == 'above') %]
536
                        [% IF ( NovelistSelectView == 'above') %]
537
                            <span class="results_summary NovelistSelect" style="display:none;">
537
                            <span class="results_summary NovelistSelect" style="display:none;">
538
                            <span class="label">Novelist Select: </span>
538
                            <span class="label">Novelist Select: </span>
539
                            <div data-novelist-novelistselect=[% normalized_isbn %]></div>
539
                            <div data-novelist-novelistselect="[% normalized_isbn %]"></div>
540
                            </span>
540
                            </span>
541
                        [% END %]
541
                        [% END %]
542
                    [% END # / IF NovelistSelectProfile %]
542
                    [% END # / IF NovelistSelectProfile %]
Lines 805-811 Link Here
805
805
806
                    [% IF ( NovelistSelectProfile && NovelistSelectView == 'tab' && (normalized_isbn || normalized_upc) ) %]
806
                    [% IF ( NovelistSelectProfile && NovelistSelectView == 'tab' && (normalized_isbn || normalized_upc) ) %]
807
                       <div id="NovelistSelect" >
807
                       <div id="NovelistSelect" >
808
                            <div data-novelist-novelistselect=[% IF normalized_isbn %][% normalized_isbn %][% ELSE %][% normalized_upc %][% END %]></div>
808
                            <div data-novelist-novelistselect="[% IF normalized_isbn %][% normalized_isbn %][% ELSE %][% normalized_upc %][% END %]"></div>
809
                       </div>
809
                       </div>
810
                    [% END # / IF NovelistSelectProfile && NovelistSelectView == 'tab' %]
810
                    [% END # / IF NovelistSelectProfile && NovelistSelectView == 'tab' %]
811
811
Lines 1033-1039 Link Here
1033
                                <p>
1033
                                <p>
1034
                                  [% SET ctrl_preload = ' controls preload=none' #translatability %]
1034
                                  [% SET ctrl_preload = ' controls preload=none' #translatability %]
1035
                                  <[% HTML5MediaParent _ ctrl_preload %] >
1035
                                  <[% HTML5MediaParent _ ctrl_preload %] >
1036
                                    <[% HTML5MediaSet.child _ ' src="' _  HTML5MediaSet.srcblock _'"' _ HTML5MediaSet.typeblock %] />
1036
                                    <[% HTML5MediaSet.child %] src="[% HTML5MediaSet.srcblock %]" [% HTML5MediaSet.typeblock %] />
1037
                                    <span>[[% HTML5MediaParent %] tag not supported by your browser.]</span>
1037
                                    <span>[[% HTML5MediaParent %] tag not supported by your browser.]</span>
1038
                                  </[% HTML5MediaParent %]>
1038
                                  </[% HTML5MediaParent %]>
1039
                                </p>
1039
                                </p>
Lines 1136-1142 Link Here
1136
                [% IF ( NovelistSelectProfile && NovelistSelectView == 'right' && ( normalized_isbn || normalized_upc ) ) %]
1136
                [% IF ( NovelistSelectProfile && NovelistSelectView == 'right' && ( normalized_isbn || normalized_upc ) ) %]
1137
                    <div id="NovelistSelect">
1137
                    <div id="NovelistSelect">
1138
                        <h4>Novelist Select</h4>
1138
                        <h4>Novelist Select</h4>
1139
                        <div data-novelist-novelistselect=[% IF normalized_isbn %][% normalized_isbn %][% ELSE %][% normalized_upc %][% END %]></div>
1139
                        <div data-novelist-novelistselect="[% IF normalized_isbn %][% normalized_isbn %][% ELSE %][% normalized_upc %][% END %]"></div>
1140
                    </div>
1140
                    </div>
1141
                [% END %]
1141
                [% END %]
1142
1142
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-tags.tt (-1 / +1 lines)
Lines 82-88 Link Here
82
                                    [% END %]:
82
                                    [% END %]:
83
                                </label>
83
                                </label>
84
                                <div class="input-append">
84
                                <div class="input-append">
85
                                    <input type="text" name="limit" style="text-align: right;" maxlength="4" size="4" value="[% limit or "100" %]" />
85
                                    <input type="text" name="limit" style="text-align: right;" maxlength="4" size="4" value="[% limit or '100' %]" />
86
                                    <input type="submit" value="OK" class="btn" />
86
                                    <input type="submit" value="OK" class="btn" />
87
                                </div>
87
                                </div>
88
                                [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
88
                                [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt (-2 / +1 lines)
Lines 218-224 Link Here
218
                        <div id="borrowerdetails">
218
                        <div id="borrowerdetails">
219
                            [% IF ( issues_count ) %]
219
                            [% IF ( issues_count ) %]
220
                                <table id="loanTable" class="table table-bordered table-striped">
220
                                <table id="loanTable" class="table table-bordered table-striped">
221
                                    <caption>Checkouts for [% borrowername %] <span class="count">([%   issues_count %] total)</span></caption>
221
                                    <caption>Checkouts for [% borrowername %] <span class="count">([% issues_count %] total)</span></caption>
222
                                    <!-- ISSUES TABLE ROWS -->
222
                                    <!-- ISSUES TABLE ROWS -->
223
                                    <thead>
223
                                    <thead>
224
                                        <tr>
224
                                        <tr>
225
- 

Return to bug 20988