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

(-)a/C4/Templates.pm (-3 lines)
Lines 242-250 sub gettemplate { Link Here
242
            languages_loop       => $languages_loop,
242
            languages_loop       => $languages_loop,
243
            one_language_enabled => $one_language_enabled,
243
            one_language_enabled => $one_language_enabled,
244
    ) unless $one_language_enabled;
244
    ) unless $one_language_enabled;
245
    $template->param(
246
        KOHA_VERSION => C4::Context->preference('Version')
247
    );
248
245
249
    return $template;
246
    return $template;
250
}
247
}
(-)a/Koha/Template/Plugin/Asset.pm (+110 lines)
Line 0 Link Here
1
package Koha::Template::Plugin::Asset;
2
3
# Copyright Marc VĂ©ron / marc veron ag, Switzerland
4
5
# This file is part of Koha.
6
#
7
# Koha is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
20
use Modern::Perl;
21
22
use Template::Plugin;
23
use base qw( Template::Plugin );
24
25
use File::Basename;
26
use File::Spec;
27
use C4::Context;
28
29
sub new {
30
    my ($class, $context) = @_;
31
32
    my $self = {
33
        _CONTEXT => $context,
34
    };
35
36
    return bless $self, $class;
37
}
38
39
sub js {
40
    my ( $self, $filename, $attributes ) = @_;
41
42
    my $url = $self->url($filename);
43
    unless ($url) {
44
        warn "File not found : $filename";
45
        return;
46
    }
47
48
    $attributes->{src} = $url;
49
50
    return $self->tag('script', $attributes) . '</script>';
51
}
52
53
sub css {
54
    my ( $self, $filename, $attributes ) = @_;
55
56
    my $url = $self->url($filename);
57
    unless ($url) {
58
        warn "File not found : $filename";
59
        return;
60
    }
61
62
    $attributes->{rel} = 'stylesheet';
63
    $attributes->{type} = 'text/css';
64
    $attributes->{href} = $url;
65
66
    return $self->tag('link', $attributes);
67
}
68
69
sub url {
70
    my ( $self, $filename ) = @_;
71
72
    my $stash = $self->{_CONTEXT}->stash();
73
    my $interface = $stash->get('interface');
74
    my $theme = $stash->get('theme');
75
76
    my $configkey = $interface =~ /opac/ ? 'opachtdocs' : 'intrahtdocs';
77
    my $root = C4::Context->config($configkey);
78
79
    my ($basename, $dirname, $suffix) = fileparse($filename, qr/\.[^.]*/);
80
81
    my $type = substr $suffix, 1;
82
    my @dirs = (
83
        "$theme",
84
        ".",
85
    );
86
87
    my $version = C4::Context->preference('Version');
88
    foreach my $dir (@dirs) {
89
        my $abspath = File::Spec->catfile($root, $dir, $filename);
90
        if (-e $abspath) {
91
            return File::Spec->catfile($interface, $dir, $dirname, "${basename}_${version}${suffix}");
92
        }
93
    }
94
}
95
96
sub tag {
97
    my ($self, $name, $attributes) = @_;
98
99
    my @attributes_strs;
100
    if ($attributes) {
101
        while (my ($key, $value) = each %$attributes) {
102
            push @attributes_strs, qq{$key="$value"};
103
        }
104
    }
105
    my $attributes_str = join ' ', @attributes_strs;
106
107
    return "<$name $attributes_str>";
108
}
109
110
1;
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/datatables.inc (-5 / +6 lines)
Lines 1-8 Link Here
1
[% USE Asset %]
1
[% INCLUDE 'format_price.inc' %]
2
[% INCLUDE 'format_price.inc' %]
2
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/buttons.dataTables.min_[% KOHA_VERSION %].css" />
3
[% Asset.css("css/buttons.dataTables.min.css") %]
3
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.dataTables.min_[% KOHA_VERSION %].js"></script>
4
[% Asset.js("lib/jquery/plugins/jquery.dataTables.min.js") %]
4
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/dataTables.buttons.min_[% KOHA_VERSION %].js"></script>
5
[% Asset.js("lib/jquery/plugins/dataTables.buttons.min.js") %]
5
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/buttons.colVis.min_[% KOHA_VERSION %].js"></script>
6
[% Asset.js("lib/jquery/plugins/buttons.colVis.min.js") %]
6
<script type="text/javascript">
7
<script type="text/javascript">
7
//<![CDATA[
8
//<![CDATA[
8
    var MSG_DT_FIRST = _("First");
9
    var MSG_DT_FIRST = _("First");
Lines 22-25 Link Here
22
    var CONFIG_EXCLUDE_ARTICLES_FROM_SORT = _("a an the");
23
    var CONFIG_EXCLUDE_ARTICLES_FROM_SORT = _("a an the");
23
//]]>
24
//]]>
24
</script>
25
</script>
25
<script type="text/javascript" src="[% interface %]/[% theme %]/js/datatables_[% KOHA_VERSION %].js"></script>
26
[% Asset.js("js/datatables.js") %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close-receipt.inc (-1 / +2 lines)
Lines 1-4 Link Here
1
[% USE Asset %]
1
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
2
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
2
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" />
3
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" />
3
<link rel="stylesheet" type="text/css" media="print" href="[% interface %]/[% theme %]/css/print_[% KOHA_VERSION %].css" />
4
[% Asset.css("css/print.css", { media = "print" }) %]
4
5
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc (-7 / +8 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE String %]
3
[% USE String %]
3
[% PROCESS 'html_helpers.inc' %]
4
[% PROCESS 'html_helpers.inc' %]
Lines 10-25 Link Here
10
11
11
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" />
12
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" />
12
13
13
<link rel="stylesheet" type="text/css" href="[% interface %]/lib/jquery/jquery-ui-1.11.4.min_[% KOHA_VERSION %].css" />
14
[% Asset.css("lib/jquery/jquery-ui-1.11.4.min.css") %]
14
<link rel="stylesheet" type="text/css" href="[% interface %]/lib/bootstrap/bootstrap.min_[% KOHA_VERSION %].css" />
15
[% Asset.css("lib/bootstrap/bootstrap.min.css") %]
15
<link rel="stylesheet" type="text/css" href="[% interface %]/lib/bootstrap/bootstrap-theme.min_[% KOHA_VERSION %].css" />
16
[% Asset.css("lib/bootstrap/bootstrap-theme.min.css") %]
16
<link rel="stylesheet" type="text/css" href="[% interface %]/lib/font-awesome/css/font-awesome.min_[% KOHA_VERSION %].css" />
17
[% Asset.css("lib/font-awesome/css/font-awesome.min.css") %]
17
<link rel="stylesheet" type="text/css" media="print" href="[% interface %]/[% theme %]/css/print_[% KOHA_VERSION %].css" />
18
[% Asset.css("css/print.css", { media = "print" }) %]
18
[% INCLUDE intranetstylesheet.inc %]
19
[% INCLUDE intranetstylesheet.inc %]
19
[% IF ( bidi ) %]<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/right-to-left_[% KOHA_VERSION %].css" />[% END %]
20
[% IF ( bidi ) %][% Asset.css("css/right-to-left.css") %][% END %]
20
21
21
[% IF ( login ) %]
22
[% IF ( login ) %]
22
    <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/login_[% KOHA_VERSION %].css" />
23
    [% Asset.css("css/login.css") %]
23
[% END %]
24
[% END %]
24
[% IF ( IntranetUserCSS ) %]<style type="text/css">[% IntranetUserCSS %]</style>[% END %]
25
[% IF ( IntranetUserCSS ) %]<style type="text/css">[% IntranetUserCSS %]</style>[% END %]
25
26
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/greybox.inc (-4 / +5 lines)
Lines 1-7 Link Here
1
[% USE Asset %]
1
<script type="text/javascript">
2
<script type="text/javascript">
2
    var GB_ROOT_DIR = "[% interface %]/lib/greybox/";
3
    var GB_ROOT_DIR = "[% interface %]/lib/greybox/";
3
</script>
4
</script>
4
<script type="text/javascript" src="[% interface %]/lib/greybox/AJS_[% KOHA_VERSION %].js"></script>
5
[% Asset.js("lib/greybox/AJS.js") %]
5
<script type="text/javascript" src="[% interface %]/lib/greybox/AJS_fx_[% KOHA_VERSION %].js"></script>
6
[% Asset.js("lib/greybox/AJS_fx.js") %]
6
<script type="text/javascript" src="[% interface %]/lib/greybox/gb_scripts_[% KOHA_VERSION %].js"></script>
7
[% Asset.js("lib/greybox/gb_scripts.js") %]
7
<link href="[% interface %]/lib/greybox/gb_styles_[% KOHA_VERSION %].css" rel="stylesheet" type="text/css" />
8
[% Asset.css("lib/greybox/gb_styles.css") %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/help-top.inc (-9 / +10 lines)
Lines 1-20 Link Here
1
[% USE Asset %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Online help</title>
3
<title>Online help</title>
3
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" />
5
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" />
5
<link rel="stylesheet" type="text/css" href="[% interface %]/lib/jquery/jquery-ui-1.11.4.min_[% KOHA_VERSION %].css" />
6
[% Asset.css("lib/jquery/jquery-ui-1.11.4.min.css") %]
6
<link rel="stylesheet" type="text/css" media="print" href="[% interface %]/[% theme %]/css/print_[% KOHA_VERSION %].css" />
7
[% Asset.css("css/print.css", { media = "print" }) %]
7
[% INCLUDE intranetstylesheet.inc %]
8
[% INCLUDE intranetstylesheet.inc %]
8
[% IF ( bidi ) %]
9
[% IF ( bidi ) %]
9
   <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/right-to-left_[% KOHA_VERSION %].css" />
10
   [% Asset.css("css/right-to-left.css") %]
10
[% END %]
11
[% END %]
11
<script type="text/javascript" src="[% interface %]/lib/jquery/jquery-2.2.3.min_[% KOHA_VERSION %].js"></script>
12
[% Asset.js("lib/jquery/jquery-2.2.3.min.js") %]
12
<script type="text/javascript" src="[% interface %]/lib/jquery/jquery-migrate-1.3.0.min_[% KOHA_VERSION %].js"></script>
13
[% Asset.js("lib/jquery/jquery-migrate-1.3.0.min.js") %]
13
<script type="text/javascript" src="[% interface %]/lib/jquery/jquery-ui-1.11.4.min_[% KOHA_VERSION %].js"></script>
14
[% Asset.js("lib/jquery/jquery-ui-1.11.4.min.js") %]
14
<script type="text/javascript" src="[% interface %]/lib/shortcut/shortcut_[% KOHA_VERSION %].js"></script>
15
[% Asset.js("lib/shortcut/shortcut.js") %]
15
<!-- koha core js -->
16
<!-- koha core js -->
16
<script type="text/javascript" src="[% interface %]/[% theme %]/js/staff-global_[% KOHA_VERSION %].js"></script>
17
[% Asset.js("js/staff-global.js") %]
17
18
18
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/help_[% KOHA_VERSION %].css" />
19
[% Asset.css("css/help.css") %]
19
</head>
20
</head>
20
<body id="help" class="help">
21
<body id="help" class="help">
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/intranetstylesheet.inc (-2 / +3 lines)
Lines 1-8 Link Here
1
[% SET intranetstylesheet='staff-global_' _ KOHA_VERSION _ '.css' UNLESS intranetstylesheet %]
1
[% USE Asset %]
2
[% SET intranetstylesheet='staff-global.css' UNLESS intranetstylesheet %]
2
[% IF (intranetstylesheet.match('^https?:|^\/')) %]
3
[% IF (intranetstylesheet.match('^https?:|^\/')) %]
3
    <link rel="stylesheet" type="text/css" href="[% intranetstylesheet %]" />
4
    <link rel="stylesheet" type="text/css" href="[% intranetstylesheet %]" />
4
[% ELSE %]
5
[% ELSE %]
5
    <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/[% intranetstylesheet %]" />
6
    [% Asset.css("css/" _ intranetstylesheet) %]
6
[% END %]
7
[% END %]
7
8
8
<!-- local colors -->
9
<!-- local colors -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc (-12 / +13 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE AudioAlerts %]
2
[% USE AudioAlerts %]
2
[%# Prevent XFS attacks -%]
3
[%# Prevent XFS attacks -%]
3
[% UNLESS popup %]
4
[% UNLESS popup %]
Lines 11-27 Link Here
11
    </script>
12
    </script>
12
[% END %]
13
[% END %]
13
14
14
<script type="text/javascript" src="[% interface %]/lib/jquery/jquery-2.2.3.min_[% KOHA_VERSION %].js"></script>
15
[% Asset.js("lib/jquery/jquery-2.2.3.min.js") %]
15
<script type="text/javascript" src="[% interface %]/lib/jquery/jquery-migrate-1.3.0.min_[% KOHA_VERSION %].js"></script>
16
[% Asset.js("lib/jquery/jquery-migrate-1.3.0.min.js") %]
16
<script type="text/javascript" src="[% interface %]/lib/jquery/jquery-ui-1.11.4.min_[% KOHA_VERSION %].js"></script>
17
[% Asset.js("lib/jquery/jquery-ui-1.11.4.min.js") %]
17
<script type="text/javascript" src="[% interface %]/lib/shortcut/shortcut_[% KOHA_VERSION %].js"></script>
18
[% Asset.js("lib/shortcut/shortcut.js") %]
18
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.cookie.min_[% KOHA_VERSION %].js"></script>
19
[% Asset.js("lib/jquery/plugins/jquery.cookie.min.js") %]
19
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.highlight-3_[% KOHA_VERSION %].js"></script>
20
[% Asset.js("lib/jquery/plugins/jquery.highlight-3.js") %]
20
<script type="text/javascript" src="[% interface %]/lib/bootstrap/bootstrap.min_[% KOHA_VERSION %].js"></script>
21
[% Asset.js("lib/bootstrap/bootstrap.min.js") %]
21
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.validate.min_[% KOHA_VERSION %].js"></script>
22
[% Asset.js("lib/jquery/plugins/jquery.validate.min.js") %]
22
<!-- koha core js -->
23
<!-- koha core js -->
23
<script type="text/javascript" src="[% interface %]/[% theme %]/js/staff-global_[% KOHA_VERSION %].js"></script>
24
[% Asset.js("js/staff-global.js") %]
24
<script type="text/javascript" src="[% interface %]/[% theme %]/js/commons_[% KOHA_VERSION %].js"></script>
25
[% Asset.js("js/commons.js") %]
25
26
26
[% INCLUDE 'validator-strings.inc' %]
27
[% INCLUDE 'validator-strings.inc' %]
27
[% IF ( IntranetUserJS ) %]
28
[% IF ( IntranetUserJS ) %]
Lines 52-62 Link Here
52
    //]]>
53
    //]]>
53
    </script>
54
    </script>
54
55
55
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/basket_[% KOHA_VERSION %].js"></script>
56
    [% Asset.js("js/basket.js") %]
56
[% END %]
57
[% END %]
57
58
58
[% IF LocalCoverImages %]
59
[% IF LocalCoverImages %]
59
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/localcovers_[% KOHA_VERSION %].js"></script>
60
    [% Asset.js("js/localcovers.js") %]
60
    <script type="text/javascript">
61
    <script type="text/javascript">
61
        //<![CDATA[
62
        //<![CDATA[
62
            var NO_LOCAL_JACKET = _("No cover image available");
63
            var NO_LOCAL_JACKET = _("No cover image available");
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/select2.inc (-2 / +3 lines)
Lines 1-6 Link Here
1
[% USE Asset %]
1
<script src="[% interface %]/lib/select2/js/select2.min.js"></script>
2
<script src="[% interface %]/lib/select2/js/select2.min.js"></script>
2
<link rel="stylesheet" type="text/css" href="[% interface %]/lib/select2/css/select2.min_[% KOHA_VERSION %].css" />
3
[% Asset.css("lib/select2/css/select2.min.css") %]
3
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/select2_[% KOHA_VERSION %].css" />
4
[% Asset.css("css/select2.css") %]
4
<script>
5
<script>
5
  jQuery.extend($.fn.select2.defaults, {
6
  jQuery.extend($.fn.select2.defaults, {
6
    allowClear: true,
7
    allowClear: true,
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/wysiwyg-systempreferences.inc (-1 / +2 lines)
Lines 1-5 Link Here
1
[% USE Asset %]
1
[% #Enable tinymce for system preferences %]
2
[% #Enable tinymce for system preferences %]
2
<script type="text/javascript" src="[% interface %]/lib/tiny_mce/tiny_mce_[% KOHA_VERSION %].js"></script>
3
[% Asset.js("lib/tiny_mce/tiny_mce.js") %]
3
<script>
4
<script>
4
5
5
[%# Save TinyMCE content and trigger an event on the original element %]
6
[%# Save TinyMCE content and trigger an event on the original element %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt (-4 / +5 lines)
Lines 1-11 Link Here
1
[% USE Asset %]
1
[% USE Price %]
2
[% USE Price %]
2
[% USE Branches %]
3
[% USE Branches %]
3
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Koha &rsaquo; Acquisitions</title>
6
<title>Koha &rsaquo; Acquisitions</title>
6
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
7
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
8
[% Asset.css("css/datatables.css") %]
8
<link href="[% interface %]/lib/jquery/plugins/treetable/stylesheets/jquery.treetable_[% KOHA_VERSION %].css" rel="stylesheet" type="text/css" />
9
[% Asset.css("lib/jquery/plugins/treetable/stylesheets/jquery.treetable.css") %]
9
</head>
10
</head>
10
11
11
<body id="acq_acqui-home" class="acq">
12
<body id="acq_acqui-home" class="acq">
Lines 169-176 Link Here
169
170
170
[% MACRO jsinclude BLOCK %]
171
[% MACRO jsinclude BLOCK %]
171
    [% INCLUDE 'datatables.inc' %]
172
    [% INCLUDE 'datatables.inc' %]
172
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/treetable/jquery.treetable_[% KOHA_VERSION %].js"></script>
173
    [% Asset.js("lib/jquery/plugins/treetable/jquery.treetable.js") %]
173
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/acquisitions-menu_[% KOHA_VERSION %].js"></script>
174
    [% Asset.js("js/acquisitions-menu.js") %]
174
    <script type="text/javascript">
175
    <script type="text/javascript">
175
        dt_overwrite_html_sorting_localeCompare();
176
        dt_overwrite_html_sorting_localeCompare();
176
177
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt (-4 / +5 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[% USE Branches %]
3
[% USE Branches %]
3
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
Lines 9-15 Link Here
9
 &rsaquo; Batch list
10
 &rsaquo; Batch list
10
[% END %]
11
[% END %]
11
</title>
12
</title>
12
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
13
[% Asset.css("css/datatables.css") %]
13
<style type="text/css">#dataPreview { width : 80%; } @media (max-width: 767px) { #dataPreview { margin: 0; width : auto; } }</style>
14
<style type="text/css">#dataPreview { width : 80%; } @media (max-width: 767px) { #dataPreview { margin: 0; width : auto; } }</style>
14
[% INCLUDE 'doc-head-close.inc' %]
15
[% INCLUDE 'doc-head-close.inc' %]
15
</head>
16
</head>
Lines 425-434 Link Here
425
</div>
426
</div>
426
427
427
[% MACRO jsinclude BLOCK %]
428
[% MACRO jsinclude BLOCK %]
428
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/acquisitions-menu_[% KOHA_VERSION %].js"></script>
429
    [% Asset.js("js/acquisitions-menu.js") %]
429
[% INCLUDE 'datatables.inc' %]
430
[% INCLUDE 'datatables.inc' %]
430
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min_[% KOHA_VERSION %].js"></script>
431
    [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") %]
431
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/acq_[% KOHA_VERSION %].js"></script>
432
    [% Asset.js("js/acq.js") %]
432
    <script type="text/JavaScript">
433
    <script type="text/JavaScript">
433
        $(document).ready(function() {
434
        $(document).ready(function() {
434
            $("#files").dataTable($.extend(true, {}, dataTablesDefaults, {
435
            $("#files").dataTable($.extend(true, {}, dataTablesDefaults, {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt (-3 / +4 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% BLOCK csv_export %]
2
[% BLOCK csv_export %]
2
    <div class="btn-group">
3
    <div class="btn-group">
3
        <a id="exportbutton" class="btn btn-default btn-sm" href="[% script_name %]?op=export&amp;basketno=[% basketno %]&amp;booksellerid=[% booksellerid %]"><i class="fa fa-download"></i> Export as CSV</a>
4
        <a id="exportbutton" class="btn btn-default btn-sm" href="[% script_name %]?op=export&amp;basketno=[% basketno %]&amp;booksellerid=[% booksellerid %]"><i class="fa fa-download"></i> Export as CSV</a>
Lines 19-25 Link Here
19
[% SET footerjs = 1 %]
20
[% SET footerjs = 1 %]
20
[% INCLUDE 'doc-head-open.inc' %]
21
[% INCLUDE 'doc-head-open.inc' %]
21
<title>Koha &rsaquo; Acquisitions &rsaquo; [% UNLESS ( basketno ) %]New [% END %]Basket [% basketname|html %] ([% basketno |html %]) for [% booksellername|html %]</title>
22
<title>Koha &rsaquo; Acquisitions &rsaquo; [% UNLESS ( basketno ) %]New [% END %]Basket [% basketname|html %] ([% basketno |html %]) for [% booksellername|html %]</title>
22
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
23
[% Asset.css("css/datatables.css") %]
23
[% INCLUDE 'doc-head-close.inc' %]
24
[% INCLUDE 'doc-head-close.inc' %]
24
<style type="text/css">
25
<style type="text/css">
25
    .sortmsg {font-size: 80%;}
26
    .sortmsg {font-size: 80%;}
Lines 685-693 Link Here
685
</div>
686
</div>
686
687
687
[% MACRO jsinclude BLOCK %]
688
[% MACRO jsinclude BLOCK %]
688
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/acquisitions-menu_[% KOHA_VERSION %].js"></script>
689
    [% Asset.js("js/acquisitions-menu.js") %]
689
[% INCLUDE 'datatables.inc' %]
690
[% INCLUDE 'datatables.inc' %]
690
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.fixFloat_[% KOHA_VERSION %].js"></script>
691
    [% Asset.js("lib/jquery/plugins/jquery.fixFloat.js") %]
691
    <script type="text/javascript">
692
    <script type="text/javascript">
692
        function updateColumnsVisibility(visible) {
693
        function updateColumnsVisibility(visible) {
693
            if ( visible ) {
694
            if ( visible ) {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt (-10 / +11 lines)
Lines 1-19 Link Here
1
[% USE Asset %]
1
[% USE Branches %]
2
[% USE Branches %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Basket grouping for [% booksellername |html %]</title>
4
<title>Koha &rsaquo; Basket grouping for [% booksellername |html %]</title>
4
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
5
[% Asset.css("css/datatables.css") %]
5
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'datatables.inc' %]
7
[% INCLUDE 'datatables.inc' %]
7
<script type="text/javascript" src="[% interface %]/lib/yui/utilities/utilities_[% KOHA_VERSION %].js"></script>
8
[% Asset.js("lib/yui/utilities/utilities.js") %]
8
<script type="text/javascript" src="[% interface %]/lib/yui/button/button-min_[% KOHA_VERSION %].js"></script>
9
[% Asset.js("lib/yui/button/button-min.js") %]
9
<script type="text/javascript" src="[% interface %]/lib/yui/container/container_core-min_[% KOHA_VERSION %].js"></script>
10
[% Asset.js("lib/yui/container/container_core-min.js") %]
10
<script type="text/javascript" src="[% interface %]/lib/yui/menu/menu-min_[% KOHA_VERSION %].js"></script>
11
[% Asset.js("lib/yui/menu/menu-min.js") %]
11
<script type="text/javascript" src="[% interface %]/[% theme %]/js/basketgroup_[% KOHA_VERSION %].js"></script>
12
[% Asset.js("js/basketgroup.js") %]
12
[% IF ( grouping ) %]
13
[% IF ( grouping ) %]
13
<script type="text/javascript" src="[% interface %]/lib/yui/yahoo-dom-event/yahoo-dom-event_[% KOHA_VERSION %].js"></script>
14
[% Asset.js("lib/yui/yahoo-dom-event/yahoo-dom-event.js") %]
14
<script type="text/javascript" src="[% interface %]/lib/yui/animation/animation-min_[% KOHA_VERSION %].js"></script>
15
[% Asset.js("lib/yui/animation/animation-min.js") %]
15
<script type="text/javascript" src="[% interface %]/lib/yui/dragdrop/dragdrop-min_[% KOHA_VERSION %].js"></script>
16
[% Asset.js("lib/yui/dragdrop/dragdrop-min.js") %]
16
<script type="text/javascript" src="[% interface %]/lib/yui/element/element-min_[% KOHA_VERSION %].js"></script>
17
[% Asset.js("lib/yui/element/element-min.js") %]
17
<style type="text/css">
18
<style type="text/css">
18
/*margin and padding on body element
19
/*margin and padding on body element
19
  can introduce errors in determining
20
  can introduce errors in determining
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketheader.tt (-2 / +3 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Branches %]
2
[% USE Branches %]
2
[% USE Koha %]
3
[% USE Koha %]
3
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
Lines 140-147 Link Here
140
</div>
141
</div>
141
142
142
[% MACRO jsinclude BLOCK %]
143
[% MACRO jsinclude BLOCK %]
143
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/acquisitions-menu_[% KOHA_VERSION %].js"></script>
144
    [% Asset.js("js/acquisitions-menu.js") %]
144
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/acq_[% KOHA_VERSION %].js"></script>
145
    [% Asset.js("js/acq.js") %]
145
[% END %]
146
[% END %]
146
147
147
[% INCLUDE 'intranet-bottom.inc' %]
148
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt (-2 / +3 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
Lines 8-14 Link Here
8
	vertical-align: top;
9
	vertical-align: top;
9
}
10
}
10
</style>
11
</style>
11
<link rel="stylesheet" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
12
[% Asset.css("css/datatables.css") %]
12
</head>
13
</head>
13
14
14
<body id="acq_booksellers" class="acq">
15
<body id="acq_booksellers" class="acq">
Lines 186-192 Link Here
186
</div>
187
</div>
187
188
188
[% MACRO jsinclude BLOCK %]
189
[% MACRO jsinclude BLOCK %]
189
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/acquisitions-menu_[% KOHA_VERSION %].js"></script>
190
    [% Asset.js("js/acquisitions-menu.js") %]
190
    [% INCLUDE 'datatables.inc' %]
191
    [% INCLUDE 'datatables.inc' %]
191
    <script type="text/javascript">
192
    <script type="text/javascript">
192
        $(document).ready(function() {
193
        $(document).ready(function() {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/edifactmsgs.tt (-2 / +3 lines)
Lines 1-8 Link Here
1
[% USE Asset %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Koha &rsaquo; Acquisitions &rsaquo; EDIFACT messages</title>
5
<title>Koha &rsaquo; Acquisitions &rsaquo; EDIFACT messages</title>
5
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
6
[% Asset.css("css/datatables.css") %]
6
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
7
<style type="text/css">
8
<style type="text/css">
8
#EDI_modal { width : 80%; } @media (max-width: 767px) { #EDI_modal { margin: 0; width : auto; } }
9
#EDI_modal { width : 80%; } @media (max-width: 767px) { #EDI_modal { margin: 0; width : auto; } }
Lines 110-116 Link Here
110
</div>
111
</div>
111
112
112
[% MACRO jsinclude BLOCK %]
113
[% MACRO jsinclude BLOCK %]
113
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/acquisitions-menu_[% KOHA_VERSION %].js"></script>
114
    [% Asset.js("js/acquisitions-menu.js") %]
114
    [% INCLUDE 'datatables.inc' %]
115
    [% INCLUDE 'datatables.inc' %]
115
    <script type="text/javascript">
116
    <script type="text/javascript">
116
        $(document).ready(function() {
117
        $(document).ready(function() {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt (-3 / +4 lines)
Lines 1-9 Link Here
1
[% USE Asset %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[% USE ColumnsSettings %]
3
[% USE ColumnsSettings %]
3
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Koha &rsaquo; Acquisitions &rsaquo; [% IF ( order_loop ) %]Orders search &rsaquo; Search results[% ELSE %]Order search[% END %]</title>
6
<title>Koha &rsaquo; Acquisitions &rsaquo; [% IF ( order_loop ) %]Orders search &rsaquo; Search results[% ELSE %]Order search[% END %]</title>
6
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
7
[% Asset.css("css/datatables.css") %]
7
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
8
</head>
9
</head>
9
10
Lines 207-217 Link Here
207
</div>
208
</div>
208
209
209
[% MACRO jsinclude BLOCK %]
210
[% MACRO jsinclude BLOCK %]
210
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/acquisitions-menu_[% KOHA_VERSION %].js"></script>
211
    [% Asset.js("js/acquisitions-menu.js") %]
211
[% INCLUDE 'calendar.inc' %]
212
[% INCLUDE 'calendar.inc' %]
212
    [% INCLUDE 'datatables.inc' %]
213
    [% INCLUDE 'datatables.inc' %]
213
    [% INCLUDE 'columns_settings.inc' %]
214
    [% INCLUDE 'columns_settings.inc' %]
214
    <script type="text/javascript" src="[% interface %]/js/autocomplete/patrons_[% KOHA_VERSION %].js"></script>
215
    [% Asset.js("js/autocomplete/patrons.js") %]
215
    <script type="text/javascript">
216
    <script type="text/javascript">
216
        var MSG_REMOVE_PATRON = _("Remove");
217
        var MSG_REMOVE_PATRON = _("Remove");
217
        $(document).ready(function() {
218
        $(document).ready(function() {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice-files.tt (-2 / +3 lines)
Lines 1-8 Link Here
1
[% USE Asset %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Koha &rsaquo; Acquisitions &rsaquo; Invoice &rsaquo; Files</title>
5
<title>Koha &rsaquo; Acquisitions &rsaquo; Invoice &rsaquo; Files</title>
5
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
6
[% Asset.css("css/datatables.css") %]
6
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
7
</head>
8
</head>
8
9
Lines 85-91 Link Here
85
</div>
86
</div>
86
87
87
[% MACRO jsinclude BLOCK %]
88
[% MACRO jsinclude BLOCK %]
88
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/acquisitions-menu_[% KOHA_VERSION %].js"></script>
89
    [% Asset.js("js/acquisitions-menu.js") %]
89
    [% INCLUDE 'datatables.inc' %]
90
    [% INCLUDE 'datatables.inc' %]
90
    <script type="text/javascript">
91
    <script type="text/javascript">
91
        $(document).ready(function() {
92
        $(document).ready(function() {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt (-2 / +3 lines)
Lines 1-10 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE KohaDates %]
3
[% USE KohaDates %]
3
[% USE Price %]
4
[% USE Price %]
4
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
5
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Koha &rsaquo; Acquisitions &rsaquo; Invoice</title>
7
<title>Koha &rsaquo; Acquisitions &rsaquo; Invoice</title>
7
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
8
[% Asset.css("css/datatables.css") %]
8
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
9
</head>
10
</head>
10
11
Lines 210-216 Link Here
210
</div>
211
</div>
211
212
212
[% MACRO jsinclude BLOCK %]
213
[% MACRO jsinclude BLOCK %]
213
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/acquisitions-menu_[% KOHA_VERSION %].js"></script>
214
    [% Asset.js("js/acquisitions-menu.js") %]
214
    [% INCLUDE 'calendar.inc' %]
215
    [% INCLUDE 'calendar.inc' %]
215
    [% INCLUDE 'datatables.inc' %]
216
    [% INCLUDE 'datatables.inc' %]
216
    <script type="text/javascript">
217
    <script type="text/javascript">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt (-2 / +3 lines)
Lines 1-9 Link Here
1
[% USE Asset %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[% USE Branches %]
3
[% USE Branches %]
3
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Koha &rsaquo; Acquisitions &rsaquo; Invoices</title>
6
<title>Koha &rsaquo; Acquisitions &rsaquo; Invoices</title>
6
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
7
[% Asset.css("css/datatables.css") %]
7
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
8
9
9
</head>
10
</head>
Lines 294-300 Link Here
294
</div>
295
</div>
295
296
296
[% MACRO jsinclude BLOCK %]
297
[% MACRO jsinclude BLOCK %]
297
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/acquisitions-menu_[% KOHA_VERSION %].js"></script>
298
    [% Asset.js("js/acquisitions-menu.js") %]
298
    [% INCLUDE 'datatables.inc' %]
299
    [% INCLUDE 'datatables.inc' %]
299
    [% INCLUDE 'calendar.inc' %]
300
    [% INCLUDE 'calendar.inc' %]
300
    <script type="text/javascript">
301
    <script type="text/javascript">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt (-3 / +4 lines)
Lines 1-10 Link Here
1
[% USE Asset %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[% USE Branches %]
3
[% USE Branches %]
3
[% USE ColumnsSettings %]
4
[% USE ColumnsSettings %]
4
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
5
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Koha &rsaquo; Acquisitions &rsaquo; Late orders</title>
7
<title>Koha &rsaquo; Acquisitions &rsaquo; Late orders</title>
7
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
8
[% Asset.css("css/datatables.css") %]
8
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
9
</head>
10
</head>
10
11
Lines 191-200 Link Here
191
</div>
192
</div>
192
193
193
[% MACRO jsinclude BLOCK %]
194
[% MACRO jsinclude BLOCK %]
194
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/acquisitions-menu_[% KOHA_VERSION %].js"></script>
195
    [% Asset.js("js/acquisitions-menu.js") %]
195
    [% INCLUDE 'datatables.inc' %]
196
    [% INCLUDE 'datatables.inc' %]
196
    [% INCLUDE 'columns_settings.inc' %]
197
    [% INCLUDE 'columns_settings.inc' %]
197
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min_[% KOHA_VERSION %].js"></script>
198
    [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") %]
198
    [% INCLUDE 'calendar.inc' %]
199
    [% INCLUDE 'calendar.inc' %]
199
    <script type="text/javascript">
200
    <script type="text/javascript">
200
        var late_orderst;
201
        var late_orderst;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderbiblio.tt (-2 / +3 lines)
Lines 1-7 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Acquisitions &rsaquo; Search existing records</title>
4
<title>Koha &rsaquo; Acquisitions &rsaquo; Search existing records</title>
4
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
5
[% Asset.css("css/datatables.css") %]
5
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
6
</head>
7
</head>
7
8
Lines 107-113 Link Here
107
</div>
108
</div>
108
109
109
[% MACRO jsinclude BLOCK %]
110
[% MACRO jsinclude BLOCK %]
110
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/acquisitions-menu_[% KOHA_VERSION %].js"></script>
111
    [% Asset.js("js/acquisitions-menu.js") %]
111
    [% INCLUDE 'datatables.inc' %]
112
    [% INCLUDE 'datatables.inc' %]
112
    <script type="text/javascript">
113
    <script type="text/javascript">
113
         $(document).ready(function() {
114
         $(document).ready(function() {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt (-5 / +6 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE KohaDates %]
3
[% USE KohaDates %]
3
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
Lines 489-500 Link Here
489
</div>
490
</div>
490
491
491
[% MACRO jsinclude BLOCK %]
492
[% MACRO jsinclude BLOCK %]
492
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/acquisitions-menu_[% KOHA_VERSION %].js"></script>
493
    [% Asset.js("js/acquisitions-menu.js") %]
493
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/acq_[% KOHA_VERSION %].js"></script>
494
    [% Asset.js("js/acq.js") %]
494
    [% INCLUDE 'additem.js.inc' %]
495
    [% INCLUDE 'additem.js.inc' %]
495
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/additem_[% KOHA_VERSION %].js"></script>
496
    [% Asset.js("js/additem.js") %]
496
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/cataloging_[% KOHA_VERSION %].js"></script>
497
    [% Asset.js("js/cataloging.js") %]
497
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/prevent_submit_[% KOHA_VERSION %].js"></script>
498
    [% Asset.js("js/prevent_submit.js") %]
498
    <script type="text/javascript">
499
    <script type="text/javascript">
499
        actTotal = "";
500
        actTotal = "";
500
501
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersubscription.tt (-2 / +3 lines)
Lines 1-10 Link Here
1
[% USE Asset %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[% USE Branches %]
3
[% USE Branches %]
3
[% USE Koha %]
4
[% USE Koha %]
4
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
5
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Koha &rsaquo; Serials [% biblionumber %]</title>
7
<title>Koha &rsaquo; Serials [% biblionumber %]</title>
7
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
8
[% Asset.css("css/datatables.css") %]
8
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
9
</head>
10
</head>
10
11
Lines 96-102 Link Here
96
</div>
97
</div>
97
98
98
[% MACRO jsinclude BLOCK %]
99
[% MACRO jsinclude BLOCK %]
99
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/acquisitions-menu_[% KOHA_VERSION %].js"></script>
100
    [% Asset.js("js/acquisitions-menu.js") %]
100
    [% INCLUDE 'datatables.inc' %]
101
    [% INCLUDE 'datatables.inc' %]
101
    <script type="text/javascript">
102
    <script type="text/javascript">
102
        function updateRowsVisibility(show_only_renewed) {
103
        function updateRowsVisibility(show_only_renewed) {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersuggestion.tt (-2 / +3 lines)
Lines 1-7 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Acquisitions &rsaquo; Add order from a suggestion</title>
4
<title>Koha &rsaquo; Acquisitions &rsaquo; Add order from a suggestion</title>
4
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
5
[% Asset.css("css/datatables.css") %]
5
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
6
</head>
7
</head>
7
8
Lines 74-80 Link Here
74
</div>
75
</div>
75
76
76
[% MACRO jsinclude BLOCK %]
77
[% MACRO jsinclude BLOCK %]
77
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/acquisitions-menu_[% KOHA_VERSION %].js"></script>
78
    [% Asset.js("js/acquisitions-menu.js") %]
78
    [% INCLUDE 'datatables.inc' %]
79
    [% INCLUDE 'datatables.inc' %]
79
    <script type="text/javascript">
80
    <script type="text/javascript">
80
    $(document).ready(function() {
81
    $(document).ready(function() {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/ordered.tt (-2 / +3 lines)
Lines 1-9 Link Here
1
[% USE Asset %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[% USE ItemTypes %]
3
[% USE ItemTypes %]
3
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Koha &rsaquo; Acquisitions &rsaquo; Ordered</title>
6
<title>Koha &rsaquo; Acquisitions &rsaquo; Ordered</title>
6
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
7
[% Asset.css("css/datatables.css") %]
7
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
8
</head>
9
</head>
9
10
Lines 96-102 Link Here
96
</div>
97
</div>
97
98
98
[% MACRO jsinclude BLOCK %]
99
[% MACRO jsinclude BLOCK %]
99
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/acquisitions-menu_[% KOHA_VERSION %].js"></script>
100
    [% Asset.js("js/acquisitions-menu.js") %]
100
    [% INCLUDE 'datatables.inc' %]
101
    [% INCLUDE 'datatables.inc' %]
101
    <script type="text/javascript">
102
    <script type="text/javascript">
102
        $(document).ready(function() {
103
        $(document).ready(function() {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt (-4 / +5 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[% USE Branches %]
3
[% USE Branches %]
3
[% USE Price %]
4
[% USE Price %]
Lines 262-273 Link Here
262
</div>
263
</div>
263
264
264
[% MACRO jsinclude BLOCK %]
265
[% MACRO jsinclude BLOCK %]
265
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/acquisitions-menu_[% KOHA_VERSION %].js"></script>
266
    [% Asset.js("js/acquisitions-menu.js") %]
266
[% INCLUDE 'calendar.inc' %]
267
[% INCLUDE 'calendar.inc' %]
267
    [% INCLUDE 'additem.js.inc' %]
268
    [% INCLUDE 'additem.js.inc' %]
268
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/additem_[% KOHA_VERSION %].js"></script>
269
    [% Asset.js("js/additem.js") %]
269
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/cataloging_[% KOHA_VERSION %].js"></script>
270
    [% Asset.js("js/cataloging.js") %]
270
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/prevent_submit_[% KOHA_VERSION %].js"></script>
271
    [% Asset.js("js/prevent_submit.js") %]
271
    <script type="text/javascript">
272
    <script type="text/javascript">
272
        function Check(form) {
273
        function Check(form) {
273
            [% IF (AcqCreateItemReceiving) %]
274
            [% IF (AcqCreateItemReceiving) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt (-4 / +5 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE KohaDates %]
3
[% USE KohaDates %]
3
[% USE Price %]
4
[% USE Price %]
Lines 6-12 Link Here
6
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
7
<title>Koha &rsaquo; Acquisitions &rsaquo; [% IF ( date ) %]
8
<title>Koha &rsaquo; Acquisitions &rsaquo; [% IF ( date ) %]
8
            Receipt summary for [% name %] [% IF ( invoice ) %]invoice [% invoice %][% END %] on [% datereceived | $KohaDates %][% ELSE %]Receive orders from [% name %][% END %]</title>
9
            Receipt summary for [% name %] [% IF ( invoice ) %]invoice [% invoice %][% END %] on [% datereceived | $KohaDates %][% ELSE %]Receive orders from [% name %][% END %]</title>
9
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
10
[% Asset.css("css/datatables.css") %]
10
[% INCLUDE 'doc-head-close.inc' %]
11
[% INCLUDE 'doc-head-close.inc' %]
11
</head>
12
</head>
12
13
Lines 422-431 Link Here
422
</div>
423
</div>
423
424
424
[% MACRO jsinclude BLOCK %]
425
[% MACRO jsinclude BLOCK %]
425
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/acquisitions-menu_[% KOHA_VERSION %].js"></script>
426
    [% Asset.js("js/acquisitions-menu.js") %]
426
    [% INCLUDE 'datatables.inc' %]
427
    [% INCLUDE 'datatables.inc' %]
427
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.dataTables.columnFilter_[% KOHA_VERSION %].js"></script>
428
    [% Asset.js("lib/jquery/plugins/jquery.dataTables.columnFilter.js") %]
428
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.cookie.min_[% KOHA_VERSION %].js"></script>
429
    [% Asset.js("lib/jquery/plugins/jquery.cookie.min.js") %]
429
    <style type="text/css">#dataPreview { width : 80%; } @media (max-width: 767px) { #dataPreview { margin: 0; width : auto; } }</style>
430
    <style type="text/css">#dataPreview { width : 80%; } @media (max-width: 767px) { #dataPreview { margin: 0; width : auto; } }</style>
430
    <script type="text/javascript">
431
    <script type="text/javascript">
431
432
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcels.tt (-2 / +3 lines)
Lines 1-8 Link Here
1
[% USE Asset %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Koha &rsaquo; Acquisitions &rsaquo; Receive shipment from vendor [% name %]</title>
5
<title>Koha &rsaquo; Acquisitions &rsaquo; Receive shipment from vendor [% name %]</title>
5
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
6
[% Asset.css("css/datatables.css") %]
6
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
7
</head>
8
</head>
8
9
Lines 201-207 Link Here
201
</div>
202
</div>
202
203
203
[% MACRO jsinclude BLOCK %]
204
[% MACRO jsinclude BLOCK %]
204
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/acquisitions-menu_[% KOHA_VERSION %].js"></script>
205
    [% Asset.js("js/acquisitions-menu.js") %]
205
    [% INCLUDE 'calendar.inc' %]
206
    [% INCLUDE 'calendar.inc' %]
206
    [% INCLUDE 'datatables.inc' %]
207
    [% INCLUDE 'datatables.inc' %]
207
    <script type="text/javascript">
208
    <script type="text/javascript">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/spent.tt (-2 / +3 lines)
Lines 1-9 Link Here
1
[% USE Asset %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[% USE ItemTypes %]
3
[% USE ItemTypes %]
3
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Koha &rsaquo; Acquisitions &rsaquo; Spent</title>
6
<title>Koha &rsaquo; Acquisitions &rsaquo; Spent</title>
6
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
7
[% Asset.css("css/datatables.css") %]
7
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
8
</head>
9
</head>
9
10
Lines 104-110 Link Here
104
</div>
105
</div>
105
106
106
[% MACRO jsinclude BLOCK %]
107
[% MACRO jsinclude BLOCK %]
107
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/acquisitions-menu_[% KOHA_VERSION %].js"></script>
108
    [% Asset.js("js/acquisitions-menu.js") %]
108
    [% INCLUDE 'datatables.inc' %]
109
    [% INCLUDE 'datatables.inc' %]
109
    <script type="text/javascript">
110
    <script type="text/javascript">
110
        $(document).ready(function() {
111
        $(document).ready(function() {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt (-2 / +3 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[% BLOCK edit_contact %]
3
[% BLOCK edit_contact %]
3
    <ol id="contact-form">
4
    <ol id="contact-form">
Lines 88-94 Link Here
88
[% SET footerjs = 1 %]
89
[% SET footerjs = 1 %]
89
[% INCLUDE 'doc-head-open.inc' %]
90
[% INCLUDE 'doc-head-open.inc' %]
90
<title>Koha &rsaquo; Vendor [% name %]</title>
91
<title>Koha &rsaquo; Vendor [% name %]</title>
91
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
92
[% Asset.css("css/datatables.css") %]
92
[% INCLUDE 'doc-head-close.inc' %]
93
[% INCLUDE 'doc-head-close.inc' %]
93
</head>
94
</head>
94
95
Lines 351-357 Link Here
351
</div>
352
</div>
352
353
353
[% MACRO jsinclude BLOCK %]
354
[% MACRO jsinclude BLOCK %]
354
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/acquisitions-menu_[% KOHA_VERSION %].js"></script>
355
    [% Asset.js("js/acquisitions-menu.js") %]
355
    [% INCLUDE 'datatables.inc' %]
356
    [% INCLUDE 'datatables.inc' %]
356
    <script type="text/javascript">
357
    <script type="text/javascript">
357
        function confirm_deletion() {
358
        function confirm_deletion() {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/uncertainprice.tt (-3 / +4 lines)
Lines 1-8 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Koha &rsaquo; Acquisitions &rsaquo; [% IF ( booksellername ) %]Orders with uncertain prices for vendor [% booksellername %][% ELSE %]Orders with uncertain prices[% END %]</title>
5
<title>Koha &rsaquo; Acquisitions &rsaquo; [% IF ( booksellername ) %]Orders with uncertain prices for vendor [% booksellername %][% ELSE %]Orders with uncertain prices[% END %]</title>
5
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
6
[% Asset.css("css/datatables.css") %]
6
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
7
</head>
8
</head>
8
9
Lines 138-144 Link Here
138
</div>
139
</div>
139
140
140
[% MACRO jsinclude BLOCK %]
141
[% MACRO jsinclude BLOCK %]
141
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/acquisitions-menu_[% KOHA_VERSION %].js"></script>
142
    [% Asset.js("js/acquisitions-menu.js") %]
142
    [% INCLUDE 'datatables.inc' %]
143
    [% INCLUDE 'datatables.inc' %]
143
    <script type="text/javascript">
144
    <script type="text/javascript">
144
        $(document).ready(function() {
145
        $(document).ready(function() {
Lines 156-162 Link Here
156
        });
157
        });
157
        var MSG_INVALIDPRICE = _("ERROR: Price is not a valid number, please check the price and try again!");
158
        var MSG_INVALIDPRICE = _("ERROR: Price is not a valid number, please check the price and try again!");
158
    </script>
159
    </script>
159
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/acq_[% KOHA_VERSION %].js"></script>
160
    [% Asset.js("js/acq.js") %]
160
[% END %]
161
[% END %]
161
162
162
[% INCLUDE 'intranet-bottom.inc' %]
163
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt (-4 / +5 lines)
Lines 1-7 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Acquisitions &rsaquo; [% IF ( opsearch ) %]Order from external source[% ELSE %]Order from external source &rsaquo; Search results[% END %]</title>
4
<title>Koha &rsaquo; Acquisitions &rsaquo; [% IF ( opsearch ) %]Order from external source[% ELSE %]Order from external source &rsaquo; Search results[% END %]</title>
4
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
5
[% Asset.css("css/datatables.css") %]
5
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
6
<style type="text/css">
7
<style type="text/css">
7
.linktools { background-color:#FFF;border-top:1px solid #DDD; border-left: 1px solid #DDD; border-right: 1px solid #666; border-bottom:1px solid #666;display: none; white-space: nowrap;}
8
.linktools { background-color:#FFF;border-top:1px solid #DDD; border-left: 1px solid #DDD; border-right: 1px solid #666; border-bottom:1px solid #666;display: none; white-space: nowrap;}
Lines 191-199 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
191
[% IF ( numberpending ) %]<h3 align="center">Still [% numberpending %] servers to search</h3>[% END %]
192
[% IF ( numberpending ) %]<h3 align="center">Still [% numberpending %] servers to search</h3>[% END %]
192
193
193
[% MACRO jsinclude BLOCK %]
194
[% MACRO jsinclude BLOCK %]
194
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/acquisitions-menu_[% KOHA_VERSION %].js"></script>
195
    [% Asset.js("js/acquisitions-menu.js") %]
195
    [% INCLUDE 'datatables.inc' %]
196
    [% INCLUDE 'datatables.inc' %]
196
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min_[% KOHA_VERSION %].js"></script>
197
    [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") %]
197
    <script type="text/javascript">
198
    <script type="text/javascript">
198
        $(document).ready(function(){
199
        $(document).ready(function(){
199
            var resultst = $("#resultst").dataTable($.extend(true, {}, dataTablesDefaults, {
200
            var resultst = $("#resultst").dataTable($.extend(true, {}, dataTablesDefaults, {
Lines 223-229 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
223
        });
224
        });
224
    </script>
225
    </script>
225
    [% INCLUDE 'z3950_search.inc' %]
226
    [% INCLUDE 'z3950_search.inc' %]
226
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/z3950_search_[% KOHA_VERSION %].js"></script>
227
    [% Asset.js("js/z3950_search.js") %]
227
[% END %]
228
[% END %]
228
229
229
[% INCLUDE 'intranet-bottom.inc' %]
230
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt (-4 / +5 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[% USE Price %]
3
[% USE Price %]
3
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
Lines 34-42 Link Here
34
35
35
[% INCLUDE 'doc-head-open.inc' %]
36
[% INCLUDE 'doc-head-open.inc' %]
36
[% INCLUDE 'doc-head-close.inc' %]
37
[% INCLUDE 'doc-head-close.inc' %]
37
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
38
[% Asset.css("css/datatables.css") %]
38
[% IF close_form %]
39
[% IF close_form %]
39
    <link href="[% interface %]/lib/jquery/plugins/treetable/stylesheets/jquery.treetable_[% KOHA_VERSION %].css" rel="stylesheet" type="text/css" />
40
    [% Asset.css("lib/jquery/plugins/treetable/stylesheets/jquery.treetable.css") %]
40
[% END %]
41
[% END %]
41
42
42
<title>
43
<title>
Lines 495-503 Link Here
495
    [% INCLUDE 'calendar.inc' %]
496
    [% INCLUDE 'calendar.inc' %]
496
    [% INCLUDE 'datatables.inc' %]
497
    [% INCLUDE 'datatables.inc' %]
497
    [% IF close_form %]
498
    [% IF close_form %]
498
        <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/treetable/jquery.treetable_[% KOHA_VERSION %].js"></script>
499
        [% Asset.js("lib/jquery/plugins/treetable/jquery.treetable.js") %]
499
    [% END %]
500
    [% END %]
500
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/acq_[% KOHA_VERSION %].js"></script>
501
    [% Asset.js("js/acq.js") %]
501
    <script type="text/javascript">
502
    <script type="text/javascript">
502
    // #################################################################################
503
    // #################################################################################
503
    // Javascript
504
    // Javascript
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt (-5 / +6 lines)
Lines 1-11 Link Here
1
[% USE Asset %]
1
[% USE AuthorisedValues %]
2
[% USE AuthorisedValues %]
2
[% USE Branches %]
3
[% USE Branches %]
3
[% USE Price %]
4
[% USE Price %]
4
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
5
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Koha &rsaquo; Administration &rsaquo; Funds[% IF op == 'add_form' %] &rsaquo; [% IF ( budget_id ) %]Modify fund[% IF ( budget_name ) %] '[% budget_name %]'[% END %][% ELSE %]Add fund [% END %][% END %]</title>
7
<title>Koha &rsaquo; Administration &rsaquo; Funds[% IF op == 'add_form' %] &rsaquo; [% IF ( budget_id ) %]Modify fund[% IF ( budget_name ) %] '[% budget_name %]'[% END %][% ELSE %]Add fund [% END %][% END %]</title>
7
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
8
[% Asset.css("css/datatables.css") %]
8
<link href="[% interface %]/lib/jquery/plugins/treetable/stylesheets/jquery.treetable_[% KOHA_VERSION %].css" rel="stylesheet" type="text/css" />
9
[% Asset.css("lib/jquery/plugins/treetable/stylesheets/jquery.treetable.css") %]
9
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
10
</head>
11
</head>
11
12
Lines 440-453 Link Here
440
</div>
441
</div>
441
</div>
442
</div>
442
[% MACRO jsinclude BLOCK %]
443
[% MACRO jsinclude BLOCK %]
443
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/acq_[% KOHA_VERSION %].js"></script>
444
    [% Asset.js("js/acq.js") %]
444
    <script type="text/javascript">
445
    <script type="text/javascript">
445
        var MSG_BUDGET_PARENT_ALLOCATION = "- " + _("Fund amount exceeds parent allocation") + "\n";
446
        var MSG_BUDGET_PARENT_ALLOCATION = "- " + _("Fund amount exceeds parent allocation") + "\n";
446
        var MSG_BUDGET_PERIOD_ALLOCATION = "- " + _("Fund amount exceeds period allocation") + "\n";
447
        var MSG_BUDGET_PERIOD_ALLOCATION = "- " + _("Fund amount exceeds period allocation") + "\n";
447
        var MSG_PARENT_BENEATH_BUDGET = "- " + _("New budget-parent is beneath budget") + "\n";
448
        var MSG_PARENT_BENEATH_BUDGET = "- " + _("New budget-parent is beneath budget") + "\n";
448
    </script>
449
    </script>
449
450
450
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/acq_[% KOHA_VERSION %].js"></script>
451
    [% Asset.js("js/acq.js") %]
451
    [% IF op == 'add_form' %]
452
    [% IF op == 'add_form' %]
452
        <script type="text/javascript">
453
        <script type="text/javascript">
453
        //<![CDATA[
454
        //<![CDATA[
Lines 606-612 Link Here
606
        </script>
607
        </script>
607
    [% ELSIF op == 'list' %]
608
    [% ELSIF op == 'list' %]
608
        [% INCLUDE 'datatables.inc' %]
609
        [% INCLUDE 'datatables.inc' %]
609
        <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/treetable/jquery.treetable_[% KOHA_VERSION %].js"></script>
610
        [% Asset.js("lib/jquery/plugins/treetable/jquery.treetable.js") %]
610
611
611
        <script type="text/javascript">
612
        <script type="text/javascript">
612
        //<![CDATA[
613
        //<![CDATA[
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqcontract.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
Lines 176-182 Link Here
176
</div>
177
</div>
177
[% MACRO jsinclude BLOCK %]
178
[% MACRO jsinclude BLOCK %]
178
    [% INCLUDE 'calendar.inc' %]
179
    [% INCLUDE 'calendar.inc' %]
179
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/acq_[% KOHA_VERSION %].js"></script>
180
    [% Asset.js("js/acq.js") %]
180
    <script type="text/javascript">
181
    <script type="text/javascript">
181
    //<![CDATA[
182
    //<![CDATA[
182
    // to check if the data are correctly entered.
183
    // to check if the data are correctly entered.
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tt (-2 / +3 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Price %]
2
[% USE Price %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
Lines 269-276 Link Here
269
</div>
270
</div>
270
</div>
271
</div>
271
[% MACRO jsinclude BLOCK %]
272
[% MACRO jsinclude BLOCK %]
272
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min_[% KOHA_VERSION %].js"></script>
273
    [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") %]
273
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/acq_[% KOHA_VERSION %].js"></script>
274
    [% Asset.js("js/acq.js") %]
274
    <script type="text/javascript">
275
    <script type="text/javascript">
275
    //<![CDATA[
276
    //<![CDATA[
276
        function Check(f) {
277
        function Check(f) {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/audio_alerts.tt (-2 / +3 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
Lines 132-143 Link Here
132
</div>
133
</div>
133
134
134
[% MACRO jsinclude BLOCK %]
135
[% MACRO jsinclude BLOCK %]
135
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu_[% KOHA_VERSION %].js"></script>
136
    [% Asset.js("js/admin-menu.js") %]
136
    <script type="text/javascript">
137
    <script type="text/javascript">
137
        var MSG_AUDIO_EMPTY_SOUND = _("Please select or enter a sound.");
138
        var MSG_AUDIO_EMPTY_SOUND = _("Please select or enter a sound.");
138
        var MSG_AUDIO_CONFIRM_DELETE = _("Are you sure you want to delete the selected audio alerts?");
139
        var MSG_AUDIO_CONFIRM_DELETE = _("Are you sure you want to delete the selected audio alerts?");
139
        var MSG_AUDIO_CHECK_CHECKBOXES = _("Check the box next to the alert you want to delete.")
140
        var MSG_AUDIO_CHECK_CHECKBOXES = _("Check the box next to the alert you want to delete.")
140
    </script>
141
    </script>
141
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/audio_alerts_[% KOHA_VERSION %].js"></script>
142
    [% Asset.js("js/audio_alerts.js") %]
142
[% END %]
143
[% END %]
143
[% INCLUDE 'intranet-bottom.inc' %]
144
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Administration &rsaquo; Authority MARC subfield structure</title>
4
<title>Koha &rsaquo; Administration &rsaquo; Authority MARC subfield structure</title>
Lines 333-339 Link Here
333
</div>
334
</div>
334
335
335
[% MACRO jsinclude BLOCK %]
336
[% MACRO jsinclude BLOCK %]
336
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu_[% KOHA_VERSION %].js"></script>
337
    [% Asset.js("js/admin-menu.js") %]
337
    <script type="text/javascript">
338
    <script type="text/javascript">
338
     $(document).ready(function() {
339
     $(document).ready(function() {
339
        $('#subfieldtabs').tabs();
340
        $('#subfieldtabs').tabs();
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tt (-2 / +3 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE AuthorisedValues %]
2
[% USE AuthorisedValues %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
Lines 7-13 Link Here
7
    [% ELSE %]&rsaquo; [% action %][% END %][% END %][% IF ( delete_confirm ) %]&rsaquo; [% IF ( authtypecode ) %][% authtypecode %] Framework[% ELSE %]Default framework[% END %] &rsaquo; Confirm deletion[% END %][% IF ( delete_confirmed ) %]&rsaquo; [% IF ( authtypecode ) %][% authtypecode %] Framework[% ELSE %]Default framework[% END %] &rsaquo; Data deleted[% END %]</title>
8
    [% ELSE %]&rsaquo; [% action %][% END %][% END %][% IF ( delete_confirm ) %]&rsaquo; [% IF ( authtypecode ) %][% authtypecode %] Framework[% ELSE %]Default framework[% END %] &rsaquo; Confirm deletion[% END %][% IF ( delete_confirmed ) %]&rsaquo; [% IF ( authtypecode ) %][% authtypecode %] Framework[% ELSE %]Default framework[% END %] &rsaquo; Data deleted[% END %]</title>
8
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
9
10
10
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
11
[% Asset.css("css/datatables.css") %]
11
</head>
12
</head>
12
13
13
<body id="admin_auth_tag_structure" class="admin">
14
<body id="admin_auth_tag_structure" class="admin">
Lines 234-240 Link Here
234
235
235
[% MACRO jsinclude BLOCK %]
236
[% MACRO jsinclude BLOCK %]
236
    [% INCLUDE 'datatables.inc' %]
237
    [% INCLUDE 'datatables.inc' %]
237
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu_[% KOHA_VERSION %].js"></script>
238
    [% Asset.js("js/admin-menu.js") %]
238
    <script type="text/javascript">
239
    <script type="text/javascript">
239
        $(document).ready(function() {
240
        $(document).ready(function() {
240
            $("#table_authtagstructure").dataTable($.extend(true, {}, dataTablesDefaults, {
241
            $("#table_authtagstructure").dataTable($.extend(true, {}, dataTablesDefaults, {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt (-2 / +3 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Administration &rsaquo; Authorized values
4
<title>Koha &rsaquo; Administration &rsaquo; Authorized values
Lines 9-15 Link Here
9
</title>
10
</title>
10
[% INCLUDE 'doc-head-close.inc' %]
11
[% INCLUDE 'doc-head-close.inc' %]
11
12
12
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
13
[% Asset.css("css/datatables.css") %]
13
14
14
<style type="text/css">
15
<style type="text/css">
15
	fieldset.rows div.toptabs li { clear:none;margin-right:.5em;padding-bottom:0;width:auto; }
16
	fieldset.rows div.toptabs li { clear:none;margin-right:.5em;padding-bottom:0;width:auto; }
Lines 281-287 Link Here
281
</div>
282
</div>
282
283
283
[% MACRO jsinclude BLOCK %]
284
[% MACRO jsinclude BLOCK %]
284
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu_[% KOHA_VERSION %].js"></script>
285
    [% Asset.js("js/admin-menu.js") %]
285
    [% INCLUDE 'datatables.inc' %]
286
    [% INCLUDE 'datatables.inc' %]
286
    <script type="text/javascript">
287
    <script type="text/javascript">
287
        $(document).ready(function() {
288
        $(document).ready(function() {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt (-2 / +3 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Administration &rsaquo; Authority types
4
<title>Koha &rsaquo; Administration &rsaquo; Authority types
Lines 8-14 Link Here
8
[% END %]
9
[% END %]
9
</title>
10
</title>
10
[% INCLUDE 'doc-head-close.inc' %]
11
[% INCLUDE 'doc-head-close.inc' %]
11
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
12
[% Asset.css("css/datatables.css") %]
12
</head>
13
</head>
13
14
14
<body id="admin_authtypes" class="admin">
15
<body id="admin_authtypes" class="admin">
Lines 174-180 Link Here
174
175
175
[% MACRO jsinclude BLOCK %]
176
[% MACRO jsinclude BLOCK %]
176
    [% INCLUDE 'datatables.inc' %]
177
    [% INCLUDE 'datatables.inc' %]
177
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu_[% KOHA_VERSION %].js"></script>
178
    [% Asset.js("js/admin-menu.js") %]
178
    <script type="text/javascript">
179
    <script type="text/javascript">
179
        $(document).ready(function() {
180
        $(document).ready(function() {
180
            $("#authtypes").dataTable($.extend(true, {}, dataTablesDefaults, {
181
            $("#authtypes").dataTable($.extend(true, {}, dataTablesDefaults, {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt (-3 / +4 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Administration &rsaquo; MARC frameworks
4
<title>Koha &rsaquo; Administration &rsaquo; MARC frameworks
Lines 8-14 Link Here
8
[% END %]
9
[% END %]
9
</title>
10
</title>
10
[% INCLUDE 'doc-head-close.inc' %]
11
[% INCLUDE 'doc-head-close.inc' %]
11
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
12
[% Asset.css("css/datatables.css") %]
12
</head>
13
</head>
13
14
14
<body id="admin_biblio_framework" class="admin">
15
<body id="admin_biblio_framework" class="admin">
Lines 281-287 Link Here
281
282
282
[% MACRO jsinclude BLOCK %]
283
[% MACRO jsinclude BLOCK %]
283
    [% INCLUDE 'datatables.inc' %]
284
    [% INCLUDE 'datatables.inc' %]
284
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu_[% KOHA_VERSION %].js"></script>
285
    [% Asset.js("js/admin-menu.js") %]
285
    <script type="text/javascript">
286
    <script type="text/javascript">
286
        /* Set some variable needed in biblio_framework.js */
287
        /* Set some variable needed in biblio_framework.js */
287
        var MSG_IMPORT_ERROR = _("Error importing the framework");
288
        var MSG_IMPORT_ERROR = _("Error importing the framework");
Lines 290-295 Link Here
290
        var MSG_IMPORTING_TO_FRAMEWORK = _("Importing to framework: %s. Importing from file: %s.");
291
        var MSG_IMPORTING_TO_FRAMEWORK = _("Importing to framework: %s. Importing from file: %s.");
291
        var template_path = "[% interface %]/[% theme %]";
292
        var template_path = "[% interface %]/[% theme %]";
292
    </script>
293
    </script>
293
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/biblio_framework_[% KOHA_VERSION %].js"></script>
294
    [% Asset.js("js/biblio_framework.js") %]
294
[% END %]
295
[% END %]
295
[% INCLUDE 'intranet-bottom.inc' %]
296
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt (-3 / +4 lines)
Lines 1-9 Link Here
1
[% USE Asset %]
1
[% USE Branches %]
2
[% USE Branches %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Koha &rsaquo; Administration &rsaquo; Library checkin and transfer policy</title>
5
<title>Koha &rsaquo; Administration &rsaquo; Library checkin and transfer policy</title>
5
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
6
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
7
[% Asset.css("css/datatables.css") %]
7
<style type="text/css">td { text-align: center; } .sorted { min-width: 50%; }</style>
8
<style type="text/css">td { text-align: center; } .sorted { min-width: 50%; }</style>
8
</head>
9
</head>
9
10
Lines 85-93 Link Here
85
</div>
86
</div>
86
87
87
[% MACRO jsinclude BLOCK %]
88
[% MACRO jsinclude BLOCK %]
88
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu_[% KOHA_VERSION %].js"></script>
89
    [% Asset.js("js/admin-menu.js") %]
89
    [% INCLUDE 'datatables.inc' %]
90
    [% INCLUDE 'datatables.inc' %]
90
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min_[% KOHA_VERSION %].js"></script>
91
    [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") %]
91
    <script type="text/javascript">
92
    <script type="text/javascript">
92
        $(document).ready(function(){
93
        $(document).ready(function(){
93
            $("#CheckAll").click(function(){ $("#transferlimit_tabs").checkCheckboxes(); return false; });
94
            $("#CheckAll").click(function(){ $("#transferlimit_tabs").checkCheckboxes(); return false; });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt (-3 / +4 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Administration &rsaquo; Libraries
4
<title>Koha &rsaquo; Administration &rsaquo; Libraries
Lines 8-14 Link Here
8
[% END %]
9
[% END %]
9
</title>
10
</title>
10
[% INCLUDE 'doc-head-close.inc' %]
11
[% INCLUDE 'doc-head-close.inc' %]
11
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
12
[% Asset.css("css/datatables.css") %]
12
</head>
13
</head>
13
14
14
<body id="admin_branches" class="admin">
15
<body id="admin_branches" class="admin">
Lines 242-250 Link Here
242
</div>
243
</div>
243
244
244
[% MACRO jsinclude BLOCK %]
245
[% MACRO jsinclude BLOCK %]
245
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu_[% KOHA_VERSION %].js"></script>
246
    [% Asset.js("js/admin-menu.js") %]
246
    [% INCLUDE 'datatables.inc' %]
247
    [% INCLUDE 'datatables.inc' %]
247
    <script type="text/javascript" src="[% interface %]/lib/tiny_mce/tiny_mce_[% KOHA_VERSION %].js"></script>
248
    [% Asset.js("lib/tiny_mce/tiny_mce.js") %]
248
    <script type="text/javascript">
249
    <script type="text/javascript">
249
        $(document).ready(function() {
250
        $(document).ready(function() {
250
            $("#branchest").dataTable($.extend(true, {}, dataTablesDefaults, {
251
            $("#branchest").dataTable($.extend(true, {}, dataTablesDefaults, {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt (-4 / +5 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE KohaDates %]
3
[% USE KohaDates %]
3
[% USE Price %]
4
[% USE Price %]
Lines 7-13 Link Here
7
[% IF op == 'delete_confirm' %][% IF ( patrons_in_category > 0 ) %]Cannot delete: category [% categorycode |html %] in use[% ELSE %]Confirm deletion of category '[% categorycode |html %]'[% END %][% END %]
8
[% IF op == 'delete_confirm' %][% IF ( patrons_in_category > 0 ) %]Cannot delete: category [% categorycode |html %] in use[% ELSE %]Confirm deletion of category '[% categorycode |html %]'[% END %][% END %]
8
</title>
9
</title>
9
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
10
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
11
[% Asset.css("css/datatables.css") %]
11
<style type="text/css">#enrolmentmessage.hint { display : none; }</style>
12
<style type="text/css">#enrolmentmessage.hint { display : none; }</style>
12
</head>
13
</head>
13
14
Lines 491-504 Link Here
491
</div>
492
</div>
492
493
493
[% MACRO jsinclude BLOCK %]
494
[% MACRO jsinclude BLOCK %]
494
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu_[% KOHA_VERSION %].js"></script>
495
    [% Asset.js("js/admin-menu.js") %]
495
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/messaging-preference-form_[% KOHA_VERSION %].js"></script>
496
    [% Asset.js("js/messaging-preference-form.js") %]
496
    [% INCLUDE 'calendar.inc' %]
497
    [% INCLUDE 'calendar.inc' %]
497
    [% INCLUDE 'datatables.inc' %]
498
    [% INCLUDE 'datatables.inc' %]
498
    <script type="text/javascript">
499
    <script type="text/javascript">
499
        var MSG_CATEGORYCODE_CHARS = _("Category code can only contain the following characters: letters, numbers, - and _.");
500
        var MSG_CATEGORYCODE_CHARS = _("Category code can only contain the following characters: letters, numbers, - and _.");
500
        var MSG_ONE_ENROLLMENTPERIOD = ("Please choose an enrollment period in months OR by date.");
501
        var MSG_ONE_ENROLLMENTPERIOD = ("Please choose an enrollment period in months OR by date.");
501
    </script>
502
    </script>
502
    <script type="text/javascript" src="[% themelang %]/js/categories_[% KOHA_VERSION %].js"></script>
503
    [% Asset.js("js/categories.js") %]
503
[% END %]
504
[% END %]
504
[% INCLUDE 'intranet-bottom.inc' %]
505
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/checkmarc.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Administration &rsaquo; MARC check
4
<title>Koha &rsaquo; Administration &rsaquo; MARC check
Lines 279-284 Link Here
279
</div>
280
</div>
280
281
281
[% MACRO jsinclude BLOCK %]
282
[% MACRO jsinclude BLOCK %]
282
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu_[% KOHA_VERSION %].js"></script>
283
    [% Asset.js("js/admin-menu.js") %]
283
[% END %]
284
[% END %]
284
[% INCLUDE 'intranet-bottom.inc' %]
285
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt (-2 / +3 lines)
Lines 1-8 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Administration &rsaquo; [% IF op =='add_form' %]Cities &rsaquo; [% IF city.cityid %] Modify city[% ELSE %] New city[% END %][% ELSE %][% IF op == 'delete_confirm' %]Cities &rsaquo; Confirm deletion of city[% ELSE %] Cities[% END %][% END %]</title>
4
<title>Koha &rsaquo; Administration &rsaquo; [% IF op =='add_form' %]Cities &rsaquo; [% IF city.cityid %] Modify city[% ELSE %] New city[% END %][% ELSE %][% IF op == 'delete_confirm' %]Cities &rsaquo; Confirm deletion of city[% ELSE %] Cities[% END %][% END %]</title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
5
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
6
[% Asset.css("css/datatables.css") %]
6
</head>
7
</head>
7
8
8
<body id="admin_cities" class="admin">
9
<body id="admin_cities" class="admin">
Lines 174-180 Link Here
174
</div>
175
</div>
175
176
176
[% MACRO jsinclude BLOCK %]
177
[% MACRO jsinclude BLOCK %]
177
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu_[% KOHA_VERSION %].js"></script>
178
    [% Asset.js("js/admin-menu.js") %]
178
    [% INCLUDE 'datatables.inc' %]
179
    [% INCLUDE 'datatables.inc' %]
179
    <script type="text/javascript">
180
    <script type="text/javascript">
180
        $(document).ready(function() {
181
        $(document).ready(function() {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/classsources.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Administration &rsaquo; Classification sources
4
<title>Koha &rsaquo; Administration &rsaquo; Classification sources
Lines 268-273 Link Here
268
</div>
269
</div>
269
270
270
[% MACRO jsinclude BLOCK %]
271
[% MACRO jsinclude BLOCK %]
271
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu_[% KOHA_VERSION %].js"></script>
272
    [% Asset.js("js/admin-menu.js") %]
272
[% END %]
273
[% END %]
273
[% INCLUDE 'intranet-bottom.inc' %]
274
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/clone-rules.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Branches %]
2
[% USE Branches %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
Lines 67-73 Link Here
67
</div>
68
</div>
68
69
69
[% MACRO jsinclude BLOCK %]
70
[% MACRO jsinclude BLOCK %]
70
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu_[% KOHA_VERSION %].js"></script>
71
    [% Asset.js("js/admin-menu.js") %]
71
[% END %]
72
[% END %]
72
73
73
[% INCLUDE 'intranet-bottom.inc' %]
74
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% SET panel_id = 0 %]
3
[% SET panel_id = 0 %]
3
[% BLOCK pagelist %]
4
[% BLOCK pagelist %]
Lines 165-171 Link Here
165
  </div>
166
  </div>
166
167
167
[% MACRO jsinclude BLOCK %]
168
[% MACRO jsinclude BLOCK %]
168
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu_[% KOHA_VERSION %].js"></script>
169
    [% Asset.js("js/admin-menu.js") %]
169
    <script type="text/javascript">
170
    <script type="text/javascript">
170
        $(document).ready( function() {
171
        $(document).ready( function() {
171
            var accordion = $( "#modules" ).accordion({
172
            var accordion = $( "#modules" ).accordion({
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt (-2 / +3 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[% USE ColumnsSettings %]
3
[% USE ColumnsSettings %]
3
[% USE HtmlTags %]
4
[% USE HtmlTags %]
Lines 8-14 Link Here
8
[% IF op == 'delete_confirm' %]Confirm deletion of currency '[% currency.currency %]'[% END %]
9
[% IF op == 'delete_confirm' %]Confirm deletion of currency '[% currency.currency %]'[% END %]
9
[% IF op == 'list' %]Currencies[% END %]</title>
10
[% IF op == 'list' %]Currencies[% END %]</title>
10
[% INCLUDE 'doc-head-close.inc' %]
11
[% INCLUDE 'doc-head-close.inc' %]
11
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
12
[% Asset.css("css/datatables.css") %]
12
</head>
13
</head>
13
14
14
<body id="admin_currency" class="admin">
15
<body id="admin_currency" class="admin">
Lines 225-231 Link Here
225
</div>
226
</div>
226
227
227
[% MACRO jsinclude BLOCK %]
228
[% MACRO jsinclude BLOCK %]
228
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu_[% KOHA_VERSION %].js"></script>
229
    [% Asset.js("js/admin-menu.js") %]
229
    [% INCLUDE 'datatables.inc' %]
230
    [% INCLUDE 'datatables.inc' %]
230
    [% INCLUDE 'columns_settings.inc' %]
231
    [% INCLUDE 'columns_settings.inc' %]
231
    <script type="text/javascript">
232
    <script type="text/javascript">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/didyoumean.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% BLOCK pluginlist %]
3
[% BLOCK pluginlist %]
3
<div class="pluginlist">
4
<div class="pluginlist">
Lines 68-74 Link Here
68
</div>
69
</div>
69
70
70
[% MACRO jsinclude BLOCK %]
71
[% MACRO jsinclude BLOCK %]
71
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu_[% KOHA_VERSION %].js"></script>
72
    [% Asset.js("js/admin-menu.js") %]
72
    <script type="text/javascript">
73
    <script type="text/javascript">
73
        $(document).ready(function() {
74
        $(document).ready(function() {
74
            $( ".pluginlist" ).sortable();
75
            $( ".pluginlist" ).sortable();
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_accounts.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Administration &rsaquo; EDI accounts
4
<title>Koha &rsaquo; Administration &rsaquo; EDI accounts
Lines 325-330 Link Here
325
</div>
326
</div>
326
327
327
[% MACRO jsinclude BLOCK %]
328
[% MACRO jsinclude BLOCK %]
328
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu_[% KOHA_VERSION %].js"></script>
329
    [% Asset.js("js/admin-menu.js") %]
329
[% END %]
330
[% END %]
330
[% INCLUDE 'intranet-bottom.inc' %]
331
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_ean_accounts.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Administration &rsaquo; Library EANs
4
<title>Koha &rsaquo; Administration &rsaquo; Library EANs
Lines 171-176 Link Here
171
</div>
172
</div>
172
173
173
[% MACRO jsinclude BLOCK %]
174
[% MACRO jsinclude BLOCK %]
174
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu_[% KOHA_VERSION %].js"></script>
175
    [% Asset.js("js/admin-menu.js") %]
175
[% END %]
176
[% END %]
176
[% INCLUDE 'intranet-bottom.inc' %]
177
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/fieldmapping.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Administration &rsaquo; Keyword to MARC mapping</title>
4
<title>Koha &rsaquo; Administration &rsaquo; Keyword to MARC mapping</title>
Lines 74-80 Link Here
74
	</div>
75
	</div>
75
76
76
[% MACRO jsinclude BLOCK %]
77
[% MACRO jsinclude BLOCK %]
77
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu_[% KOHA_VERSION %].js"></script>
78
    [% Asset.js("js/admin-menu.js") %]
78
    <script type="text/javascript">
79
    <script type="text/javascript">
79
        $(document).ready(function() {
80
        $(document).ready(function() {
80
            $('#selectframework').find("input:submit").hide();
81
            $('#selectframework').find("input:submit").hide();
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/item_circulation_alerts.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Branches %]
2
[% USE Branches %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
Lines 158-164 table.grid td.default { Link Here
158
</div>
159
</div>
159
160
160
[% MACRO jsinclude BLOCK %]
161
[% MACRO jsinclude BLOCK %]
161
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu_[% KOHA_VERSION %].js"></script>
162
    [% Asset.js("js/admin-menu.js") %]
162
    <script type="text/javascript">
163
    <script type="text/javascript">
163
        var $branch = "[% branch %]";
164
        var $branch = "[% branch %]";
164
        $(function(){
165
        $(function(){
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/items_search_field.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% USE AuthorisedValues %]
3
[% USE AuthorisedValues %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
Lines 41-47 Link Here
41
    </div>
42
    </div>
42
43
43
[% MACRO jsinclude BLOCK %]
44
[% MACRO jsinclude BLOCK %]
44
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu_[% KOHA_VERSION %].js"></script>
45
    [% Asset.js("js/admin-menu.js") %]
45
[% END %]
46
[% END %]
46
47
47
[% INCLUDE 'intranet-bottom.inc' %]
48
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/items_search_fields.tt (-2 / +3 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% USE AuthorisedValues %]
3
[% USE AuthorisedValues %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
Lines 109-119 Link Here
109
    </div>
110
    </div>
110
111
111
[% MACRO jsinclude BLOCK %]
112
[% MACRO jsinclude BLOCK %]
112
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu_[% KOHA_VERSION %].js"></script>
113
    [% Asset.js("js/admin-menu.js") %]
113
    <script type="text/javascript">
114
    <script type="text/javascript">
114
        var MSG_ITEM_SEARCH_DELETE_CONFIRM = _("Are you sure you want to delete this field?");
115
        var MSG_ITEM_SEARCH_DELETE_CONFIRM = _("Are you sure you want to delete this field?");
115
    </script>
116
    </script>
116
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/item_search_fields_[% KOHA_VERSION %].js"></script>
117
    [% Asset.js("js/item_search_fields.js") %]
117
[% END %]
118
[% END %]
118
119
119
[% INCLUDE 'intranet-bottom.inc' %]
120
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt (-2 / +3 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE AuthorisedValues %]
3
[% USE AuthorisedValues %]
3
[% USE Price %]
4
[% USE Price %]
Lines 22-28 Data deleted Link Here
22
[% END %]
23
[% END %]
23
</title>
24
</title>
24
[% INCLUDE 'doc-head-close.inc' %]
25
[% INCLUDE 'doc-head-close.inc' %]
25
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
26
[% Asset.css("css/datatables.css") %]
26
<style type="text/css">
27
<style type="text/css">
27
	fieldset.rows div.toptabs li { clear:none;margin-right:.5em;padding-bottom:0;width:auto; }
28
	fieldset.rows div.toptabs li { clear:none;margin-right:.5em;padding-bottom:0;width:auto; }
28
  fieldset.rows div.toptabs .ui-tabs-nav li.ui-tabs-active {background-color : #F4F8F9; }
29
  fieldset.rows div.toptabs .ui-tabs-nav li.ui-tabs-active {background-color : #F4F8F9; }
Lines 395-401 Item types administration Link Here
395
</div>
396
</div>
396
397
397
[% MACRO jsinclude BLOCK %]
398
[% MACRO jsinclude BLOCK %]
398
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu_[% KOHA_VERSION %].js"></script>
399
    [% Asset.js("js/admin-menu.js") %]
399
    [% INCLUDE 'greybox.inc' %]
400
    [% INCLUDE 'greybox.inc' %]
400
    [% INCLUDE 'datatables.inc' %]
401
    [% INCLUDE 'datatables.inc' %]
401
    <script type="text/javascript">
402
    <script type="text/javascript">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/koha2marclinks.tt (-2 / +3 lines)
Lines 1-8 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Administration &rsaquo; Koha to MARC mapping</title>
4
<title>Koha &rsaquo; Administration &rsaquo; Koha to MARC mapping</title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
5
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
6
[% Asset.css("css/datatables.css") %]
6
</head>
7
</head>
7
8
8
<body id="admin_koha2marclinks" class="admin">
9
<body id="admin_koha2marclinks" class="admin">
Lines 68-74 Link Here
68
69
69
[% MACRO jsinclude BLOCK %]
70
[% MACRO jsinclude BLOCK %]
70
    [% INCLUDE 'datatables.inc' %]
71
    [% INCLUDE 'datatables.inc' %]
71
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu_[% KOHA_VERSION %].js"></script>
72
    [% Asset.js("js/admin-menu.js") %]
72
    <script type="text/javascript">
73
    <script type="text/javascript">
73
        function AddFld(kohafield) {
74
        function AddFld(kohafield) {
74
            var fieldstr = prompt( _("Adding a mapping for: %s.").format(kohafield) + "\n" + _("Please enter field tag and subfield code, separated by a comma. (For control fields: add '@' as subfield code.)\nThe change will be applied immediately.") );
75
            var fieldstr = prompt( _("Adding a mapping for: %s.").format(kohafield) + "\n" + _("Please enter field tag and subfield code, separated by a comma. (For control fields: add '@' as subfield code.)\nThe change will be applied immediately.") );
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/library_groups.tt (-2 / +3 lines)
Lines 1-9 Link Here
1
[% USE Asset %]
1
[% USE KohaSpan %]
2
[% USE KohaSpan %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Administration &rsaquo; Library groups</title>
4
<title>Koha &rsaquo; Administration &rsaquo; Library groups</title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
5
<link href="[% interface %]/lib/jquery/plugins/treetable/stylesheets/jquery.treetable_[% KOHA_VERSION %].css" rel="stylesheet" type="text/css" />
6
[% Asset.css("lib/jquery/plugins/treetable/stylesheets/jquery.treetable.css") %]
6
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/treetable/jquery.treetable_[% KOHA_VERSION %].js"></script>
7
[% Asset.js("lib/jquery/plugins/treetable/jquery.treetable.js") %]
7
<script type="text/javascript">
8
<script type="text/javascript">
8
//<![CDATA[
9
//<![CDATA[
9
    $(document).ready(function() {
10
    $(document).ready(function() {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/localization.tt (-1 / +2 lines)
Lines 1-8 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Localization</title>
4
<title>Koha &rsaquo; Localization</title>
4
[% INCLUDE 'doc-head-close.inc' popup => 1 %]
5
[% INCLUDE 'doc-head-close.inc' popup => 1 %]
5
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
6
[% Asset.css("css/datatables.css") %]
6
</head>
7
</head>
7
8
8
<body id="admin_localization" class="admin">
9
<body id="admin_localization" class="admin">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt (-2 / +3 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Administration &rsaquo;[% IF ( add_form ) %][% IF ( use_heading_flags_p ) %][% IF ( heading_edit_subfields_p ) %] MARC subfield structure &rsaquo; Edit MARC subfields constraints[% END %][% ELSE %] MARC subfield structure &rsaquo; [% action %][% END %][% END %]
4
<title>Koha &rsaquo; Administration &rsaquo;[% IF ( add_form ) %][% IF ( use_heading_flags_p ) %][% IF ( heading_edit_subfields_p ) %] MARC subfield structure &rsaquo; Edit MARC subfields constraints[% END %][% ELSE %] MARC subfield structure &rsaquo; [% action %][% END %][% END %]
Lines 318-324 Link Here
318
</div>
319
</div>
319
320
320
[% MACRO jsinclude BLOCK %]
321
[% MACRO jsinclude BLOCK %]
321
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu_[% KOHA_VERSION %].js"></script>
322
    [% Asset.js("js/admin-menu.js") %]
322
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/marc_subfields_structure_[% KOHA_VERSION %].js"></script>
323
    [% Asset.js("js/marc_subfields_structure.js") %]
323
[% END %]
324
[% END %]
324
[% INCLUDE 'intranet-bottom.inc' %]
325
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt (-3 / +4 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE AuthorisedValues %]
2
[% USE AuthorisedValues %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
Lines 7-13 Link Here
7
[% IF ( delete_confirmed ) %]MARC frameworks &rsaquo;  Data deleted[% END %]
8
[% IF ( delete_confirmed ) %]MARC frameworks &rsaquo;  Data deleted[% END %]
8
[% IF ( else ) %]MARC frameworks[% END %]</title>
9
[% IF ( else ) %]MARC frameworks[% END %]</title>
9
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
10
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
11
[% Asset.css("css/datatables.css") %]
11
</head>
12
</head>
12
13
13
<body id="admin_marctagstructure" class="admin">
14
<body id="admin_marctagstructure" class="admin">
Lines 242-249 Link Here
242
243
243
[% MACRO jsinclude BLOCK %]
244
[% MACRO jsinclude BLOCK %]
244
    [% INCLUDE 'datatables.inc' %]
245
    [% INCLUDE 'datatables.inc' %]
245
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu_[% KOHA_VERSION %].js"></script>
246
    [% Asset.js("js/admin-menu.js") %]
246
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.cookie.min_[% KOHA_VERSION %].js"></script>
247
    [% Asset.js("lib/jquery/plugins/jquery.cookie.min.js") %]
247
    <script type="text/javascript">
248
    <script type="text/javascript">
248
        $(document).ready(function() {
249
        $(document).ready(function() {
249
            $("#table_marctagstructure").dataTable($.extend(true, {}, dataTablesDefaults, {
250
            $("#table_marctagstructure").dataTable($.extend(true, {}, dataTablesDefaults, {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/matching-rules.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Administration &rsaquo; Record matching rules
4
<title>Koha &rsaquo; Administration &rsaquo; Record matching rules
Lines 579-585 Link Here
579
</div>
580
</div>
580
581
581
[% MACRO jsinclude BLOCK %]
582
[% MACRO jsinclude BLOCK %]
582
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu_[% KOHA_VERSION %].js"></script>
583
    [% Asset.js("js/admin-menu.js") %]
583
    <script type="text/javascript">
584
    <script type="text/javascript">
584
        var maxMatchPoint = [% max_matchpoint %];
585
        var maxMatchPoint = [% max_matchpoint %];
585
        var maxMatchCheck = [% max_matchcheck %];
586
        var maxMatchCheck = [% max_matchcheck %];
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_set_mappings.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Administration &rsaquo; OAI sets &rsaquo; OAI set mappings</title>
4
<title>Koha &rsaquo; Administration &rsaquo; OAI sets &rsaquo; OAI set mappings</title>
Lines 93-99 Link Here
93
</div>
94
</div>
94
95
95
[% MACRO jsinclude BLOCK %]
96
[% MACRO jsinclude BLOCK %]
96
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu_[% KOHA_VERSION %].js"></script>
97
    [% Asset.js("js/admin-menu.js") %]
97
    <script type="text/javascript">
98
    <script type="text/javascript">
98
        $(document).ready(function() {
99
        $(document).ready(function() {
99
            $("#mappingform").submit(function(){
100
            $("#mappingform").submit(function(){
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_sets.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Administration &rsaquo; [% IF ( op_new ) %]OAI sets configuration &rsaquo; Add a new OAI set[% ELSE %]OAI sets configuration[% END %]</title>
4
<title>Koha &rsaquo; Administration &rsaquo; [% IF ( op_new ) %]OAI sets configuration &rsaquo; Add a new OAI set[% ELSE %]OAI sets configuration[% END %]</title>
Lines 113-119 Link Here
113
</div>
114
</div>
114
115
115
[% MACRO jsinclude BLOCK %]
116
[% MACRO jsinclude BLOCK %]
116
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu_[% KOHA_VERSION %].js"></script>
117
    [% Asset.js("js/admin-menu.js") %]
117
    <script type="text/javascript">
118
    <script type="text/javascript">
118
        function newDescField() {
119
        function newDescField() {
119
            $("#adddescription").before(
120
            $("#adddescription").before(
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE AuthorisedValues %]
2
[% USE AuthorisedValues %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
Lines 299-305 Link Here
299
</div>
300
</div>
300
301
301
[% MACRO jsinclude BLOCK %]
302
[% MACRO jsinclude BLOCK %]
302
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu_[% KOHA_VERSION %].js"></script>
303
    [% Asset.js("js/admin-menu.js") %]
303
    <script type="text/javascript">
304
    <script type="text/javascript">
304
        $(document).ready(function() {
305
        $(document).ready(function() {
305
            if ( $("#branches option:selected").length < 1 ) {
306
            if ( $("#branches option:selected").length < 1 ) {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt (-6 / +7 lines)
Lines 1-12 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Koha &rsaquo; Administration &rsaquo; System preferences</title>
5
<title>Koha &rsaquo; Administration &rsaquo; System preferences</title>
5
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
6
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
7
[% Asset.css("css/datatables.css") %]
7
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/preferences_[% KOHA_VERSION %].css" />
8
[% Asset.css("css/preferences.css") %]
8
<link rel="stylesheet" type="text/css" href="[% interface %]/lib/jquery/plugins/multiple-select/multiple-select_[% KOHA_VERSION %].css" />
9
[% Asset.css("lib/jquery/plugins/multiple-select/multiple-select.css") %]
9
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/humanmsg_[% KOHA_VERSION %].css" />
10
[% Asset.css("css/humanmsg.css") %]
10
</head>
11
</head>
11
<body id="admin_preferences" class="admin">
12
<body id="admin_preferences" class="admin">
12
[% INCLUDE 'header.inc' %]
13
[% INCLUDE 'header.inc' %]
Lines 154-161 Link Here
154
155
155
[% MACRO jsinclude BLOCK %]
156
[% MACRO jsinclude BLOCK %]
156
    [% INCLUDE 'datatables.inc' %]
157
    [% INCLUDE 'datatables.inc' %]
157
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.fixFloat_[% KOHA_VERSION %].js"></script>
158
    [% Asset.js("lib/jquery/plugins/jquery.fixFloat.js") %]
158
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/multiple-select/jquery.multiple.select_[% KOHA_VERSION %].js"></script>
159
    [% Asset.js("lib/jquery/plugins/multiple-select/jquery.multiple.select.js") %]
159
    <script type="text/javascript">
160
    <script type="text/javascript">
160
        [% UNLESS ( searchfield ) %]$(document).ready(function(){
161
        [% UNLESS ( searchfield ) %]$(document).ready(function(){
161
                $('#toolbar').fixFloat();
162
                $('#toolbar').fixFloat();
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/printers.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Administration &rsaquo;
3
<title>Koha &rsaquo; Administration &rsaquo;
3
[% IF ( add_form ) %][% IF ( searchfield ) %] Printers &rsaquo; Modify printer '[% searchfield %]'[% ELSE %] Printers &rsaquo; New printer[% END %][% END %]
4
[% IF ( add_form ) %][% IF ( searchfield ) %] Printers &rsaquo; Modify printer '[% searchfield %]'[% ELSE %] Printers &rsaquo; New printer[% END %][% END %]
Lines 7-13 Link Here
7
[% IF ( else ) %]Printers[% END %]</title>
8
[% IF ( else ) %]Printers[% END %]</title>
8
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
9
[% IF ( loop ) %]
10
[% IF ( loop ) %]
10
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
11
[% Asset.css("css/datatables.css") %]
11
[% INCLUDE 'datatables.inc' %]
12
[% INCLUDE 'datatables.inc' %]
12
<script type="text/javascript">
13
<script type="text/javascript">
13
//<![CDATA[
14
//<![CDATA[
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/searchengine/elasticsearch/mappings.tt (-1 / +2 lines)
Lines 1-7 Link Here
1
[% USE Asset %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Administration &rsaquo; Elastic Search mappings</title>
3
<title>Koha &rsaquo; Administration &rsaquo; Elastic Search mappings</title>
3
[% INCLUDE 'doc-head-close.inc' %]
4
[% INCLUDE 'doc-head-close.inc' %]
4
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.tablednd_[% KOHA_VERSION %].js"></script>
5
[% Asset.js("lib/jquery/plugins/jquery.tablednd.js") %]
5
<script type="text/javascript">
6
<script type="text/javascript">
6
    function clean_line( line ) {
7
    function clean_line( line ) {
7
        $(line).find('input[type="text"]').val("");
8
        $(line).find('input[type="text"]').val("");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Branches %]
2
[% USE Branches %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
Lines 731-737 Link Here
731
</div>
732
</div>
732
733
733
[% MACRO jsinclude BLOCK %]
734
[% MACRO jsinclude BLOCK %]
734
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu_[% KOHA_VERSION %].js"></script>
735
    [% Asset.js("js/admin-menu.js") %]
735
    [% INCLUDE 'calendar.inc' %]
736
    [% INCLUDE 'calendar.inc' %]
736
    <script type="text/javascript">
737
    <script type="text/javascript">
737
738
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/sms_providers.tt (-2 / +3 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Administration &rsaquo; SMS cellular providers</title>
4
<title>Koha &rsaquo; Administration &rsaquo; SMS cellular providers</title>
Lines 96-108 Link Here
96
</div>
97
</div>
97
98
98
[% MACRO jsinclude BLOCK %]
99
[% MACRO jsinclude BLOCK %]
99
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu_[% KOHA_VERSION %].js"></script>
100
    [% Asset.js("js/admin-menu.js") %]
100
    <script type="text/javascript">
101
    <script type="text/javascript">
101
        var MSG_SMS_PATRONS_USING = _("Are you sure you want to delete %s? %s patron(s) are using it!");
102
        var MSG_SMS_PATRONS_USING = _("Are you sure you want to delete %s? %s patron(s) are using it!");
102
        var MSG_SMS_DELETE_CONFIRM = _("Are you sure you want to delete %s?");
103
        var MSG_SMS_DELETE_CONFIRM = _("Are you sure you want to delete %s?");
103
        var LABEL_SMS_ADD_PROVIDER = _("Add an SMS cellular provider");
104
        var LABEL_SMS_ADD_PROVIDER = _("Add an SMS cellular provider");
104
        var LABEL_SMS_EDIT_PROVIDER = _("Edit provider %s");
105
        var LABEL_SMS_EDIT_PROVIDER = _("Edit provider %s");
105
    </script>
106
    </script>
106
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/sms_providers_[% KOHA_VERSION %].js"></script>
107
    [% Asset.js("js/sms_providers.js") %]
107
[% END %]
108
[% END %]
108
[% INCLUDE 'intranet-bottom.inc' %]
109
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/sru_modmapping.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; SRU search fields mapping</title>
4
<title>Koha &rsaquo; SRU search fields mapping</title>
Lines 71-77 Link Here
71
    </div>
72
    </div>
72
73
73
[% MACRO jsinclude BLOCK %]
74
[% MACRO jsinclude BLOCK %]
74
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu_[% KOHA_VERSION %].js"></script>
75
    [% Asset.js("js/admin-menu.js") %]
75
    <script type="text/javascript">
76
    <script type="text/javascript">
76
        $(document).ready(function() {
77
        $(document).ready(function() {
77
            $("#form01").submit(function(event) {
78
            $("#form01").submit(function(event) {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/systempreferences.tt (-1 / +2 lines)
Lines 1-10 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Koha &rsaquo; Administration &rsaquo; [% IF ( add_form ) %] System preferences &rsaquo; [% IF ( modify ) %]Modify system preference '[% searchfield %]'[% ELSE %]Add a system preference[% END %][% END %][% IF ( add_validate ) %] System preferences &rsaquo; Data added[% END %]
5
<title>Koha &rsaquo; Administration &rsaquo; [% IF ( add_form ) %] System preferences &rsaquo; [% IF ( modify ) %]Modify system preference '[% searchfield %]'[% ELSE %]Add a system preference[% END %][% END %][% IF ( add_validate ) %] System preferences &rsaquo; Data added[% END %]
5
[% IF ( delete_confirm ) %] System preferences &rsaquo; [% searchfield %] &rsaquo; Confirm deletion of parameter '[% searchfield %]'[% END %][% IF ( delete_confirmed ) %] System preferences &rsaquo; Parameter deleted[% END %][% IF ( else ) %]System preferences[% END %]</title>
6
[% IF ( delete_confirm ) %] System preferences &rsaquo; [% searchfield %] &rsaquo; Confirm deletion of parameter '[% searchfield %]'[% END %][% IF ( delete_confirmed ) %] System preferences &rsaquo; Parameter deleted[% END %][% IF ( else ) %]System preferences[% END %]</title>
6
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
7
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
8
[% Asset.css("css/datatables.css") %]
8
</head>
9
</head>
9
10
10
<body id="admin_systempreferences" class="admin">
11
<body id="admin_systempreferences" class="admin">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/transport-cost-matrix.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Branches %]
2
[% USE Branches %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
Lines 91-97 Link Here
91
</div>
92
</div>
92
93
93
[% MACRO jsinclude BLOCK %]
94
[% MACRO jsinclude BLOCK %]
94
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu_[% KOHA_VERSION %].js"></script>
95
    [% Asset.js("js/admin-menu.js") %]
95
    <script type="text/javascript">
96
    <script type="text/javascript">
96
        function check_transport_cost(e) {
97
        function check_transport_cost(e) {
97
            var val = e.value;
98
            var val = e.value;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/usage_statistics.tt (-2 / +3 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% USE Koha %]
3
[% USE Koha %]
3
[% USE KohaDates %]
4
[% USE KohaDates %]
Lines 5-11 Link Here
5
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Koha &rsaquo; Administration &rsaquo; Koha usage statistics</title>
7
<title>Koha &rsaquo; Administration &rsaquo; Koha usage statistics</title>
7
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
8
<link rel="stylesheet" href="[% interface %]/lib/leaflet/leaflet_[% KOHA_VERSION %].css" />
9
[% Asset.css("lib/leaflet/leaflet.css") %]
9
</head>
10
</head>
10
11
11
<body id="admin_usage_statistics" class="admin">
12
<body id="admin_usage_statistics" class="admin">
Lines 228-234 Link Here
228
229
229
[% MACRO jsinclude BLOCK %]
230
[% MACRO jsinclude BLOCK %]
230
    [% INCLUDE 'calendar.inc' %]
231
    [% INCLUDE 'calendar.inc' %]
231
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu_[% KOHA_VERSION %].js"></script>
232
    [% Asset.js("js/admin-menu.js") %]
232
    <script src="[% interface %]/lib/leaflet/leaflet.js"></script>
233
    <script src="[% interface %]/lib/leaflet/leaflet.js"></script>
233
    <script type="text/javascript">
234
    <script type="text/javascript">
234
        function positionMap() {
235
        function positionMap() {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt (-2 / +3 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
4
Lines 16-22 Link Here
16
[% INCLUDE 'doc-head-close.inc' %]
17
[% INCLUDE 'doc-head-close.inc' %]
17
18
18
[% IF op == 'list' %]
19
[% IF op == 'list' %]
19
    <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
20
    [% Asset.css("css/datatables.css") %]
20
[% END %]
21
[% END %]
21
</head>
22
</head>
22
23
Lines 198-204 Link Here
198
</div>
199
</div>
199
200
200
[% MACRO jsinclude BLOCK %]
201
[% MACRO jsinclude BLOCK %]
201
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu_[% KOHA_VERSION %].js"></script>
202
    [% Asset.js("js/admin-menu.js") %]
202
    [% IF op == 'list' %]
203
    [% IF op == 'list' %]
203
        [% INCLUDE 'datatables.inc' %]
204
        [% INCLUDE 'datatables.inc' %]
204
    [% END %]
205
    [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/auth_finder.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Cataloging authority plugin</title>
4
<title>Koha &rsaquo; Cataloging authority plugin</title>
Lines 15-21 Link Here
15
        var index = "[% index %]";
16
        var index = "[% index %]";
16
        var authtypecode = "[% authtypecode %]";
17
        var authtypecode = "[% authtypecode %]";
17
    </script>
18
    </script>
18
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/auth-finder-search_[% KOHA_VERSION %].js"></script>
19
    [% Asset.js("js/auth-finder-search.js") %]
19
[% END %]
20
[% END %]
20
21
21
[% INCLUDE 'intranet-bottom.inc' popup_window = 1 %]
22
[% INCLUDE 'intranet-bottom.inc' popup_window = 1 %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt (-4 / +5 lines)
Lines 1-8 Link Here
1
[% USE Asset %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Authorities &rsaquo; [% IF ( authid ) %]Modify authority #[% authid %] ([% authtypetext %])[% ELSE %]Adding authority ([% authtypetext %])[% END %]</title>
3
<title>Koha &rsaquo; Authorities &rsaquo; [% IF ( authid ) %]Modify authority #[% authid %] ([% authtypetext %])[% ELSE %]Adding authority ([% authtypetext %])[% END %]</title>
3
[% INCLUDE 'doc-head-close.inc' %]
4
[% INCLUDE 'doc-head-close.inc' %]
4
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.fixFloat_[% KOHA_VERSION %].js"></script>
5
[% Asset.js("lib/jquery/plugins/jquery.fixFloat.js") %]
5
<script type="text/javascript" src="[% interface %]/[% theme %]/js/cataloging_[% KOHA_VERSION %].js"></script>
6
[% Asset.js("js/cataloging.js") %]
6
7
7
<script type="text/javascript">
8
<script type="text/javascript">
8
//<![CDATA[
9
//<![CDATA[
Lines 152-158 function confirmnotdup(redirect){ Link Here
152
}
153
}
153
//]]>
154
//]]>
154
</script>
155
</script>
155
<link type="text/css" rel="stylesheet" href="[% interface %]/[% theme %]/css/addbiblio_[% KOHA_VERSION %].css" />
156
[% Asset.css("css/addbiblio.css") %]
156
157
157
[% INCLUDE 'select2.inc' %]
158
[% INCLUDE 'select2.inc' %]
158
<script>
159
<script>
Lines 162-168 function confirmnotdup(redirect){ Link Here
162
</script>
163
</script>
163
164
164
[% IF ( bidi ) %]
165
[% IF ( bidi ) %]
165
   <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/right-to-left_[% KOHA_VERSION %].css" />
166
   [% Asset.css("css/right-to-left.css") %]
166
[% END %]
167
[% END %]
167
</head>
168
</head>
168
<body id="auth_authorities" class="auth">
169
<body id="auth_authorities" class="auth">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% PROCESS 'authorities.inc' %]
3
[% PROCESS 'authorities.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
Lines 96-102 Link Here
96
[% MACRO jsinclude BLOCK %]
97
[% MACRO jsinclude BLOCK %]
97
    [% INCLUDE 'authorities_js.inc' %]
98
    [% INCLUDE 'authorities_js.inc' %]
98
    [% IF ( displayhierarchy ) %]
99
    [% IF ( displayhierarchy ) %]
99
        <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.jstree_[% KOHA_VERSION %].js"></script>
100
        [% Asset.js("lib/jquery/plugins/jquery.jstree.js") %]
100
    [% END %]
101
    [% END %]
101
    <script type="text/javascript">
102
    <script type="text/javascript">
102
        $(document).ready(function() {
103
        $(document).ready(function() {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/merge.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% PROCESS 'merge-record.inc' %]
2
[% PROCESS 'merge-record.inc' %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
Lines 106-112 div#result { margin-top: 1em; } Link Here
106
[% MACRO jsinclude BLOCK %]
107
[% MACRO jsinclude BLOCK %]
107
    [% INCLUDE 'merge-record-strings.inc' %]
108
    [% INCLUDE 'merge-record-strings.inc' %]
108
    [% INCLUDE 'authorities_js.inc' %]
109
    [% INCLUDE 'authorities_js.inc' %]
109
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/merge-record_[% KOHA_VERSION %].js"></script>
110
    [% Asset.js("js/merge-record.js") %]
110
    [% INCLUDE 'merge-record-strings.inc' %]
111
    [% INCLUDE 'merge-record-strings.inc' %]
111
    <script type="text/javascript">
112
    <script type="text/javascript">
112
    //<![CDATA[
113
    //<![CDATA[
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% PROCESS 'authorities-search-results.inc' %]
3
[% PROCESS 'authorities-search-results.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
Lines 89-95 Link Here
89
        var index = "[% index %]";
90
        var index = "[% index %]";
90
        var authtypecode = "[% authtypecode %]";
91
        var authtypecode = "[% authtypecode %]";
91
    </script>
92
    </script>
92
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/auth-finder-search_[% KOHA_VERSION %].js"></script>
93
    [% Asset.js("js/auth-finder-search.js") %]
93
    <script type="text/javascript">
94
    <script type="text/javascript">
94
95
95
        function jumpfull(page){
96
        function jumpfull(page){
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt (-3 / +4 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% BLOCK controls %]
3
[% BLOCK controls %]
3
    <p style="padding: 7px 0; border-top : 1px solid #E8E8E8;">
4
    <p style="padding: 7px 0; border-top : 1px solid #E8E8E8;">
Lines 32-38 Link Here
32
    @import url([% interface %]/[% theme %]/css/print.css);
33
    @import url([% interface %]/[% theme %]/css/print.css);
33
</style>
34
</style>
34
    [% ELSE %][% INCLUDE 'doc-head-close.inc' %]
35
    [% ELSE %][% INCLUDE 'doc-head-close.inc' %]
35
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
36
[% Asset.css("css/datatables.css") %]
36
	[% END %]
37
	[% END %]
37
</head>
38
</head>
38
[% IF ( print_basket ) %]<body id="cart_basket" class="cart" onload="print();history.back();">[% ELSE %]<body id="cart_basket" class="cart">[% END %]
39
[% IF ( print_basket ) %]<body id="cart_basket" class="cart" onload="print();history.back();">[% ELSE %]<body id="cart_basket" class="cart">[% END %]
Lines 295-302 Link Here
295
            [% INCLUDE js_includes.inc %]
296
            [% INCLUDE js_includes.inc %]
296
            [% UNLESS ( print_basket ) %]
297
            [% UNLESS ( print_basket ) %]
297
                [% INCLUDE 'datatables.inc' %]
298
                [% INCLUDE 'datatables.inc' %]
298
                <script type="text/javascript" src="[% interface %]/[% theme %]/js/cart_[% KOHA_VERSION %].js"></script>
299
                [% Asset.js("js/cart.js") %]
299
                <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min_[% KOHA_VERSION %].js"></script>
300
                [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") %]
300
            [% END %]
301
            [% END %]
301
    </body>
302
    </body>
302
</html>
303
</html>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tt (-2 / +3 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Catalog &rsaquo;
4
<title>Koha &rsaquo; Catalog &rsaquo;
Lines 48-56 Link Here
48
49
49
[% MACRO jsinclude BLOCK %]
50
[% MACRO jsinclude BLOCK %]
50
    [% INCLUDE 'catalog-strings.inc' %]
51
    [% INCLUDE 'catalog-strings.inc' %]
51
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/catalog_[% KOHA_VERSION %].js"></script>
52
    [% Asset.js("js/catalog.js") %]
52
    [% INCLUDE 'browser-strings.inc' %]
53
    [% INCLUDE 'browser-strings.inc' %]
53
    <script type="text/javascript" src="[% interface %]/js/browser_[% KOHA_VERSION %].js"></script>
54
    [% Asset.js("js/browser.js") %]
54
    <script type="text/javascript">
55
    <script type="text/javascript">
55
        var browser = KOHA.browser('[% searchid %]', parseInt('[% biblionumber %]', 10));
56
        var browser = KOHA.browser('[% searchid %]', parseInt('[% biblionumber %]', 10));
56
        browser.show();
57
        browser.show();
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt (-2 / +3 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Catalog &rsaquo;
4
<title>Koha &rsaquo; Catalog &rsaquo;
Lines 177-185 Link Here
177
</div>
178
</div>
178
[% MACRO jsinclude BLOCK %]
179
[% MACRO jsinclude BLOCK %]
179
    [% INCLUDE 'catalog-strings.inc' %]
180
    [% INCLUDE 'catalog-strings.inc' %]
180
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/catalog_[% KOHA_VERSION %].js"></script>
181
    [% Asset.js("js/catalog.js") %]
181
    [% INCLUDE 'browser-strings.inc' %]
182
    [% INCLUDE 'browser-strings.inc' %]
182
    <script type="text/javascript" src="[% interface %]/js/browser_[% KOHA_VERSION %].js"></script>
183
    [% Asset.js("js/browser.js") %]
183
    <script type="text/javascript">
184
    <script type="text/javascript">
184
        var browser = KOHA.browser('[% searchid %]', parseInt('[% biblionumber %]', 10));
185
        var browser = KOHA.browser('[% searchid %]', parseInt('[% biblionumber %]', 10));
185
        browser.show();
186
        browser.show();
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Branches %]
2
[% USE Branches %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
Lines 276-282 Link Here
276
</div>
277
</div>
277
278
278
[% MACRO jsinclude BLOCK %]
279
[% MACRO jsinclude BLOCK %]
279
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.fixFloat_[% KOHA_VERSION %].js"></script>
280
    [% Asset.js("lib/jquery/plugins/jquery.fixFloat.js") %]
280
    <script type="text/JavaScript">
281
    <script type="text/JavaScript">
281
        /**
282
        /**
282
         *  Function add_field();
283
         *  Function add_field();
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-6 / +7 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE KohaDates %]
3
[% USE KohaDates %]
3
[% USE AuthorisedValues %]
4
[% USE AuthorisedValues %]
Lines 33-39 Link Here
33
  [% END %]
34
  [% END %]
34
</title>
35
</title>
35
[% INCLUDE 'doc-head-close.inc' %]
36
[% INCLUDE 'doc-head-close.inc' %]
36
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
37
[% Asset.css("css/datatables.css") %]
37
</head>
38
</head>
38
39
39
<body id="catalog_detail" class="catalog">
40
<body id="catalog_detail" class="catalog">
Lines 858-864 Link Here
858
859
859
[% MACRO jsinclude BLOCK %]
860
[% MACRO jsinclude BLOCK %]
860
    [% INCLUDE 'catalog-strings.inc' %]
861
    [% INCLUDE 'catalog-strings.inc' %]
861
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/catalog_[% KOHA_VERSION %].js"></script>
862
    [% Asset.js("js/catalog.js") %]
862
    [% INCLUDE 'greybox.inc' %]
863
    [% INCLUDE 'greybox.inc' %]
863
    <script type="text/javascript">
864
    <script type="text/javascript">
864
        // http://www.oreillynet.com/pub/a/javascript/2003/10/21/amazonhacks.html
865
        // http://www.oreillynet.com/pub/a/javascript/2003/10/21/amazonhacks.html
Lines 1046-1059 Link Here
1046
        });[% END %]
1047
        });[% END %]
1047
    </script>
1048
    </script>
1048
    [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectProfile') && ( normalized_isbn || normalized_upc ) ) %]
1049
    [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectProfile') && ( normalized_isbn || normalized_upc ) ) %]
1049
        <script type="text/javascript" src="https://imageserver.ebscohost.com/novelistselect/ns2init_[% KOHA_VERSION %].js"></script>
1050
        [% Asset.js("https://imageserver.ebscohost.com/novelistselect/ns2init.js") %]
1050
    [% END %]
1051
    [% END %]
1051
    [% INCLUDE 'datatables.inc' %]
1052
    [% INCLUDE 'datatables.inc' %]
1052
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.dataTables.columnFilter_[% KOHA_VERSION %].js"></script>
1053
    [% Asset.js("lib/jquery/plugins/jquery.dataTables.columnFilter.js") %]
1053
    [% INCLUDE 'browser-strings.inc' %]
1054
    [% INCLUDE 'browser-strings.inc' %]
1054
    [% INCLUDE 'columns_settings.inc' %]
1055
    [% INCLUDE 'columns_settings.inc' %]
1055
    <script type="text/javascript" src="[% interface %]/js/browser_[% KOHA_VERSION %].js"></script>
1056
    [% Asset.js("js/browser.js") %]
1056
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/table_filters_[% KOHA_VERSION %].js"></script>
1057
    [% Asset.js("js/table_filters.js") %]
1057
    <script type="text/javascript">
1058
    <script type="text/javascript">
1058
        var browser;
1059
        var browser;
1059
        browser = KOHA.browser('[% searchid %]', parseInt(biblionumber, 10));
1060
        browser = KOHA.browser('[% searchid %]', parseInt(biblionumber, 10));
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/imageviewer.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Catalog &rsaquo; Details for [% biblio.title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]</title>
4
<title>Koha &rsaquo; Catalog &rsaquo; Details for [% biblio.title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]</title>
Lines 90-96 img.thumbnail { Link Here
90
91
91
[% MACRO jsinclude BLOCK %]
92
[% MACRO jsinclude BLOCK %]
92
    [% INCLUDE 'catalog-strings.inc' %]
93
    [% INCLUDE 'catalog-strings.inc' %]
93
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/catalog_[% KOHA_VERSION %].js"></script>
94
    [% Asset.js("js/catalog.js") %]
94
    <script type="text/javascript">
95
    <script type="text/javascript">
95
        $(document).ready(function(){
96
        $(document).ready(function(){
96
            showCover([% imagenumber %]);
97
            showCover([% imagenumber %]);
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE KohaDates %]
3
[% USE KohaDates %]
3
[% USE Branches %]
4
[% USE Branches %]
Lines 5-11 Link Here
5
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Koha &rsaquo; Catalog &rsaquo; Checkout history for [% biblio.title |html %]</title>
7
<title>Koha &rsaquo; Catalog &rsaquo; Checkout history for [% biblio.title |html %]</title>
7
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
8
<link rel="stylesheet" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
9
[% Asset.css("css/datatables.css") %]
9
</head>
10
</head>
10
11
11
<body id="catalog_issuehistory" class="catalog">
12
<body id="catalog_issuehistory" class="catalog">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt (-4 / +5 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE JSON.Escape %]
2
[% USE JSON.Escape %]
2
3
3
[% BLOCK form_label %]
4
[% BLOCK form_label %]
Lines 102-109 Link Here
102
[% INCLUDE 'doc-head-open.inc' %]
103
[% INCLUDE 'doc-head-open.inc' %]
103
  <title>Koha &rsaquo; Catalog &rsaquo; Item search</title>
104
  <title>Koha &rsaquo; Catalog &rsaquo; Item search</title>
104
  [% INCLUDE 'doc-head-close.inc' %]
105
  [% INCLUDE 'doc-head-close.inc' %]
105
  <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/itemsearchform_[% KOHA_VERSION %].css" />
106
  [% Asset.css("css/itemsearchform.css") %]
106
  <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
107
  [% Asset.css("css/datatables.css") %]
107
</head>
108
</head>
108
109
109
<body id="catalog_itemsearch" class="catalog">
110
<body id="catalog_itemsearch" class="catalog">
Lines 204-211 Link Here
204
205
205
[% MACRO jsinclude BLOCK %]
206
[% MACRO jsinclude BLOCK %]
206
    [% INCLUDE 'datatables.inc' %]
207
    [% INCLUDE 'datatables.inc' %]
207
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.dataTables.columnFilter_[% KOHA_VERSION %].js"></script>
208
    [% Asset.js("lib/jquery/plugins/jquery.dataTables.columnFilter.js") %]
208
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.fixFloat_[% KOHA_VERSION %].js"></script>
209
    [% Asset.js("lib/jquery/plugins/jquery.fixFloat.js") %]
209
    <script type="text/javascript">
210
    <script type="text/javascript">
210
        var authorised_values = [% authorised_values_json %];
211
        var authorised_values = [% authorised_values_json %];
211
212
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/labeledMARCdetail.tt (-2 / +3 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
4
Lines 76-84 Link Here
76
77
77
[% MACRO jsinclude BLOCK %]
78
[% MACRO jsinclude BLOCK %]
78
    [% INCLUDE 'catalog-strings.inc' %]
79
    [% INCLUDE 'catalog-strings.inc' %]
79
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/catalog_[% KOHA_VERSION %].js"></script>
80
    [% Asset.js("js/catalog.js") %]
80
    [% INCLUDE 'browser-strings.inc' %]
81
    [% INCLUDE 'browser-strings.inc' %]
81
    <script type="text/javascript" src="[% interface %]/js/browser_[% KOHA_VERSION %].js"></script>
82
    [% Asset.js("js/browser.js") %]
82
    <script type="text/javascript">
83
    <script type="text/javascript">
83
    //<![CDATA[
84
    //<![CDATA[
84
        var browser = KOHA.browser('[% searchid %]', parseInt('[% biblionumber %]', 10));
85
        var browser = KOHA.browser('[% searchid %]', parseInt('[% biblionumber %]', 10));
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt (-2 / +3 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE Branches %]
3
[% USE Branches %]
3
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
Lines 277-285 Link Here
277
</div>
278
</div>
278
[% MACRO jsinclude BLOCK %]
279
[% MACRO jsinclude BLOCK %]
279
    [% INCLUDE 'catalog-strings.inc' %]
280
    [% INCLUDE 'catalog-strings.inc' %]
280
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/catalog_[% KOHA_VERSION %].js"></script>
281
    [% Asset.js("js/catalog.js") %]
281
    [% INCLUDE 'browser-strings.inc' %]
282
    [% INCLUDE 'browser-strings.inc' %]
282
    <script type="text/javascript" src="[% interface %]/js/browser_[% KOHA_VERSION %].js"></script>
283
    [% Asset.js("js/browser.js") %]
283
    <script type="text/javascript">
284
    <script type="text/javascript">
284
        var browser = KOHA.browser('[% searchid %]', parseInt('[% biblionumber %]', 10));
285
        var browser = KOHA.browser('[% searchid %]', parseInt('[% biblionumber %]', 10));
285
        browser.show();
286
        browser.show();
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt (-3 / +4 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE Biblio %]
3
[% USE Biblio %]
3
[% USE KohaDates %]
4
[% USE KohaDates %]
Lines 622-630 Link Here
622
623
623
[% MACRO jsinclude BLOCK %]
624
[% MACRO jsinclude BLOCK %]
624
    [% INCLUDE 'browser-strings.inc' %]
625
    [% INCLUDE 'browser-strings.inc' %]
625
    <script type="text/javascript" src="[% interface %]/js/browser_[% KOHA_VERSION %].js"></script>
626
    [% Asset.js("js/browser.js") %]
626
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.fixFloat_[% KOHA_VERSION %].js"></script>
627
    [% Asset.js("lib/jquery/plugins/jquery.fixFloat.js") %]
627
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min_[% KOHA_VERSION %].js"></script>
628
    [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") %]
628
    <script type="text/javascript">
629
    <script type="text/javascript">
629
        var MSG_NO_ITEM_SELECTED = _("Nothing is selected.");
630
        var MSG_NO_ITEM_SELECTED = _("Nothing is selected.");
630
        var MSG_NON_RESERVES_SELECTED = _("One or more selected items cannot be placed on hold.");
631
        var MSG_NON_RESERVES_SELECTED = _("One or more selected items cannot be placed on hold.");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/search-history.tt (-2 / +3 lines)
Lines 1-10 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
[% USE Koha %]
4
[% USE Koha %]
4
[% USE KohaDates %]
5
[% USE KohaDates %]
5
<title>Koha &rsaquo; Catalog &rsaquo; Search history</title>
6
<title>Koha &rsaquo; Catalog &rsaquo; Search history</title>
6
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
7
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
8
[% Asset.css("css/datatables.css") %]
8
</head>
9
</head>
9
10
10
<body id="catalogue_search-history" class="catalogue">
11
<body id="catalogue_search-history" class="catalogue">
Lines 193-199 Link Here
193
194
194
[% MACRO jsinclude BLOCK %]
195
[% MACRO jsinclude BLOCK %]
195
    [% INCLUDE 'datatables.inc' %]
196
    [% INCLUDE 'datatables.inc' %]
196
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min_[% KOHA_VERSION %].js"></script>
197
    [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") %]
197
    <script type="text/javascript">
198
    <script type="text/javascript">
198
    //<![CDATA[
199
    //<![CDATA[
199
    $(document).ready(function() {
200
    $(document).ready(function() {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt (-5 / +6 lines)
Lines 1-11 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Cataloging &rsaquo; [% IF ( biblionumber ) %]Editing [% title |html %] (Record number [% biblionumber %])[% ELSE %]Add MARC record[% END %]</title>
4
<title>Koha &rsaquo; Cataloging &rsaquo; [% IF ( biblionumber ) %]Editing [% title |html %] (Record number [% biblionumber %])[% ELSE %]Add MARC record[% END %]</title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
5
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.fixFloat_[% KOHA_VERSION %].js"></script>
6
[% Asset.js("lib/jquery/plugins/jquery.fixFloat.js") %]
6
<script type="text/javascript" src="[% interface %]/[% theme %]/js/cataloging_[% KOHA_VERSION %].js"></script>
7
[% Asset.js("js/cataloging.js") %]
7
[% INCLUDE 'browser-strings.inc' %]
8
[% INCLUDE 'browser-strings.inc' %]
8
<script type="text/javascript" src="[% interface %]/js/browser_[% KOHA_VERSION %].js"></script>
9
[% Asset.js("js/browser.js") %]
9
<script type="text/javascript">
10
<script type="text/javascript">
10
//<![CDATA[
11
//<![CDATA[
11
    var browser = KOHA.browser('[% searchid %]', parseInt('[% biblionumber %]', 10));
12
    var browser = KOHA.browser('[% searchid %]', parseInt('[% biblionumber %]', 10));
Lines 383-389 function Changefwk() { Link Here
383
384
384
//]]>
385
//]]>
385
</script>
386
</script>
386
<link type="text/css" rel="stylesheet" href="[% interface %]/[% theme %]/css/addbiblio_[% KOHA_VERSION %].css" />
387
[% Asset.css("css/addbiblio.css") %]
387
388
388
[% INCLUDE 'select2.inc' %]
389
[% INCLUDE 'select2.inc' %]
389
<script>
390
<script>
Lines 393-399 function Changefwk() { Link Here
393
</script>
394
</script>
394
395
395
[% IF ( bidi ) %]
396
[% IF ( bidi ) %]
396
   <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/right-to-left_[% KOHA_VERSION %].css" />
397
   [% Asset.css("css/right-to-left.css") %]
397
[% END %]
398
[% END %]
398
</head>
399
</head>
399
<body id="cat_addbiblio" class="cat">
400
<body id="cat_addbiblio" class="cat">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt (-5 / +6 lines)
Lines 1-15 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE ColumnsSettings %]
3
[% USE ColumnsSettings %]
3
4
4
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Koha &rsaquo; Cataloging &rsaquo; [% title |html %] [% IF ( author ) %] by [% author | html %][% END %] (Record #[% biblionumber %]) &rsaquo; Items</title>
6
<title>Koha &rsaquo; Cataloging &rsaquo; [% title |html %] [% IF ( author ) %] by [% author | html %][% END %] (Record #[% biblionumber %]) &rsaquo; Items</title>
6
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
7
[% Asset.css("css/datatables.css") %]
7
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'datatables.inc' %]
9
[% INCLUDE 'datatables.inc' %]
9
<script type="text/javascript" src="[% interface %]/[% theme %]/js/cataloging_[% KOHA_VERSION %].js"></script>
10
[% Asset.js("js/cataloging.js") %]
10
[% INCLUDE 'columns_settings.inc' %]
11
[% INCLUDE 'columns_settings.inc' %]
11
[% INCLUDE 'browser-strings.inc' %]
12
[% INCLUDE 'browser-strings.inc' %]
12
<script type="text/javascript" src="[% interface %]/js/browser_[% KOHA_VERSION %].js"></script>
13
[% Asset.js("js/browser.js") %]
13
<script type="text/javascript">
14
<script type="text/javascript">
14
//<![CDATA[
15
//<![CDATA[
15
    var browser = KOHA.browser('[% searchid %]', parseInt('[% biblionumber %]', 10));
16
    var browser = KOHA.browser('[% searchid %]', parseInt('[% biblionumber %]', 10));
Lines 129-135 function confirm_deletion() { Link Here
129
130
130
//]]>
131
//]]>
131
</script>
132
</script>
132
<link type="text/css" rel="stylesheet" href="[% interface %]/[% theme %]/css/addbiblio_[% KOHA_VERSION %].css" />
133
[% Asset.css("css/addbiblio.css") %]
133
134
134
[% INCLUDE 'select2.inc' %]
135
[% INCLUDE 'select2.inc' %]
135
<script type="text/javascript">
136
<script type="text/javascript">
Lines 139-145 function confirm_deletion() { Link Here
139
</script>
140
</script>
140
141
141
[% IF ( bidi ) %]
142
[% IF ( bidi ) %]
142
   <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/right-to-left_[% KOHA_VERSION %].css" />
143
   [% Asset.css("css/right-to-left.css") %]
143
[% END %]
144
[% END %]
144
</head>
145
</head>
145
<body id="cat_additem" class="cat">
146
<body id="cat_additem" class="cat">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/editor.tt (-5 / +6 lines)
Lines 1-13 Link Here
1
[% USE Asset %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Cataloging &rsaquo; Editor</title>
3
<title>Koha &rsaquo; Cataloging &rsaquo; Editor</title>
3
[% INCLUDE 'doc-head-close.inc' %]
4
[% INCLUDE 'doc-head-close.inc' %]
4
<link rel="stylesheet" href="[% interface %]/[% theme %]/css/cateditor_[% KOHA_VERSION %].css" />
5
[% Asset.css("css/cateditor.css") %]
5
<link rel="stylesheet" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
6
[% Asset.css("css/datatables.css") %]
6
<link rel="stylesheet" href="[% interface %]/lib/codemirror/codemirror_[% KOHA_VERSION %].css" />
7
[% Asset.css("lib/codemirror/codemirror.css") %]
7
<link rel="stylesheet" href="[% interface %]/[% theme %]/css/humanmsg_[% KOHA_VERSION %].css" />
8
[% Asset.css("css/humanmsg.css") %]
8
<script src="[% interface %]/lib/jquery/plugins/humanmsg.js" type="text/javascript"></script>
9
<script src="[% interface %]/lib/jquery/plugins/humanmsg.js" type="text/javascript"></script>
9
[% IF ( bidi ) %]
10
[% IF ( bidi ) %]
10
   <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/right-to-left_[% KOHA_VERSION %].css" />
11
   [% Asset.css("css/right-to-left.css") %]
11
[% END %]
12
[% END %]
12
</head>
13
</head>
13
<body id="cat_addbiblio" class="cat">
14
<body id="cat_addbiblio" class="cat">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% PROCESS 'merge-record.inc' %]
3
[% PROCESS 'merge-record.inc' %]
3
4
Lines 186-192 div#result { margin-top: 1em; } Link Here
186
</div>
187
</div>
187
188
188
[% MACRO jsinclude BLOCK %]
189
[% MACRO jsinclude BLOCK %]
189
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/merge-record_[% KOHA_VERSION %].js"></script>
190
    [% Asset.js("js/merge-record.js") %]
190
    [% INCLUDE 'merge-record-strings.inc' %]
191
    [% INCLUDE 'merge-record-strings.inc' %]
191
    <script type="text/javascript">
192
    <script type="text/javascript">
192
        [% UNLESS (result) %]
193
        [% UNLESS (result) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/cn_browser.tt (-1 / +2 lines)
Lines 1-6 Link Here
1
[% USE Asset %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Tools</title>
3
<title>Koha &rsaquo; Tools</title>
3
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
4
[% Asset.css("css/datatables.css") %]
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'datatables.inc' %]
6
[% INCLUDE 'datatables.inc' %]
6
</head>
7
</head>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_006.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Cataloging &rsaquo; 006 builder</title>
4
<title>Koha &rsaquo; Cataloging &rsaquo; 006 builder</title>
Lines 31-37 Link Here
31
</form>
32
</form>
32
33
33
[% MACRO jsinclude BLOCK %]
34
[% MACRO jsinclude BLOCK %]
34
    <script type="text/javascript" src='[% interface %]/[% theme %]/js/xmlControlfield_[% KOHA_VERSION %].js'></script>
35
    [% Asset.js("js/xmlControlfield.js") %]
35
    <script type="text/javascript">
36
    <script type="text/javascript">
36
        var objXmlControlField;
37
        var objXmlControlField;
37
        var tr_result;
38
        var tr_result;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Cataloging &rsaquo; 008 builder</title>
4
<title>Koha &rsaquo; Cataloging &rsaquo; 008 builder</title>
Lines 32-38 Link Here
32
</form>
33
</form>
33
34
34
[% MACRO jsinclude BLOCK %]
35
[% MACRO jsinclude BLOCK %]
35
    <script type="text/javascript" src='[% interface %]/[% theme %]/js/xmlControlfield_[% KOHA_VERSION %].js'></script>
36
    [% Asset.js("js/xmlControlfield.js") %]
36
    <script type="text/javascript">
37
    <script type="text/javascript">
37
        var objXmlControlField;
38
        var objXmlControlField;
38
        var tr_result;
39
        var tr_result;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt (-3 / +4 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
[% IF ( opsearch ) %]
4
[% IF ( opsearch ) %]
Lines 6-12 Link Here
6
    <title>Koha &rsaquo; Z39.50 authority search results</title>
7
    <title>Koha &rsaquo; Z39.50 authority search results</title>
7
    [% END %]
8
    [% END %]
8
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
9
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
10
[% Asset.css("css/datatables.css") %]
10
<style type="text/css">
11
<style type="text/css">
11
    #marcPreview { width : 90%; top: 5%; } .modal-body { max-height: 380px; } .modal-header { padding: 0 14px; } @media (max-width: 767px) { #marcPreview { margin: 0; width : auto; } }
12
    #marcPreview { width : 90%; top: 5%; } .modal-body { max-height: 380px; } .modal-header { padding: 0 14px; } @media (max-width: 767px) { #marcPreview { margin: 0; width : auto; } }
12
</style>
13
</style>
Lines 166-172 Link Here
166
[% IF ( numberpending ) %]<h3 align="center">Still [% numberpending %] servers to search</h3>[% END %]
167
[% IF ( numberpending ) %]<h3 align="center">Still [% numberpending %] servers to search</h3>[% END %]
167
168
168
[% MACRO jsinclude BLOCK %]
169
[% MACRO jsinclude BLOCK %]
169
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min_[% KOHA_VERSION %].js"></script>
170
    [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") %]
170
    [% INCLUDE 'datatables.inc' %]
171
    [% INCLUDE 'datatables.inc' %]
171
    <script type="text/javascript">
172
    <script type="text/javascript">
172
        $(document).ready(function(){
173
        $(document).ready(function(){
Lines 221-227 Link Here
221
        });
222
        });
222
    </script>
223
    </script>
223
    [% INCLUDE 'z3950_search.inc' %]
224
    [% INCLUDE 'z3950_search.inc' %]
224
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/z3950_search_[% KOHA_VERSION %].js"></script>
225
    [% Asset.js("js/z3950_search.js") %]
225
[% END %]
226
[% END %]
226
227
227
[% INCLUDE 'intranet-bottom.inc' popup_window=1 %]
228
[% INCLUDE 'intranet-bottom.inc' popup_window=1 %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt (-3 / +4 lines)
Lines 1-8 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Z39.50/SRU search results</title>
4
<title>Koha &rsaquo; Z39.50/SRU search results</title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
5
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
6
[% Asset.css("css/datatables.css") %]
6
<style type="text/css">
7
<style type="text/css">
7
#dataPreview { width : 90%; top: 5%; } .modal-body { max-height: 380px; } .modal-header { padding: 0 14px; } @media (max-width: 767px) { #dataPreview { margin: 0; width : auto; } }
8
#dataPreview { width : 90%; top: 5%; } .modal-body { max-height: 380px; } .modal-header { padding: 0 14px; } @media (max-width: 767px) { #dataPreview { margin: 0; width : auto; } }
8
</style>
9
</style>
Lines 187-194 Link Here
187
[% IF ( numberpending ) %]<h3 align="center">Still [% numberpending %] servers to search</h3>[% END %]
188
[% IF ( numberpending ) %]<h3 align="center">Still [% numberpending %] servers to search</h3>[% END %]
188
189
189
[% MACRO jsinclude BLOCK %]
190
[% MACRO jsinclude BLOCK %]
190
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min_[% KOHA_VERSION %].js"></script>
191
    [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") %]
191
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/z3950_search_[% KOHA_VERSION %].js"></script>
192
    [% Asset.js("js/z3950_search.js") %]
192
    [% INCLUDE 'datatables.inc' %]
193
    [% INCLUDE 'datatables.inc' %]
193
    <script type="text/javascript">
194
    <script type="text/javascript">
194
        $(document).ready(function(){
195
        $(document).ready(function(){
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-9 / +10 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE Branches %]
3
[% USE Branches %]
3
[% USE KohaDates %]
4
[% USE KohaDates %]
Lines 15-21 Link Here
15
[% END %]
16
[% END %]
16
</title>
17
</title>
17
[% INCLUDE 'doc-head-close.inc' %]
18
[% INCLUDE 'doc-head-close.inc' %]
18
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
19
[% Asset.css("css/datatables.css") %]
19
</head>
20
</head>
20
21
21
<body id="circ_circulation" class="circ">
22
<body id="circ_circulation" class="circ">
Lines 975-988 No patron matched <span class="ex">[% message | html %]</span> Link Here
975
    [% INCLUDE 'calendar.inc' %]
976
    [% INCLUDE 'calendar.inc' %]
976
    [% INCLUDE 'datatables.inc' %]
977
    [% INCLUDE 'datatables.inc' %]
977
    [% INCLUDE 'columns_settings.inc' %]
978
    [% INCLUDE 'columns_settings.inc' %]
978
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min_[% KOHA_VERSION %].js"></script>
979
    [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") %]
979
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery-ui-timepicker-addon.min_[% KOHA_VERSION %].js"></script>
980
    [% Asset.js("lib/jquery/plugins/jquery-ui-timepicker-addon.min.js") %]
980
    [% INCLUDE 'timepicker.inc' %]
981
    [% INCLUDE 'timepicker.inc' %]
981
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.dataTables.rowGrouping_[% KOHA_VERSION %].js"></script>
982
    [% Asset.js("lib/jquery/plugins/jquery.dataTables.rowGrouping.js") %]
982
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/pages/circulation_[% KOHA_VERSION %].js"></script>
983
    [% Asset.js("js/pages/circulation.js") %]
983
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/checkouts_[% KOHA_VERSION %].js"></script>
984
    [% Asset.js("js/checkouts.js") %]
984
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/holds_[% KOHA_VERSION %].js"></script>
985
    [% Asset.js("js/holds.js") %]
985
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/circ-patron-search-results_[% KOHA_VERSION %].js"></script>
986
    [% Asset.js("js/circ-patron-search-results.js") %]
986
    <script type="text/javascript">
987
    <script type="text/javascript">
987
        /* Set some variable needed in circulation.js */
988
        /* Set some variable needed in circulation.js */
988
        var MSG_DT_LOADING_RECORDS = _("Loading... you may continue scanning.");
989
        var MSG_DT_LOADING_RECORDS = _("Loading... you may continue scanning.");
Lines 1103-1109 No patron matched <span class="ex">[% message | html %]</span> Link Here
1103
            [% END %]
1104
            [% END %]
1104
        });
1105
        });
1105
    </script>
1106
    </script>
1106
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/members-menu_[% KOHA_VERSION %].js"></script>
1107
    [% Asset.js("js/members-menu.js") %]
1107
[% END %]
1108
[% END %]
1108
1109
1109
[% INCLUDE 'intranet-bottom.inc' %]
1110
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Branches %]
2
[% USE Branches %]
2
[% USE KohaDates %]
3
[% USE KohaDates %]
3
[% USE Price %]
4
[% USE Price %]
Lines 11-17 Link Here
11
[% END %]
12
[% END %]
12
</title>
13
</title>
13
[% INCLUDE 'doc-head-close.inc' %]
14
[% INCLUDE 'doc-head-close.inc' %]
14
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
15
[% Asset.css("css/datatables.css") %]
15
</head>
16
</head>
16
17
17
<body id="circ_circulation_batch_checkouts" class="circ">
18
<body id="circ_circulation_batch_checkouts" class="circ">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt (-3 / +4 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
<!DOCTYPE html>
3
<!DOCTYPE html>
3
[% IF (AllowOfflineCirculation) %]
4
[% IF (AllowOfflineCirculation) %]
Lines 216-224 Link Here
216
217
217
[% MACRO jsinclude BLOCK %]
218
[% MACRO jsinclude BLOCK %]
218
    [% INCLUDE 'calendar.inc' %]
219
    [% INCLUDE 'calendar.inc' %]
219
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.indexeddb_[% KOHA_VERSION %].js"></script>
220
    [% Asset.js("lib/jquery/plugins/jquery.indexeddb.js") %]
220
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/offlinecirc_[% KOHA_VERSION %].js"></script>
221
    [% Asset.js("js/offlinecirc.js") %]
221
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery-ui-timepicker-addon.min_[% KOHA_VERSION %].js"></script>
222
    [% Asset.js("lib/jquery/plugins/jquery-ui-timepicker-addon.min.js") %]
222
    [% INCLUDE 'timepicker.inc' %]
223
    [% INCLUDE 'timepicker.inc' %]
223
    <script type="text/javascript">
224
    <script type="text/javascript">
224
        var ALERT_SUCCESSFUL_CHECKIN = _("Checked in item.");
225
        var ALERT_SUCCESSFUL_CHECKIN = _("Checked in item.");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/on-site_checkouts.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE Branches %]
3
[% USE Branches %]
3
[% USE KohaDates %]
4
[% USE KohaDates %]
Lines 6-12 Link Here
6
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
7
<title>Koha &rsaquo; Circulation &rsaquo; Pending on-site checkouts</title>
8
<title>Koha &rsaquo; Circulation &rsaquo; Pending on-site checkouts</title>
8
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
9
<link rel="stylesheet" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
10
[% Asset.css("css/datatables.css") %]
10
</head>
11
</head>
11
12
12
<body id="circ_stats" class="circ">
13
<body id="circ_stats" class="circ">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt (-1 / +2 lines)
Lines 1-10 Link Here
1
[% USE Asset %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[%- USE Branches -%]
3
[%- USE Branches -%]
3
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Koha &rsaquo; Circulation &rsaquo; Items overdue as of [% todaysdate %]</title>
6
<title>Koha &rsaquo; Circulation &rsaquo; Items overdue as of [% todaysdate %]</title>
6
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
7
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
8
[% Asset.css("css/datatables.css") %]
8
<style type="text/css">
9
<style type="text/css">
9
    .sql {display:none;}
10
    .sql {display:none;}
10
</style>
11
</style>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[% USE ColumnsSettings %]
3
[% USE ColumnsSettings %]
3
[% USE AuthorisedValues %]
4
[% USE AuthorisedValues %]
Lines 7-13 Link Here
7
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
8
<title>Koha &rsaquo; Circulation &rsaquo; Holds to pull</title>
9
<title>Koha &rsaquo; Circulation &rsaquo; Holds to pull</title>
9
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
10
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
11
[% Asset.css("css/datatables.css") %]
11
</head>
12
</head>
12
13
13
<body id="circ_pendingreserves" class="circ">
14
<body id="circ_pendingreserves" class="circ">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
[% IF ( caller == 'hold-transfer' ) %]
4
[% IF ( caller == 'hold-transfer' ) %]
Lines 12-18 Link Here
12
[% INCLUDE 'doc-head-close.inc' %]
13
[% INCLUDE 'doc-head-close.inc' %]
13
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
14
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
14
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" />
15
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" />
15
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/print_[% KOHA_VERSION %].css" />
16
[% Asset.css("css/print.css") %]
16
[% IF ( Koha.Preference('SlipCSS') ) %]
17
[% IF ( Koha.Preference('SlipCSS') ) %]
17
<link rel="stylesheet" type="text/css" href="[% Koha.Preference('SlipCSS') %]" />
18
<link rel="stylesheet" type="text/css" href="[% Koha.Preference('SlipCSS') %]" />
18
[% END %]
19
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[% USE Branches %]
3
[% USE Branches %]
3
[% USE ItemTypes %]
4
[% USE ItemTypes %]
Lines 7-13 Link Here
7
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
8
<title>Koha &rsaquo; Circulation &rsaquo; Request article</title>
9
<title>Koha &rsaquo; Circulation &rsaquo; Request article</title>
9
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
10
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables_[% KOHA_VERSION %].css" />
11
[% Asset.css("css/datatables.css") %]
11
</head>
12
</head>
12
13
13
<body id="circ_request-article" class="circ">
14
<body id="circ_request-article" class="circ">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[% USE AuthorisedValues %]
3
[% USE AuthorisedValues %]
3
[% USE Branches %]
4
[% USE Branches %]
Lines 6-12 Link Here
6
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
7
<title>Koha &rsaquo; Circulation &rsaquo; Hold ratios</title>
8
<title>Koha &rsaquo; Circulation &rsaquo; Hold ratios</title>
8
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
9
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
10
[% Asset.css("css/datatables.css") %]
10
<style type="text/css">
11
<style type="text/css">
11
    .sql { display: none; }
12
    .sql { display: none; }
12
    .ulined { text-decoration: underline; }
13
    .ulined { text-decoration: underline; }
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt (-2 / +3 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[% USE Branches %]
3
[% USE Branches %]
3
[% USE Koha %]
4
[% USE Koha %]
Lines 31-37 Link Here
31
32
32
[% INCLUDE 'doc-head-open.inc' %]
33
[% INCLUDE 'doc-head-open.inc' %]
33
<title>Koha &rsaquo; Circulation &rsaquo; Check in [% title |html %]</title>
34
<title>Koha &rsaquo; Circulation &rsaquo; Check in [% title |html %]</title>
34
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
35
[% Asset.css("css/datatables.css") %]
35
[% INCLUDE 'doc-head-close.inc' %]
36
[% INCLUDE 'doc-head-close.inc' %]
36
</head>
37
</head>
37
38
Lines 693-699 Link Here
693
    [% INCLUDE 'datatables.inc' %]
694
    [% INCLUDE 'datatables.inc' %]
694
    [% INCLUDE 'columns_settings.inc' %]
695
    [% INCLUDE 'columns_settings.inc' %]
695
    [% INCLUDE 'calendar.inc' %]
696
    [% INCLUDE 'calendar.inc' %]
696
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery-ui-timepicker-addon.min_[% KOHA_VERSION %].js"></script>
697
    [% Asset.js("lib/jquery/plugins/jquery-ui-timepicker-addon.min.js") %]
697
    [% INCLUDE 'timepicker.inc' %]
698
    [% INCLUDE 'timepicker.inc' %]
698
699
699
    <script type="text/javascript">
700
    <script type="text/javascript">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE KohaDates %]
3
[% USE KohaDates %]
3
[% USE Branches %]
4
[% USE Branches %]
Lines 5-11 Link Here
5
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Koha &rsaquo; Circulation &rsaquo; Transfers to receive</title>
7
<title>Koha &rsaquo; Circulation &rsaquo; Transfers to receive</title>
7
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
8
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
9
[% Asset.css("css/datatables.css") %]
9
</head>
10
</head>
10
11
11
<body id="circ_transferstoreceive" class="circ">
12
<body id="circ_transferstoreceive" class="circ">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE KohaDates %]
3
[% USE KohaDates %]
3
[% USE ItemTypes %]
4
[% USE ItemTypes %]
Lines 10-16 Link Here
10
<title>Koha &rsaquo; Circulation &rsaquo; Holds queue</title>
11
<title>Koha &rsaquo; Circulation &rsaquo; Holds queue</title>
11
[% INCLUDE 'doc-head-close.inc' %]
12
[% INCLUDE 'doc-head-close.inc' %]
12
<style type="text/css"> p { margin-top: 0; }</style>
13
<style type="text/css"> p { margin-top: 0; }</style>
13
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
14
[% Asset.css("css/datatables.css") %]
14
</head>
15
</head>
15
16
16
<body id="circ_view_holdsqueue" class="circ">
17
<body id="circ_view_holdsqueue" class="circ">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE KohaDates %]
3
[% USE KohaDates %]
3
[% USE Branches %]
4
[% USE Branches %]
Lines 5-11 Link Here
5
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Koha &rsaquo; Circulation &rsaquo; Holds awaiting pickup</title>
7
<title>Koha &rsaquo; Circulation &rsaquo; Holds awaiting pickup</title>
7
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
8
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
9
[% Asset.css("css/datatables.css") %]
9
</head>
10
</head>
10
11
11
<body id="circ_waitingreserves" class="circ">
12
<body id="circ_waitingreserves" class="circ">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/club-enrollments.tt (-2 / +3 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[% USE Branches %]
3
[% USE Branches %]
3
[% USE Koha %]
4
[% USE Koha %]
Lines 5-11 Link Here
5
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Koha &rsaquo; Tools &rsaquo; Patron clubs &rsaquo; Club enrollments</title>
7
<title>Koha &rsaquo; Tools &rsaquo; Patron clubs &rsaquo; Club enrollments</title>
7
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
8
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
9
[% Asset.css("css/datatables.css") %]
9
</head>
10
</head>
10
11
11
<body id="club_enrollments" class="clubs">
12
<body id="club_enrollments" class="clubs">
Lines 51-57 Link Here
51
52
52
[% MACRO jsinclude BLOCK %]
53
[% MACRO jsinclude BLOCK %]
53
    [% INCLUDE 'datatables.inc' %]
54
    [% INCLUDE 'datatables.inc' %]
54
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/tools-menu_[% KOHA_VERSION %].js"></script>
55
    [% Asset.js("js/tools-menu.js") %]
55
    <script type="text/javascript">
56
    <script type="text/javascript">
56
        $(document).ready(function() {
57
        $(document).ready(function() {
57
            eTable = $('#enrollments-table').dataTable($.extend(true, {}, dataTablesDefaults, {
58
            eTable = $('#enrollments-table').dataTable($.extend(true, {}, dataTablesDefaults, {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs.tt (-2 / +3 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[% USE Branches %]
3
[% USE Branches %]
3
[% USE Koha %]
4
[% USE Koha %]
Lines 6-12 Link Here
6
<title>Koha &rsaquo; Tools &rsaquo; Patron clubs</title>
7
<title>Koha &rsaquo; Tools &rsaquo; Patron clubs</title>
7
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
8
9
9
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
10
[% Asset.css("css/datatables.css") %]
10
</head>
11
</head>
11
12
12
<body id="clubs_clubs" class="clubs">
13
<body id="clubs_clubs" class="clubs">
Lines 221-227 Link Here
221
222
222
[% MACRO jsinclude BLOCK %]
223
[% MACRO jsinclude BLOCK %]
223
    [% INCLUDE 'datatables.inc' %]
224
    [% INCLUDE 'datatables.inc' %]
224
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/tools-menu_[% KOHA_VERSION %].js"></script>
225
    [% Asset.js("js/tools-menu.js") %]
225
    <script type="text/javascript">
226
    <script type="text/javascript">
226
        $(document).ready(function() {
227
        $(document).ready(function() {
227
            tTable = $('#club-templates-table').dataTable($.extend(true, {}, dataTablesDefaults, {
228
            tTable = $('#club-templates-table').dataTable($.extend(true, {}, dataTablesDefaults, {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/common/patron_search.tt (-1 / +2 lines)
Lines 1-10 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE Branches %]
3
[% USE Branches %]
3
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Koha &rsaquo; Patron search</title>
6
<title>Koha &rsaquo; Patron search</title>
6
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
7
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
8
[% Asset.css("css/datatables.css") %]
8
</head>
9
</head>
9
10
10
<body id="common_patron_search" class="common">
11
<body id="common_patron_search" class="common">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE AuthorisedValues %]
2
[% USE AuthorisedValues %]
2
[% USE ItemTypes %]
3
[% USE ItemTypes %]
3
[% USE Branches %]
4
[% USE Branches %]
Lines 6-12 Link Here
6
<title>Koha &rsaquo; Course reserves &rsaquo; Course details for [% course.course_name %]</title>
7
<title>Koha &rsaquo; Course reserves &rsaquo; Course details for [% course.course_name %]</title>
7
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
8
9
9
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
10
[% Asset.css("css/datatables.css") %]
10
</head>
11
</head>
11
12
12
<body id="courses_course_details" class="course">
13
<body id="courses_course_details" class="course">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-reserves.tt (-1 / +2 lines)
Lines 1-10 Link Here
1
[% USE Asset %]
1
[% USE AuthorisedValues %]
2
[% USE AuthorisedValues %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Koha &rsaquo; Course reserves</title>
5
<title>Koha &rsaquo; Course reserves</title>
5
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
6
7
7
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
8
[% Asset.css("css/datatables.css") %]
8
</head>
9
</head>
9
10
10
<body id="courses_course_reserves" class="course">
11
<body id="courses_course_reserves" class="course">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/help/edithelp.tt (-2 / +3 lines)
Lines 1-6 Link Here
1
[% USE Asset %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Online help</title>
3
<title>Online help</title>
3
<script type="text/javascript" src="[% interface %]/lib/tiny_mce/tiny_mce_[% KOHA_VERSION %].js"></script>
4
[% Asset.js("lib/tiny_mce/tiny_mce.js") %]
4
<script type="text/javascript">//<![CDATA[
5
<script type="text/javascript">//<![CDATA[
5
tinyMCE.baseURL = "[% interface %]/lib/tiny_mce";
6
tinyMCE.baseURL = "[% interface %]/lib/tiny_mce";
6
tinyMCE.init({
7
tinyMCE.init({
Lines 23-29 tinyMCE.init({ Link Here
23
//]]>
24
//]]>
24
</script>
25
</script>
25
[% INCLUDE intranetstylesheet.inc %]
26
[% INCLUDE intranetstylesheet.inc %]
26
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/help_[% KOHA_VERSION %].css" />
27
[% Asset.css("css/help.css") %]
27
</head>
28
</head>
28
<body id="help_edithelp" class="help">
29
<body id="help_edithelp" class="help">
29
	<h1>Online Help</h1>
30
	<h1>Online Help</h1>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt (-2 / +3 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Branches %]
2
[% USE Branches %]
2
[% USE Koha %]
3
[% USE Koha %]
3
[% USE KohaDates %]
4
[% USE KohaDates %]
Lines 5-12 Link Here
5
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Koha &rsaquo; ILL requests  &rsaquo;</title>
7
<title>Koha &rsaquo; ILL requests  &rsaquo;</title>
7
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
8
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min_[% KOHA_VERSION %].js"></script>
9
[% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") %]
9
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css">
10
[% Asset.css("css/datatables.css") %]
10
[% INCLUDE 'datatables.inc' %]
11
[% INCLUDE 'datatables.inc' %]
11
<script type="text/javascript">
12
<script type="text/javascript">
12
    //<![CDATA[
13
    //<![CDATA[
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt (-1 / +2 lines)
Lines 1-8 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Koha staff client</title>
5
<title>Koha staff client</title>
5
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/mainpage_[% KOHA_VERSION %].css" />
6
[% Asset.css("css/mainpage.css") %]
6
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
7
</head>
8
</head>
8
<body id="main_intranet-main" class="intranet-main">
9
<body id="main_intranet-main" class="intranet-main">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt (-1 / +2 lines)
Lines 1-9 Link Here
1
[% USE Asset %]
1
[% USE ItemTypes %]
2
[% USE ItemTypes %]
2
    [% INCLUDE 'doc-head-open.inc' %]
3
    [% INCLUDE 'doc-head-open.inc' %]
3
    <title>Koha &rsaquo; Tools &rsaquo; Label creator &rsaquo; Batches &rsaquo; [% IF batch_id %]Edit ([% batch_id %])[% ELSE %]New[% END %]</title>
4
    <title>Koha &rsaquo; Tools &rsaquo; Label creator &rsaquo; Batches &rsaquo; [% IF batch_id %]Edit ([% batch_id %])[% ELSE %]New[% END %]</title>
4
    [% INCLUDE 'doc-head-close.inc' %]
5
    [% INCLUDE 'doc-head-close.inc' %]
5
    [% INCLUDE 'greybox.inc' %]
6
    [% INCLUDE 'greybox.inc' %]
6
    <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
7
    [% Asset.css("css/datatables.css") %]
7
    [% INCLUDE 'datatables.inc' %]
8
    [% INCLUDE 'datatables.inc' %]
8
    <script type="text/javascript">
9
    <script type="text/javascript">
9
    //<![CDATA[
10
    //<![CDATA[
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-home.tt (-1 / +2 lines)
Lines 1-8 Link Here
1
[% USE Asset %]
1
    [% INCLUDE 'doc-head-open.inc' %]
2
    [% INCLUDE 'doc-head-open.inc' %]
2
    <title>Koha &rsaquo; Tools &rsaquo; Label creator</title>
3
    <title>Koha &rsaquo; Tools &rsaquo; Label creator</title>
3
    [% INCLUDE 'doc-head-close.inc' %]
4
    [% INCLUDE 'doc-head-close.inc' %]
4
    [% IF ( bidi ) %]
5
    [% IF ( bidi ) %]
5
    <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/right-to-left_[% KOHA_VERSION %].css" />
6
    [% Asset.css("css/right-to-left.css") %]
6
    [% END %]
7
    [% END %]
7
</head>
8
</head>
8
<body id="labels_label-home" class="tools labels">
9
<body id="labels_label-home" class="tools labels">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% BLOCK translate_label_element %]
2
[% BLOCK translate_label_element %]
2
[%-  SWITCH element -%]
3
[%-  SWITCH element -%]
3
[%-  CASE 'layout'    -%]layout
4
[%-  CASE 'layout'    -%]layout
Lines 75-81 Link Here
75
        //]]>
76
        //]]>
76
    </script>
77
    </script>
77
78
78
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
79
[% Asset.css("css/datatables.css") %]
79
[% INCLUDE 'datatables.inc' %]
80
[% INCLUDE 'datatables.inc' %]
80
<script type="text/javascript" id="js">
81
<script type="text/javascript" id="js">
81
 $(document).ready(function() {
82
 $(document).ready(function() {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt (-1 / +2 lines)
Lines 1-8 Link Here
1
[% USE Asset %]
1
    [% INCLUDE 'doc-head-open.inc' %]
2
    [% INCLUDE 'doc-head-open.inc' %]
2
    <title>Koha &rsaquo; Barcodes and labels &rsaquo; Search results</title>
3
    <title>Koha &rsaquo; Barcodes and labels &rsaquo; Search results</title>
3
    [% INCLUDE 'doc-head-close.inc' %]
4
    [% INCLUDE 'doc-head-close.inc' %]
4
    <style type="text/css">#custom-doc { width:46.23em;*width:45.04em;min-width:700px; margin:auto;margin-top: .4em; text-align:left; }</style>
5
    <style type="text/css">#custom-doc { width:46.23em;*width:45.04em;min-width:700px; margin:auto;margin-top: .4em; text-align:left; }</style>
5
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.fixFloat_[% KOHA_VERSION %].js"></script>
6
    [% Asset.js("lib/jquery/plugins/jquery.fixFloat.js") %]
6
    <script type="text/javascript">
7
    <script type="text/javascript">
7
        //<![CDATA[
8
        //<![CDATA[
8
            $(document).ready(function(){
9
            $(document).ready(function(){
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt (-3 / +4 lines)
Lines 1-9 Link Here
1
[% USE Asset %]
1
<!DOCTYPE html>
2
<!DOCTYPE html>
2
[% IF ( bidi ) %]<html lang="[% lang %]" dir="[% bidi %]">[% ELSE %]<html lang="[% lang %]">[% END %]
3
[% IF ( bidi ) %]<html lang="[% lang %]" dir="[% bidi %]">[% ELSE %]<html lang="[% lang %]">[% END %]
3
<head>
4
<head>
4
<title>Koha &rsaquo; Tools &rsaquo; Spine labels</title>
5
<title>Koha &rsaquo; Tools &rsaquo; Spine labels</title>
5
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/spinelabel_[% KOHA_VERSION %].css" />
7
[% Asset.css("css/spinelabel.css") %]
7
8
8
		<style type="text/css">
9
		<style type="text/css">
9
		@media print {
10
		@media print {
Lines 12-19 Link Here
12
	</style>
13
	</style>
13
[% IF ( IntranetUserCSS ) %]<style type="text/css">[% IntranetUserCSS %]</style>[% END %]
14
[% IF ( IntranetUserCSS ) %]<style type="text/css">[% IntranetUserCSS %]</style>[% END %]
14
[% IF ( IntranetUserJS ) %]
15
[% IF ( IntranetUserJS ) %]
15
    <script type="text/javascript" src="[% interface %]/lib/jquery/jquery-2.2.3.min_[% KOHA_VERSION %].js"></script>
16
    [% Asset.js("lib/jquery/jquery-2.2.3.min.js") %]
16
    <script type="text/javascript" src="[% interface %]/lib/jquery/jquery-migrate-1.3.0.min_[% KOHA_VERSION %].js"></script>
17
    [% Asset.js("lib/jquery/jquery-migrate-1.3.0.min.js") %]
17
    <script type="text/javascript">
18
    <script type="text/javascript">
18
    //<![CDATA[
19
    //<![CDATA[
19
    [% IntranetUserJS %]
20
    [% IntranetUserJS %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt (-2 / +3 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE KohaDates %]
3
[% USE KohaDates %]
3
[% USE ColumnsSettings %]
4
[% USE ColumnsSettings %]
Lines 6-12 Link Here
6
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
7
<title>Koha &rsaquo; Patrons &rsaquo; Account for [% INCLUDE 'patron-title.inc' no_html = 1 %]</title>
8
<title>Koha &rsaquo; Patrons &rsaquo; Account for [% INCLUDE 'patron-title.inc' no_html = 1 %]</title>
8
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
9
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
10
[% Asset.css("css/datatables.css") %]
10
</head>
11
</head>
11
12
12
<body id="pat_borraccount" class="pat">
13
<body id="pat_borraccount" class="pat">
Lines 124-130 Link Here
124
[% MACRO jsinclude BLOCK %]
125
[% MACRO jsinclude BLOCK %]
125
    [% INCLUDE 'datatables.inc' %]
126
    [% INCLUDE 'datatables.inc' %]
126
    [% INCLUDE 'columns_settings.inc' %]
127
    [% INCLUDE 'columns_settings.inc' %]
127
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/members-menu_[% KOHA_VERSION %].js"></script>
128
    [% Asset.js("js/members-menu.js") %]
128
    <script type="text/javascript">
129
    <script type="text/javascript">
129
        var dateformat = "[% Koha.Preference('dateformat') %]";
130
        var dateformat = "[% Koha.Preference('dateformat') %]";
130
        $(document).ready(function() {
131
        $(document).ready(function() {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/deletemem.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Price %]
2
[% USE Price %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
Lines 61-67 Link Here
61
</div>
62
</div>
62
63
63
[% MACRO jsinclude BLOCK %]
64
[% MACRO jsinclude BLOCK %]
64
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/members-menu_[% KOHA_VERSION %].js"></script>
65
    [% Asset.js("js/members-menu.js") %]
65
[% END %]
66
[% END %]
66
67
67
[% INCLUDE 'intranet-bottom.inc' %]
68
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/discharge.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[% USE AuthorisedValues %]
3
[% USE AuthorisedValues %]
3
[% USE Branches %]
4
[% USE Branches %]
Lines 73-79 Link Here
73
</div>
74
</div>
74
75
75
[% MACRO jsinclude BLOCK %]
76
[% MACRO jsinclude BLOCK %]
76
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/members-menu_[% KOHA_VERSION %].js"></script>
77
    [% Asset.js("js/members-menu.js") %]
77
[% END %]
78
[% END %]
78
79
79
[% INCLUDE 'intranet-bottom.inc' %]
80
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/discharges.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Branches %]
2
[% USE Branches %]
2
[% USE KohaDates %]
3
[% USE KohaDates %]
3
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
Lines 50-56 Link Here
50
</div>
51
</div>
51
52
52
[% MACRO jsinclude BLOCK %]
53
[% MACRO jsinclude BLOCK %]
53
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/members-menu_[% KOHA_VERSION %].js"></script>
54
    [% Asset.js("js/members-menu.js") %]
54
55
55
    [% INCLUDE 'datatables.inc' %]
56
    [% INCLUDE 'datatables.inc' %]
56
    <script>
57
    <script>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/files.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[% USE AuthorisedValues %]
3
[% USE AuthorisedValues %]
3
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
Lines 84-90 Link Here
84
    </div>
85
    </div>
85
86
86
[% MACRO jsinclude BLOCK %]
87
[% MACRO jsinclude BLOCK %]
87
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/members-menu_[% KOHA_VERSION %].js"></script>
88
    [% Asset.js("js/members-menu.js") %]
88
    <script type="text/javascript">
89
    <script type="text/javascript">
89
        $(document).ready(function(){
90
        $(document).ready(function(){
90
            $(".confirmdelete").on("click", function(){
91
            $(".confirmdelete").on("click", function(){
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt (-2 / +3 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[% USE Koha %]
3
[% USE Koha %]
3
[% USE AuthorisedValues %]
4
[% USE AuthorisedValues %]
Lines 7-13 Link Here
7
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
8
<title>Holds history for [% INCLUDE 'patron-title.inc' no_html = 1 %]</title>
9
<title>Holds history for [% INCLUDE 'patron-title.inc' no_html = 1 %]</title>
9
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
10
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
11
[% Asset.css("css/datatables.css") %]
11
</head>
12
</head>
12
13
13
<body id="pat_holdshistory" class="pat">
14
<body id="pat_holdshistory" class="pat">
Lines 105-111 Link Here
105
[% MACRO jsinclude BLOCK %]
106
[% MACRO jsinclude BLOCK %]
106
    [% INCLUDE 'datatables.inc' %]
107
    [% INCLUDE 'datatables.inc' %]
107
    [% INCLUDE 'columns_settings.inc' %]
108
    [% INCLUDE 'columns_settings.inc' %]
108
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/members-menu_[% KOHA_VERSION %].js"></script>
109
    [% Asset.js("js/members-menu.js") %]
109
    <script type="text/javascript" id="js">
110
    <script type="text/javascript" id="js">
110
        $(document).ready(function() {
111
        $(document).ready(function() {
111
            var columns_settings = [% ColumnsSettings.GetColumns('members', 'holdshistory', 'holdshistory-table', 'json') %];
112
            var columns_settings = [% ColumnsSettings.GetColumns('members', 'holdshistory', 'holdshistory-table', 'json') %];
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/housebound.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE KohaDates %]
3
[% USE KohaDates %]
3
[% USE AuthorisedValues %]
4
[% USE AuthorisedValues %]
Lines 425-431 Link Here
425
426
426
[% MACRO jsinclude BLOCK %]
427
[% MACRO jsinclude BLOCK %]
427
    [% INCLUDE 'calendar.inc' %]
428
    [% INCLUDE 'calendar.inc' %]
428
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/members-menu_[% KOHA_VERSION %].js"></script>
429
    [% Asset.js("js/members-menu.js") %]
429
    <script type="text/javascript">
430
    <script type="text/javascript">
430
        $(document).ready(function() {
431
        $(document).ready(function() {
431
            $("a.delete").click(function(){
432
            $("a.delete").click(function(){
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
Lines 57-63 Link Here
57
</div>
58
</div>
58
59
59
[% MACRO jsinclude BLOCK %]
60
[% MACRO jsinclude BLOCK %]
60
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/members-menu_[% KOHA_VERSION %].js"></script>
61
    [% Asset.js("js/members-menu.js") %]
61
    <script type="text/javascript">
62
    <script type="text/javascript">
62
        $(document).ready(function(){
63
        $(document).ready(function(){
63
            $('#mancredit').preventDoubleFormSubmit();
64
            $('#mancredit').preventDoubleFormSubmit();
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
Lines 70-76 Link Here
70
</div>
71
</div>
71
72
72
[% MACRO jsinclude BLOCK %]
73
[% MACRO jsinclude BLOCK %]
73
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/members-menu_[% KOHA_VERSION %].js"></script>
74
    [% Asset.js("js/members-menu.js") %]
74
    <script type="text/javascript">
75
    <script type="text/javascript">
75
        var type_fees = {'L':'','F':'','A':'','N':'','M':''};
76
        var type_fees = {'L':'','F':'','A':'','N':'','M':''};
76
        [% FOREACH invoice_types_loo IN invoice_types_loop %]
77
        [% FOREACH invoice_types_loo IN invoice_types_loop %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-flags.tt (-3 / +4 lines)
Lines 1-9 Link Here
1
[% USE Asset %]
1
[% USE Branches %]
2
[% USE Branches %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% PROCESS 'permissions.inc' %]
4
[% PROCESS 'permissions.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Koha &rsaquo; Patrons &rsaquo; Set permissions for [% patron.surname %], [% patron.firstname %]</title>
6
<title>Koha &rsaquo; Patrons &rsaquo; Set permissions for [% patron.surname %], [% patron.firstname %]</title>
6
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/treeview/jquery.treeview_[% KOHA_VERSION %].css"/>
7
[% Asset.css("css/treeview/jquery.treeview.css") %]
7
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
8
</head>
9
</head>
9
10
Lines 76-83 Link Here
76
</div>
77
</div>
77
78
78
[% MACRO jsinclude BLOCK %]
79
[% MACRO jsinclude BLOCK %]
79
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/members-menu_[% KOHA_VERSION %].js"></script>
80
    [% Asset.js("js/members-menu.js") %]
80
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.treeview.pack_[% KOHA_VERSION %].js"></script>
81
    [% Asset.js("lib/jquery/plugins/jquery.treeview.pack.js") %]
81
    <!-- set up tree -->
82
    <!-- set up tree -->
82
    <script type="text/javascript">
83
    <script type="text/javascript">
83
        $(document).ready(function() {
84
        $(document).ready(function() {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-password.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE Branches %]
3
[% USE Branches %]
3
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
Lines 90-96 Link Here
90
</div>
91
</div>
91
92
92
[% MACRO jsinclude BLOCK %]
93
[% MACRO jsinclude BLOCK %]
93
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/members-menu_[% KOHA_VERSION %].js"></script>
94
    [% Asset.js("js/members-menu.js") %]
94
    <script type="text/JavaScript">
95
    <script type="text/JavaScript">
95
96
96
        function generate_password() {
97
        function generate_password() {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt (-2 / +3 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE ColumnsSettings %]
3
[% USE ColumnsSettings %]
3
[% USE Branches %]
4
[% USE Branches %]
Lines 6-12 Link Here
6
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
7
<title>Koha &rsaquo; Patrons [% IF ( searching ) %]&rsaquo; Search results[% END %]</title>
8
<title>Koha &rsaquo; Patrons [% IF ( searching ) %]&rsaquo; Search results[% END %]</title>
8
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
9
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
10
[% Asset.css("css/datatables.css") %]
10
</head>
11
</head>
11
12
12
<body id="pat_member" class="pat">
13
<body id="pat_member" class="pat">
Lines 224-230 Link Here
224
[% MACRO jsinclude BLOCK %]
225
[% MACRO jsinclude BLOCK %]
225
    [% INCLUDE 'datatables.inc' %]
226
    [% INCLUDE 'datatables.inc' %]
226
    [% INCLUDE 'columns_settings.inc' %]
227
    [% INCLUDE 'columns_settings.inc' %]
227
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/members-menu_[% KOHA_VERSION %].js"></script>
228
    [% Asset.js("js/members-menu.js") %]
228
    <script type="text/javascript">
229
    <script type="text/javascript">
229
        $(document).ready(function() {
230
        $(document).ready(function() {
230
            $('#add_to_patron_list_submit').prop('disabled', true);
231
            $('#add_to_patron_list_submit').prop('disabled', true);
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt (-4 / +5 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE KohaDates %]
3
[% USE KohaDates %]
3
[% USE Branches %]
4
[% USE Branches %]
Lines 1155-1163 Link Here
1155
</div>
1156
</div>
1156
1157
1157
[% MACRO jsinclude BLOCK %]
1158
[% MACRO jsinclude BLOCK %]
1158
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.fixFloat_[% KOHA_VERSION %].js"></script>
1159
    [% Asset.js("lib/jquery/plugins/jquery.fixFloat.js") %]
1159
    [% INCLUDE 'calendar.inc' %]
1160
    [% INCLUDE 'calendar.inc' %]
1160
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/members-menu_[% KOHA_VERSION %].js"></script>
1161
    [% Asset.js("js/members-menu.js") %]
1161
    <script type="text/javascript">
1162
    <script type="text/javascript">
1162
        $(document).ready(function() {
1163
        $(document).ready(function() {
1163
1164
Lines 1314-1321 Link Here
1314
        [% END %]
1315
        [% END %]
1315
1316
1316
    </script>
1317
    </script>
1317
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/members_[% KOHA_VERSION %].js"></script>
1318
    [% Asset.js("js/members.js") %]
1318
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/messaging-preference-form_[% KOHA_VERSION %].js"></script>
1319
    [% Asset.js("js/messaging-preference-form.js") %]
1319
[% END %]
1320
[% END %]
1320
1321
1321
[% INCLUDE 'intranet-bottom.inc' %]
1322
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE AuthorisedValues %]
2
[% USE AuthorisedValues %]
2
[% USE Branches %]
3
[% USE Branches %]
3
[% USE Categories %]
4
[% USE Categories %]
Lines 186-192 Link Here
186
    </div>
187
    </div>
187
188
188
[% MACRO jsinclude BLOCK %]
189
[% MACRO jsinclude BLOCK %]
189
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/members-menu_[% KOHA_VERSION %].js"></script>
190
    [% Asset.js("js/members-menu.js") %]
190
    <script type="text/javascript">
191
    <script type="text/javascript">
191
        $(function() {
192
        $(function() {
192
            $( "#pending_updates" ).accordion();
193
            $( "#pending_updates" ).accordion();
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-receipt.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
Lines 5-11 Link Here
5
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
6
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" />
8
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" />
8
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/print_[% KOHA_VERSION %].css" />
9
[% Asset.css("css/print.css") %]
9
</head>
10
</head>
10
11
11
<body id="pat_moremember-receipt" class="pat">
12
<body id="pat_moremember-receipt" class="pat">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt (-9 / +10 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE Branches %]
3
[% USE Branches %]
3
[% USE KohaDates %]
4
[% USE KohaDates %]
Lines 11-17 Link Here
11
[% END %]
12
[% END %]
12
</title>
13
</title>
13
[% INCLUDE 'doc-head-close.inc' %]
14
[% INCLUDE 'doc-head-close.inc' %]
14
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
15
[% Asset.css("css/datatables.css") %]
15
</head>
16
</head>
16
17
17
<body id="pat_moremember" class="pat">
18
<body id="pat_moremember" class="pat">
Lines 546-560 Link Here
546
    [% INCLUDE 'columns_settings.inc' %]
547
    [% INCLUDE 'columns_settings.inc' %]
547
    [% INCLUDE 'strings.inc' %]
548
    [% INCLUDE 'strings.inc' %]
548
    [% INCLUDE 'calendar.inc' %]
549
    [% INCLUDE 'calendar.inc' %]
549
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min_[% KOHA_VERSION %].js"></script>
550
    [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") %]
550
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery-ui-timepicker-addon.min_[% KOHA_VERSION %].js"></script>
551
    [% Asset.js("lib/jquery/plugins/jquery-ui-timepicker-addon.min.js") %]
551
    [% INCLUDE 'timepicker.inc' %]
552
    [% INCLUDE 'timepicker.inc' %]
552
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.dataTables.rowGrouping_[% KOHA_VERSION %].js"></script>
553
    [% Asset.js("lib/jquery/plugins/jquery.dataTables.rowGrouping.js") %]
553
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/pages/circulation_[% KOHA_VERSION %].js"></script>
554
    [% Asset.js("js/pages/circulation.js") %]
554
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/checkouts_[% KOHA_VERSION %].js"></script>
555
    [% Asset.js("js/checkouts.js") %]
555
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/holds_[% KOHA_VERSION %].js"></script>
556
    [% Asset.js("js/holds.js") %]
556
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/members-menu_[% KOHA_VERSION %].js"></script>
557
    [% Asset.js("js/members-menu.js") %]
557
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/messaging-preference-form_[% KOHA_VERSION %].js"></script>
558
    [% Asset.js("js/messaging-preference-form.js") %]
558
    <script type="text/javascript">
559
    <script type="text/javascript">
559
        /* Set some variable needed in circulation.js */
560
        /* Set some variable needed in circulation.js */
560
        var interface = "[% interface %]";
561
        var interface = "[% interface %]";
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/nl-search.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
Lines 77-83 Link Here
77
    </div>
78
    </div>
78
79
79
[% MACRO jsinclude BLOCK %]
80
[% MACRO jsinclude BLOCK %]
80
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/members-menu_[% KOHA_VERSION %].js"></script>
81
    [% Asset.js("js/members-menu.js") %]
81
[% END %]
82
[% END %]
82
83
83
[% INCLUDE 'intranet-bottom.inc' %]
84
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt (-2 / +3 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE AuthorisedValues %]
3
[% USE AuthorisedValues %]
3
[% USE Branches %]
4
[% USE Branches %]
Lines 6-12 Link Here
6
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
7
<title>Sent notices for [% INCLUDE 'patron-title.inc' no_html = 1 %]</title>
8
<title>Sent notices for [% INCLUDE 'patron-title.inc' no_html = 1 %]</title>
8
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
9
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
10
[% Asset.css("css/datatables.css") %]
10
<style type="text/css">
11
<style type="text/css">
11
    .notice { display: none; }
12
    .notice { display: none; }
12
    .notice-title { font-weight: bold; display: block; }
13
    .notice-title { font-weight: bold; display: block; }
Lines 89-95 Link Here
89
</div>
90
</div>
90
91
91
[% MACRO jsinclude BLOCK %]
92
[% MACRO jsinclude BLOCK %]
92
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/members-menu_[% KOHA_VERSION %].js"></script>
93
    [% Asset.js("js/members-menu.js") %]
93
    [% INCLUDE 'datatables.inc' %]
94
    [% INCLUDE 'datatables.inc' %]
94
    <script type="text/javascript">
95
    <script type="text/javascript">
95
        $(document).ready(function() {
96
        $(document).ready(function() {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt (-2 / +3 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE AuthorisedValues %]
3
[% USE AuthorisedValues %]
3
[% USE Branches %]
4
[% USE Branches %]
Lines 136-143 Link Here
136
</div>
137
</div>
137
138
138
[% MACRO jsinclude BLOCK %]
139
[% MACRO jsinclude BLOCK %]
139
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/members-menu_[% KOHA_VERSION %].js"></script>
140
    [% Asset.js("js/members-menu.js") %]
140
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min_[% KOHA_VERSION %].js"></script>
141
    [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") %]
141
    <script type= "text/javascript">
142
    <script type= "text/javascript">
142
        function enableCheckboxActions(){
143
        function enableCheckboxActions(){
143
            // Enable/disable controls if checkboxes are checked
144
            // Enable/disable controls if checkboxes are checked
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE Branches %]
3
[% USE Branches %]
3
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
Lines 172-178 Link Here
172
</div>
173
</div>
173
174
174
[% MACRO jsinclude BLOCK %]
175
[% MACRO jsinclude BLOCK %]
175
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/members-menu_[% KOHA_VERSION %].js"></script>
176
    [% Asset.js("js/members-menu.js") %]
176
    <script type= "text/javascript">
177
    <script type= "text/javascript">
177
        $(document).ready(function() {
178
        $(document).ready(function() {
178
            $('#payindivfine, #woindivfine, #payfine').preventDoubleFormSubmit();
179
            $('#payindivfine, #woindivfine, #payfine').preventDoubleFormSubmit();
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/printfeercpt.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE KohaDates %]
3
[% USE KohaDates %]
3
[% USE Branches %]
4
[% USE Branches %]
Lines 5-11 Link Here
5
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Print receipt for [% patron.cardnumber %]</title>
7
<title>Print receipt for [% patron.cardnumber %]</title>
7
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
8
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/printreceiptinvoice_[% KOHA_VERSION %].css" />
9
[% Asset.css("css/printreceiptinvoice.css") %]
9
[% INCLUDE 'blocking_errors.inc' %]
10
[% INCLUDE 'blocking_errors.inc' %]
10
</head>
11
</head>
11
12
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/printinvoice.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE Branches %]
3
[% USE Branches %]
3
[% USE KohaDates %]
4
[% USE KohaDates %]
Lines 5-11 Link Here
5
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Print receipt for [% patron.cardnumber %]</title>
7
<title>Print receipt for [% patron.cardnumber %]</title>
7
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
8
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/printreceiptinvoice_[% KOHA_VERSION %].css" />
9
[% Asset.css("css/printreceiptinvoice.css") %]
9
</head>
10
</head>
10
11
11
<body id="printinvoice" class="pat">
12
<body id="printinvoice" class="pat">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/purchase-suggestions.tt (-2 / +3 lines)
Lines 1-10 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE AuthorisedValues  %]
3
[% USE AuthorisedValues  %]
3
[% USE Branches %]
4
[% USE Branches %]
4
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
5
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Koha &rsaquo; Patrons &rsaquo; Purchase suggestions for [% INCLUDE 'patron-title.inc' no_html = 1 %]</title>
7
<title>Koha &rsaquo; Patrons &rsaquo; Purchase suggestions for [% INCLUDE 'patron-title.inc' no_html = 1 %]</title>
7
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
8
[% Asset.css("css/datatables.css") %]
8
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
9
</head>
10
</head>
10
11
Lines 100-106 Link Here
100
</div>
101
</div>
101
102
102
[% MACRO jsinclude BLOCK %]
103
[% MACRO jsinclude BLOCK %]
103
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/members-menu_[% KOHA_VERSION %].js"></script>
104
    [% Asset.js("js/members-menu.js") %]
104
    [% INCLUDE 'datatables.inc' %]
105
    [% INCLUDE 'datatables.inc' %]
105
    <script type="text/javascript">
106
    <script type="text/javascript">
106
        $(document).ready(function() {
107
        $(document).ready(function() {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt (-2 / +3 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[% USE Koha %]
3
[% USE Koha %]
3
[% USE AuthorisedValues %]
4
[% USE AuthorisedValues %]
Lines 6-12 Link Here
6
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
7
<title>Circulation History for [% INCLUDE 'patron-title.inc' no_html = 1 %]</title>
8
<title>Circulation History for [% INCLUDE 'patron-title.inc' no_html = 1 %]</title>
8
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
9
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
10
[% Asset.css("css/datatables.css") %]
10
</head>
11
</head>
11
12
12
<body id="pat_readingrec" class="pat">
13
<body id="pat_readingrec" class="pat">
Lines 118-124 Link Here
118
</div>
119
</div>
119
120
120
[% MACRO jsinclude BLOCK %]
121
[% MACRO jsinclude BLOCK %]
121
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/members-menu_[% KOHA_VERSION %].js"></script>
122
    [% Asset.js("js/members-menu.js") %]
122
    [% INCLUDE 'datatables.inc' %]
123
    [% INCLUDE 'datatables.inc' %]
123
    <script type="text/javascript" id="js">
124
    <script type="text/javascript" id="js">
124
        $(document).ready(function() {
125
        $(document).ready(function() {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/routing-lists.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE AuthorisedValues %]
3
[% USE AuthorisedValues %]
3
[% USE Branches %]
4
[% USE Branches %]
Lines 84-90 Link Here
84
</div>
85
</div>
85
86
86
[% MACRO jsinclude BLOCK %]
87
[% MACRO jsinclude BLOCK %]
87
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/members-menu_[% KOHA_VERSION %].js"></script>
88
    [% Asset.js("js/members-menu.js") %]
88
[% END %]
89
[% END %]
89
90
90
[% INCLUDE 'intranet-bottom.inc' %]
91
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/statistics.tt (-2 / +3 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE AuthorisedValues %]
3
[% USE AuthorisedValues %]
3
[% USE Branches %]
4
[% USE Branches %]
Lines 9-15 Link Here
9
[% END %]
10
[% END %]
10
</title>
11
</title>
11
[% INCLUDE 'doc-head-close.inc' %]
12
[% INCLUDE 'doc-head-close.inc' %]
12
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
13
[% Asset.css("css/datatables.css") %]
13
</head>
14
</head>
14
15
15
<body id="pat_statistics" class="pat">
16
<body id="pat_statistics" class="pat">
Lines 89-95 Link Here
89
</div>
90
</div>
90
91
91
[% MACRO jsinclude BLOCK %]
92
[% MACRO jsinclude BLOCK %]
92
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/members-menu_[% KOHA_VERSION %].js"></script>
93
    [% Asset.js("js/members-menu.js") %]
93
    [% INCLUDE 'datatables.inc' %]
94
    [% INCLUDE 'datatables.inc' %]
94
    <script type="text/javascript">
95
    <script type="text/javascript">
95
        $(document).ready(function() {
96
        $(document).ready(function() {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/update-child.tt (-2 / +3 lines)
Lines 1-8 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Choose adult category</title>
4
<title>Koha &rsaquo; Choose adult category</title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
5
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
6
[% Asset.css("css/datatables.css") %]
6
</head>
7
</head>
7
8
8
<body id="pat_update-child" class="pat">
9
<body id="pat_update-child" class="pat">
Lines 93-99 Link Here
93
            window.close();
94
            window.close();
94
        </script>
95
        </script>
95
    [% END %]
96
    [% END %]
96
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/members-menu_[% KOHA_VERSION %].js"></script>
97
    [% Asset.js("js/members-menu.js") %]
97
[% END %]
98
[% END %]
98
99
99
[% INCLUDE 'intranet-bottom.inc' popup_window=1 %]
100
[% INCLUDE 'intranet-bottom.inc' popup_window=1 %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/list.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
    [% INCLUDE "doc-head-open.inc" %]
3
    [% INCLUDE "doc-head-open.inc" %]
3
    <title>Koha &rsaquo; Circulation &rsaquo; Offline circulation</title>
4
    <title>Koha &rsaquo; Circulation &rsaquo; Offline circulation</title>
Lines 87-93 Link Here
87
</div>
88
</div>
88
89
89
[% MACRO jsinclude BLOCK %]
90
[% MACRO jsinclude BLOCK %]
90
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min_[% KOHA_VERSION %].js"></script>
91
    [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") %]
91
    <script type="text/javascript">
92
    <script type="text/javascript">
92
        $(document).ready(function() {
93
        $(document).ready(function() {
93
94
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/process_koc.tt (-2 / +3 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Circulation &rsaquo; Offline circulation file upload</title>
4
<title>Koha &rsaquo; Circulation &rsaquo; Offline circulation file upload</title>
Lines 67-74 Link Here
67
</div>
68
</div>
68
69
69
[% MACRO jsinclude BLOCK %]
70
[% MACRO jsinclude BLOCK %]
70
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/background-job-progressbar_[% KOHA_VERSION %].js"></script>
71
    [% Asset.js("js/background-job-progressbar.js") %]
71
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/file-upload_[% KOHA_VERSION %].js"></script>
72
    [% Asset.js("js/file-upload.js") %]
72
    <script type="text/javascript">
73
    <script type="text/javascript">
73
        var xhr;
74
        var xhr;
74
        $(document).ready(function(){
75
        $(document).ready(function(){
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/add-modify.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Tools &rsaquo; Patron lists &rsaquo;
4
<title>Koha &rsaquo; Tools &rsaquo; Patron lists &rsaquo;
Lines 65-71 Link Here
65
    </div>
66
    </div>
66
67
67
[% MACRO jsinclude BLOCK %]
68
[% MACRO jsinclude BLOCK %]
68
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/tools-menu_[% KOHA_VERSION %].js"></script>
69
    [% Asset.js("js/tools-menu.js") %]
69
[% END %]
70
[% END %]
70
71
71
[% INCLUDE 'intranet-bottom.inc' %]
72
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt (-3 / +4 lines)
Lines 1-10 Link Here
1
[% USE Asset %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Koha &rsaquo; Tools &rsaquo; Patron lists &rsaquo; [% list.name %] &rsaquo; Add patrons</title>
5
<title>Koha &rsaquo; Tools &rsaquo; Patron lists &rsaquo; [% list.name %] &rsaquo; Add patrons</title>
5
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
6
7
7
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
8
[% Asset.css("css/datatables.css") %]
8
<style type="text/css">
9
<style type="text/css">
9
    #add_patrons_by_search {
10
    #add_patrons_by_search {
10
        display: none;
11
        display: none;
Lines 162-171 Link Here
162
    </div>
163
    </div>
163
164
164
[% MACRO jsinclude BLOCK %]
165
[% MACRO jsinclude BLOCK %]
165
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/tools-menu_[% KOHA_VERSION %].js"></script>
166
    [% Asset.js("js/tools-menu.js") %]
166
    [% INCLUDE 'datatables.inc' %]
167
    [% INCLUDE 'datatables.inc' %]
167
168
168
    <script type="text/javascript" src="[% interface %]/js/autocomplete/patrons_[% KOHA_VERSION %].js"></script>
169
    [% Asset.js("js/autocomplete/patrons.js") %]
169
    <script type="text/javascript">
170
    <script type="text/javascript">
170
        var MSG_REMOVE_PATRON = _("Remove");
171
        var MSG_REMOVE_PATRON = _("Remove");
171
        $(document).ready(function() {
172
        $(document).ready(function() {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt (-2 / +3 lines)
Lines 1-9 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Tools &rsaquo; Patron lists</title>
4
<title>Koha &rsaquo; Tools &rsaquo; Patron lists</title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'greybox.inc' %]
6
[% INCLUDE 'greybox.inc' %]
6
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
7
[% Asset.css("css/datatables.css") %]
7
</head>
8
</head>
8
9
9
<body id="patlist_lists" class="pat patlist">
10
<body id="patlist_lists" class="pat patlist">
Lines 104-110 Link Here
104
    </div>
105
    </div>
105
106
106
[% MACRO jsinclude BLOCK %]
107
[% MACRO jsinclude BLOCK %]
107
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/tools-menu_[% KOHA_VERSION %].js"></script>
108
    [% Asset.js("js/tools-menu.js") %]
108
    [% INCLUDE 'datatables.inc' %]
109
    [% INCLUDE 'datatables.inc' %]
109
110
110
    <script type="text/javascript">
111
    <script type="text/javascript">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt (-1 / +2 lines)
Lines 1-8 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
    [% INCLUDE 'doc-head-open.inc' %]
3
    [% INCLUDE 'doc-head-open.inc' %]
3
    <title>Koha &rsaquo; Tools &rsaquo; Patron card creator &rsaquo; Batches &rsaquo; [% IF batch_id %]Edit ([% batch_id %])[% ELSE %]New[% END %]</title>
4
    <title>Koha &rsaquo; Tools &rsaquo; Patron card creator &rsaquo; Batches &rsaquo; [% IF batch_id %]Edit ([% batch_id %])[% ELSE %]New[% END %]</title>
4
    [% INCLUDE 'doc-head-close.inc' %]
5
    [% INCLUDE 'doc-head-close.inc' %]
5
    <link rel="stylesheet" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
6
    [% Asset.css("css/datatables.css") %]
6
</head>
7
</head>
7
8
8
<body id="pcard_edit-batch" class="tools pcard">
9
<body id="pcard_edit-batch" class="tools pcard">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-template.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
    [% INCLUDE 'doc-head-open.inc' %]
3
    [% INCLUDE 'doc-head-open.inc' %]
3
    <title>Koha &rsaquo; Tools &rsaquo; Patron card creator &rsaquo; Templates &rsaquo; [% IF (template_id) %]Edit ([% template_id %])[% ELSE %]New[% END %]</title>
4
    <title>Koha &rsaquo; Tools &rsaquo; Patron card creator &rsaquo; Templates &rsaquo; [% IF (template_id) %]Edit ([% template_id %])[% ELSE %]New[% END %]</title>
Lines 158-164 Link Here
158
    </div>
159
    </div>
159
160
160
[% MACRO jsinclude BLOCK %]
161
[% MACRO jsinclude BLOCK %]
161
    <script src="[% interface %]/[% theme %]/js/tools-menu_[% KOHA_VERSION %].js"></script>
162
    [% Asset.js("js/tools-menu.js") %]
162
    <script>
163
    <script>
163
        $(document).ready(function(){
164
        $(document).ready(function(){
164
            var selectedUnit = $("#units option:selected").attr("value");
165
            var selectedUnit = $("#units option:selected").attr("value");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/print.tt (-2 / +3 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
<!DOCTYPE html>
3
<!DOCTYPE html>
3
[% IF ( bidi ) %]<html lang="[% lang %]" dir="[% bidi %]">[% ELSE %]<html lang="[% lang %]">[% END %]
4
[% IF ( bidi ) %]<html lang="[% lang %]" dir="[% bidi %]">[% ELSE %]<html lang="[% lang %]">[% END %]
Lines 115-122 Link Here
115
    </div>
116
    </div>
116
117
117
[% IF ( IntranetUserJS ) %]
118
[% IF ( IntranetUserJS ) %]
118
    <script src="[% interface %]/lib/jquery/jquery-2.2.3.min_[% KOHA_VERSION %].js"></script>
119
    [% Asset.js("lib/jquery/jquery-2.2.3.min.js") %]
119
    <script src="[% interface %]/lib/jquery/jquery-migrate-1.3.0.min_[% KOHA_VERSION %].js"></script>
120
    [% Asset.js("lib/jquery/jquery-migrate-1.3.0.min.js") %]
120
    <script>
121
    <script>
121
        [% IntranetUserJS %]
122
        [% IntranetUserJS %]
122
        function Done() {
123
        function Done() {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
Lines 132-138 Link Here
132
</div>
133
</div>
133
134
134
[% MACRO jsinclude BLOCK %]
135
[% MACRO jsinclude BLOCK %]
135
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/tools-menu_[% KOHA_VERSION %].js"></script>
136
    [% Asset.js("js/tools-menu.js") %]
136
    [% INCLUDE 'calendar.inc' %]
137
    [% INCLUDE 'calendar.inc' %]
137
    <script type="text/javascript">
138
    <script type="text/javascript">
138
        $(document).ready(function(){
139
        $(document).ready(function(){
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[% USE Price %]
3
[% USE Price %]
3
[% USE ItemTypes %]
4
[% USE ItemTypes %]
Lines 5-11 Link Here
5
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Koha &rsaquo; Reports [% IF ( do_it ) %]&rsaquo; Cash register statistics &rsaquo; Results[% ELSE %]&rsaquo; Cash register statistics[% END %]</title>
7
<title>Koha &rsaquo; Reports [% IF ( do_it ) %]&rsaquo; Cash register statistics &rsaquo; Results[% ELSE %]&rsaquo; Cash register statistics[% END %]</title>
7
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
8
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
9
[% Asset.css("css/datatables.css") %]
9
</head>
10
</head>
10
11
11
<body id="cash_register_stats" class="rep">
12
<body id="cash_register_stats" class="rep">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[% USE Koha %]
3
[% USE Koha %]
3
[% USE ColumnsSettings %]
4
[% USE ColumnsSettings %]
Lines 50-56 Link Here
50
    }
51
    }
51
</style>
52
</style>
52
[% IF ( saved1 ) %]
53
[% IF ( saved1 ) %]
53
    <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
54
    [% Asset.css("css/datatables.css") %]
54
[% END %]
55
[% END %]
55
</head>
56
</head>
56
57
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt (-4 / +5 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE AuthorisedValues %]
2
[% USE AuthorisedValues %]
2
[% USE Branches %]
3
[% USE Branches %]
3
[% USE ColumnsSettings %]
4
[% USE ColumnsSettings %]
Lines 7-13 Link Here
7
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
8
<title>Koha &rsaquo; Reports &rsaquo; Lost items</title>
9
<title>Koha &rsaquo; Reports &rsaquo; Lost items</title>
9
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
10
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
11
[% Asset.css("css/datatables.css") %]
11
</head>
12
</head>
12
13
13
<body id="rep_itemslost" class="rep">
14
<body id="rep_itemslost" class="rep">
Lines 167-176 Link Here
167
168
168
[% MACRO jsinclude BLOCK %]
169
[% MACRO jsinclude BLOCK %]
169
    [% INCLUDE 'datatables.inc' %]
170
    [% INCLUDE 'datatables.inc' %]
170
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.dataTables.columnFilter_[% KOHA_VERSION %].js"></script>
171
    [% Asset.js("lib/jquery/plugins/jquery.dataTables.columnFilter.js") %]
171
    [% INCLUDE 'columns_settings.inc' %]
172
    [% INCLUDE 'columns_settings.inc' %]
172
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/table_filters_[% KOHA_VERSION %].js"></script>
173
    [% Asset.js("js/table_filters.js") %]
173
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min_[% KOHA_VERSION %].js"></script>
174
    [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") %]
174
    <script type='text/javascript'>
175
    <script type='text/javascript'>
175
        $(document).ready(function() {
176
        $(document).ready(function() {
176
            var columns_settings = [% ColumnsSettings.GetColumns( 'reports', 'lostitems', 'lostitems-table', 'json' ) %];
177
            var columns_settings = [% ColumnsSettings.GetColumns( 'reports', 'lostitems', 'lostitems-table', 'json' ) %];
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemtypes.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Branches %]
2
[% USE Branches %]
2
[% USE ItemTypes %]
3
[% USE ItemTypes %]
3
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
Lines 5-11 Link Here
5
<title>Koha &rsaquo; Reports &rsaquo; Catalog by item types</title>
6
<title>Koha &rsaquo; Reports &rsaquo; Catalog by item types</title>
6
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
7
[% IF ( do_it ) %]
8
[% IF ( do_it ) %]
8
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
9
[% Asset.css("css/datatables.css") %]
9
[% END %]
10
[% END %]
10
</head>
11
</head>
11
12
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/orders_by_budget.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Price %]
2
[% USE Price %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
Lines 8-14 Link Here
8
[% INCLUDE 'header.inc' %]
9
[% INCLUDE 'header.inc' %]
9
[% INCLUDE 'cat-search.inc' %]
10
[% INCLUDE 'cat-search.inc' %]
10
11
11
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
12
[% Asset.css("css/datatables.css") %]
12
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a>[% IF ( get_orders ) %] &rsaquo; <a href="/cgi-bin/koha/reports/orders_by_fund.pl">Orders by fund</a> &rsaquo; Results[% ELSE %] &rsaquo; Orders by fund[% END %]</div>
13
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a>[% IF ( get_orders ) %] &rsaquo; <a href="/cgi-bin/koha/reports/orders_by_fund.pl">Orders by fund</a> &rsaquo; Results[% ELSE %] &rsaquo; Orders by fund[% END %]</div>
13
14
14
<div id="doc3" class="yui-t2">
15
<div id="doc3" class="yui-t2">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/serials_stats.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[% USE Branches %]
3
[% USE Branches %]
3
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
Lines 7-13 Link Here
7
<style type="text/css">
8
<style type="text/css">
8
	.sql {display: none;}
9
	.sql {display: none;}
9
</style>
10
</style>
10
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
11
[% Asset.css("css/datatables.css") %]
11
</head>
12
</head>
12
13
13
<body id="rep_serials_stats" class="rep">
14
<body id="rep_serials_stats" class="rep">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt (-2 / +3 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE KohaDates %]
3
[% USE KohaDates %]
3
[% USE Branches %]
4
[% USE Branches %]
Lines 10-19 Link Here
10
    <title>Koha &rsaquo; Circulation &rsaquo; Holds &rsaquo; Confirm holds</title>
11
    <title>Koha &rsaquo; Circulation &rsaquo; Holds &rsaquo; Confirm holds</title>
11
[% END %]
12
[% END %]
12
[% INCLUDE 'doc-head-close.inc' %]
13
[% INCLUDE 'doc-head-close.inc' %]
13
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
14
[% Asset.css("css/datatables.css") %]
14
[% INCLUDE 'datatables.inc' %]
15
[% INCLUDE 'datatables.inc' %]
15
[% INCLUDE 'calendar.inc' %]
16
[% INCLUDE 'calendar.inc' %]
16
<script type="text/javascript" src="[% interface %]/[% theme %]/js/circ-patron-search-results_[% KOHA_VERSION %].js"></script>
17
[% Asset.js("js/circ-patron-search-results.js") %]
17
<script type="text/javascript">
18
<script type="text/javascript">
18
    // <![CDATA[
19
    // <![CDATA[
19
var MSG_CONFIRM_DELETE_HOLD   = _("Are you sure you want to cancel this hold?");
20
var MSG_CONFIRM_DELETE_HOLD   = _("Are you sure you want to cancel this hold?");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reviews/reviewswaiting.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Tools &rsaquo; Comments &rsaquo; [% IF ( status ) %] Approved comments[% ELSE %] Comments awaiting moderation[% END %]</title>
4
<title>Koha &rsaquo; Tools &rsaquo; Comments &rsaquo; [% IF ( status ) %] Approved comments[% ELSE %] Comments awaiting moderation[% END %]</title>
Lines 75-81 Link Here
75
</div>
76
</div>
76
77
77
[% MACRO jsinclude BLOCK %]
78
[% MACRO jsinclude BLOCK %]
78
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/tools-menu_[% KOHA_VERSION %].js"></script>
79
    [% Asset.js("js/tools-menu.js") %]
79
[% END %]
80
[% END %]
80
81
81
[% INCLUDE 'intranet-bottom.inc' %]
82
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/addItems.tt (-2 / +3 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Tools &rsaquo; Rotating collections &rsaquo; Collection [% colTitle %] &rsquo; Add or remove items</title>
4
<title>Koha &rsaquo; Tools &rsaquo; Rotating collections &rsaquo; Collection [% colTitle %] &rsquo; Add or remove items</title>
Lines 121-128 Link Here
121
    </div> <!-- /#bd -->
122
    </div> <!-- /#bd -->
122
123
123
[% MACRO jsinclude BLOCK %]
124
[% MACRO jsinclude BLOCK %]
124
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/tools-menu_[% KOHA_VERSION %].js"></script>
125
    [% Asset.js("js/tools-menu.js") %]
125
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/rotating-collections_[% KOHA_VERSION %].js"></script>
126
    [% Asset.js("js/rotating-collections.js") %]
126
[% END %]
127
[% END %]
127
128
128
[% INCLUDE 'intranet-bottom.inc' %]
129
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/editCollections.tt (-2 / +3 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Tools &rsaquo; Rotating collections &rsaquo;
4
<title>Koha &rsaquo; Tools &rsaquo; Rotating collections &rsaquo;
Lines 137-144 Link Here
137
    </div> <!-- /#bd -->
138
    </div> <!-- /#bd -->
138
139
139
[% MACRO jsinclude BLOCK %]
140
[% MACRO jsinclude BLOCK %]
140
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/tools-menu_[% KOHA_VERSION %].js"></script>
141
    [% Asset.js("js/tools-menu.js") %]
141
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/rotating-collections_[% KOHA_VERSION %].js"></script>
142
    [% Asset.js("js/rotating-collections.js") %]
142
[% END %]
143
[% END %]
143
144
144
[% INCLUDE 'intranet-bottom.inc' %]
145
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/rotatingCollections.tt (-3 / +4 lines)
Lines 1-9 Link Here
1
[% USE Asset %]
1
[% USE Branches %]
2
[% USE Branches %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Koha &rsaquo; Tools &rsaquo; Rotating collections</title>
5
<title>Koha &rsaquo; Tools &rsaquo; Rotating collections</title>
5
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
6
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
7
[% Asset.css("css/datatables.css") %]
7
</head>
8
</head>
8
9
9
<body id="rcoll_rotatingCollections" class="tools rcoll">
10
<body id="rcoll_rotatingCollections" class="tools rcoll">
Lines 67-74 Link Here
67
68
68
[% MACRO jsinclude BLOCK %]
69
[% MACRO jsinclude BLOCK %]
69
    [% INCLUDE 'datatables.inc' %]
70
    [% INCLUDE 'datatables.inc' %]
70
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/tools-menu_[% KOHA_VERSION %].js"></script>
71
    [% Asset.js("js/tools-menu.js") %]
71
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/rotating-collections_[% KOHA_VERSION %].js"></script>
72
    [% Asset.js("js/rotating-collections.js") %]
72
[% END %]
73
[% END %]
73
74
74
[% INCLUDE 'intranet-bottom.inc' %]
75
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/transferCollection.tt (-2 / +3 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Branches %]
2
[% USE Branches %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
Lines 59-66 Link Here
59
    </div> <!-- /#bd -->
60
    </div> <!-- /#bd -->
60
61
61
[% MACRO jsinclude BLOCK %]
62
[% MACRO jsinclude BLOCK %]
62
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/tools-menu_[% KOHA_VERSION %].js"></script>
63
    [% Asset.js("js/tools-menu.js") %]
63
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/rotating-collections_[% KOHA_VERSION %].js"></script>
64
    [% Asset.js("js/rotating-collections.js") %]
64
[% END %]
65
[% END %]
65
66
66
[% INCLUDE 'intranet-bottom.inc' %]
67
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/add_fields.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE AuthorisedValues %]
2
[% USE AuthorisedValues %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
Lines 10-16 Link Here
10
  [% END %]
11
  [% END %]
11
</title>
12
</title>
12
[% INCLUDE 'doc-head-close.inc' %]
13
[% INCLUDE 'doc-head-close.inc' %]
13
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
14
[% Asset.css("css/datatables.css") %]
14
</head>
15
</head>
15
16
16
<body id="ser_add_fields" class="ser">
17
<body id="ser_add_fields" class="ser">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt (-1 / +2 lines)
Lines 1-10 Link Here
1
[% USE Asset %]
1
[% USE AuthorisedValues %]
2
[% USE AuthorisedValues %]
2
[% USE Branches %]
3
[% USE Branches %]
3
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
5
    <title>Koha &rsaquo; Serials &rsaquo; Claims</title>
6
    <title>Koha &rsaquo; Serials &rsaquo; Claims</title>
6
    [% INCLUDE 'doc-head-close.inc' %]
7
    [% INCLUDE 'doc-head-close.inc' %]
7
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
8
[% Asset.css("css/datatables.css") %]
8
</head>
9
</head>
9
10
10
<body id="ser_claims" class="ser">
11
<body id="ser_claims" class="ser">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt (-3 / +4 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE AuthorisedValues %]
2
[% USE AuthorisedValues %]
2
[% USE Branches %]
3
[% USE Branches %]
3
[% USE KohaDates %]
4
[% USE KohaDates %]
Lines 5-11 Link Here
5
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Koha &rsaquo; Serials &rsaquo; Serial collection information for [% bibliotitle %]</title>
7
<title>Koha &rsaquo; Serials &rsaquo; Serial collection information for [% bibliotitle %]</title>
7
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
8
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
9
[% Asset.css("css/datatables.css") %]
9
</head>
10
</head>
10
11
11
<body id="ser_serials-collection" class="ser">
12
<body id="ser_serials-collection" class="ser">
Lines 270-277 Link Here
270
        var MSG_REOPEN_SUBSCRIPTION = _("Are you sure you want to reopen this subscription?");
271
        var MSG_REOPEN_SUBSCRIPTION = _("Are you sure you want to reopen this subscription?");
271
        var CONFIRM_DELETE_SUBSCRIPTION = _("Are you sure you want to delete this subscription?");
272
        var CONFIRM_DELETE_SUBSCRIPTION = _("Are you sure you want to delete this subscription?");
272
    </script>
273
    </script>
273
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/serials-toolbar_[% KOHA_VERSION %].js"></script>
274
    [% Asset.js("js/serials-toolbar.js") %]
274
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min_[% KOHA_VERSION %].js"></script>
275
    [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") %]
275
    <script type="text/javascript">
276
    <script type="text/javascript">
276
        function generateReceive(subscriptionid) {
277
        function generateReceive(subscriptionid) {
277
            if(nbissues=prompt(_("How many issues do you want to receive ?"))){
278
            if(nbissues=prompt(_("How many issues do you want to receive ?"))){
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt (-2 / +3 lines)
Lines 1-9 Link Here
1
[% USE Asset %]
1
[% USE AuthorisedValues %]
2
[% USE AuthorisedValues %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Serials &rsaquo; Serial edition [% bibliotitle %]</title>
4
<title>Koha &rsaquo; Serials &rsaquo; Serial edition [% bibliotitle %]</title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
5
<script type="text/javascript" src="[% interface %]/[% theme %]/js/cataloging_[% KOHA_VERSION %].js"></script>
6
[% Asset.js("js/cataloging.js") %]
6
<script type="text/javascript" src="[% interface %]/[% theme %]/js/prevent_submit_[% KOHA_VERSION %].js"></script>
7
[% Asset.js("js/prevent_submit.js") %]
7
[% INCLUDE 'calendar.inc' %]
8
[% INCLUDE 'calendar.inc' %]
8
<script language="JavaScript" type="text/javascript">
9
<script language="JavaScript" type="text/javascript">
9
//<![CDATA[
10
//<![CDATA[
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-home.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
Lines 23-29 Link Here
23
</div>
24
</div>
24
25
25
[% MACRO jsinclude BLOCK %]
26
[% MACRO jsinclude BLOCK %]
26
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/serials-toolbar_[% KOHA_VERSION %].js"></script>
27
    [% Asset.js("js/serials-toolbar.js") %]
27
    <script type="text/javascript">
28
    <script type="text/javascript">
28
        var subscriptionid = "[% subscriptionid %]";
29
        var subscriptionid = "[% subscriptionid %]";
29
        var MSG_CLOSE_SUBSCRIPTION = _("Are you sure you want to close this subscription?");
30
        var MSG_CLOSE_SUBSCRIPTION = _("Are you sure you want to close this subscription?");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt (-2 / +3 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE AuthorisedValues %]
2
[% USE AuthorisedValues %]
2
[% USE Branches %]
3
[% USE Branches %]
3
[% USE KohaDates %]
4
[% USE KohaDates %]
Lines 5-11 Link Here
5
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Koha &rsaquo; Serials [% biblionumber %]</title>
7
<title>Koha &rsaquo; Serials [% biblionumber %]</title>
7
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
8
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
9
[% Asset.css("css/datatables.css") %]
9
<style type="text/css">input.dt-filter { width : 100%; font-size : 85%; }</style>
10
<style type="text/css">input.dt-filter { width : 100%; font-size : 85%; }</style>
10
</head>
11
</head>
11
12
Lines 424-430 Link Here
424
        var MSG_REOPEN_SUBSCRIPTION = _("Are you sure you want to reopen this subscription?");
425
        var MSG_REOPEN_SUBSCRIPTION = _("Are you sure you want to reopen this subscription?");
425
        var CONFIRM_DELETE_SUBSCRIPTION = _("Are you sure you want to delete this subscription?");
426
        var CONFIRM_DELETE_SUBSCRIPTION = _("Are you sure you want to delete this subscription?");
426
    </script>
427
    </script>
427
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/serials-toolbar_[% KOHA_VERSION %].js"></script>
428
    [% Asset.js("js/serials-toolbar.js") %]
428
    <script type="text/javascript">
429
    <script type="text/javascript">
429
        $(document).ready(function() {
430
        $(document).ready(function() {
430
            var osrlt = $("#osrlt").dataTable($.extend(true, {}, dataTablesDefaults, {
431
            var osrlt = $("#osrlt").dataTable($.extend(true, {}, dataTablesDefaults, {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt (-2 / +3 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[% USE Branches %]
3
[% USE Branches %]
3
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
Lines 508-515 fieldset.rows li.radio { width: 100%; } /* override staff-global.css */ Link Here
508
        var MSG_PUB_DATE_UNDEFINED = _("First publication date is not defined");
509
        var MSG_PUB_DATE_UNDEFINED = _("First publication date is not defined");
509
        var MSG_NEXT_ISSUE_UNDEFINED = _("Next issue publication date is not defined");
510
        var MSG_NEXT_ISSUE_UNDEFINED = _("Next issue publication date is not defined");
510
    </script>
511
    </script>
511
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/subscription-add_[% KOHA_VERSION %].js"></script>
512
    [% Asset.js("js/subscription-add.js") %]
512
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/showpredictionpattern_[% KOHA_VERSION %].js"></script>
513
    [% Asset.js("js/showpredictionpattern.js") %]
513
[% END %]
514
[% END %]
514
515
515
[% INCLUDE 'intranet-bottom.inc' %]
516
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE Branches %]
3
[% USE Branches %]
3
[% USE AuthorisedValues %]
4
[% USE AuthorisedValues %]
Lines 378-384 Link Here
378
        var MSG_REOPEN_SUBSCRIPTION = _("Are you sure you want to reopen this subscription?");
379
        var MSG_REOPEN_SUBSCRIPTION = _("Are you sure you want to reopen this subscription?");
379
        var CONFIRM_DELETE_SUBSCRIPTION = _("Are you sure you want to delete this subscription?");
380
        var CONFIRM_DELETE_SUBSCRIPTION = _("Are you sure you want to delete this subscription?");
380
    </script>
381
    </script>
381
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/serials-toolbar_[% KOHA_VERSION %].js"></script>
382
    [% Asset.js("js/serials-toolbar.js") %]
382
    <script type="text/javascript">
383
    <script type="text/javascript">
383
        // the english words used in display purposes
384
        // the english words used in display purposes
384
        var text = new Array(_("Number"),_("Volume"),_("Issue"),_("Month"),_("Week"),_("Starting with:"),_("Rollover at:"),_("Choose Hemisphere:"),_("Northern"),_("Southern",
385
        var text = new Array(_("Number"),_("Volume"),_("Issue"),_("Month"),_("Week"),_("Starting with:"),_("Rollover at:"),_("Choose Hemisphere:"),_("Northern"),_("Southern",
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-numberpatterns.tt (-2 / +3 lines)
Lines 1-8 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Serials &rsaquo; Numbering patterns</title>
4
<title>Koha &rsaquo; Serials &rsaquo; Numbering patterns</title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
5
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
6
[% Asset.css("css/datatables.css") %]
6
</head>
7
</head>
7
8
8
<body id="ser_subscription_numberpatterns" class="ser">
9
<body id="ser_subscription_numberpatterns" class="ser">
Lines 301-307 Link Here
301
302
302
[% MACRO jsinclude BLOCK %]
303
[% MACRO jsinclude BLOCK %]
303
    [% IF (daily_options) %]
304
    [% IF (daily_options) %]
304
        <script type="text/javascript" src="[% interface %]/[% theme %]/js/showpredictionpattern_[% KOHA_VERSION %].js"></script>
305
        [% Asset.js("js/showpredictionpattern.js") %]
305
    [% END %]
306
    [% END %]
306
    [% INCLUDE 'calendar.inc' %]
307
    [% INCLUDE 'calendar.inc' %]
307
    [% INCLUDE 'datatables.inc' %]
308
    [% INCLUDE 'datatables.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt (-4 / +5 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Branches %]
2
[% USE Branches %]
2
[% USE AuthorisedValues %]
3
[% USE AuthorisedValues %]
3
[% USE KohaDates %]
4
[% USE KohaDates %]
Lines 19-25 Link Here
19
</title>
20
</title>
20
[% INCLUDE 'doc-head-close.inc' %]
21
[% INCLUDE 'doc-head-close.inc' %]
21
[% IF ( op_else ) %]
22
[% IF ( op_else ) %]
22
    <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
23
    [% Asset.css("css/datatables.css") %]
23
[% END %]
24
[% END %]
24
[% IF ( op_else ) %]
25
[% IF ( op_else ) %]
25
    <style type="text/css">
26
    <style type="text/css">
Lines 766-772 Link Here
766
    [% END %]
767
    [% END %]
767
    [% IF ( op_else ) %]
768
    [% IF ( op_else ) %]
768
        [% INCLUDE 'datatables.inc' %]
769
        [% INCLUDE 'datatables.inc' %]
769
        <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min_[% KOHA_VERSION %].js"></script>
770
        [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") %]
770
        <script type="text/javascript">
771
        <script type="text/javascript">
771
            /**
772
            /**
772
            *  displayOther.
773
            *  displayOther.
Lines 921-928 Link Here
921
            });
922
            });
922
        </script>
923
        </script>
923
    [% END %]
924
    [% END %]
924
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/acq_[% KOHA_VERSION %].js"></script>
925
    [% Asset.js("js/acq.js") %]
925
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/acquisitions-menu_[% KOHA_VERSION %].js"></script>
926
    [% Asset.js("js/acquisitions-menu.js") %]
926
[% END %]
927
[% END %]
927
928
928
[% INCLUDE 'intranet-bottom.inc' %]
929
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/list.tt (-1 / +2 lines)
Lines 1-8 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Tools &rsaquo; Tags &rsaquo; [% IF ( do_it ) %]Review &rsaquo; [% ELSE %]Review tags[% END %]</title>
4
<title>Koha &rsaquo; Tools &rsaquo; Tags &rsaquo; [% IF ( do_it ) %]Review &rsaquo; [% ELSE %]Review tags[% END %]</title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
5
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
6
[% Asset.css("css/datatables.css") %]
6
<style type="text/css">
7
<style type="text/css">
7
tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : transparent; }</style>
8
tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : transparent; }</style>
8
</head>
9
</head>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt (-3 / +4 lines)
Lines 1-9 Link Here
1
[% USE Asset %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Home &rsaquo; Tools &rsaquo; Tags &rsaquo; [% IF ( do_it ) %]Review &rsaquo; [% ELSE %]Review tags[% END %]</title>
5
<title>Home &rsaquo; Tools &rsaquo; Tags &rsaquo; [% IF ( do_it ) %]Review &rsaquo; [% ELSE %]Review tags[% END %]</title>
5
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
6
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
7
[% Asset.css("css/datatables.css") %]
7
<style type="text/css">
8
<style type="text/css">
8
.setlabel {width: 6em; font-family: courier; background-color:#E8E8E8;}
9
.setlabel {width: 6em; font-family: courier; background-color:#E8E8E8;}
9
.rejected { color: #CC0033; }
10
.rejected { color: #CC0033; }
Lines 225-232 tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; } Link Here
225
[% MACRO jsinclude BLOCK %]
226
[% MACRO jsinclude BLOCK %]
226
    [% INCLUDE 'datatables.inc' %]
227
    [% INCLUDE 'datatables.inc' %]
227
    [% INCLUDE 'calendar.inc' %]
228
    [% INCLUDE 'calendar.inc' %]
228
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min_[% KOHA_VERSION %].js"></script>
229
    [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") %]
229
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/pages/tags-review_[% KOHA_VERSION %].js"></script>
230
    [% Asset.js("js/pages/tags-review.js") %]
230
    <script type="text/javascript">
231
    <script type="text/javascript">
231
        var MSG_AJAX_APPROVE_FAILED = _("AJAX failed to approve tag: %s");
232
        var MSG_AJAX_APPROVE_FAILED = _("AJAX failed to approve tag: %s");
232
        var MSG_AJAX_REJECTION_FAILED = _("AJAX failed to reject tag: %s");
233
        var MSG_AJAX_REJECTION_FAILED = _("AJAX failed to reject tag: %s");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/automatic_item_modification_by_age.tt (-3 / +4 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Tools &rsaquo; Automatic item modifications by age</title>
4
<title>Koha &rsaquo; Tools &rsaquo; Automatic item modifications by age</title>
Lines 223-231 Link Here
223
</div>
224
</div>
224
225
225
[% MACRO jsinclude BLOCK %]
226
[% MACRO jsinclude BLOCK %]
226
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/tools-menu_[% KOHA_VERSION %].js"></script>
227
    [% Asset.js("js/tools-menu.js") %]
227
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.fixFloat_[% KOHA_VERSION %].js"></script>
228
    [% Asset.js("lib/jquery/plugins/jquery.fixFloat.js") %]
228
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/automatic_item_modification_by_age_[% KOHA_VERSION %].js"></script>
229
    [% Asset.js("js/automatic_item_modification_by_age.js") %]
229
    [% IF op == 'edit_form' %]
230
    [% IF op == 'edit_form' %]
230
        <script type="text/javascript">
231
        <script type="text/javascript">
231
            $(document).ready(function() {
232
            $(document).ready(function() {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt (-4 / +5 lines)
Lines 1-8 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Tools &rsaquo; Batch item deletion</title>
4
<title>Koha &rsaquo; Tools &rsaquo; Batch item deletion</title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
5
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
6
[% Asset.css("css/datatables.css") %]
6
<!--[if IE]>
7
<!--[if IE]>
7
<style type="text/css">#selections { display: none; }</style>
8
<style type="text/css">#selections { display: none; }</style>
8
<![endif]-->
9
<![endif]-->
Lines 184-193 Link Here
184
    </div>
185
    </div>
185
186
186
[% MACRO jsinclude BLOCK %]
187
[% MACRO jsinclude BLOCK %]
187
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/tools-menu_[% KOHA_VERSION %].js"></script>
188
    [% Asset.js("js/tools-menu.js") %]
188
    [% INCLUDE 'datatables.inc' %]
189
    [% INCLUDE 'datatables.inc' %]
189
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/pages/batchMod_[% KOHA_VERSION %].js"></script>
190
    [% Asset.js("js/pages/batchMod.js") %]
190
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min_[% KOHA_VERSION %].js"></script>
191
    [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") %]
191
    <script type="text/javascript">
192
    <script type="text/javascript">
192
        // Prepare array of all column headers, incrementing each index by
193
        // Prepare array of all column headers, incrementing each index by
193
        // two to accommodate control and title columns
194
        // two to accommodate control and title columns
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt (-6 / +7 lines)
Lines 1-13 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Tools &rsaquo; Batch item modification</title>
4
<title>Koha &rsaquo; Tools &rsaquo; Batch item modification</title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
5
<script type="text/javascript" src="[% interface %]/[% theme %]/js/background-job-progressbar_[% KOHA_VERSION %].js"></script>
6
[% Asset.js("js/background-job-progressbar.js") %]
6
<script type="text/javascript" src="[% interface %]/[% theme %]/js/cataloging_[% KOHA_VERSION %].js"></script>
7
[% Asset.js("js/cataloging.js") %]
7
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
8
[% Asset.css("css/datatables.css") %]
8
[% INCLUDE 'datatables.inc' %]
9
[% INCLUDE 'datatables.inc' %]
9
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min_[% KOHA_VERSION %].js"></script>
10
[% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") %]
10
<script type="text/javascript" src="[% interface %]/[% theme %]/js/pages/batchMod_[% KOHA_VERSION %].js"></script>
11
[% Asset.js("js/pages/batchMod.js") %]
11
<script type="text/javascript">
12
<script type="text/javascript">
12
//<![CDATA[
13
//<![CDATA[
13
14
Lines 41-47 $(document).ready(function(){ Link Here
41
<style type="text/css">#selections { display: none; }</style>
42
<style type="text/css">#selections { display: none; }</style>
42
<![endif]-->
43
<![endif]-->
43
<style type="text/css">input[type=checkbox]{ margin : 0 .5em; }</style>
44
<style type="text/css">input[type=checkbox]{ margin : 0 .5em; }</style>
44
<link type="text/css" rel="stylesheet" href="[% interface %]/[% theme %]/css/addbiblio_[% KOHA_VERSION %].css" />
45
[% Asset.css("css/addbiblio.css") %]
45
46
46
[% INCLUDE 'select2.inc' %]
47
[% INCLUDE 'select2.inc' %]
47
<script type="text/javascript">
48
<script type="text/javascript">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Tools &rsaquo; [% IF ( del ) %]Batch item deletion[% ELSE %]Batch item modification[% END %] </title>
4
<title>Koha &rsaquo; Tools &rsaquo; [% IF ( del ) %]Batch item deletion[% ELSE %]Batch item modification[% END %] </title>
Lines 74-80 Link Here
74
    </div>
75
    </div>
75
76
76
[% MACRO jsinclude BLOCK %]
77
[% MACRO jsinclude BLOCK %]
77
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/tools-menu_[% KOHA_VERSION %].js"></script>
78
    [% Asset.js("js/tools-menu.js") %]
78
[% END %]
79
[% END %]
79
80
80
[% INCLUDE 'intranet-bottom.inc' %]
81
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt (-3 / +4 lines)
Lines 1-9 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% PROCESS 'authorities-search-results.inc' %]
3
[% PROCESS 'authorities-search-results.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Koha &rsaquo; Tools &rsaquo; Batch record deletion</title>
5
<title>Koha &rsaquo; Tools &rsaquo; Batch record deletion</title>
5
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
6
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
7
[% Asset.css("css/datatables.css") %]
7
</head>
8
</head>
8
9
9
<body id="tools_batch_delete_records" class="tools">
10
<body id="tools_batch_delete_records" class="tools">
Lines 177-185 Link Here
177
</div>
178
</div>
178
179
179
[% MACRO jsinclude BLOCK %]
180
[% MACRO jsinclude BLOCK %]
180
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/tools-menu_[% KOHA_VERSION %].js"></script>
181
    [% Asset.js("js/tools-menu.js") %]
181
    [% INCLUDE 'datatables.inc' %]
182
    [% INCLUDE 'datatables.inc' %]
182
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min_[% KOHA_VERSION %].js"></script>
183
    [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") %]
183
    <script type="text/javascript">
184
    <script type="text/javascript">
184
        var MSG_CANNOT_BE_DELETED = _("This record cannot be deleted, at least one item is currently checked out.");
185
        var MSG_CANNOT_BE_DELETED = _("This record cannot be deleted, at least one item is currently checked out.");
185
        $(document).ready(function() {
186
        $(document).ready(function() {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt (-4 / +5 lines)
Lines 1-9 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% PROCESS 'authorities-search-results.inc' %]
3
[% PROCESS 'authorities-search-results.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Koha &rsaquo; Tools &rsaquo; Batch record modification</title>
5
<title>Koha &rsaquo; Tools &rsaquo; Batch record modification</title>
5
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
6
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
7
[% Asset.css("css/datatables.css") %]
7
</head>
8
</head>
8
9
9
<body id="tools_batch_record_modification" class="tools">
10
<body id="tools_batch_record_modification" class="tools">
Lines 235-244 Link Here
235
</div>
236
</div>
236
237
237
[% MACRO jsinclude BLOCK %]
238
[% MACRO jsinclude BLOCK %]
238
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/tools-menu_[% KOHA_VERSION %].js"></script>
239
    [% Asset.js("js/tools-menu.js") %]
239
    [% INCLUDE 'datatables.inc' %]
240
    [% INCLUDE 'datatables.inc' %]
240
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min_[% KOHA_VERSION %].js"></script>
241
    [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") %]
241
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/background-job-progressbar_[% KOHA_VERSION %].js"></script>
242
    [% Asset.js("js/background-job-progressbar.js") %]
242
    <script type="text/javascript">
243
    <script type="text/javascript">
243
        $(document).ready(function() {
244
        $(document).ready(function() {
244
          $("#selectall").click(function(e){
245
          $("#selectall").click(function(e){
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/cleanborrowers.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE KohaDates %]
3
[% USE KohaDates %]
3
[% USE Branches %]
4
[% USE Branches %]
Lines 215-221 Link Here
215
</div>
216
</div>
216
217
217
[% MACRO jsinclude BLOCK %]
218
[% MACRO jsinclude BLOCK %]
218
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/tools-menu_[% KOHA_VERSION %].js"></script>
219
    [% Asset.js("js/tools-menu.js") %]
219
    [% INCLUDE 'calendar.inc' %]
220
    [% INCLUDE 'calendar.inc' %]
220
    <script type="text/javascript">
221
    <script type="text/javascript">
221
        $(document).ready(function(){
222
        $(document).ready(function(){
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Tools &rsaquo; CSV export profiles</title>
4
<title>Koha &rsaquo; Tools &rsaquo; CSV export profiles</title>
Lines 286-292 Link Here
286
</div>
287
</div>
287
288
288
[% MACRO jsinclude BLOCK %]
289
[% MACRO jsinclude BLOCK %]
289
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/tools-menu_[% KOHA_VERSION %].js"></script>
290
    [% Asset.js("js/tools-menu.js") %]
290
    <script type="text/javascript">
291
    <script type="text/javascript">
291
        function reloadPage(p) {
292
        function reloadPage(p) {
292
            var id = p.value;
293
            var id = p.value;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Branches %]
2
[% USE Branches %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
Lines 288-294 Link Here
288
</div>
289
</div>
289
290
290
[% MACRO jsinclude BLOCK %]
291
[% MACRO jsinclude BLOCK %]
291
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/tools-menu_[% KOHA_VERSION %].js"></script>
292
    [% Asset.js("js/tools-menu.js") %]
292
    [% INCLUDE 'calendar.inc' %]
293
    [% INCLUDE 'calendar.inc' %]
293
    <script type="text/javascript">
294
    <script type="text/javascript">
294
        $(document).ready(function() {
295
        $(document).ready(function() {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt (-2 / +3 lines)
Lines 1-9 Link Here
1
[% USE Asset %]
1
[% USE Branches %]
2
[% USE Branches %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Koha &rsaquo; Tools &rsaquo; [% Branches.GetName( branch ) %] calendar</title>
5
<title>Koha &rsaquo; Tools &rsaquo; [% Branches.GetName( branch ) %] calendar</title>
5
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
6
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
7
[% Asset.css("css/datatables.css") %]
7
<style type="text/css"> .key { padding : 3px; white-space:nowrap; line-height:230%; }
8
<style type="text/css"> .key { padding : 3px; white-space:nowrap; line-height:230%; }
8
.ui-datepicker { font-size : 150%; }
9
.ui-datepicker { font-size : 150%; }
9
.ui-datepicker th, .ui-datepicker .ui-datepicker-title select { font-size : 80%; }
10
.ui-datepicker th, .ui-datepicker .ui-datepicker-title select { font-size : 80%; }
Lines 340-346 td.repeatableyearly a.ui-state-default { background: #FFCC66 none; color : Bl Link Here
340
[% MACRO jsinclude BLOCK %]
341
[% MACRO jsinclude BLOCK %]
341
    [% INCLUDE 'calendar.inc' %]
342
    [% INCLUDE 'calendar.inc' %]
342
    [% INCLUDE 'datatables.inc' %]
343
    [% INCLUDE 'datatables.inc' %]
343
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/tools-menu_[% KOHA_VERSION %].js"></script>
344
    [% Asset.js("js/tools-menu.js") %]
344
    <script type="text/javascript">
345
    <script type="text/javascript">
345
        var weekdays = new Array(_("Sundays"),_("Mondays"),_("Tuesdays"),_("Wednesdays"),_("Thursdays"),_("Fridays"),_("Saturdays"));
346
        var weekdays = new Array(_("Sundays"),_("Mondays"),_("Tuesdays"),_("Wednesdays"),_("Thursdays"),_("Fridays"),_("Saturdays"));
346
347
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt (-2 / +3 lines)
Lines 1-3 Link Here
1
[% USE Asset %]
1
[% USE Koha %]