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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/help.tt (-12 / +10 lines)
Lines 4-20 Link Here
4
[% USE KohaDates %]
4
[% USE KohaDates %]
5
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Self checkout help &rsaquo; [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha [% END %]</title>
6
<title>Self checkout help &rsaquo; [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha [% END %]</title>
7
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
[% INCLUDE 'doc-head-close.inc' %]
8
<meta name="generator" content="Koha [% Version | html %]" /> <!-- leave this for stats -->
8
[% BLOCK cssinclude %]
9
<link rel="shortcut icon" href="[% IF ( Koha.Preference('OpacFavicon')  ) %][% Koha.Preference('OpacFavicon') | url %][% ELSE %][% interface | html %]/[% theme | html %]/images/favicon.ico[% END %]" type="image/x-icon" />
9
    [% IF ( Koha.Preference('OPACUserCSS') ) %]<style>[% Koha.Preference('OPACUserCSS') | $raw %]</style>[% END %]
10
[% Asset.css("lib/jquery/jquery-ui-1.12.1.css") | $raw %]
10
    [% IF ( Koha.Preference('SCOUserCSS') ) %]<style>[% Koha.Preference('SCOUserCSS') | $raw %]</style>[% END %]
11
[% Asset.css("lib/font-awesome/css/font-awesome.min.css") | $raw %]
11
    [% Asset.css("css/sco.css") | $raw %]
12
[% Asset.css("css/sco.css") | $raw %]
12
[% END %]
13
[% IF ( Koha.Preference('OPACUserCSS') ) %]<style>[% Koha.Preference('OPACUserCSS') | $raw %]</style>[% END %]
14
[% IF ( SCOUserCSS ) %]<style>[% SCOUserCSS | $raw %]</style>[% END %]
15
<script>
16
    function _(s) { return s } // dummy function for gettext
17
</script>
18
</head>
13
</head>
19
<body id="sco_help" class="sco">
14
<body id="sco_help" class="sco">
20
    [% INCLUDE 'masthead-sco.inc' %]
15
    [% INCLUDE 'masthead-sco.inc' %]
Lines 62-66 Link Here
62
57
63
[% INCLUDE 'opac-bottom.inc' %]
58
[% INCLUDE 'opac-bottom.inc' %]
64
[% BLOCK jsinclude %]
59
[% BLOCK jsinclude %]
65
    [% IF ( SCOUserJS ) %]<script>[% SCOUserJS | $raw %]</script>[% END %]
60
    [% IF ( Koha.Preference('SCOUserJS') ) %]<script>[% Koha.Preference('SCOUserJS') | $raw %]</script>[% END %]
61
    <script>
62
        function _(s) { return s } // dummy function for gettext
63
    </script>
66
[% END %]
64
[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt (-29 / +17 lines)
Lines 1-4 Link Here
1
    [% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE Koha %]
3
[% USE Koha %]
4
[% USE KohaDates %]
4
[% USE KohaDates %]
Lines 7-40 Link Here
7
[% USE Price %]
7
[% USE Price %]
8
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
9
<title>Self checkout &rsaquo; [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha [% END %]</title>
9
<title>Self checkout &rsaquo; [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha [% END %]</title>
10
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
11
<meta name="generator" content="Koha [% Version | html %]" /> <!-- leave this for stats -->
12
[% IF ( Koha.Preference('OpacFavicon') ) %]
13
<link rel="shortcut icon" href="[% Koha.Preference('OpacFavicon') | url %]" type="image/x-icon" />
14
[% ELSE %]
15
<link rel="shortcut icon" href="[% interface | html %]/[% theme | html %]/images/favicon.ico" type="image/x-icon" />
16
[% END %]
17
[% Asset.css("lib/font-awesome/css/font-awesome.min.css") | $raw %]
18
[% IF ( bidi ) %]
19
    [% Asset.css("lib/jquery/jquery-ui-rtl-1.12.1.min.css") | $raw %]
20
    [% Asset.css("css/sco-rtl.css") | $raw %]
21
[% ELSE %]
22
    [% Asset.css("lib/jquery/jquery-ui-1.12.1.css") | $raw %]
23
    [% Asset.css("css/sco.css") | $raw %]
24
[% END %]
25
[% IF ( Koha.Preference('OPACUserCSS') ) %]<style>[% Koha.Preference('OPACUserCSS') | $raw %]</style>[% END %]
26
[% IF ( Koha.Preference('SCOUserCSS') ) %]<style>[% Koha.Preference('SCOUserCSS') | $raw %]</style>[% END %]
27
<script>
28
    var Koha = {};
29
    function _(s) { return s } // dummy function for gettext
30
</script>
31
[% IF lang && lang != 'en' %]
32
    [% Asset.js(lang _ '/js/locale_data.js') | $raw %]
33
[% END %]
34
[% Asset.js('js/Gettext.js') | $raw %]
35
[% Asset.js('js/i18n.js') | $raw %]
36
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
37
[% BLOCK cssinclude %][% END %]
11
[% BLOCK cssinclude %]
12
    [% IF ( Koha.Preference('OPACUserCSS') ) %]<style>[% Koha.Preference('OPACUserCSS') | $raw %]</style>[% END %]
13
    [% IF ( Koha.Preference('SCOUserCSS') ) %]<style>[% Koha.Preference('SCOUserCSS') | $raw %]</style>[% END %]
14
    [% IF ( bidi ) %]
15
        [% Asset.css("css/sco-rtl.css") | $raw %]
16
    [% ELSE %]
17
        [% Asset.css("css/sco.css") | $raw %]
18
    [% END %]
19
[% END %]
38
</head>
20
</head>
39
<body id="sco_main" class="sco" onload="dofocus();" onunload="mungeHistory();">
21
<body id="sco_main" class="sco" onload="dofocus();" onunload="mungeHistory();">
40
    [% INCLUDE 'masthead-sco.inc' %]
22
    [% INCLUDE 'masthead-sco.inc' %]
Lines 448-454 Link Here
448
[% INCLUDE 'opac-bottom.inc' %]
430
[% INCLUDE 'opac-bottom.inc' %]
449
[% BLOCK jsinclude %]
431
[% BLOCK jsinclude %]
450
    [% INCLUDE 'datatables.inc' %]
432
    [% INCLUDE 'datatables.inc' %]
433
    [% IF lang && lang != 'en' %]
434
        [% Asset.js(lang _ '/js/locale_data.js') | $raw %]
435
    [% END %]
436
    [% Asset.js('js/Gettext.js') | $raw %]
437
    [% Asset.js('js/i18n.js') | $raw %]
451
    <script>
438
    <script>
439
        function _(s) { return s } // dummy function for gettext
440
452
        function mungeHistory() {
441
        function mungeHistory() {
453
            // prevent back button from allowing form resubmission
442
            // prevent back button from allowing form resubmission
454
            if (history && history.pushState) {
443
            if (history && history.pushState) {
455
- 

Return to bug 21266