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

(-)a/C4/Installer/PerlDependencies.pm (+5 lines)
Lines 852-857 our $PERL_DEPS = { Link Here
852
        required => 1,
852
        required => 1,
853
        min_ver => '0.28',
853
        min_ver => '0.28',
854
    },
854
    },
855
    'Template::Stash::AutoEscaping' => {
856
        'usage'    => 'Code',
857
        'required' => '1',
858
        'min_ver'  => '0.0303',
859
    },
855
};
860
};
856
861
857
1;
862
1;
(-)a/C4/Templates.pm (+2 lines)
Lines 5-10 use warnings; Link Here
5
use Carp;
5
use Carp;
6
use CGI qw ( -utf8 );
6
use CGI qw ( -utf8 );
7
use List::MoreUtils qw/ any uniq /;
7
use List::MoreUtils qw/ any uniq /;
8
use Template::Stash::AutoEscaping;
8
9
9
# Copyright 2009 Chris Cormack and The Koha Dev Team
10
# Copyright 2009 Chris Cormack and The Koha Dev Team
10
#
11
#
Lines 71-76 sub new { Link Here
71
            COMPILE_DIR => $use_template_cache ? C4::Context->config('template_cache_dir') : '',
72
            COMPILE_DIR => $use_template_cache ? C4::Context->config('template_cache_dir') : '',
72
            INCLUDE_PATH => \@includes,
73
            INCLUDE_PATH => \@includes,
73
            FILTERS => {},
74
            FILTERS => {},
75
            STASH => Template::Stash::AutoEscaping->new,
74
            ENCODING => 'UTF-8',
76
            ENCODING => 'UTF-8',
75
        }
77
        }
76
    ) or die Template->error();
78
    ) or die Template->error();
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-search.inc (-1 / +1 lines)
Lines 12-18 Link Here
12
	
12
	
13
		<form action="/cgi-bin/koha/acqui/histsearch.pl" method="post">
13
		<form action="/cgi-bin/koha/acqui/histsearch.pl" method="post">
14
        <label for="title">Title: </label> <input type="text" id="title" name="title" size="15" value="[% title %]" />
14
        <label for="title">Title: </label> <input type="text" id="title" name="title" size="15" value="[% title %]" />
15
        <label for="searchsupplier">Vendor:</label> <input type="text" id="searchsupplier" name="name" size="15" value="[% name|html %]" />
15
        <label for="searchsupplier">Vendor:</label> <input type="text" id="searchsupplier" name="name" size="15" value="[% name %]" />
16
        <input type="hidden" id="do_search" name="do_search" value="do" />
16
        <input type="hidden" id="do_search" name="do_search" value="do" />
17
        <span class="filteraction" id="filteraction_off" style="display:none"> <a href="#" class="toggle_element" data-element="#filters,.filteraction">[-]</a></span>
17
        <span class="filteraction" id="filteraction_off" style="display:none"> <a href="#" class="toggle_element" data-element="#filters,.filteraction">[-]</a></span>
18
        <span class="filteraction" id="filteraction_on"> <a href="#" class="toggle_element" data-element="#filters,.filteraction">[+]</a></span>
18
        <span class="filteraction" id="filteraction_on"> <a href="#" class="toggle_element" data-element="#filters,.filteraction">[+]</a></span>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/auth-finder-search.inc (-4 / +4 lines)
Lines 142-148 function finderjumpfull(page) Link Here
142
                        <option value="is">is exactly</option>
142
                        <option value="is">is exactly</option>
143
                        [% END %]
143
                        [% END %]
144
                    </select>
144
                    </select>
145
                    <input id="value_mainstr" style="width:400px;" type="text" name="value_mainstr" value="[% value_mainstr |html %]" />
145
                    <input id="value_mainstr" style="width:400px;" type="text" name="value_mainstr" value="[% value_mainstr %]" />
146
                    <div id="yvaluecontainermainmainentry"></div>
146
                    <div id="yvaluecontainermainmainentry"></div>
147
                </li>
147
                </li>
148
148
Lines 168-174 function finderjumpfull(page) Link Here
168
                        <option value="is">is exactly</option>
168
                        <option value="is">is exactly</option>
169
                        [% END %]
169
                        [% END %]
170
                    </select>
170
                    </select>
171
                    <input id="value_main" style="width:400px;" type="text" name="value_main" value="[% value_main |html %]" />
171
                    <input id="value_main" style="width:400px;" type="text" name="value_main" value="[% value_main %]" />
172
                    <div id="yvaluecontainermainentry"></div>
172
                    <div id="yvaluecontainermainentry"></div>
173
                </li>
173
                </li>
174
                <li>
174
                <li>
Lines 193-199 function finderjumpfull(page) Link Here
193
                        <option value="is">is exactly</option>
193
                        <option value="is">is exactly</option>
194
                        [% END %]
194
                        [% END %]
195
                    </select>
195
                    </select>
196
                    <input type="text" name="value_match" value="[% value_match |html %]" />
196
                    <input type="text" name="value_match" value="[% value_match %]" />
197
                </li>
197
                </li>
198
                <li>
198
                <li>
199
                    <label for="marclistanywhere">Search entire record: </label>
199
                    <label for="marclistanywhere">Search entire record: </label>
Lines 217-223 function finderjumpfull(page) Link Here
217
                        <option value="is">is exactly</option>
217
                        <option value="is">is exactly</option>
218
                        [% END %]
218
                        [% END %]
219
                    </select>
219
                    </select>
220
                    <input id="value_any" style="width:400px;" type="text" name="value_any" value="[% value_any |html %]" />
220
                    <input id="value_any" style="width:400px;" type="text" name="value_any" value="[% value_any %]" />
221
                    <div id="yvaluecontainermarclist"></div>
221
                    <div id="yvaluecontainermarclist"></div>
222
                </li>
222
                </li>
223
        <li>
223
        <li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search-results.inc (-11 / +11 lines)
Lines 12-35 Link Here
12
    [% IF marcflavour == 'UNIMARC' %]
12
    [% IF marcflavour == 'UNIMARC' %]
13
        [% SWITCH type %]
13
        [% SWITCH type %]
14
        [% CASE 'broader' %]
14
        [% CASE 'broader' %]
15
            <span class="BT"><abbr title="Broader Term">BT</abbr>: [% heading | html %]</span>
15
            <span class="BT"><abbr title="Broader Term">BT</abbr>: [% heading %]</span>
16
        [% CASE 'narrower' %]
16
        [% CASE 'narrower' %]
17
            <span class="NT"><abbr title="Narrower Term">NT</abbr>: [% heading | html %]</span>
17
            <span class="NT"><abbr title="Narrower Term">NT</abbr>: [% heading %]</span>
18
        [% CASE 'seefrom' %]
18
        [% CASE 'seefrom' %]
19
            <span class="UF"><abbr title="Used For">UF</abbr>: [% heading | html %]</span>
19
            <span class="UF"><abbr title="Used For">UF</abbr>: [% heading %]</span>
20
        [% CASE 'seealso' %]
20
        [% CASE 'seealso' %]
21
            <span class="RT"><abbr title="Related Term">RT</abbr>: [% heading | html %]</span>
21
            <span class="RT"><abbr title="Related Term">RT</abbr>: [% heading %]</span>
22
        [% END %]
22
        [% END %]
23
    [% ELSE %]
23
    [% ELSE %]
24
        <span class="heading">
24
        <span class="heading">
25
        [% IF ( linkType=='seealso' ) %]
25
        [% IF ( linkType=='seealso' ) %]
26
            [% IF ( authid ) %]
26
            [% IF ( authid ) %]
27
            <a href="[% authidurl | url %][% authid | url %]">[% heading | html %]</a>
27
            <a href="[% authidurl | url %][% authid | url %]">[% heading %]</a>
28
            [% ELSE %]
28
            [% ELSE %]
29
            <a href="[% searchurl | url %][% heading | html %]">[% heading | html %]</a>
29
            <a href="[% searchurl | url %][% heading %]">[% heading %]</a>
30
            [% END %]
30
            [% END %]
31
        [% ELSE %]
31
        [% ELSE %]
32
            [% heading | html %]
32
            [% heading %]
33
        [% END %]
33
        [% END %]
34
        </span>
34
        </span>
35
        [% UNLESS ( type=='seefrom' || type=='seealso' ) %]
35
        [% UNLESS ( type=='seefrom' || type=='seealso' ) %]
Lines 42-48 Link Here
42
            [% CASE 'broader' %](Broader heading)
42
            [% CASE 'broader' %](Broader heading)
43
            [% CASE 'narrower' %](Narrower heading)
43
            [% CASE 'narrower' %](Narrower heading)
44
            [% CASE 'parent' %](Immediate parent body)
44
            [% CASE 'parent' %](Immediate parent body)
45
            [% CASE %][% IF type %]([% type | html %])
45
            [% CASE %][% IF type %]([% type %])
46
            [% END %]
46
            [% END %]
47
        [% END %]
47
        [% END %]
48
        </span>
48
        </span>
Lines 50-56 Link Here
50
    [% END %]
50
    [% END %]
51
[% END %]
51
[% END %]
52
[% BLOCK authresult %]
52
[% BLOCK authresult %]
53
    [% IF ( summary.label ) %][% summary.label | html %]:[% END %]
53
    [% IF ( summary.label ) %][% summary.label %]:[% END %]
54
    [% IF summary.summary %]
54
    [% IF summary.summary %]
55
      <div class="authority-summary">
55
      <div class="authority-summary">
56
        [% summary.summary %]
56
        [% summary.summary %]
Lines 59-65 Link Here
59
    [% UNLESS ( summary.summaryonly ) %]
59
    [% UNLESS ( summary.summaryonly ) %]
60
        <div class="authorizedheading">
60
        <div class="authorizedheading">
61
          [% FOREACH authorize IN summary.authorized %]
61
          [% FOREACH authorize IN summary.authorized %]
62
            <span class="authorizedheading">[% authorize.heading | html %]</span>
62
            <span class="authorizedheading">[% authorize.heading %]</span>
63
            [% UNLESS loop.last %] | [% END %]
63
            [% UNLESS loop.last %] | [% END %]
64
          [% END %]
64
          [% END %]
65
        </div>
65
        </div>
Lines 67-73 Link Here
67
          [% IF summary.notes %]
67
          [% IF summary.notes %]
68
           <div class="authres_notes">
68
           <div class="authres_notes">
69
           [% FOREACH note IN summary.notes %]
69
           [% FOREACH note IN summary.notes %]
70
             <span>[% note.note | html %]</span>
70
             <span>[% note.note %]</span>
71
           [% END %]
71
           [% END %]
72
           </div>
72
           </div>
73
          [% END %]
73
          [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search.inc (-4 / +4 lines)
Lines 53-59 Link Here
53
            <option value="is">is exactly</option>
53
            <option value="is">is exactly</option>
54
            [% END %]
54
            [% END %]
55
        </select>
55
        </select>
56
        <input id="value_mainentry" type="text" name="value" value="[% value | html%]" class="head-searchbox" />
56
        <input id="value_mainentry" type="text" name="value" value="[% value%]" class="head-searchbox" />
57
        <select name="orderby">
57
        <select name="orderby">
58
            [% IF ( orderby == 'HeadingAsc' ) %]
58
            [% IF ( orderby == 'HeadingAsc' ) %]
59
            <option value="HeadingAsc" selected="selected">Heading A-Z</option>
59
            <option value="HeadingAsc" selected="selected">Heading A-Z</option>
Lines 109-115 Link Here
109
            <option value="is">is exactly</option>
109
            <option value="is">is exactly</option>
110
            [% END %]
110
            [% END %]
111
        </select>
111
        </select>
112
        <input id="value_mainentry" type="text" name="value" value="[% value | html%]" class="head-searchbox" />
112
        <input id="value_mainentry" type="text" name="value" value="[% value %]" class="head-searchbox" />
113
        <select name="orderby">
113
        <select name="orderby">
114
            [% IF ( orderby == 'HeadingAsc' ) %]
114
            [% IF ( orderby == 'HeadingAsc' ) %]
115
            <option value="HeadingAsc" selected="selected">Heading A-Z</option>
115
            <option value="HeadingAsc" selected="selected">Heading A-Z</option>
Lines 163-169 Link Here
163
            <option value="is">is exactly</option>
163
            <option value="is">is exactly</option>
164
            [% END %]
164
            [% END %]
165
        </select>
165
        </select>
166
        <input id="value_matchheading" type="text" name="value" value="[% value | html %]" class="head-searchbox" />
166
        <input id="value_matchheading" type="text" name="value" value="[% value %]" class="head-searchbox" />
167
        <select name="orderby">
167
        <select name="orderby">
168
            [% IF ( orderby == 'HeadingAsc' ) %]
168
            [% IF ( orderby == 'HeadingAsc' ) %]
169
            <option value="HeadingAsc" selected="selected">Heading A-Z</option>
169
            <option value="HeadingAsc" selected="selected">Heading A-Z</option>
Lines 219-225 Link Here
219
            <option value="is">is exactly</option>
219
            <option value="is">is exactly</option>
220
            [% END %]
220
            [% END %]
221
        </select>
221
        </select>
222
        <input id="value_anywhere" type="text" name="value" value="[% value | html %]" class="head-searchbox" />
222
        <input id="value_anywhere" type="text" name="value" value="[% value %]" class="head-searchbox" />
223
        <select name="orderby">
223
        <select name="orderby">
224
            [% IF ( orderby == 'HeadingAsc' ) %]
224
            [% IF ( orderby == 'HeadingAsc' ) %]
225
            <option value="HeadingAsc" selected="selected">Heading A-Z</option>
225
            <option value="HeadingAsc" selected="selected">Heading A-Z</option>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities.inc (-2 / +2 lines)
Lines 8-16 Link Here
8
        [% FOREACH node IN tree %]
8
        [% FOREACH node IN tree %]
9
            <li id="hier[% node.authid %]" class="[% node.class %] authnode">
9
            <li id="hier[% node.authid %]" class="[% node.class %] authnode">
10
            [% IF ( node.current_value ) %]
10
            [% IF ( node.current_value ) %]
11
                <span class='currentauth'>[% node.value | html %]</span>
11
                <span class='currentauth'>[% node.value %]</span>
12
            [% ELSE %]
12
            [% ELSE %]
13
                <a href="detail.pl?authid=[% node.authid %]" title="Term">[% node.value | html %]</a>
13
                <a href="detail.pl?authid=[% node.authid %]" title="Term">[% node.value %]</a>
14
            [% END %]
14
            [% END %]
15
            [% IF ( node.children && node.children.size > 0 ) %]
15
            [% IF ( node.children && node.children.size > 0 ) %]
16
                [% PROCESS showtree tree = node.children %]
16
                [% PROCESS showtree tree = node.children %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/borrower_debarments.inc (-2 / +2 lines)
Lines 58-66 Link Here
58
                        </td>
58
                        </td>
59
                        <td>
59
                        <td>
60
			    [% IF d.comment.search('OVERDUES_PROCESS') %]
60
			    [% IF d.comment.search('OVERDUES_PROCESS') %]
61
				Restriction added by overdues process [% d.comment.remove('OVERDUES_PROCESS ') %]
61
				Restriction added by overdues process [% d.comment.remove('OVERDUES_PROCESS ').raw %]
62
			    [% ELSE %]
62
			    [% ELSE %]
63
				[% d.comment %]
63
                [% d.comment.raw %]
64
			    [% END %]
64
			    [% END %]
65
			</td>
65
			</td>
66
                        <td>[% IF d.expiration %] [% d.expiration | $KohaDates %] [% ELSE %] <i>Indefinite</i> [% END %]</td>
66
                        <td>[% IF d.expiration %] [% d.expiration | $KohaDates %] [% ELSE %] <i>Indefinite</i> [% END %]</td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.csv.inc (-1 / +1 lines)
Lines 2-5 Link Here
2
[%- USE Koha -%]
2
[%- USE Koha -%]
3
[%- biblio = item.biblio -%]
3
[%- biblio = item.biblio -%]
4
[%- biblioitem = item.biblioitem -%]
4
[%- biblioitem = item.biblioitem -%]
5
"[% biblio.title |html %] [% IF ( Koha.Preference( 'marcflavour' ) == 'UNIMARC' && biblio.author ) %]by [% END %][% biblio.author |html %]", "[% (biblioitem.publicationyear || biblio.copyrightdate) |html %]", "[% biblioitem.publishercode |html %]", "[% biblioitem.collectiontitle |html %]", "[% item.barcode |html %]", "[% item.itemcallnumber |html %]", "[% Branches.GetName(item.homebranch) |html %]", "[% Branches.GetName(item.holdingbranch) |html %]", "[% item.location |html %]", "[% item.stocknumber |html %]", "[% item.status |html %]", "[% (item.issues || 0) |html %]"
5
"[% biblio.title %] [% IF ( Koha.Preference( 'marcflavour' ) == 'UNIMARC' && biblio.author ) %]by [% END %][% biblio.author %]", "[% (biblioitem.publicationyear || biblio.copyrightdate) %]", "[% biblioitem.publishercode %]", "[% biblioitem.collectiontitle %]", "[% item.barcode %]", "[% item.itemcallnumber %]", "[% Branches.GetName(item.homebranch) %]", "[% Branches.GetName(item.holdingbranch) %]", "[% item.location %]", "[% item.stocknumber %]", "[% item.status %]", "[% (item.issues || 0) %]"
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.inc (-1 / +1 lines)
Lines 5-11 Link Here
5
<tr>
5
<tr>
6
  <td>
6
  <td>
7
    <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.biblionumber %]" title="Go to record detail page">[% biblio.title %]</a>
7
    <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.biblionumber %]" title="Go to record detail page">[% biblio.title %]</a>
8
    [% IF ( Koha.Preference( 'marcflavour' ) == 'UNIMARC' && biblio.author ) %] by[% END %] [% biblio.author |html %]
8
    [% IF ( Koha.Preference( 'marcflavour' ) == 'UNIMARC' && biblio.author ) %] by[% END %] [% biblio.author %]
9
  </td>
9
  </td>
10
  <td>[% biblioitem.publicationyear || biblio.copyrightdate %]</td>
10
  <td>[% biblioitem.publicationyear || biblio.copyrightdate %]</td>
11
  <td>[% biblioitem.publishercode %]</td>
11
  <td>[% biblioitem.publishercode %]</td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.json.inc (-12 / +12 lines)
Lines 4-24 Link Here
4
[%- biblioitem = item.biblioitem -%]
4
[%- biblioitem = item.biblioitem -%]
5
[
5
[
6
  "[% FILTER escape_quotes = replace('"', '\"') ~%]
6
  "[% FILTER escape_quotes = replace('"', '\"') ~%]
7
    <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.biblionumber %]" title="Go to record detail page">[% biblio.title |html %]</a>[% IF ( Koha.Preference( 'marcflavour' ) == 'UNIMARC' && biblio.author ) %] by[% END %] [% biblio.author |html %]
7
    <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.biblionumber %]" title="Go to record detail page">[% biblio.title %]</a>[% IF ( Koha.Preference( 'marcflavour' ) == 'UNIMARC' && biblio.author ) %] by[% END %] [% biblio.author %]
8
  [%~ END %]",
8
  [%~ END %]",
9
  "[% (biblioitem.publicationyear || biblio.copyrightdate) |html %]",
9
  "[% (biblioitem.publicationyear || biblio.copyrightdate) %]",
10
  "[% biblioitem.publishercode |html %]",
10
  "[% biblioitem.publishercode %]",
11
  "[% biblioitem.collectiontitle |html %]",
11
  "[% biblioitem.collectiontitle %]",
12
  "[% FILTER escape_quotes ~%]
12
  "[% FILTER escape_quotes ~%]
13
    <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblio.biblionumber %]#item[% item.itemnumber %]" title="Go to item details">[% item.barcode |html %]</a>
13
    <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblio.biblionumber %]#item[% item.itemnumber %]" title="Go to item details">[% item.barcode %]</a>
14
  [%~ END %]",
14
  [%~ END %]",
15
  "[% item.itemcallnumber |html %]",
15
  "[% item.itemcallnumber %]",
16
  "[% Branches.GetName(item.homebranch) |html %]",
16
  "[% Branches.GetName(item.homebranch) %]",
17
  "[% Branches.GetName(item.holdingbranch) |html %]",
17
  "[% Branches.GetName(item.holdingbranch) %]",
18
  "[% item.location |html %]",
18
  "[% item.location %]",
19
  "[% item.stocknumber |html %]",
19
  "[% item.stocknumber %]",
20
  "[% item.status |html %]",
20
  "[% item.status %]",
21
  "[% (item.issues || 0) |html %]",
21
  "[% (item.issues || 0) %]",
22
  "[% FILTER escape_quotes ~%]
22
  "[% FILTER escape_quotes ~%]
23
    <a href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% item.biblionumber %]&itemnumber=[% item.itemnumber %]">Edit</a>
23
    <a href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% item.biblionumber %]&itemnumber=[% item.itemnumber %]">Edit</a>
24
  [%~ END %]"
24
  [%~ END %]"
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc (-11 / +12 lines)
Lines 8-40 Link Here
8
<ul class="patronbriefinfo">
8
<ul class="patronbriefinfo">
9
    [% IF ( patronimages ) %]
9
    [% IF ( patronimages ) %]
10
        [% IF ( picture ) %]
10
        [% IF ( picture ) %]
11
            <li><img src="/cgi-bin/koha/members/patronimage.pl?borrowernumber=[% borrowernumber | uri %]" id="patronimage" alt="[% firstname | html %] [% surname | html %] ([% cardnumber | html %])" style="max-width : 140px; margin: .3em 0 .3em .3em; padding: .2em; border: 1px solid #CCCCCC; width:auto !important; width:130px;" /></li>
11
            <li><img src="/cgi-bin/koha/members/patronimage.pl?borrowernumber=[% borrowernumber | uri %]" id="patronimage" alt="[% firstname %] [% surname %] ([% cardnumber %])" style="max-width : 140px; margin: .3em 0 .3em .3em; padding: .2em; border: 1px solid #CCCCCC; width:auto !important; width:130px;" /></li>
12
        [% ELSE %]
12
        [% ELSE %]
13
            <li id="patronbasics"><img src="[% interface %]/[% theme %]/img/patron-blank.png" alt="[% firstname | html %] [% surname | html %] ([% cardnumber | html %])" style="margin: .3em 0 .3em .3em; padding: .2em; border: 1px solid #CCCCCC;" /></li>
13
            <li id="patronbasics"><img src="[% interface %]/[% theme %]/img/patron-blank.png" alt="[% firstname %] [% surname %] ([% cardnumber %])" style="margin: .3em 0 .3em .3em; padding: .2em; border: 1px solid #CCCCCC;" /></li>
14
        [% END %]
14
        [% END %]
15
    [% END %]
15
    [% END %]
16
    [% IF Koha.Preference( 'AddressFormat' ) %]
16
    [% SWITCH Koha.Preference( 'AddressFormat' ) %]
17
        [% INCLUDE "member-display-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %]
17
        [% CASE 'de' %]
18
    [% ELSE %]
18
            [% INCLUDE 'member-display-address-style-de.inc' %]
19
        [% INCLUDE 'member-display-address-style-us.inc' %]
19
        [% CASE # us %]
20
            [% INCLUDE 'member-display-address-style-us.inc' %]
20
    [% END %]
21
    [% END %]
21
22
22
    [% IF ( phone ) %]<li class="patronphone">
23
    [% IF ( phone ) %]<li class="patronphone">
23
        <a href="tel:[% phone | url %]">[% phone | html %]</a>
24
        <a href="tel:[% phone | url %]">[% phone %]</a>
24
    [% ELSE %]
25
    [% ELSE %]
25
        [% IF ( mobile ) %]
26
        [% IF ( mobile ) %]
26
            <a href="tel:[% mobile | url %]">[% mobile | html %]</a>
27
            <a href="tel:[% mobile | url %]">[% mobile %]</a>
27
        [% ELSE %]
28
        [% ELSE %]
28
            [% IF ( phonepro ) %]
29
            [% IF ( phonepro ) %]
29
                <a href="tel:[% phonepro | url %]">[% phonepro | html %]</a>
30
                <a href="tel:[% phonepro | url %]">[% phonepro %]</a>
30
            [% END %]
31
            [% END %]
31
        [% END %]</li>
32
        [% END %]</li>
32
    [% END %]
33
    [% END %]
33
    [% IF ( email ) %]
34
    [% IF ( email ) %]
34
        <li class="email"> <a href="mailto:[% email | url %]" title="[% email | html %]">[% email | html %]</a></li>
35
        <li class="email"> <a href="mailto:[% email | url %]" title="[% email %]">[% email %]</a></li>
35
    [% ELSE %]
36
    [% ELSE %]
36
        [% IF ( emailpro ) %]
37
        [% IF ( emailpro ) %]
37
            <li class="email"> <a href="mailto:[% emailpro | url %]" title="[% emailpro | html %]">[% emailpro | html %]</a></li>
38
            <li class="email"> <a href="mailto:[% emailpro | url %]" title="[% emailpro %]">[% emailpro %]</a></li>
38
        [% END %]
39
        [% END %]
39
    [% END %]
40
    [% END %]
40
41
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc (-1 / +1 lines)
Lines 21-27 Link Here
21
[% IF ( login ) %]
21
[% IF ( login ) %]
22
    <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/login.css" />
22
    <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/login.css" />
23
[% END %]
23
[% END %]
24
[% IF ( IntranetUserCSS ) %]<style type="text/css">[% IntranetUserCSS %]</style>[% END %]
24
[% IF ( IntranetUserCSS ) %]<style type="text/css">[% IntranetUserCSS.raw %]</style>[% END %]
25
25
26
[% UNLESS ( footerjs ) %]
26
[% UNLESS ( footerjs ) %]
27
    [% INCLUDE js_includes.inc %]
27
    [% INCLUDE js_includes.inc %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc (-3 / +3 lines)
Lines 3-9 Link Here
3
<div id="search-facets">
3
<div id="search-facets">
4
<h4>Refine your search</h4>
4
<h4>Refine your search</h4>
5
<ul>
5
<ul>
6
    <li id="availability_facet">Availability<ul><li>[% IF ( available ) %]<strong>Showing only available items</strong></li><li><a href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi |html %][% limit_cgi_not_availablity %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |url %][% END %]">Show all items</a>[% ELSE %]<a href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi |html %][% limit_cgi |html %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |url %][% END %]&amp;limit=available">Limit to currently available items</a>[% END %]</li></ul>
6
    <li id="availability_facet">Availability<ul><li>[% IF ( available ) %]<strong>Showing only available items</strong></li><li><a href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi %][% limit_cgi_not_availablity %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |url %][% END %]">Show all items</a>[% ELSE %]<a href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi %][% limit_cgi %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |url %][% END %]&amp;limit=available">Limit to currently available items</a>[% END %]</li></ul>
7
	[% IF ( related ) %] <li>(related searches: [% FOREACH relate IN related %][% relate.related_search %][% END %])</li>[% END %]
7
	[% IF ( related ) %] <li>(related searches: [% FOREACH relate IN related %][% relate.related_search %][% END %])</li>[% END %]
8
	</li>
8
	</li>
9
9
Lines 30-39 Link Here
30
      [% IF facet.active %]
30
      [% IF facet.active %]
31
        [% SET local_url = url _ "&amp;nolimit=" _ facet.type_link_value _ ":" _ facet.facet_link_value %]
31
        [% SET local_url = url _ "&amp;nolimit=" _ facet.type_link_value _ ":" _ facet.facet_link_value %]
32
        <span class="facet-label">[% facet.facet_label_value %]</span>
32
        <span class="facet-label">[% facet.facet_label_value %]</span>
33
        [<a href="[% local_url %]" title="Remove facet [% facet.facet_link_value | html %]">x</a>]
33
        [<a href="[% local_url %]" title="Remove facet [% facet.facet_link_value %]">x</a>]
34
      [% ELSE %]
34
      [% ELSE %]
35
        [% SET local_url = url _ "&amp;limit=" _ facet.type_link_value _ ":" _ facet.facet_link_value %]
35
        [% SET local_url = url _ "&amp;limit=" _ facet.type_link_value _ ":" _ facet.facet_link_value %]
36
        <span class="facet-label"><a href="[% local_url %]" title="[% facet.facet_title_value |html %]">[% facet.facet_label_value %]</a></span>
36
        <span class="facet-label"><a href="[% local_url %]" title="[% facet.facet_title_value %]">[% facet.facet_label_value %]</a></span>
37
        [% IF ( displayFacetCount ) %]
37
        [% IF ( displayFacetCount ) %]
38
          <span class="facet-count"> ([% facet.facet_count %])</span>
38
          <span class="facet-count"> ([% facet.facet_count %])</span>
39
        [% END %]
39
        [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc (-1 / +1 lines)
Lines 14-20 Link Here
14
            [% IF ( intranetbookbag ) %]
14
            [% IF ( intranetbookbag ) %]
15
            <li><a href="#" id="cartmenulink">Cart<span id="basketcount"></span></a></li>
15
            <li><a href="#" id="cartmenulink">Cart<span id="basketcount"></span></a></li>
16
            [% END %]
16
            [% END %]
17
            [% IntranetNav %]
17
            [% IntranetNav.raw %]
18
            <li class="dropdown">
18
            <li class="dropdown">
19
                <a href="/cgi-bin/koha/mainpage.pl" class="dropdown-toggle" data-toggle="dropdown">More <b class="caret"></b></a>
19
                <a href="/cgi-bin/koha/mainpage.pl" class="dropdown-toggle" data-toggle="dropdown">More <b class="caret"></b></a>
20
                <ul class="dropdown-menu">
20
                <ul class="dropdown-menu">
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc (-2 / +2 lines)
Lines 1-9 Link Here
1
[% BLOCK options_for_libraries %]
1
[% BLOCK options_for_libraries %]
2
    [% FOREACH l IN libraries %]
2
    [% FOREACH l IN libraries %]
3
        [% IF l.selected %]
3
        [% IF l.selected %]
4
            <option value="[% l.branchcode | html %]" selected="selected">[% l.branchname %]</option>
4
            <option value="[% l.branchcode %]" selected="selected">[% l.branchname %]</option>
5
        [% ELSE %]
5
        [% ELSE %]
6
            <option value="[% l.branchcode | html %]">[% l.branchname %]</option>
6
            <option value="[% l.branchcode %]">[% l.branchname %]</option>
7
        [% END%]
7
        [% END%]
8
    [% END %]
8
    [% END %]
9
[% END %]
9
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc (-1 / +1 lines)
Lines 225-231 function searchToHold(){ Link Here
225
                        <label for="message_type">Add a message for:</label>
225
                        <label for="message_type">Add a message for:</label>
226
                        <select name="message_type" id="message_type">
226
                        <select name="message_type" id="message_type">
227
                            <option value="L">Staff - Internal note</option>
227
                            <option value="L">Staff - Internal note</option>
228
                            <option value="B">OPAC - [% firstname | html %] [% surname | html %]</option>
228
                            <option value="B">OPAC - [% firstname %] [% surname %]</option>
229
                        </select>
229
                        </select>
230
                    </div>
230
                    </div>
231
                    [% bor_notes = AuthorisedValues.Get( 'BOR_NOTES' ) %]
231
                    [% bor_notes = AuthorisedValues.Get( 'BOR_NOTES' ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/merge-record.inc (-1 / +1 lines)
Lines 31-37 Link Here
31
                                        [% END %]
31
                                        [% END %]
32
                                        <label for="rec_[% record.recordid %]_[% subfield.subkey %]"><span class="subfield">[% subfield.subtag %]</span> / [% subfield.value %]</label>
32
                                        <label for="rec_[% record.recordid %]_[% subfield.subkey %]"><span class="subfield">[% subfield.subtag %]</span> / [% subfield.value %]</label>
33
                                        <input type="hidden" name="tag_[% field.tag %]_code_[% subfield.subtag %]_[% field.key %]_[% subfield.subkey %]" value="[% subfield.subtag %]" />
33
                                        <input type="hidden" name="tag_[% field.tag %]_code_[% subfield.subtag %]_[% field.key %]_[% subfield.subkey %]" value="[% subfield.subtag %]" />
34
                                        <input type="hidden" name="tag_[% field.tag %]_subfield_[% subfield.subtag %]_[% subfield.key %]_[% subfield.subkey %]" value="[% subfield.value |html%]" />
34
                                        <input type="hidden" name="tag_[% field.tag %]_subfield_[% subfield.subtag %]_[% subfield.key %]_[% subfield.subkey %]" value="[% subfield.value %]" />
35
                                    </li>
35
                                    </li>
36
                                [% END %]
36
                                [% END %]
37
                            </ul>
37
                            </ul>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/page-numbers.inc (-3 / +3 lines)
Lines 1-7 Link Here
1
[% IF ( PAGE_NUMBERS ) %]<div class="pages">
1
[% IF ( PAGE_NUMBERS ) %]<div class="pages">
2
    <!-- Row of numbers corresponding to search result pages -->
2
    <!-- Row of numbers corresponding to search result pages -->
3
        [% IF ( previous_page_offset.defined ) %]<a class="nav" href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi |html %][% limit_cgi |html %]&amp;offset=[% previous_page_offset %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |url %][% END %]">&lt;&lt; Previous</a>[% END %]
3
        [% IF ( previous_page_offset.defined ) %]<a class="nav" href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi %][% limit_cgi %]&amp;offset=[% previous_page_offset %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |url %][% END %]">&lt;&lt; Previous</a>[% END %]
4
    [% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %][% IF ( PAGE_NUMBER.highlight ) %]<span class="current">[% PAGE_NUMBER.pg %]</span>[% ELSE %]        <a class="nav" href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi |html %][% limit_cgi |html %]&amp;offset=[% PAGE_NUMBER.offset %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |url %][% END %]">[% PAGE_NUMBER.pg %]</a>[% END %]
4
    [% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %][% IF ( PAGE_NUMBER.highlight ) %]<span class="current">[% PAGE_NUMBER.pg %]</span>[% ELSE %]        <a class="nav" href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi %][% limit_cgi %]&amp;offset=[% PAGE_NUMBER.offset %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |url %][% END %]">[% PAGE_NUMBER.pg %]</a>[% END %]
5
    [% END %]
5
    [% END %]
6
        [% IF ( next_page_offset ) %]<a class="nav" href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi |html %][% limit_cgi |html %]&amp;offset=[% next_page_offset %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |url %][% END %]">Next &gt;&gt;</a>[% END %]
6
        [% IF ( next_page_offset ) %]<a class="nav" href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi %][% limit_cgi %]&amp;offset=[% next_page_offset %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |url %][% END %]">Next &gt;&gt;</a>[% END %]
7
</div>[% END %]
7
</div>[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc (-8 / +8 lines)
Lines 1-27 Link Here
1
[%- IF ( borrower.borrowernumber ) %]
1
[%- IF ( borrower.borrowernumber ) %]
2
    [%- IF borrower.category_type == 'I' %]
2
    [%- IF borrower.category_type == 'I' %]
3
        [%- borrower.surname | html %] [% IF borrower.othernames %] ([% borrower.othernames | html %]) [% END %]
3
        [%- borrower.surname %] [% IF borrower.othernames %] ([% borrower.othernames %]) [% END %]
4
    [%- ELSE %]
4
    [%- ELSE %]
5
        [%- IF invert_name %]
5
        [%- IF invert_name %]
6
            [%- borrower.surname | html %], [% borrower.firstname | html %] [% IF borrower.othernames %] ([% borrower.othernames | html %]) [% END %]
6
            [%- borrower.surname %], [% borrower.firstname %] [% IF borrower.othernames %] ([% borrower.othernames %]) [% END %]
7
        [%- ELSE %]
7
        [%- ELSE %]
8
            [%- borrower.firstname | html %] [% IF borrower.othernames %] ([% borrower.othernames | html %]) [% END %] [% borrower.surname | html %]
8
            [%- borrower.firstname %] [% IF borrower.othernames %] ([% borrower.othernames %]) [% END %] [% borrower.surname %]
9
        [%- END -%]
9
        [%- END -%]
10
    [%- END -%]
10
    [%- END -%]
11
    [%- IF ( borrower.cardnumber ) -%]
11
    [%- IF ( borrower.cardnumber ) -%]
12
        ([% borrower.cardnumber | html %])
12
        ([% borrower.cardnumber %])
13
    [%- END %]
13
    [%- END %]
14
[%- ELSIF ( borrowernumber ) %]
14
[%- ELSIF ( borrowernumber ) %]
15
    [%- IF category_type == 'I' %]
15
    [%- IF category_type == 'I' %]
16
        [%- surname | html %] [% IF othernames %] ([% othernames | html %]) [% END %]
16
        [%- surname %] [% IF othernames %] ([% othernames %]) [% END %]
17
    [%- ELSE %]
17
    [%- ELSE %]
18
        [%- IF invert_name %]
18
        [%- IF invert_name %]
19
            [%- surname | html %], [% firstname | html %] [% IF othernames %] ([% othernames | html %]) [% END %]
19
            [%- surname %], [% firstname %] [% IF othernames %] ([% othernames %]) [% END %]
20
        [%- ELSE %]
20
        [%- ELSE %]
21
            [%- firstname | html %] [% IF othernames %] ([% othernames | html %]) [% END %] [% surname | html %]
21
            [%- firstname %] [% IF othernames %] ([% othernames %]) [% END %] [% surname %]
22
        [%- END %]
22
        [%- END %]
23
    [%- END -%]
23
    [%- END -%]
24
    [%- IF ( cardnumber ) -%]
24
    [%- IF ( cardnumber ) -%]
25
        ([% cardnumber | html %])
25
        ([% cardnumber %])
26
    [%- END %]
26
    [%- END %]
27
[%- END -%]
27
[%- END -%]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-admin-search.inc (-1 / +1 lines)
Lines 7-13 Link Here
7
	    <form action="/cgi-bin/koha/admin/preferences.pl">
7
	    <form action="/cgi-bin/koha/admin/preferences.pl">
8
        <input type="hidden" name="tab" value="[% last_tab %]" />
8
        <input type="hidden" name="tab" value="[% last_tab %]" />
9
        <input type="hidden" name="op" value="search" />
9
        <input type="hidden" name="op" value="search" />
10
        <input class="head-searchbox" type="text" size="40" name="searchfield" value="[% searchfield |html %]" />
10
        <input class="head-searchbox" type="text" size="40" name="searchfield" value="[% searchfield %]" />
11
        <input type="submit" class="submit" value="Search" />
11
        <input type="submit" class="submit" value="Search" />
12
    </form>
12
    </form>
13
	</div>
13
	</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/serials-search.inc (-3 / +3 lines)
Lines 9-20 Link Here
9
        <input type="hidden" name="routing" value="[% routing %]" />
9
        <input type="hidden" name="routing" value="[% routing %]" />
10
      [% END %]
10
      [% END %]
11
      <input type="hidden" name="searched" value="1" />
11
      <input type="hidden" name="searched" value="1" />
12
      <label for="ISSN_filter">ISSN:</label> <input type="text" size="10" maxlength="11" name="ISSN_filter" id="ISSN_filter" value="[% ISSN_filter | html %]" />
12
      <label for="ISSN_filter">ISSN:</label> <input type="text" size="10" maxlength="11" name="ISSN_filter" id="ISSN_filter" value="[% ISSN_filter %]" />
13
13
14
      [% IF (UNIMARC) %]
14
      [% IF (UNIMARC) %]
15
        <label for="EAN_filter">EAN:</label> <input type="text" size="20" maxlength="40" name="EAN_filter" id="EAN_filter" value="[% EAN_filter | html %]" />
15
        <label for="EAN_filter">EAN:</label> <input type="text" size="20" maxlength="40" name="EAN_filter" id="EAN_filter" value="[% EAN_filter %]" />
16
      [% END %]
16
      [% END %]
17
      <label for="title_filter">Title:</label> <input type="text" size="20" maxlength="40" name="title_filter" id="title_filter" value="[% title_filter | html %]" />
17
      <label for="title_filter">Title:</label> <input type="text" size="20" maxlength="40" name="title_filter" id="title_filter" value="[% title_filter %]" />
18
      <input value="Submit" class="submit" type="submit" /> <a href="/cgi-bin/koha/serials/serials-search.pl">Advanced search</a>
18
      <input value="Submit" class="submit" type="submit" /> <a href="/cgi-bin/koha/serials/serials-search.pl">Advanced search</a>
19
    </form>
19
    </form>
20
    </div>
20
    </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/slip-print.inc (-2 / +2 lines)
Lines 1-10 Link Here
1
<script type="text/javascript">
1
<script type="text/javascript">
2
[% IF ( Koha.Preference('IntranetSlipPrinterJS') ) %]
2
[% IF ( Koha.Preference('IntranetSlipPrinterJS') ) %]
3
    [% Koha.Preference('IntranetSlipPrinterJS') %]
3
    [% Koha.Preference('IntranetSlipPrinterJS').raw %]
4
[% ELSE %]
4
[% ELSE %]
5
    function printThenClose() {
5
    function printThenClose() {
6
        window.print();
6
        window.print();
7
        setTimeout('window.close()', 1);
7
        setTimeout('window.close()', 1);
8
    }
8
    }
9
[% END %]
9
[% END %]
10
</script>
10
</script>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/subscriptions-search.inc (-7 / +7 lines)
Lines 7-31 Link Here
7
            <ol>
7
            <ol>
8
              <li>
8
              <li>
9
                <label for="issn">ISSN:</label>
9
                <label for="issn">ISSN:</label>
10
                <input type="text" id="issn" name="ISSN_filter" value="[% ISSN_filter | html %]" />
10
                <input type="text" id="issn" name="ISSN_filter" value="[% ISSN_filter %]" />
11
              </li>
11
              </li>
12
              <li>
12
              <li>
13
                <label for="title">Title:</label>
13
                <label for="title">Title:</label>
14
                <input type="text" id="title" name="title_filter" value="[% title_filter | html %]" />
14
                <input type="text" id="title" name="title_filter" value="[% title_filter %]" />
15
              </li>
15
              </li>
16
              [% IF Koha.Preference( 'marcflavour' ) == "UNIMARC" %]
16
              [% IF Koha.Preference( 'marcflavour' ) == "UNIMARC" %]
17
              <li>
17
              <li>
18
                <label for="ean">EAN:</label>
18
                <label for="ean">EAN:</label>
19
                <input type="text" id="ean" name="EAN_filter" value="[% EAN_filter | html %]" />
19
                <input type="text" id="ean" name="EAN_filter" value="[% EAN_filter %]" />
20
              </li>
20
              </li>
21
              [% END %]
21
              [% END %]
22
              <li>
22
              <li>
23
                <label for="publisher">Publisher:</label>
23
                <label for="publisher">Publisher:</label>
24
                <input type="text" id="publisher" name="publisher_filter" value="[% publisher_filter | html %]" />
24
                <input type="text" id="publisher" name="publisher_filter" value="[% publisher_filter %]" />
25
              </li>
25
              </li>
26
              <li>
26
              <li>
27
                <label for="supplier">Vendor:</label>
27
                <label for="supplier">Vendor:</label>
28
                <input type="text" id="supplier" name="supplier_filter" value="[% supplier_filter | html %]" />
28
                <input type="text" id="supplier" name="supplier_filter" value="[% supplier_filter %]" />
29
              </li>
29
              </li>
30
              <li>
30
              <li>
31
                <label for="branch">Library:</label>
31
                <label for="branch">Library:</label>
Lines 38-47 Link Here
38
            </ol>
38
            </ol>
39
            <input type="hidden" name="searched" value="1" />
39
            <input type="hidden" name="searched" value="1" />
40
            [% IF (booksellerid) %]
40
            [% IF (booksellerid) %]
41
                <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
41
                <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
42
            [% END %]
42
            [% END %]
43
            [% IF (basketno) %]
43
            [% IF (basketno) %]
44
                <input type="hidden" name="basketno" value="[% basketno | html %]" />
44
                <input type="hidden" name="basketno" value="[% basketno %]" />
45
            [% END %]
45
            [% END %]
46
            <fieldset class="action">
46
            <fieldset class="action">
47
              <input type="submit" value="Search" />
47
              <input type="submit" value="Search" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt (-12 / +12 lines)
Lines 30-54 Link Here
30
30
31
        <table>
31
        <table>
32
            <caption>Server information</caption>
32
            <caption>Server information</caption>
33
            <tr><th scope="row">Koha version: </th><td>[% kohaVersion |html %]</td></tr>
33
            <tr><th scope="row">Koha version: </th><td>[% kohaVersion %]</td></tr>
34
            <tr><th scope="row">OS version ('uname -a'): </th><td>[% osVersion |html %]</td></tr>
34
            <tr><th scope="row">OS version ('uname -a'): </th><td>[% osVersion %]</td></tr>
35
            <tr><th scope="row">Perl interpreter: </th><td>[% perlPath |html %]</td></tr>
35
            <tr><th scope="row">Perl interpreter: </th><td>[% perlPath %]</td></tr>
36
            <tr><th scope="row">Perl version: </th><td>[% perlVersion |html %]</td></tr>
36
            <tr><th scope="row">Perl version: </th><td>[% perlVersion %]</td></tr>
37
            <tr><th scope="row">Perl @INC: </th><td>
37
            <tr><th scope="row">Perl @INC: </th><td>
38
                [% FOREACH perlIncPat IN perlIncPath %]
38
                [% FOREACH perlIncPat IN perlIncPath %]
39
                    [% perlIncPat.perlinc |html %] <br />
39
                    [% perlIncPat.perlinc %] <br />
40
                [% END %]
40
                [% END %]
41
            </td></tr>
41
            </td></tr>
42
            <tr><th scope="row">MySQL version: </th><td>[% mysqlVersion |html %]</td></tr>
42
            <tr><th scope="row">MySQL version: </th><td>[% mysqlVersion %]</td></tr>
43
            <tr><th scope="row">Apache version: </th><td>[% apacheVersion |html %]</td></tr>
43
            <tr><th scope="row">Apache version: </th><td>[% apacheVersion %]</td></tr>
44
          [% IF (is_psgi) %]
44
          [% IF (is_psgi) %]
45
            <tr><th scope="row">PSGI: </th><td>[% psgi_server |html %]</td></tr>
45
            <tr><th scope="row">PSGI: </th><td>[% psgi_server %]</td></tr>
46
          [% END %]
46
          [% END %]
47
            <tr><th scope="row">Memcached: </th>
47
            <tr><th scope="row">Memcached: </th>
48
                <td>
48
                <td>
49
                    Servers: [% IF memcached_servers %]<span>[% memcached_servers | html %]</span>
49
                    Servers: [% IF memcached_servers %]<span>[% memcached_servers %]</span>
50
                             [% ELSE %]<span>undefined</span>[% END %] |
50
                             [% ELSE %]<span>undefined</span>[% END %] |
51
                    Namespace: [% IF memcached_namespace %]<span>[% memcached_namespace | html %]</span>
51
                    Namespace: [% IF memcached_namespace %]<span>[% memcached_namespace %]</span>
52
                               [% ELSE %]<span>undefined</span>[% END %] |
52
                               [% ELSE %]<span>undefined</span>[% END %] |
53
                    Status: [% IF memcached_servers %]
53
                    Status: [% IF memcached_servers %]
54
                                [% IF memcached_running and is_memcached_still_active %]
54
                                [% IF memcached_running and is_memcached_still_active %]
Lines 78-84 Link Here
78
                  [% END %]
78
                  [% END %]
79
                </td>
79
                </td>
80
            </tr>
80
            </tr>
81
            <tr><th scope="row">Zebra version: </th><td>[% zebraVersion |html %]</td></tr>
81
            <tr><th scope="row">Zebra version: </th><td>[% zebraVersion %]</td></tr>
82
            [% IF (errZebraConnection == 10000) %]
82
            [% IF (errZebraConnection == 10000) %]
83
            <tr><th scope="row"><b>Error</b> </th><td>Zebra server seems not to be available. Is it started?</td></tr>
83
            <tr><th scope="row"><b>Error</b> </th><td>Zebra server seems not to be available. Is it started?</td></tr>
84
            [% ELSIF (errZebraConnection) %]
84
            [% ELSIF (errZebraConnection) %]
Lines 888-894 Link Here
888
            <tr class="[% loop.parity %]">
888
            <tr class="[% loop.parity %]">
889
                [% FOREACH ro IN tabl.row2 %]
889
                [% FOREACH ro IN tabl.row2 %]
890
                     <td>[% ro.date %]</td>
890
                     <td>[% ro.date %]</td>
891
                     <td>[% ro.desc|html %]</td>
891
                     <td>[% ro.desc %]</td>
892
                [% END %]
892
                [% END %]
893
            </tr>
893
            </tr>
894
        [% END %]
894
        [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorder.tt (-1 / +1 lines)
Lines 15-21 Link Here
15
        <form action="/cgi-bin/koha/acqui/addorder.pl" method="post">
15
        <form action="/cgi-bin/koha/acqui/addorder.pl" method="post">
16
          [% FOREACH var IN vars_loop %]
16
          [% FOREACH var IN vars_loop %]
17
            [% FOREACH val IN var.values %]
17
            [% FOREACH val IN var.values %]
18
              <input type="hidden" name="[% var.name %]" value="[% val |html %]" />
18
              <input type="hidden" name="[% var.name %]" value="[% val %]" />
19
            [% END %]
19
            [% END %]
20
          [% END %]
20
          [% END %]
21
          <input type="hidden" name="confirm_budget_exceeding" value="1" />
21
          <input type="hidden" name="confirm_budget_exceeding" value="1" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt (-2 / +2 lines)
Lines 336-344 Link Here
336
                                [% FOREACH iteminformatio IN item.iteminformation %]<li style="[% iteminformatio.hidden %];">
336
                                [% FOREACH iteminformatio IN item.iteminformation %]<li style="[% iteminformatio.hidden %];">
337
                                    <div class="subfield_line" id="subfield[% iteminformatio.serialid %][% iteminformatio.countitems %][% iteminformatio.subfield %][% iteminformatio.random %]">
337
                                    <div class="subfield_line" id="subfield[% iteminformatio.serialid %][% iteminformatio.countitems %][% iteminformatio.subfield %][% iteminformatio.random %]">
338
                                        [% IF (iteminformatio.mandatory) %]
338
                                        [% IF (iteminformatio.mandatory) %]
339
                                            <label class="required">[% iteminformatio.subfield %] - [% iteminformatio.marc_lib %]</label>
339
                                            <label class="required">[% iteminformatio.subfield %] - [% iteminformatio.marc_lib.raw %]</label>
340
                                        [% ELSE %]
340
                                        [% ELSE %]
341
                                            <label>[% iteminformatio.subfield %] - [% iteminformatio.marc_lib %]</label>
341
                                            <label>[% iteminformatio.subfield %] - [% iteminformatio.marc_lib.raw %]</label>
342
                                        [% END %]
342
                                        [% END %]
343
343
344
                                        [% IF ( iteminformatio.marc_value.type == 'select' ) %]
344
                                        [% IF ( iteminformatio.marc_value.type == 'select' ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt (-10 / +10 lines)
Lines 4-10 Link Here
4
[% USE AuthorisedValues %]
4
[% USE AuthorisedValues %]
5
5
6
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
7
<title>Koha &rsaquo; Acquisitions &rsaquo; [% UNLESS ( basketno ) %]New [% END %]Basket [% basketname|html %] ([% basketno %]) for [% name|html %]</title>
7
<title>Koha &rsaquo; Acquisitions &rsaquo; [% UNLESS ( basketno ) %]New [% END %]Basket [% basketname %] ([% basketno %]) for [% name %]</title>
8
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
8
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
9
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'datatables.inc' %]
10
[% INCLUDE 'datatables.inc' %]
Lines 167-173 Link Here
167
[% INCLUDE 'acquisitions-search.inc' %]
167
[% INCLUDE 'acquisitions-search.inc' %]
168
168
169
169
170
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> &rsaquo; <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% name|html %]</a> &rsaquo; [% UNLESS ( basketno ) %]New [% END %]Basket [% basketname|html %] ([% basketno %]) for [% name|html %]</div>
170
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> &rsaquo; <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% name %]</a> &rsaquo; [% UNLESS ( basketno ) %]New [% END %]Basket [% basketname %] ([% basketno %]) for [% name %]</div>
171
171
172
<div id="doc3" class="yui-t2">
172
<div id="doc3" class="yui-t2">
173
173
Lines 288-294 Link Here
288
                    <p><strong>The following records could not be deleted:</strong></p>
288
                    <p><strong>The following records could not be deleted:</strong></p>
289
                    <ul>
289
                    <ul>
290
                    [% FOREACH cannotdelbiblio IN cannotdelbiblios %]
290
                    [% FOREACH cannotdelbiblio IN cannotdelbiblios %]
291
                        <li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% cannotdelbiblio.biblionumber %]">[% cannotdelbiblio.title |html %]</a> by [% cannotdelbiblio.author %]:
291
                        <li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% cannotdelbiblio.biblionumber %]">[% cannotdelbiblio.title %]</a> by [% cannotdelbiblio.author %]:
292
                            <ul>
292
                            <ul>
293
                            [% IF (cannotdelbiblio.itemcount) %]<li>[% cannotdelbiblio.itemcount %] item(s) attached.</li>[% END %]
293
                            [% IF (cannotdelbiblio.itemcount) %]<li>[% cannotdelbiblio.itemcount %] item(s) attached.</li>[% END %]
294
                            [% IF (cannotdelbiblio.subscriptions) %]<li>[% cannotdelbiblio.subscriptions %] subscription(s) attached.</li>[% END %]
294
                            [% IF (cannotdelbiblio.subscriptions) %]<li>[% cannotdelbiblio.subscriptions %] subscription(s) attached.</li>[% END %]
Lines 321-327 Link Here
321
                [% END %]
321
                [% END %]
322
            </div>
322
            </div>
323
        [% END %]
323
        [% END %]
324
        <h1>[% UNLESS ( basketno ) %]New [% END %]Basket [% basketname|html %] ([% basketno %]) for <a href="supplier.pl?booksellerid=[% booksellerid %]">[% name|html %]</a></h1>
324
        <h1>[% UNLESS ( basketno ) %]New [% END %]Basket [% basketname %] ([% basketno %]) for <a href="supplier.pl?booksellerid=[% booksellerid %]">[% name %]</a></h1>
325
        [% IF ( basketno ) %]
325
        [% IF ( basketno ) %]
326
            <div id="acqui_basket_summary" class="yui-g">
326
            <div id="acqui_basket_summary" class="yui-g">
327
                <div class="rows">
327
                <div class="rows">
Lines 541-547 Link Here
541
                            <p>
541
                            <p>
542
                                [% IF ( books_loo.order_received ) %] (rcvd)[% END %]
542
                                [% IF ( books_loo.order_received ) %] (rcvd)[% END %]
543
                                [% IF books_loo.title %]
543
                                [% IF books_loo.title %]
544
                                    <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% books_loo.biblionumber %]">[% books_loo.title |html %]</a>[% IF books_loo.author %] by [% books_loo.author %][% END %]
544
                                    <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% books_loo.biblionumber %]">[% books_loo.title %]</a>[% IF books_loo.author %] by [% books_loo.author %][% END %]
545
                                [% ELSE %]
545
                                [% ELSE %]
546
                                    <em>Deleted bibliographic record, can't find title</em><br />
546
                                    <em>Deleted bibliographic record, can't find title</em><br />
547
                                [% END %]
547
                                [% END %]
Lines 558-569 Link Here
558
                                [% END %]
558
                                [% END %]
559
                            </p>
559
                            </p>
560
                                [% IF ( books_loo.order_internalnote ) %]
560
                                [% IF ( books_loo.order_internalnote ) %]
561
                                    <p class="ordernote"><strong>Internal note: </strong>[% books_loo.order_internalnote|html %] [<a href="/cgi-bin/koha/acqui/modordernotes.pl?ordernumber=[% books_loo.ordernumber %]&type=internal">Change internal note</a>]</p>
561
                                    <p class="ordernote"><strong>Internal note: </strong>[% books_loo.order_internalnote %] [<a href="/cgi-bin/koha/acqui/modordernotes.pl?ordernumber=[% books_loo.ordernumber %]&type=internal">Change internal note</a>]</p>
562
                                [% ELSE %]
562
                                [% ELSE %]
563
                                    [<a href="/cgi-bin/koha/acqui/modordernotes.pl?ordernumber=[% books_loo.ordernumber %]&type=internal">Add internal note</a>]
563
                                    [<a href="/cgi-bin/koha/acqui/modordernotes.pl?ordernumber=[% books_loo.ordernumber %]&type=internal">Add internal note</a>]
564
                                [% END %]
564
                                [% END %]
565
                                [% IF ( books_loo.order_vendornote ) %]
565
                                [% IF ( books_loo.order_vendornote ) %]
566
                                    <p class="ordernote"><strong>Vendor note: </strong>[% books_loo.order_vendornote|html %] [<a href="/cgi-bin/koha/acqui/modordernotes.pl?ordernumber=[% books_loo.ordernumber %]&type=vendor">Change vendor note</a>]</p>
566
                                    <p class="ordernote"><strong>Vendor note: </strong>[% books_loo.order_vendornote %] [<a href="/cgi-bin/koha/acqui/modordernotes.pl?ordernumber=[% books_loo.ordernumber %]&type=vendor">Change vendor note</a>]</p>
567
                                [% ELSE %]
567
                                [% ELSE %]
568
                                    [<a href="/cgi-bin/koha/acqui/modordernotes.pl?ordernumber=[% books_loo.ordernumber %]&type=vendor">Add vendor note</a>]
568
                                    [<a href="/cgi-bin/koha/acqui/modordernotes.pl?ordernumber=[% books_loo.ordernumber %]&type=vendor">Add vendor note</a>]
569
                                [% END %]
569
                                [% END %]
Lines 666-672 Link Here
666
                      <p>
666
                      <p>
667
                        [% IF ( order.order_received ) %] (rcvd)[% END %]
667
                        [% IF ( order.order_received ) %] (rcvd)[% END %]
668
                        [% IF (order.title) %]
668
                        [% IF (order.title) %]
669
                          [% order.title |html %][% IF order.author %] by [% order.author %][% END %]
669
                          [% order.title %][% IF order.author %] by [% order.author %][% END %]
670
                        [% ELSE %]
670
                        [% ELSE %]
671
                          <em>Deleted bibliographic record, can't find title</em>
671
                          <em>Deleted bibliographic record, can't find title</em>
672
                        [% END %]
672
                        [% END %]
Lines 739-745 Link Here
739
        <div id="closebasket_needsconfirmation" class="dialog alert">
739
        <div id="closebasket_needsconfirmation" class="dialog alert">
740
740
741
        <form action="/cgi-bin/koha/acqui/basket.pl">
741
        <form action="/cgi-bin/koha/acqui/basket.pl">
742
            <h1>Are you sure you want to close basket [% basketname|html %]?</h1>
742
            <h1>Are you sure you want to close basket [% basketname %]?</h1>
743
            [% IF ( CAN_user_acquisition_group_manage ) %]
743
            [% IF ( CAN_user_acquisition_group_manage ) %]
744
            <p>
744
            <p>
745
            <label for="createbasketgroup">Attach this basket to a new basket group with the same name</label>
745
            <label for="createbasketgroup">Attach this basket to a new basket group with the same name</label>
Lines 763-769 Link Here
763
        <div id="closebasket_needsconfirmation" class="dialog alert">
763
        <div id="closebasket_needsconfirmation" class="dialog alert">
764
764
765
        <form action="/cgi-bin/koha/acqui/basket.pl">
765
        <form action="/cgi-bin/koha/acqui/basket.pl">
766
            <h1>Are you sure you want to generate an EDIFACT order and close basket [% basketname|html %]?</h1>
766
            <h1>Are you sure you want to generate an EDIFACT order and close basket [% basketname %]?</h1>
767
            [% IF CAN_user_acquisition_group_manage %]
767
            [% IF CAN_user_acquisition_group_manage %]
768
            <p>
768
            <p>
769
            <label for="createbasketgroup">Attach this basket to a new basket group with the same name</label>
769
            <label for="createbasketgroup">Attach this basket to a new basket group with the same name</label>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt (-7 / +7 lines)
Lines 1-6 Link Here
1
[% USE Branches %]
1
[% USE Branches %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Basket grouping for [% booksellername |html %]</title>
3
<title>Koha &rsaquo; Basket grouping for [% booksellername %]</title>
4
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
4
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
5
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'datatables.inc' %]
6
[% INCLUDE 'datatables.inc' %]
Lines 129-137 function submitForm(form) { Link Here
129
129
130
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> &rsaquo;
130
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> &rsaquo;
131
[% IF ( grouping ) %]
131
[% IF ( grouping ) %]
132
    <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% booksellername |html %]</a> &rsaquo; <a href="/cgi-bin/koha/acqui/basketgroup.pl?booksellerid=[% booksellerid %]">Basket grouping</a> &rsaquo; Add basket group for [% booksellername |html %]</div>
132
    <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% booksellername %]</a> &rsaquo; <a href="/cgi-bin/koha/acqui/basketgroup.pl?booksellerid=[% booksellerid %]">Basket grouping</a> &rsaquo; Add basket group for [% booksellername %]</div>
133
[% ELSE %]
133
[% ELSE %]
134
    <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% booksellername |html %]</a> &rsaquo; Basket grouping</div>
134
    <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% booksellername %]</a> &rsaquo; Basket grouping</div>
135
[% END %]
135
[% END %]
136
136
137
<div id="doc3" class="yui-t2">
137
<div id="doc3" class="yui-t2">
Lines 148-158 function submitForm(form) { Link Here
148
                        </div>
148
                        </div>
149
                    [% END %]
149
                    [% END %]
150
                    [% IF (name && closedbg) %]
150
                    [% IF (name && closedbg) %]
151
                        <h1>Basket group [% name %] ([% basketgroupid %]) for <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% booksellername |html %]</a></h1>
151
                        <h1>Basket group [% name %] ([% basketgroupid %]) for <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% booksellername %]</a></h1>
152
                    [% ELSIF (name) %]
152
                    [% ELSIF (name) %]
153
                        <h1>Edit basket group [% name %] ([% basketgroupid %]) for <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% booksellername |html %]</a></h1>
153
                        <h1>Edit basket group [% name %] ([% basketgroupid %]) for <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% booksellername %]</a></h1>
154
                    [% ELSE %]
154
                    [% ELSE %]
155
                        <h1>Add basket group for <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% booksellername |html %]</a></h1>
155
                        <h1>Add basket group for <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% booksellername %]</a></h1>
156
                    [% END %]
156
                    [% END %]
157
                    <div id="basketgroupcolumns" class="yui-g">
157
                    <div id="basketgroupcolumns" class="yui-g">
158
                        [% UNLESS (closedbg) %]
158
                        [% UNLESS (closedbg) %]
Lines 288-294 function submitForm(form) { Link Here
288
                    <div id="toolbar" class="btn-toolbar">
288
                    <div id="toolbar" class="btn-toolbar">
289
                        <div class="btn-group"><a href="/cgi-bin/koha/acqui/basketgroup.pl?op=add&amp;booksellerid=[% booksellerid %]" class="btn btn-default btn-sm" id="newbasketgroup"><i class="fa fa-plus"></i> New basket group</a></div>
289
                        <div class="btn-group"><a href="/cgi-bin/koha/acqui/basketgroup.pl?op=add&amp;booksellerid=[% booksellerid %]" class="btn btn-default btn-sm" id="newbasketgroup"><i class="fa fa-plus"></i> New basket group</a></div>
290
                    </div>
290
                    </div>
291
                    <h1>Basket grouping for <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% booksellername |html %]</a></h1>
291
                    <h1>Basket grouping for <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% booksellername %]</a></h1>
292
                    <div id="basket_groups" class="toptabs">
292
                    <div id="basket_groups" class="toptabs">
293
                        <ul class="ui-tabs-nav">
293
                        <ul class="ui-tabs-nav">
294
                            [% UNLESS ( listclosed) %]<li class="ui-tabs-active"><a href="#opened">Open</a></li>
294
                            [% UNLESS ( listclosed) %]<li class="ui-tabs-active"><a href="#opened">Open</a></li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/edimsg.tt (-1 / +1 lines)
Lines 21-27 Link Here
21
                    [% ELSE %]
21
                    [% ELSE %]
22
                        <ul>
22
                        <ul>
23
                            [% FOREACH seg IN segments %]
23
                            [% FOREACH seg IN segments %]
24
                                <li>[% seg | html %]</li>
24
                                <li>[% seg %]</li>
25
                            [% END %]
25
                            [% END %]
26
                        </ul>
26
                        </ul>
27
                    [% END %]
27
                    [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt (-2 / +2 lines)
Lines 13-19 Link Here
13
//<![CDATA[
13
//<![CDATA[
14
var MSG_REMOVE_PATRON = _("Remove");
14
var MSG_REMOVE_PATRON = _("Remove");
15
 $(document).ready(function() {
15
 $(document).ready(function() {
16
    var columns_settings = [% ColumnsSettings.GetColumns( 'acqui', 'histsearch', 'histsearcht', 'json' ) %];
16
    var columns_settings = [% ColumnsSettings.GetColumns( 'acqui', 'histsearch', 'histsearcht', 'json' ).raw %];
17
    KohaTable("#histsearcht", {
17
    KohaTable("#histsearcht", {
18
        "aoColumnDefs": [
18
        "aoColumnDefs": [
19
            { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
19
            { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
Lines 202-208 var MSG_REMOVE_PATRON = _("Remove"); Link Here
202
                        [% END %]
202
                        [% END %]
203
                    </td>
203
                    </td>
204
                    <td>
204
                    <td>
205
                        <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% order.biblionumber %]">[% order.title |html %]</a>
205
                        <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% order.biblionumber %]">[% order.title %]</a>
206
                        <br />[% order.author %] <br /> [% order.isbn %]
206
                        <br />[% order.author %] <br /> [% order.isbn %]
207
                    </td>
207
                    </td>
208
                    <td><a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% order.id %]">[% order.name %]</a></td>
208
                    <td><a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% order.id %]">[% order.name %]</a></td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice-files.tt (-4 / +4 lines)
Lines 36-42 Link Here
36
<div id="bd">
36
<div id="bd">
37
  <div id="yui-main">
37
  <div id="yui-main">
38
    <div class="yui-b">
38
    <div class="yui-b">
39
      <h2>Files for invoice: [% invoicenumber | html %]</h2>
39
      <h2>Files for invoice: [% invoicenumber %]</h2>
40
      <p><b>Vendor: </b><a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% suppliername %]</a></p>
40
      <p><b>Vendor: </b><a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% suppliername %]</a></p>
41
      <br />
41
      <br />
42
      [% IF errors %]
42
      [% IF errors %]
Lines 62-70 Link Here
62
              <tbody>
62
              <tbody>
63
                [% FOREACH f IN files %]
63
                [% FOREACH f IN files %]
64
                  <tr>
64
                  <tr>
65
                      <td><a href="?invoiceid=[% invoiceid %]&amp;op=download&amp;view=1&amp;file_id=[% f.file_id %]">[% f.file_name | html %]</a></td>
65
                      <td><a href="?invoiceid=[% invoiceid %]&amp;op=download&amp;view=1&amp;file_id=[% f.file_id %]">[% f.file_name %]</a></td>
66
                      <td>[% f.file_type | html %]</td>
66
                      <td>[% f.file_type %]</td>
67
                      <td>[% f.file_description | html %]</td>
67
                      <td>[% f.file_description %]</td>
68
                      <td class="title-string">
68
                      <td class="title-string">
69
                        <span title="[% f.date_uploaded %]">[% f.date_uploaded | $KohaDates %]</span>
69
                        <span title="[% f.date_uploaded %]">[% f.date_uploaded | $KohaDates %]</span>
70
                      </td>
70
                      </td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt (-3 / +3 lines)
Lines 239-247 Link Here
239
                <tbody>
239
                <tbody>
240
                [% FOREACH f IN files %]
240
                [% FOREACH f IN files %]
241
                    <tr>
241
                    <tr>
242
                         <td><a href="/cgi-bin/koha/acqui/invoice-files.pl?invoiceid=[% invoiceid %]&amp;op=download&amp;view=1&amp;file_id=[% f.file_id %]">[% f.file_name | html %]</a></td>
242
                         <td><a href="/cgi-bin/koha/acqui/invoice-files.pl?invoiceid=[% invoiceid %]&amp;op=download&amp;view=1&amp;file_id=[% f.file_id %]">[% f.file_name %]</a></td>
243
                         <td>[% f.file_type | html %]</td>
243
                         <td>[% f.file_type %]</td>
244
                         <td>[% f.file_description | html %]</td>
244
                         <td>[% f.file_description %]</td>
245
                         <td class="title-string">
245
                         <td class="title-string">
246
                           <span title="[% f.date_uploaded %]">[% f.date_uploaded | $KohaDates %]</span>
246
                           <span title="[% f.date_uploaded %]">[% f.date_uploaded | $KohaDates %]</span>
247
                         </td>
247
                         </td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt (-5 / +5 lines)
Lines 25-31 function check_uncheck() { Link Here
25
25
26
$(document).ready(function() {
26
$(document).ready(function() {
27
27
28
    var columns_settings = [% ColumnsSettings.GetColumns( 'acqui', 'lateorders', 'late_orders', 'json' ) %];
28
    var columns_settings = [% ColumnsSettings.GetColumns( 'acqui', 'lateorders', 'late_orders', 'json' ).raw %];
29
    late_orderst = KohaTable("#late_orders", {
29
    late_orderst = KohaTable("#late_orders", {
30
        "aoColumnDefs": [
30
        "aoColumnDefs": [
31
            { "aTargets": [ 0 ], "bSortable": false, "bSearchable": false },
31
            { "aTargets": [ 0 ], "bSortable": false, "bSearchable": false },
Lines 98-104 $(document).ready(function() { Link Here
98
[% IF ( lateorders ) %]
98
[% IF ( lateorders ) %]
99
<form action="lateorders.pl" name="claim" method="post">
99
<form action="lateorders.pl" name="claim" method="post">
100
  <input type="hidden" name="op" value="send_alert" />
100
  <input type="hidden" name="op" value="send_alert" />
101
  <input type="hidden" name="delay" value="[% delay | html%]" />
101
  <input type="hidden" name="delay" value="[% delay%]" />
102
  <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
102
  <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
103
	[% IF ( letters ) %]
103
	[% IF ( letters ) %]
104
	<p><label for="letter_code">Claim using notice: </label><select name="letter_code" id="letter_code">
104
	<p><label for="letter_code">Claim using notice: </label><select name="letter_code" id="letter_code">
Lines 150-156 $(document).ready(function() { Link Here
150
                ([% lateorder.supplierid %])
150
                ([% lateorder.supplierid %])
151
            </td>
151
            </td>
152
            <td>
152
            <td>
153
                <b>[% lateorder.title |html %]</b>
153
                <b>[% lateorder.title %]</b>
154
                   [% IF ( lateorder.author ) %]<br/><i>Author:</i> [% lateorder.author %][% END %]
154
                   [% IF ( lateorder.author ) %]<br/><i>Author:</i> [% lateorder.author %][% END %]
155
                   [% IF ( lateorder.publisher ) %]
155
                   [% IF ( lateorder.publisher ) %]
156
                        <br/><i>Published by:</i> [% lateorder.publisher %]
156
                        <br/><i>Published by:</i> [% lateorder.publisher %]
Lines 221-230 $(document).ready(function() { Link Here
221
<fieldset class="brief">
221
<fieldset class="brief">
222
<h4>Filter results:</h4>
222
<h4>Filter results:</h4>
223
[% FOREACH ERROR_LOO IN ERROR_LOOP %]
223
[% FOREACH ERROR_LOO IN ERROR_LOOP %]
224
[% IF ( ERROR_LOO.delay_digits ) %]<p class="error">The number of days ([% ERROR_LOO.bad_delay | html %]) must be a number between 0 and 999.</p>[% END %]
224
[% IF ( ERROR_LOO.delay_digits ) %]<p class="error">The number of days ([% ERROR_LOO.bad_delay %]) must be a number between 0 and 999.</p>[% END %]
225
[% END %]
225
[% END %]
226
<ol>
226
<ol>
227
    <li><label for="delay">Order date:</label><input size="3" maxlength="3" id="delay" type="text" name="delay" value="[% delay | html%]" /> days ago</li>
227
    <li><label for="delay">Order date:</label><input size="3" maxlength="3" id="delay" type="text" name="delay" value="[% delay%]" /> days ago</li>
228
    <li><label for="from">Estimated delivery date from: </label>
228
    <li><label for="from">Estimated delivery date from: </label>
229
        <input type="text" size="10" id="from" name="estimateddeliverydatefrom" value="[% estimateddeliverydatefrom %]" class="datepickerfrom" />
229
        <input type="text" size="10" id="from" name="estimateddeliverydatefrom" value="[% estimateddeliverydatefrom %]" class="datepickerfrom" />
230
        <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
230
        <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/modordernotes.tt (-1 / +1 lines)
Lines 12-18 Link Here
12
<body id="acq_modordernotes" class="acq">
12
<body id="acq_modordernotes" class="acq">
13
[% INCLUDE 'header.inc' %]
13
[% INCLUDE 'header.inc' %]
14
14
15
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisition</a> &rsaquo; <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% booksellername|html %]</a> &rsaquo; <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno %]">Basket [% basketname|html %] ([% basketno %])</a> &rsaquo; Change order [% IF (type == "vendor") %]vendor[% ELSE %]internal[% END %] note</div>
15
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisition</a> &rsaquo; <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% booksellername %]</a> &rsaquo; <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno %]">Basket [% basketname %] ([% basketno %])</a> &rsaquo; Change order [% IF (type == "vendor") %]vendor[% ELSE %]internal[% END %] note</div>
16
16
17
<div id="doc" class="yui-t7">
17
<div id="doc" class="yui-t7">
18
18
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderbiblio.tt (-2 / +2 lines)
Lines 46-52 Link Here
46
46
47
[% IF ( total ) %]
47
[% IF ( total ) %]
48
<b>[% total %] results found </b> 
48
<b>[% total %] results found </b> 
49
<div class="pages">[% pagination_bar %]</div>
49
<div class="pages">[% pagination_bar.raw %]</div>
50
[% ELSE %]
50
[% ELSE %]
51
<h3> No results found</h3>
51
<h3> No results found</h3>
52
<p>
52
<p>
Lines 74-80 Link Here
74
      [% FOREACH biblio IN resultsloop %]
74
      [% FOREACH biblio IN resultsloop %]
75
        <tr>
75
        <tr>
76
            <td>
76
            <td>
77
                <p><span class="title"><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.biblionumber %]">[% biblio.title | html %]</a></span>
77
                <p><span class="title"><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.biblionumber %]">[% biblio.title %]</a></span>
78
                [% IF ( biblio.author ) %]  by <span class="author">[% biblio.author %]</span>,[% END %]</p>
78
                [% IF ( biblio.author ) %]  by <span class="author">[% biblio.author %]</span>,[% END %]</p>
79
                <p>[% IF ( biblio.isbn ) %] [% biblio.isbn %][% END %]
79
                <p>[% IF ( biblio.isbn ) %] [% biblio.isbn %][% END %]
80
                [% IF ( biblio.pages ) %] - [% biblio.pages %][% END %]
80
                [% IF ( biblio.pages ) %] - [% biblio.pages %][% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt (-2 / +2 lines)
Lines 310-319 $(document).ready(function() Link Here
310
        <ol><li>
310
        <ol><li>
311
            [% IF ( biblionumber ) %]
311
            [% IF ( biblionumber ) %]
312
            <span class="label">Title</span>
312
            <span class="label">Title</span>
313
                <input type="hidden" name="title" value="[% title |html %]" /> <span class="title">[% title |html %]</span>
313
                <input type="hidden" name="title" value="[% title %]" /> <span class="title">[% title %]</span>
314
            [% ELSE %]
314
            [% ELSE %]
315
            <label for="entertitle" class="required">Title: </label>
315
            <label for="entertitle" class="required">Title: </label>
316
                <input type="text" id="entertitle" size="50" name="title" value="[% title |html %]" class="focus" />
316
                <input type="text" id="entertitle" size="50" name="title" value="[% title %]" class="focus" />
317
                <span class="required">Required</span>
317
                <span class="required">Required</span>
318
            [% END %]
318
            [% END %]
319
        </li>
319
        </li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersubscription.tt (-1 / +1 lines)
Lines 71-77 Link Here
71
                        [% FOREACH sub IN subs_loop %]
71
                        [% FOREACH sub IN subs_loop %]
72
                            <tr data-reneweddate="[% sub.reneweddate %]" >
72
                            <tr data-reneweddate="[% sub.reneweddate %]" >
73
                                <td>[% sub.issn %]</td>
73
                                <td>[% sub.issn %]</td>
74
                                <td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% sub.subscriptionid %]" class="button" title="subscription detail">[% IF (sub.title) %][% sub.title |html %][% ELSE %]
74
                                <td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% sub.subscriptionid %]" class="button" title="subscription detail">[% IF (sub.title) %][% sub.title %][% ELSE %]
75
                                ---
75
                                ---
76
                            [% END %][% IF (sub.unititle) %], [% sub.unititle %][% END %]</a>
76
                            [% END %][% IF (sub.unititle) %], [% sub.unititle %][% END %]</a>
77
                                </td>
77
                                </td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersuggestion.tt (-1 / +1 lines)
Lines 55-61 Link Here
55
            <tr>
55
            <tr>
56
                <td>[% suggestions_loo.managedby %]</td>
56
                <td>[% suggestions_loo.managedby %]</td>
57
                <td>
57
                <td>
58
                    <p>[% suggestions_loo.title |html %] - [% suggestions_loo.author %]</p>
58
                    <p>[% suggestions_loo.title %] - [% suggestions_loo.author %]</p>
59
                    <p>
59
                    <p>
60
                        [% IF ( suggestions_loo.copyrightdate ) %]&copy; [% suggestions_loo.copyrightdate %] [% END %]
60
                        [% IF ( suggestions_loo.copyrightdate ) %]&copy; [% suggestions_loo.copyrightdate %] [% END %]
61
                        [% IF ( suggestions_loo.volumedesc ) %]volume: <i>[% suggestions_loo.volumedesc %]</i> [% END %]
61
                        [% IF ( suggestions_loo.volumedesc ) %]volume: <i>[% suggestions_loo.volumedesc %]</i> [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt (-1 / +1 lines)
Lines 143-149 Link Here
143
143
144
    <fieldset class="rows">
144
    <fieldset class="rows">
145
    <legend>Catalog details</legend>
145
    <legend>Catalog details</legend>
146
    <ol><li><span class="label">Title: </span><span class="title">[% title |html %]</span></li>
146
    <ol><li><span class="label">Title: </span><span class="title">[% title %]</span></li>
147
    <li> <span class="label">Author: </span>
147
    <li> <span class="label">Author: </span>
148
        [% author %]</li>
148
        [% author %]</li>
149
    <li><span class="label">Copyright: </span>
149
    <li><span class="label">Copyright: </span>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt (-4 / +4 lines)
Lines 267-273 Link Here
267
                </td>
267
                </td>
268
                <td class="orderfilterclass"><a href="neworderempty.pl?ordernumber=[% loop_order.ordernumber %]&amp;booksellerid=[% loop_order.booksellerid %]">[% loop_order.ordernumber %]</a></td>
268
                <td class="orderfilterclass"><a href="neworderempty.pl?ordernumber=[% loop_order.ordernumber %]&amp;booksellerid=[% loop_order.booksellerid %]">[% loop_order.ordernumber %]</a></td>
269
                <td class="summaryfilterclass">
269
                <td class="summaryfilterclass">
270
                  <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loop_order.biblionumber %]">[% loop_order.title |html %]</a>
270
                  <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loop_order.biblionumber %]">[% loop_order.title %]</a>
271
                [% IF ( loop_order.author ) %] by [% loop_order.author %][% END %]
271
                [% IF ( loop_order.author ) %] by [% loop_order.author %][% END %]
272
                [% IF ( loop_order.isbn ) %] &ndash; [% loop_order.isbn %][% END %]
272
                [% IF ( loop_order.isbn ) %] &ndash; [% loop_order.isbn %][% END %]
273
                [% IF ( loop_order.publishercode ) %]<br />Publisher:[% loop_order.publishercode %][% END %]
273
                [% IF ( loop_order.publishercode ) %]<br />Publisher:[% loop_order.publishercode %][% END %]
Lines 278-289 Link Here
278
                [% END %]
278
                [% END %]
279
                <br />
279
                <br />
280
                [% IF ( loop_order.order_internalnote ) %]
280
                [% IF ( loop_order.order_internalnote ) %]
281
                    <p class="ordernote"><strong>Internal note: </strong>[% loop_order.order_internalnote|html %] [<a href="/cgi-bin/koha/acqui/modordernotes.pl?ordernumber=[% loop_order.ordernumber %]&amp;referrer=/cgi-bin/koha/acqui/parcel.pl%3Finvoiceid=[% invoiceid %]&type=internal">Change internal note</a>]</p>
281
                    <p class="ordernote"><strong>Internal note: </strong>[% loop_order.order_internalnote %] [<a href="/cgi-bin/koha/acqui/modordernotes.pl?ordernumber=[% loop_order.ordernumber %]&amp;referrer=/cgi-bin/koha/acqui/parcel.pl%3Finvoiceid=[% invoiceid %]&type=internal">Change internal note</a>]</p>
282
                [% ELSE %]
282
                [% ELSE %]
283
                    [<a href="/cgi-bin/koha/acqui/modordernotes.pl?ordernumber=[% loop_order.ordernumber %]&amp;referrer=/cgi-bin/koha/acqui/parcel.pl%3Finvoiceid=[% invoiceid %]&type=internal">Add internal note</a>]
283
                    [<a href="/cgi-bin/koha/acqui/modordernotes.pl?ordernumber=[% loop_order.ordernumber %]&amp;referrer=/cgi-bin/koha/acqui/parcel.pl%3Finvoiceid=[% invoiceid %]&type=internal">Add internal note</a>]
284
                [% END %]
284
                [% END %]
285
                [% IF ( loop_order.order_vendornote ) %]
285
                [% IF ( loop_order.order_vendornote ) %]
286
                    <p class="ordernote"><strong>Vendor note: </strong>[% loop_order.order_vendornote|html %]</p>
286
                    <p class="ordernote"><strong>Vendor note: </strong>[% loop_order.order_vendornote %]</p>
287
                [% ELSE %]
287
                [% ELSE %]
288
                    [<a href="/cgi-bin/koha/acqui/modordernotes.pl?ordernumber=[% loop_order.ordernumber %]&amp;referrer=/cgi-bin/koha/acqui/parcel.pl%3Finvoiceid=[% invoiceid %]&type=vendor">Add vendor note</a>]
288
                    [<a href="/cgi-bin/koha/acqui/modordernotes.pl?ordernumber=[% loop_order.ordernumber %]&amp;referrer=/cgi-bin/koha/acqui/parcel.pl%3Finvoiceid=[% invoiceid %]&type=vendor">Add vendor note</a>]
289
                [% END %]
289
                [% END %]
Lines 414-420 Link Here
414
                    0
414
                    0
415
                  [% END %]
415
                  [% END %]
416
                </td>
416
                </td>
417
                <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% order.biblionumber %]">[% order.title |html %]</a>
417
                <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% order.biblionumber %]">[% order.title %]</a>
418
                [% IF ( order.author ) %] / [% order.author %][% END %]
418
                [% IF ( order.author ) %] / [% order.author %][% END %]
419
                [% IF ( order.isbn ) %] - [% order.isbn %][% END %]
419
                [% IF ( order.isbn ) %] - [% order.isbn %][% END %]
420
                [% IF ( order.publishercode ) %]<br />Publisher :[% order.publishercode %][% END %]
420
                [% IF ( order.publishercode ) %]<br />Publisher :[% order.publishercode %][% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/tables/members_results.tt (-3 / +3 lines)
Lines 11-22 Link Here
11
                "dt_name":
11
                "dt_name":
12
                    "<span style='white-space:nowrap'><a href='/cgi-bin/koha/members/moremember.pl?borrowernumber=[% data.borrowernumber %]'>[% INCLUDE 'patron-title.inc' borrowernumber = data.borrowernumber category_type = data.category_type firstname = To.json(data.firstname) surname = To.json(data.surname) othernames = To.json(data.othernames) cardnumber = data.cardnumber invert_name = 1%]</a></span>",
12
                    "<span style='white-space:nowrap'><a href='/cgi-bin/koha/members/moremember.pl?borrowernumber=[% data.borrowernumber %]'>[% INCLUDE 'patron-title.inc' borrowernumber = data.borrowernumber category_type = data.category_type firstname = To.json(data.firstname) surname = To.json(data.surname) othernames = To.json(data.othernames) cardnumber = data.cardnumber invert_name = 1%]</a></span>",
13
                "dt_branch":
13
                "dt_branch":
14
                    "[% data.branchname |html %]",
14
                    "[% data.branchname %]",
15
                "dt_category":
15
                "dt_category":
16
                    "[% data.category_description |html %] ([% data.category_type |html %])",
16
                    "[% data.category_description %] ([% data.category_type %])",
17
                "dt_action":
17
                "dt_action":
18
                    [%- IF selection_type == 'select' -%]
18
                    [%- IF selection_type == 'select' -%]
19
                        "<a class=\"btn btn-default btn-xs select_user\" href=\"#\" data-borrowernumber=\"[% data.borrowernumber %]\" data-borrowerdata=\"[% To.json(data) | html %]\">Select</a><input type=\"hidden\" id=\"borrower_data[% data.borrowernumber %]\" name=\"borrower_data[% data.borrowernumber %]\" value=\"[% To.json(data) | html %]\" />"
19
                        "<a class=\"btn btn-default btn-xs select_user\" href=\"#\" data-borrowernumber=\"[% data.borrowernumber %]\" data-borrowerdata=\"[% To.json(data) %]\">Select</a><input type=\"hidden\" id=\"borrower_data[% data.borrowernumber %]\" name=\"borrower_data[% data.borrowernumber %]\" value=\"[% To.json(data) %]\" />"
20
                    [%- ELSE -%]
20
                    [%- ELSE -%]
21
                        "<a href=\"#\" data-borrowernumber=\"[% data.borrowernumber %]\" data-firstname=\"[% data.firstname %]\" data-surname=\"[% data.surname %]\" class=\"btn btn-default btn-xs add_user\"><i class=\"fa fa-plus\"></i> Add</a>"
21
                        "<a href=\"#\" data-borrowernumber=\"[% data.borrowernumber %]\" data-firstname=\"[% data.firstname %]\" data-surname=\"[% data.surname %]\" class=\"btn btn-default btn-xs add_user\"><i class=\"fa fa-plus\"></i> Add</a>"
22
                    [%- END -%]
22
                    [%- END -%]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/transferorder.tt (-1 / +1 lines)
Lines 100-106 Link Here
100
                      <tr>
100
                      <tr>
101
                        <td><a href="neworderempty.pl?ordernumber=[% ordersloo.ordernumber %]">[% ordersloo.ordernumber %]</a></td>
101
                        <td><a href="neworderempty.pl?ordernumber=[% ordersloo.ordernumber %]">[% ordersloo.ordernumber %]</a></td>
102
                        <td>
102
                        <td>
103
                            <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% ordersloo.biblionumber %]">[% ordersloo.title |html %]</a>
103
                            <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% ordersloo.biblionumber %]">[% ordersloo.title %]</a>
104
                            [% IF ( ordersloo.author ) %] by [% ordersloo.author %][% END %]
104
                            [% IF ( ordersloo.author ) %] by [% ordersloo.author %][% END %]
105
                            [% IF ( ordersloo.isbn ) %] &ndash; [% ordersloo.isbn %][% END %]
105
                            [% IF ( ordersloo.isbn ) %] &ndash; [% ordersloo.isbn %][% END %]
106
                            [% IF ( ordersloo.publishercode ) %]<br />Publisher :[% ordersloo.publishercode %][% END %]
106
                            [% IF ( ordersloo.publishercode ) %]<br />Publisher :[% ordersloo.publishercode %][% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt (-28 / +28 lines)
Lines 51-57 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
51
[% INCLUDE 'header.inc' %]
51
[% INCLUDE 'header.inc' %]
52
[% INCLUDE 'acquisitions-search.inc' %]
52
[% INCLUDE 'acquisitions-search.inc' %]
53
53
54
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> &rsaquo; <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% name %]</a> &rsaquo; <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno | uri %]">Basket [% basketno | html %]</a> &rsaquo; [% IF ( opsearch ) %]Order from external source[% ELSE %]<a href="/cgi-bin/koha/acqui/z3950_search.pl?booksellerid=[% booksellerid | uri %]&amp;basketno=[% basketno | uri %]">Order from external source</a> &rsaquo; Search results[% END %]</div>
54
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> &rsaquo; <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% name %]</a> &rsaquo; <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno | uri %]">Basket [% basketno %]</a> &rsaquo; [% IF ( opsearch ) %]Order from external source[% ELSE %]<a href="/cgi-bin/koha/acqui/z3950_search.pl?booksellerid=[% booksellerid | uri %]&amp;basketno=[% basketno | uri %]">Order from external source</a> &rsaquo; Search results[% END %]</div>
55
55
56
<div id="doc3" class="yui-t7">
56
<div id="doc3" class="yui-t7">
57
      <div id="bd">
57
      <div id="bd">
Lines 63-74 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
63
    <div class="yui-u first">
63
    <div class="yui-u first">
64
	    <fieldset class="rows">
64
	    <fieldset class="rows">
65
         <ol>
65
         <ol>
66
             <li><label for="searchtitle">Title: </label> <input type="text" id="searchtitle"  name="title" value="[% title |html %]" class="focus" /></li>
66
             <li><label for="searchtitle">Title: </label> <input type="text" id="searchtitle"  name="title" value="[% title %]" class="focus" /></li>
67
             <li><label for="isbn">ISBN: </label> <input type="text" id="isbn" name="isbn" value="[% isbn | html %]" /></li>
67
             <li><label for="isbn">ISBN: </label> <input type="text" id="isbn" name="isbn" value="[% isbn %]" /></li>
68
             <li><label for="lccall">LC call number: </label> <input type="text" id="lccall" name="lccall" value="" /></li>
68
             <li><label for="lccall">LC call number: </label> <input type="text" id="lccall" name="lccall" value="" /></li>
69
             <li><label for="controlnumber">Control no.: </label> <input type="text" id="controlnumber" name="controlnumber" value="" /></li>
69
             <li><label for="controlnumber">Control no.: </label> <input type="text" id="controlnumber" name="controlnumber" value="" /></li>
70
             <li><label for="author">Author: </label> <input type="text" id="author" name="author" value="[% author | html %]" /></li>
70
             <li><label for="author">Author: </label> <input type="text" id="author" name="author" value="[% author %]" /></li>
71
             <li><label for="issn">ISSN: </label> <input type="text" id="issn" name="issn" value="[% issn | html %]" /></li>
71
             <li><label for="issn">ISSN: </label> <input type="text" id="issn" name="issn" value="[% issn %]" /></li>
72
             <li><label for="subject">Subject heading: </label> <input type="text" id="subject" name="subject" value="" /></li>
72
             <li><label for="subject">Subject heading: </label> <input type="text" id="subject" name="subject" value="" /></li>
73
             <li><label for="dewey">Dewey: </label> <input type="text" id="dewey" name="dewey" value="" /></li>
73
             <li><label for="dewey">Dewey: </label> <input type="text" id="dewey" name="dewey" value="" /></li>
74
             <li><label for="frameworkcode" >Select MARC framework:</label>
74
             <li><label for="frameworkcode" >Select MARC framework:</label>
Lines 82-90 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
82
              <li><a id="resetZ3950Search" href="#"><i class="fa fa-trash"></i> Clear search form</a></li>
82
              <li><a id="resetZ3950Search" href="#"><i class="fa fa-trash"></i> Clear search form</a></li>
83
         </ol>
83
         </ol>
84
    </fieldset>
84
    </fieldset>
85
    <input type="hidden" name="biblionumber" value="[% biblionumber | html %]" />
85
    <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
86
    <input type="hidden" name="basketno" value="[% basketno | html %]" />
86
    <input type="hidden" name="basketno" value="[% basketno %]" />
87
    <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
87
    <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
88
	    </div>
88
	    </div>
89
<div class="yui-u second">
89
<div class="yui-u second">
90
<h2>Search targets</h2>
90
<h2>Search targets</h2>
Lines 113-126 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
113
    <h2>Search results</h2>
113
    <h2>Search results</h2>
114
114
115
    <p>You searched for:
115
    <p>You searched for:
116
        [% IF ( title ) %]<em>Title: </em><span class=term>[% title | html %]</span> [% END %]
116
        [% IF ( title ) %]<em>Title: </em><span class=term>[% title %]</span> [% END %]
117
        [% IF ( author ) %]<em>Author: </em><span class=term>[% author | html %]</span> [% END %]
117
        [% IF ( author ) %]<em>Author: </em><span class=term>[% author %]</span> [% END %]
118
        [% IF ( isbn ) %]<em>ISBN: </em><span class=term>[% isbn | html %]</span> [% END %]
118
        [% IF ( isbn ) %]<em>ISBN: </em><span class=term>[% isbn %]</span> [% END %]
119
        [% IF ( issn ) %]<em>ISSN: </em><span class=term>[% issn | html %]</span> [% END %]
119
        [% IF ( issn ) %]<em>ISSN: </em><span class=term>[% issn %]</span> [% END %]
120
        [% IF ( lccall ) %]<em>LC call number: </em><span class=term>[% lccall | html %]</span> [% END %]
120
        [% IF ( lccall ) %]<em>LC call number: </em><span class=term>[% lccall %]</span> [% END %]
121
        [% IF ( subject ) %]<em>Subject heading: </em><span class=term>[% subject | html %]</span> [% END %]
121
        [% IF ( subject ) %]<em>Subject heading: </em><span class=term>[% subject %]</span> [% END %]
122
        [% IF ( controlnumber ) %]<em>Control no: </em><span class=term>[% controlnumber | html %]</span> [% END %]
122
        [% IF ( controlnumber ) %]<em>Control no: </em><span class=term>[% controlnumber %]</span> [% END %]
123
        [% IF ( dewey ) %]<em>Dewey: </em><span class=term>[% dewey | html %]</span> [%END %]
123
        [% IF ( dewey ) %]<em>Dewey: </em><span class=term>[% dewey %]</span> [%END %]
124
    </p>
124
    </p>
125
125
126
    [% IF ( breeding_loop ) %]
126
    [% IF ( breeding_loop ) %]
Lines 139-145 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
139
139
140
        <tr>
140
        <tr>
141
            <td>[% breeding_loo.server %] <div class="linktools"><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.breedingid %]" class="previewData">Preview MARC</a> <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&amp;importid=[% breeding_loo.breedingid %]" class="previewData">Preview card</a> <a href="/cgi-bin/koha/acqui/neworderempty.pl?frameworkcode=[% frameworkcode | uri  %]&amp;breedingid=[% breeding_loo.breedingid %]&amp;booksellerid=[% booksellerid | uri %]&amp;basketno=[% basketno | uri %]">Order</a> <a href="#" id="closemenu" title="Close this menu"> X </a></div></td>
141
            <td>[% breeding_loo.server %] <div class="linktools"><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.breedingid %]" class="previewData">Preview MARC</a> <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&amp;importid=[% breeding_loo.breedingid %]" class="previewData">Preview card</a> <a href="/cgi-bin/koha/acqui/neworderempty.pl?frameworkcode=[% frameworkcode | uri  %]&amp;breedingid=[% breeding_loo.breedingid %]&amp;booksellerid=[% booksellerid | uri %]&amp;basketno=[% basketno | uri %]">Order</a> <a href="#" id="closemenu" title="Close this menu"> X </a></div></td>
142
            <td>[% breeding_loo.title |html %]</td>
142
            <td>[% breeding_loo.title %]</td>
143
            <td>[% breeding_loo.author %]</td>
143
            <td>[% breeding_loo.author %]</td>
144
            <td>[% breeding_loo.isbn %]</td>
144
            <td>[% breeding_loo.isbn %]</td>
145
            <td>[% breeding_loo.lccn %]</td>
145
            <td>[% breeding_loo.lccn %]</td>
Lines 172-188 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
172
    <form method="post" action="z3950_search.pl" id="page_form" name="page_form" class="checkboxed">
172
    <form method="post" action="z3950_search.pl" id="page_form" name="page_form" class="checkboxed">
173
        <input type="hidden" name="op" id="op" value="do_search" />
173
        <input type="hidden" name="op" id="op" value="do_search" />
174
        <input type="hidden" name="current_page" id="current_page" value="[% current_page %]" />
174
        <input type="hidden" name="current_page" id="current_page" value="[% current_page %]" />
175
        <input type="hidden" id="searchtitle"  name="title" value="[% title |html %]" />
175
        <input type="hidden" id="searchtitle"  name="title" value="[% title %]" />
176
        <input type="hidden" id="isbn" name="isbn" value="[% isbn | html %]" />
176
        <input type="hidden" id="isbn" name="isbn" value="[% isbn %]" />
177
        <input type="hidden" id="lccall" name="lccall" value="[% lccall | html %]" />
177
        <input type="hidden" id="lccall" name="lccall" value="[% lccall %]" />
178
        <input type="hidden" id="author" name="author" value="[% author | html %]" />
178
        <input type="hidden" id="author" name="author" value="[% author %]" />
179
        <input type="hidden" id="subject" name="subject" value="[% subject | html %]" />
179
        <input type="hidden" id="subject" name="subject" value="[% subject %]" />
180
        <input type="hidden" id="dewey" name="dewey" value="[% dewey | html %]" />
180
        <input type="hidden" id="dewey" name="dewey" value="[% dewey %]" />
181
        <input type="hidden" name="frameworkcode" value="[% frameworkcode | html %]" />
181
        <input type="hidden" name="frameworkcode" value="[% frameworkcode %]" />
182
        <input type="hidden" name="biblionumber" value="[% biblionumber | html %]" />
182
        <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
183
        <input type="hidden" name="controlnumber" value="[% controlnumber | html %]" />
183
        <input type="hidden" name="controlnumber" value="[% controlnumber %]" />
184
        <input type="hidden" name="basketno" value="[% basketno | html %]" />
184
        <input type="hidden" name="basketno" value="[% basketno %]" />
185
        <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
185
        <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
186
186
187
        [% FOREACH server IN servers %]
187
        [% FOREACH server IN servers %]
188
        <input type="hidden" name="id" id="z3950_[% server.id %]" value="[% server.id %]" />
188
        <input type="hidden" name="id" id="z3950_[% server.id %]" value="[% server.id %]" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt (-1 / +1 lines)
Lines 8-14 Link Here
8
        </a>
8
        </a>
9
        <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="budgetmenu_[% block_budget_id %]">
9
        <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="budgetmenu_[% block_budget_id %]">
10
              <li>
10
              <li>
11
                  <a href="[% script_name %]?op=add_form&amp;budget_period_id=[% block_budget_id |html %]"><i class="fa fa-pencil"></i> Edit</a>
11
                  <a href="[% script_name %]?op=add_form&amp;budget_period_id=[% block_budget_id %]"><i class="fa fa-pencil"></i> Edit</a>
12
              </li>
12
              </li>
13
              <li>
13
              <li>
14
                  <a href="[% script_name %]?op=delete_confirm&amp;budget_period_id=[% block_budget_id %]"><i class="fa fa-trash"></i> Delete</a>
14
                  <a href="[% script_name %]?op=delete_confirm&amp;budget_period_id=[% block_budget_id %]"><i class="fa fa-trash"></i> Delete</a>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt (-12 / +12 lines)
Lines 14-24 Link Here
14
[% INCLUDE 'cat-search.inc' %]
14
[% INCLUDE 'cat-search.inc' %]
15
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo;
15
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo;
16
  <a href="/cgi-bin/koha/admin/authtypes.pl">Authority types</a> &rsaquo;
16
  <a href="/cgi-bin/koha/admin/authtypes.pl">Authority types</a> &rsaquo;
17
  [% IF ( authtypecode ) %]<a href="/cgi-bin/koha/admin/auth_tag_structure.pl?authtypecode=[% authtypecode | uri%]">[% authtypecode |html%] framework</a> &rsaquo;
17
  [% IF ( authtypecode ) %]<a href="/cgi-bin/koha/admin/auth_tag_structure.pl?authtypecode=[% authtypecode | uri%]">[% authtypecode%] framework</a> &rsaquo;
18
  [% ELSE %]<a href="/cgi-bin/koha/admin/auth_tag_structure.pl">Default framework</a> &rsaquo;
18
  [% ELSE %]<a href="/cgi-bin/koha/admin/auth_tag_structure.pl">Default framework</a> &rsaquo;
19
  [% END %]
19
  [% END %]
20
  [% IF ( else ) %]Authority MARC subfield structure for [% tagfield | html %]
20
  [% IF ( else ) %]Authority MARC subfield structure for [% tagfield %]
21
  [% ELSE %]<a href="/cgi-bin/koha/admin/auth_subfields_structure.pl?tagfield=[% tagfield | uri %]&amp;tagsubfield=[% tagsubfield %]&amp;authtypecode=[% authtypecode |uri %]">Authority MARC subfield structure for [% tagfield | html %]</a> &rsaquo;
21
  [% ELSE %]<a href="/cgi-bin/koha/admin/auth_subfields_structure.pl?tagfield=[% tagfield | uri %]&amp;tagsubfield=[% tagsubfield %]&amp;authtypecode=[% authtypecode |uri %]">Authority MARC subfield structure for [% tagfield %]</a> &rsaquo;
22
  [% END %]
22
  [% END %]
23
  [% IF ( delete_confirm ) %]Confirm deletion of subfield [% tagsubfield %]?[% END %]
23
  [% IF ( delete_confirm ) %]Confirm deletion of subfield [% tagsubfield %]?[% END %]
24
  [% IF ( delete_confirmed ) %]Data deleted[% END %]
24
  [% IF ( delete_confirmed ) %]Data deleted[% END %]
Lines 38-49 Link Here
38
[% IF ( add_form ) %]
38
[% IF ( add_form ) %]
39
39
40
    <h1>[% IF ( use_heading_flags_p ) %]
40
    <h1>[% IF ( use_heading_flags_p ) %]
41
    [% IF ( heading_edit_subfields_p ) %]Edit MARC subfields constraints for field [% tagfield | html %] authority [% authtypecode |html%][% END %]
41
    [% IF ( heading_edit_subfields_p ) %]Edit MARC subfields constraints for field [% tagfield %] authority [% authtypecode%][% END %]
42
    [% ELSE %][% action %][% END %]</h1>
42
    [% ELSE %][% action %][% END %]</h1>
43
    <form action="[% script_name %]" name="Aform" method="post">
43
    <form action="[% script_name %]" name="Aform" method="post">
44
        <input type="hidden" name="op" value="add_validate" />
44
        <input type="hidden" name="op" value="add_validate" />
45
        <input type="hidden" name="tagfield" value="[% tagfield | html %]" />
45
        <input type="hidden" name="tagfield" value="[% tagfield %]" />
46
        <input type="hidden" name="authtypecode" value="[% authtypecode | html%]" />
46
        <input type="hidden" name="authtypecode" value="[% authtypecode%]" />
47
        <fieldset class="action"><input type="submit" class="submit" value="Save changes" /> <a class="cancel" href="/cgi-bin/koha/admin/auth_subfields_structure.pl?tagfield=[% tagfield | uri %]&amp;authtypecode=[% authtypecode |uri %]">Cancel</a></fieldset>
47
        <fieldset class="action"><input type="submit" class="submit" value="Save changes" /> <a class="cancel" href="/cgi-bin/koha/admin/auth_subfields_structure.pl?tagfield=[% tagfield | uri %]&amp;authtypecode=[% authtypecode |uri %]">Cancel</a></fieldset>
48
        <div id="subfieldtabs" class="toptabs numbered">
48
        <div id="subfieldtabs" class="toptabs numbered">
49
            <ul>
49
            <ul>
Lines 239-254 Link Here
239
            </table>
239
            </table>
240
            <input type="hidden" name="searchfield" value="[% searchfield %]" />
240
            <input type="hidden" name="searchfield" value="[% searchfield %]" />
241
            <input type="hidden" name="tagfield" value="[% tagfield%]" />
241
            <input type="hidden" name="tagfield" value="[% tagfield%]" />
242
            <input type="hidden" name="tagsubfield" value="[% tagsubfield | html %]" />
242
            <input type="hidden" name="tagsubfield" value="[% tagsubfield %]" />
243
            <input type="hidden" name="authtypecode" value="[% authtypecode | html %]" />
243
            <input type="hidden" name="authtypecode" value="[% authtypecode %]" />
244
            <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete this subfield</button>
244
            <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete this subfield</button>
245
        </form>
245
        </form>
246
246
247
        <form action="[% delete_link %]" method="get">
247
        <form action="[% delete_link %]" method="get">
248
            <input type="hidden" name="searchfield" value="[% searchfield %]" />
248
            <input type="hidden" name="searchfield" value="[% searchfield %]" />
249
            <input type="hidden" name="tagfield" value="[% tagfield | html %]" />
249
            <input type="hidden" name="tagfield" value="[% tagfield %]" />
250
            <input type="hidden" name="tagsubfield" value="[% tagsubfield %]" />
250
            <input type="hidden" name="tagsubfield" value="[% tagsubfield %]" />
251
            <input type="hidden" name="authtypecode" value="[% authtypecode |html %]" />
251
            <input type="hidden" name="authtypecode" value="[% authtypecode %]" />
252
            <button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not delete</button>
252
            <button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not delete</button>
253
        </form>
253
        </form>
254
    </form></div>
254
    </form></div>
Lines 258-271 Link Here
258
258
259
   <div class="dialog message"> <h3>Data deleted</h3>
259
   <div class="dialog message"> <h3>Data deleted</h3>
260
    <form action="[% script_name %]" method="post">
260
    <form action="[% script_name %]" method="post">
261
        <input type="hidden" name="tagfield" value="[% tagfield | html %]" />
261
        <input type="hidden" name="tagfield" value="[% tagfield %]" />
262
        <input type="submit" class="approve" value="OK" />
262
        <input type="submit" class="approve" value="OK" />
263
    </form></div>
263
    </form></div>
264
[% END %]
264
[% END %]
265
265
266
266
267
[% IF ( else ) %]
267
[% IF ( else ) %]
268
<h1>Authority MARC subfield structure admin for [% tagfield | html %] (authority: [% authtypecode | html%])</h1>
268
<h1>Authority MARC subfield structure admin for [% tagfield %] (authority: [% authtypecode %])</h1>
269
<p>This screen shows the subfields associated with the selected tag. You can edit subfields or add a new one by clicking on edit.</p>
269
<p>This screen shows the subfields associated with the selected tag. You can edit subfields or add a new one by clicking on edit.</p>
270
<p>The column 'Koha field' shows that the subfield is linked with a Koha field.</p>
270
<p>The column 'Koha field' shows that the subfield is linked with a Koha field.</p>
271
271
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tt (-2 / +2 lines)
Lines 97-104 Link Here
97
                    </li>
97
                    </li>
98
                [% END %]
98
                [% END %]
99
99
100
        <li><label for="liblibrarian">Text for librarians: </label><input type="text" name="liblibrarian" id="liblibrarian" value="[% liblibrarian |html %]" size="40" maxlength="100" /></li>
100
        <li><label for="liblibrarian">Text for librarians: </label><input type="text" name="liblibrarian" id="liblibrarian" value="[% liblibrarian %]" size="40" maxlength="100" /></li>
101
        <li><label for="libopac">Text for opac: </label><input type="text" name="libopac" id="libopac" value="[% libopac |html %]" size="40" maxlength="100" /></li>
101
        <li><label for="libopac">Text for opac: </label><input type="text" name="libopac" id="libopac" value="[% libopac %]" size="40" maxlength="100" /></li>
102
        <li><label for="repeatable">Repeatable: </label>
102
        <li><label for="repeatable">Repeatable: </label>
103
            [% IF ( repeatable ) %]
103
            [% IF ( repeatable ) %]
104
                <input type="checkbox" name="repeatable" id="repeatable" value="1" checked="checked" />
104
                <input type="checkbox" name="repeatable" id="repeatable" value="1" checked="checked" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt (-3 / +3 lines)
Lines 94-100 Link Here
94
                </li>
94
                </li>
95
                <li>
95
                <li>
96
                    <label for="authtypetext" class="required">Description: </label>
96
                    <label for="authtypetext" class="required">Description: </label>
97
                    <input type="text" id="authtypetext" name="authtypetext" size="40" maxlength="80" value="[% authority_type.authtypetext |html %]" class="required" required="required" />
97
                    <input type="text" id="authtypetext" name="authtypetext" size="40" maxlength="80" value="[% authority_type.authtypetext %]" class="required" required="required" />
98
                    <span class="required">Required</span>
98
                    <span class="required">Required</span>
99
                </li>
99
                </li>
100
                <li>
100
                <li>
Lines 169-176 Link Here
169
                      Actions <b class="caret"></b></a>
169
                      Actions <b class="caret"></b></a>
170
                    <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="authtypeactions[% authority_type.authtypecode %]">
170
                    <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="authtypeactions[% authority_type.authtypecode %]">
171
                      <li><a href="auth_tag_structure.pl?authtypecode=[% authority_type.authtypecode %]" class="button parameters"><i class="fa fa-eye"></i> MARC structure</a></li>
171
                      <li><a href="auth_tag_structure.pl?authtypecode=[% authority_type.authtypecode %]" class="button parameters"><i class="fa fa-eye"></i> MARC structure</a></li>
172
                      <li><a href="/cgi-bin/koha/admin/authtypes.pl?op=add_form&amp;authtypecode=[% authority_type.authtypecode |html %]"><i class="fa fa-pencil"></i> Edit</a></li>
172
                      <li><a href="/cgi-bin/koha/admin/authtypes.pl?op=add_form&amp;authtypecode=[% authority_type.authtypecode %]"><i class="fa fa-pencil"></i> Edit</a></li>
173
                      [% IF authority_type.authtypecode %]<li><a href="/cgi-bin/koha/admin/authtypes.pl?op=delete_confirm&amp;authtypecode=[% authority_type.authtypecode |html %]"><i class="fa fa-trash"></i> Delete</a></li>[% END %]
173
                      [% IF authority_type.authtypecode %]<li><a href="/cgi-bin/koha/admin/authtypes.pl?op=delete_confirm&amp;authtypecode=[% authority_type.authtypecode %]"><i class="fa fa-trash"></i> Delete</a></li>[% END %]
174
                    </ul>
174
                    </ul>
175
                  </div>
175
                  </div>
176
                </td>
176
                </td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt (-3 / +3 lines)
Lines 92-98 Link Here
92
                [% END %]
92
                [% END %]
93
                <li>
93
                <li>
94
                    <label for="description" class="required">Description: </label>
94
                    <label for="description" class="required">Description: </label>
95
                    <input type="text" name="frameworktext" id="description" size="40" maxlength="80" value="[% framework.frameworktext |html %]" required="required" class="required" />
95
                    <input type="text" name="frameworktext" id="description" size="40" maxlength="80" value="[% framework.frameworktext %]" required="required" class="required" />
96
                    <span class="required">Required</span>
96
                    <span class="required">Required</span>
97
                </li>
97
                </li>
98
            </ol>
98
            </ol>
Lines 217-224 Link Here
217
                </a>
217
                </a>
218
                <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="frameworkactions[% loo.frameworkcode %]">
218
                <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="frameworkactions[% loo.frameworkcode %]">
219
                  <li><a href="marctagstructure.pl?frameworkcode=[% loo.frameworkcode %]"><i class="fa fa-eye"></i> MARC structure</a></li>
219
                  <li><a href="marctagstructure.pl?frameworkcode=[% loo.frameworkcode %]"><i class="fa fa-eye"></i> MARC structure</a></li>
220
                  <li><a href="/cgi-bin/koha/admin/biblio_framework.pl?op=add_form&amp;frameworkcode=[% loo.frameworkcode |html %]"><i class="fa fa-pencil"></i> Edit</a></li>
220
                  <li><a href="/cgi-bin/koha/admin/biblio_framework.pl?op=add_form&amp;frameworkcode=[% loo.frameworkcode %]"><i class="fa fa-pencil"></i> Edit</a></li>
221
                  <li><a href="/cgi-bin/koha/admin/biblio_framework.pl?op=delete_confirm&amp;frameworkcode=[% loo.frameworkcode |html %]"><i class="fa fa-trash"></i> Delete</a></li>
221
                  <li><a href="/cgi-bin/koha/admin/biblio_framework.pl?op=delete_confirm&amp;frameworkcode=[% loo.frameworkcode %]"><i class="fa fa-trash"></i> Delete</a></li>
222
                  <!-- Trigger modal -->
222
                  <!-- Trigger modal -->
223
                  <li><a href="#" data-toggle="modal" data-target="#exportModal_[% loo.frameworkcode %][% loop.count %]" title="Export framework structure (fields, subfields) to a spreadsheet file (.csv, .xml, .ods)"><i class="fa fa-upload"></i> Export</a></li>
223
                  <li><a href="#" data-toggle="modal" data-target="#exportModal_[% loo.frameworkcode %][% loop.count %]" title="Export framework structure (fields, subfields) to a spreadsheet file (.csv, .xml, .ods)"><i class="fa fa-upload"></i> Export</a></li>
224
                  <!-- Trigger modal -->
224
                  <!-- Trigger modal -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt (-39 / +39 lines)
Lines 142-158 tinyMCE.init({ Link Here
142
                <li>
142
                <li>
143
                    [% IF library %]
143
                    [% IF library %]
144
                        <span class="label">Library code: </span>
144
                        <span class="label">Library code: </span>
145
                        <input type="hidden" name="branchcode" value="[% library.branchcode |html %]" />
145
                        <input type="hidden" name="branchcode" value="[% library.branchcode %]" />
146
                        [% library.branchcode %]
146
                        [% library.branchcode %]
147
                    [% ELSE %]
147
                    [% ELSE %]
148
                        <label for="branchcode" class="required">Library code: </label>
148
                        <label for="branchcode" class="required">Library code: </label>
149
                        <input type="text" name="branchcode" id="branchcode" size="10" maxlength="10" value="[% library.branchcode |html %]" class="required" required="required" />
149
                        <input type="text" name="branchcode" id="branchcode" size="10" maxlength="10" value="[% library.branchcode %]" class="required" required="required" />
150
                        <span class="required">Required</span>
150
                        <span class="required">Required</span>
151
                    [% END %]
151
                    [% END %]
152
                </li>
152
                </li>
153
                <li>
153
                <li>
154
                    <label for="branchname" class="required">Name: </label>
154
                    <label for="branchname" class="required">Name: </label>
155
                    <input type="text" name="branchname" id="branchname" size="80" value="[% library.branchname |html %]" class="required" required="required" />
155
                    <input type="text" name="branchname" id="branchname" size="80" value="[% library.branchname %]" class="required" required="required" />
156
                    <span class="required">Required</span>
156
                    <span class="required">Required</span>
157
                </li>
157
                </li>
158
            </ol>
158
            </ol>
Lines 176-197 tinyMCE.init({ Link Here
176
        [% END %]
176
        [% END %]
177
        <fieldset class="rows">
177
        <fieldset class="rows">
178
            <ol>
178
            <ol>
179
                <li><label for="branchaddress1">Address line 1: </label><input type="text" name="branchaddress1" id="branchaddress1" size="60" value="[% library.branchaddress1 |html %]" /></li>
179
                <li><label for="branchaddress1">Address line 1: </label><input type="text" name="branchaddress1" id="branchaddress1" size="60" value="[% library.branchaddress1 %]" /></li>
180
                <li><label for="branchaddress2">Address line 2: </label><input type="text" name="branchaddress2" id="branchaddress2" size="60" value="[% library.branchaddress2 |html %]" /></li>
180
                <li><label for="branchaddress2">Address line 2: </label><input type="text" name="branchaddress2" id="branchaddress2" size="60" value="[% library.branchaddress2 %]" /></li>
181
                <li><label for="branchaddress3">Address line 3: </label><input type="text" name="branchaddress3" id="branchaddress3" size="60" value="[% library.branchaddress3 |html %]" /></li>
181
                <li><label for="branchaddress3">Address line 3: </label><input type="text" name="branchaddress3" id="branchaddress3" size="60" value="[% library.branchaddress3 %]" /></li>
182
                <li><label for="branchcity">City: </label><input type="text" name="branchcity" id="branchcity" size="60" value="[% library.branchcity |html %]" /></li>
182
                <li><label for="branchcity">City: </label><input type="text" name="branchcity" id="branchcity" size="60" value="[% library.branchcity %]" /></li>
183
                <li><label for="branchstate">State: </label><input type="text" name="branchstate" id="branchstate" size="60" value="[% library.branchstate |html %]" /></li>
183
                <li><label for="branchstate">State: </label><input type="text" name="branchstate" id="branchstate" size="60" value="[% library.branchstate %]" /></li>
184
                <li><label for="branchzip">ZIP/Postal code: </label><input type="text" name="branchzip" id="branchzip"  size="25" maxlength="25" value="[% library.branchzip |html %]" /></li>
184
                <li><label for="branchzip">ZIP/Postal code: </label><input type="text" name="branchzip" id="branchzip"  size="25" maxlength="25" value="[% library.branchzip %]" /></li>
185
                <li><label for="branchcountry">Country: </label><input type="text" name="branchcountry" id="branchcountry" size="60" value="[% library.branchcountry |html %]" /></li>
185
                <li><label for="branchcountry">Country: </label><input type="text" name="branchcountry" id="branchcountry" size="60" value="[% library.branchcountry %]" /></li>
186
                <li><label for="branchphone">Phone: </label><input type="text" name="branchphone" id="branchphone" size="60" value="[% library.branchphone |html %]" /></li>
186
                <li><label for="branchphone">Phone: </label><input type="text" name="branchphone" id="branchphone" size="60" value="[% library.branchphone %]" /></li>
187
                <li><label for="branchfax">Fax: </label><input type="text" name="branchfax" id="branchfax" size="60" value="[% library.branchfax |html %]" /></li>
187
                <li><label for="branchfax">Fax: </label><input type="text" name="branchfax" id="branchfax" size="60" value="[% library.branchfax %]" /></li>
188
                <li><label for="branchemail">Email: </label><input type="text" name="branchemail" id="branchemail" class="email"  size="80" value="[% library.branchemail |html %]" /></li>
188
                <li><label for="branchemail">Email: </label><input type="text" name="branchemail" id="branchemail" class="email"  size="80" value="[% library.branchemail %]" /></li>
189
                <li><label for="branchreplyto">Reply-To (if different to Email): </label> <input type="text" name="branchreplyto" id="branchreplyto" class="email"  size="80" value="[% library.branchreplyto |html %]" /></li>
189
                <li><label for="branchreplyto">Reply-To (if different to Email): </label> <input type="text" name="branchreplyto" id="branchreplyto" class="email"  size="80" value="[% library.branchreplyto %]" /></li>
190
                <li><label for="branchreturnpath">Return-Path (if different to Email): </label> <input type="text" name="branchreturnpath" id="branchreturnpath" class="email"  size="80" value="[% library.branchreturnpath |html %]" /></li>
190
                <li><label for="branchreturnpath">Return-Path (if different to Email): </label> <input type="text" name="branchreturnpath" id="branchreturnpath" class="email"  size="80" value="[% library.branchreturnpath %]" /></li>
191
                <li><label for="branchurl">URL: </label><input type="text" name="branchurl" id="branchurl"  size="80" value="[% library.branchurl |html %]" class="url" /></li>
191
                <li><label for="branchurl">URL: </label><input type="text" name="branchurl" id="branchurl"  size="80" value="[% library.branchurl %]" class="url" /></li>
192
                <li><label for="opac_info">OPAC info: </label><textarea name="opac_info" id="opac_info">[% library.opac_info |html %]</textarea></li>
192
                <li><label for="opac_info">OPAC info: </label><textarea name="opac_info" id="opac_info">[% library.opac_info %]</textarea></li>
193
                <li><label for="branchip">IP: </label><input type="text" name="branchip" id="branchip"  size="15" maxlength="15" value="[% library.branchip |html %]" /> <span class="hint">Can be entered as a single IP, or a subnet such as 192.168.1.*</span></li>
193
                <li><label for="branchip">IP: </label><input type="text" name="branchip" id="branchip"  size="15" maxlength="15" value="[% library.branchip %]" /> <span class="hint">Can be entered as a single IP, or a subnet such as 192.168.1.*</span></li>
194
                <li><label for="branchnotes">Notes: </label><input type="text" name="branchnotes" id="branchnotes" size="80" value="[% library.branchnotes |html %]" /></li>
194
                <li><label for="branchnotes">Notes: </label><input type="text" name="branchnotes" id="branchnotes" size="80" value="[% library.branchnotes %]" /></li>
195
            </ol>
195
            </ol>
196
        </fieldset>
196
        </fieldset>
197
        <fieldset class="action">
197
        <fieldset class="action">
Lines 206-213 tinyMCE.init({ Link Here
206
        <form action="/cgi-bin/koha/admin/branches.pl" method="post">
206
        <form action="/cgi-bin/koha/admin/branches.pl" method="post">
207
            <h3>Are you sure you want to delete [% library.branchname %] ([% library.branchcode %])?</h3>
207
            <h3>Are you sure you want to delete [% library.branchname %] ([% library.branchcode %])?</h3>
208
            <input type="hidden" name="op" value="delete_confirmed" />
208
            <input type="hidden" name="op" value="delete_confirmed" />
209
            <input type="hidden" name="branchcode" value="[% library.branchcode |html %]" />
209
            <input type="hidden" name="branchcode" value="[% library.branchcode %]" />
210
            <input type="hidden" name="branchname" value="[% library.branchname |html %]">
210
            <input type="hidden" name="branchname" value="[% library.branchname %]">
211
            <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete</button>
211
            <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete</button>
212
        </form>
212
        </form>
213
        <form action="/cgi-bin/koha/admin/branches.pl" method="get">
213
        <form action="/cgi-bin/koha/admin/branches.pl" method="get">
Lines 233-266 tinyMCE.init({ Link Here
233
            <tbody>
233
            <tbody>
234
                [% FOREACH library IN libraries %]
234
                [% FOREACH library IN libraries %]
235
                    <tr>
235
                    <tr>
236
                        <td>[% library.branchname |html %]</td>
236
                        <td>[% library.branchname %]</td>
237
                        <td>[% library.branchcode |html %]</td>
237
                        <td>[% library.branchcode %]</td>
238
                        <td>
238
                        <td>
239
                            [% IF library.branchaddress1 %]
239
                            [% IF library.branchaddress1 %]
240
                                [% library.branchaddress1 |html %][% END %]
240
                                [% library.branchaddress1 %][% END %]
241
                            [% IF library.branchaddress2 %]
241
                            [% IF library.branchaddress2 %]
242
                                <br />[% library.branchaddress2 |html %][% END %]
242
                                <br />[% library.branchaddress2 %][% END %]
243
                            [% IF library.branchaddress3 %]
243
                            [% IF library.branchaddress3 %]
244
                                <br />[% library.branchaddress3 |html %][% END %]
244
                                <br />[% library.branchaddress3 %][% END %]
245
                            [% IF library.branchcity %]
245
                            [% IF library.branchcity %]
246
                                <br />[% library.branchcity |html %][% END %][% IF ( library.branchstate ) %],
246
                                <br />[% library.branchcity %][% END %][% IF ( library.branchstate ) %],
247
                                [% library.branchstate |html %][% END %]
247
                                [% library.branchstate %][% END %]
248
                            [% IF library.branchzip %]
248
                            [% IF library.branchzip %]
249
                                [% library.branchzip |html %][% END %]
249
                                [% library.branchzip %][% END %]
250
                            [% IF library.branchcountry %]
250
                            [% IF library.branchcountry %]
251
                                <br />[% library.branchcountry |html %][% END %]
251
                                <br />[% library.branchcountry %][% END %]
252
                            [% IF library.branchphone %]
252
                            [% IF library.branchphone %]
253
                                <br />Ph: [% library.branchphone |html %][% END %]
253
                                <br />Ph: [% library.branchphone %][% END %]
254
                            [% IF library.branchfax %]
254
                            [% IF library.branchfax %]
255
                                <br />Fax: [% library.branchfax |html %][% END %]
255
                                <br />Fax: [% library.branchfax %][% END %]
256
                            [% IF library.branchemail %]
256
                            [% IF library.branchemail %]
257
                                <br /><a href="mailto:[% library.branchemail %]">[% library.branchemail |html %]</a>[% END %]
257
                                <br /><a href="mailto:[% library.branchemail %]">[% library.branchemail %]</a>[% END %]
258
                            [% IF library.branchurl %]
258
                            [% IF library.branchurl %]
259
                                <br /><a href="[% library.branchurl %]">[% library.branchurl |html %]</a>[% END %]
259
                                <br /><a href="[% library.branchurl %]">[% library.branchurl %]</a>[% END %]
260
                            [% IF library.opac_info %]
260
                            [% IF library.opac_info %]
261
                                <br />OPAC Info: <div>[% library.opac_info %]</div>[% END %]
261
                                <br />OPAC Info: <div>[% library.opac_info %]</div>[% END %]
262
                            [% IF library.branchnotes %]
262
                            [% IF library.branchnotes %]
263
                                <br />Notes: [% library.branchnotes |html %][% END %]
263
                                <br />Notes: [% library.branchnotes %][% END %]
264
                        </td>
264
                        </td>
265
                        <td>
265
                        <td>
266
                            [% FOREACH category IN library.get_categories %]
266
                            [% FOREACH category IN library.get_categories %]
Lines 333-339 tinyMCE.init({ Link Here
333
                <li>
333
                <li>
334
                    [% IF category.categorycode %]
334
                    [% IF category.categorycode %]
335
                        <span class="label">Category code: </span>
335
                        <span class="label">Category code: </span>
336
                        <input type="hidden" name="categorycode" id="categorycode" value="[% category.categorycode |html %]" />
336
                        <input type="hidden" name="categorycode" id="categorycode" value="[% category.categorycode %]" />
337
                        [% category.categorycode %]
337
                        [% category.categorycode %]
338
                    [% ELSE %]
338
                    [% ELSE %]
339
                        <label for="categorycode" class="required">Category code:</label>
339
                        <label for="categorycode" class="required">Category code:</label>
Lines 343-354 tinyMCE.init({ Link Here
343
                </li>
343
                </li>
344
                <li>
344
                <li>
345
                    <label for="categoryname" class="required">Name: </label>
345
                    <label for="categoryname" class="required">Name: </label>
346
                    <input type="text" name="categoryname" id="categoryname" size="32" maxlength="32" value="[% category.categoryname |html %]" class="required" required="required" />
346
                    <input type="text" name="categoryname" id="categoryname" size="32" maxlength="32" value="[% category.categoryname %]" class="required" required="required" />
347
                    <span class="required">Required</span>
347
                    <span class="required">Required</span>
348
                </li>
348
                </li>
349
                <li>
349
                <li>
350
                    <label for="codedescription">Description: </label>
350
                    <label for="codedescription">Description: </label>
351
                    <input type="text" name="codedescription" id="codedescription" size="70" value="[% category.codedescription |html %]" />
351
                    <input type="text" name="codedescription" id="codedescription" size="70" value="[% category.codedescription %]" />
352
                </li>
352
                </li>
353
                <li>
353
                <li>
354
                    <label for="categorytype">Category type: </label>
354
                    <label for="categorytype">Category type: </label>
Lines 385-391 tinyMCE.init({ Link Here
385
    <h3>Are you sure you want to delete the group '[% category.codedescription %]' ([% category.categorycode %])?</h3>
385
    <h3>Are you sure you want to delete the group '[% category.codedescription %]' ([% category.categorycode %])?</h3>
386
    <form action="/cgi-bin/koha/admin/branches.pl" method="post">
386
    <form action="/cgi-bin/koha/admin/branches.pl" method="post">
387
        <input type="hidden" name="op" value="delete_confirmed_category" />
387
        <input type="hidden" name="op" value="delete_confirmed_category" />
388
        <input type="hidden" name="categorycode" value="[% category.categorycode |html %]" />
388
        <input type="hidden" name="categorycode" value="[% category.categorycode %]" />
389
        <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete</button>
389
        <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete</button>
390
    </form>
390
    </form>
391
    <form action="/cgi-bin/koha/admin/branches.pl" method="get">
391
    <form action="/cgi-bin/koha/admin/branches.pl" method="get">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt (-15 / +15 lines)
Lines 2-9 Link Here
2
[% USE KohaDates %]
2
[% USE KohaDates %]
3
[% USE Price %]
3
[% USE Price %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Koha &rsaquo; Administration &rsaquo; Patron categories &rsaquo; [% IF op == 'add_form' %][% IF ( categorycode ) %]Modify category '[% categorycode |html %]'[% ELSE %]New category[% END %][% END %]
5
<title>Koha &rsaquo; Administration &rsaquo; Patron categories &rsaquo; [% IF op == 'add_form' %][% IF ( categorycode ) %]Modify category '[% categorycode %]'[% ELSE %]New category[% END %][% END %]
6
[% 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 %]
6
[% IF op == 'delete_confirm' %][% IF ( patrons_in_category > 0 ) %]Cannot delete: category [% categorycode %] in use[% ELSE %]Confirm deletion of category '[% categorycode %]'[% END %][% END %]
7
</title>
7
</title>
8
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'calendar.inc' %]
9
[% INCLUDE 'calendar.inc' %]
Lines 21-28 Link Here
21
[% INCLUDE 'header.inc' %]
21
[% INCLUDE 'header.inc' %]
22
[% INCLUDE 'patrons-admin-search.inc' %]
22
[% INCLUDE 'patrons-admin-search.inc' %]
23
23
24
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo; [% IF op == 'add_form' %] <a href="/cgi-bin/koha/admin/categories.pl">Patron categories</a> &rsaquo; [% IF ( categorycode ) %]Modify category '[% categorycode |html %]'[% ELSE %]New category[% END %][% END %]
24
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo; [% IF op == 'add_form' %] <a href="/cgi-bin/koha/admin/categories.pl">Patron categories</a> &rsaquo; [% IF ( categorycode ) %]Modify category '[% categorycode %]'[% ELSE %]New category[% END %][% END %]
25
[% IF op == 'delete_confirm' %] <a href="/cgi-bin/koha/admin/categories.pl">Patron categories</a> &rsaquo; [% IF ( patrons_in_category > 0 ) %]Cannot delete: Category [% categorycode |html %] in use[% ELSE %]Confirm deletion of category '[% categorycode |html %]'[% END %][% END %]
25
[% IF op == 'delete_confirm' %] <a href="/cgi-bin/koha/admin/categories.pl">Patron categories</a> &rsaquo; [% IF ( patrons_in_category > 0 ) %]Cannot delete: Category [% categorycode %] in use[% ELSE %]Confirm deletion of category '[% categorycode %]'[% END %][% END %]
26
[% IF op == 'delete_confirmed' %] <a href="/cgi-bin/koha/admin/categories.pl">Patron categories</a> &rsaquo; Category deleted[% END %]
26
[% IF op == 'delete_confirmed' %] <a href="/cgi-bin/koha/admin/categories.pl">Patron categories</a> &rsaquo; Category deleted[% END %]
27
[% IF op == 'list' %]Patron categories[% END %]</div>
27
[% IF op == 'list' %]Patron categories[% END %]</div>
28
28
Lines 59-65 Link Here
59
        <input type="hidden" name="op" value="add_validate" />
59
        <input type="hidden" name="op" value="add_validate" />
60
        <input type="hidden" name="checked" value="0" />
60
        <input type="hidden" name="checked" value="0" />
61
        [% IF category %]
61
        [% IF category %]
62
            <h1>Modify category [% categorycode |html %]</h1>
62
            <h1>Modify category [% categorycode %]</h1>
63
        [% ELSE %]
63
        [% ELSE %]
64
            <h1>New category</h1>
64
            <h1>New category</h1>
65
        [% END %]
65
        [% END %]
Lines 67-74 Link Here
67
            <ol>
67
            <ol>
68
                [% IF category %]
68
                [% IF category %]
69
                    <li>
69
                    <li>
70
                        <span class="label">Category code: </span>[% categorycode |html %]
70
                        <span class="label">Category code: </span>[% categorycode %]
71
                        <input type="hidden" name="categorycode" value="[% category.categorycode |html %]" /><input type="hidden" name="is_a_modif" value="1" />
71
                        <input type="hidden" name="categorycode" value="[% category.categorycode %]" /><input type="hidden" name="is_a_modif" value="1" />
72
                    </li>
72
                    </li>
73
                [% ELSE %]
73
                [% ELSE %]
74
                    <li>
74
                    <li>
Lines 79-85 Link Here
79
                [% END %]
79
                [% END %]
80
                <li>
80
                <li>
81
                    <label for="description" class="required">Description: </label>
81
                    <label for="description" class="required">Description: </label>
82
                    <input type="text" name="description" id="description" size="40" maxlength="80" class="required" required="required" value="[% category.description |html %]" />
82
                    <input type="text" name="description" id="description" size="40" maxlength="80" class="required" required="required" value="[% category.description %]" />
83
                    <span class="required">Required</span>
83
                    <span class="required">Required</span>
84
                </li>
84
                </li>
85
                <li>
85
                <li>
Lines 254-262 Link Here
254
        <fieldset>
254
        <fieldset>
255
            <legend>
255
            <legend>
256
                [% IF patrons_in_category > 0 %]
256
                [% IF patrons_in_category > 0 %]
257
                    Category [% categorycode |html %] is in use.  Deletion not possible!
257
                    Category [% categorycode %] is in use.  Deletion not possible!
258
                [% ELSE %]
258
                [% ELSE %]
259
                    Confirm deletion of category [% categorycode |html %]
259
                    Confirm deletion of category [% categorycode %]
260
                [% END %]
260
                [% END %]
261
            </legend>
261
            </legend>
262
262
Lines 266-273 Link Here
266
                </div>
266
                </div>
267
            [% END %]
267
            [% END %]
268
            <table>
268
            <table>
269
                <tr><th scope="row">Category code: </th><td>[% category.categorycode |html %]</td></tr>
269
                <tr><th scope="row">Category code: </th><td>[% category.categorycode %]</td></tr>
270
                <tr><th scope="row">Description: </th><td>[% category.description |html %]</td></tr>
270
                <tr><th scope="row">Description: </th><td>[% category.description %]</td></tr>
271
                <tr><th scope="row">Enrollment period: </th>
271
                <tr><th scope="row">Enrollment period: </th>
272
                    <td>
272
                    <td>
273
                        [% IF category.enrolmentperiod %]
273
                        [% IF category.enrolmentperiod %]
Lines 318-324 Link Here
318
                    <input type="submit" value="OK" />
318
                    <input type="submit" value="OK" />
319
                [% ELSE %]
319
                [% ELSE %]
320
                    <input type="hidden" name="op" value="delete_confirmed" />
320
                    <input type="hidden" name="op" value="delete_confirmed" />
321
                    <input type="hidden" name="categorycode" value="[% categorycode |html %]" />
321
                    <input type="hidden" name="categorycode" value="[% categorycode %]" />
322
                    <input type="submit" value="Delete this category" />
322
                    <input type="submit" value="Delete this category" />
323
                    <a class="cancel" href="/cgi-bin/koha/admin/categories.pl">Cancel</a>
323
                    <a class="cancel" href="/cgi-bin/koha/admin/categories.pl">Cancel</a>
324
                [% END %]
324
                [% END %]
Lines 365-373 Link Here
365
            <tbody>
365
            <tbody>
366
                [% FOREACH category IN categories %]
366
                [% FOREACH category IN categories %]
367
                    <tr>
367
                    <tr>
368
                        <td>[% category.categorycode |html %]</td>
368
                        <td>[% category.categorycode %]</td>
369
                        <td>
369
                        <td>
370
                            <a href="/cgi-bin/koha/admin/categories.pl?op=add_form&amp;categorycode=[% category.categorycode |uri %]">[% category.description |html %]</a>
370
                            <a href="/cgi-bin/koha/admin/categories.pl?op=add_form&amp;categorycode=[% category.categorycode |uri %]">[% category.description %]</a>
371
                        </td>
371
                        </td>
372
                        <td>
372
                        <td>
373
                            [% SWITCH category.category_type %]
373
                            [% SWITCH category.category_type %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt (-3 / +3 lines)
Lines 80-90 Link Here
80
                [% END %]
80
                [% END %]
81
                <li>
81
                <li>
82
                    <label for="city_name" class="required">City: </label>
82
                    <label for="city_name" class="required">City: </label>
83
                    <input type="text" name="city_name" id="city_name" size="80" maxlength="100" value="[% city.city_name |html %]" required="required" class="required" /> <span class="required">Required</span>
83
                    <input type="text" name="city_name" id="city_name" size="80" maxlength="100" value="[% city.city_name %]" required="required" class="required" /> <span class="required">Required</span>
84
                </li>
84
                </li>
85
                <li>
85
                <li>
86
                    <label for="city_state">State: </label>
86
                    <label for="city_state">State: </label>
87
                    <input type="text" name="city_state" id="city_state" size="80" maxlength="100" value="[% city.city_state |html %]" />
87
                    <input type="text" name="city_state" id="city_state" size="80" maxlength="100" value="[% city.city_state %]" />
88
                </li>
88
                </li>
89
                <li>
89
                <li>
90
                    <label for="city_zipcode" class="required">ZIP/Postal code: </label>
90
                    <label for="city_zipcode" class="required">ZIP/Postal code: </label>
Lines 92-98 Link Here
92
                </li>
92
                </li>
93
                <li>
93
                <li>
94
                    <label for="city_country">Country: </label>
94
                    <label for="city_country">Country: </label>
95
                    <input type="text" name="city_country" id="city_country" size="80" maxlength="100" value="[% city.city_country |html %]" />
95
                    <input type="text" name="city_country" id="city_country" size="80" maxlength="100" value="[% city.city_country %]" />
96
                </li>
96
                </li>
97
            </ol>
97
            </ol>
98
        </fieldset>
98
        </fieldset>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/classsources.tt (-6 / +6 lines)
Lines 69-75 Link Here
69
          [% END %]
69
          [% END %]
70
       </li>
70
       </li>
71
       <li><label class="required" for="description">Description: </label>
71
       <li><label class="required" for="description">Description: </label>
72
           <input class="required" required="required" type="text" id="description" name="description" size="50" maxlength="250" value="[% description |html %]" />
72
           <input class="required" required="required" type="text" id="description" name="description" size="50" maxlength="250" value="[% description %]" />
73
           <span class="required">Required</span>
73
           <span class="required">Required</span>
74
       </li>
74
       </li>
75
       <li><label for="used">Source in use?</label>
75
       <li><label for="used">Source in use?</label>
Lines 119-125 Link Here
119
          [% END %]
119
          [% END %]
120
       </li>
120
       </li>
121
       <li><label for="description" class="required">Description: </label>
121
       <li><label for="description" class="required">Description: </label>
122
           <input class="required" required="required" type="text" id="description" name="description" size="50" maxlength="250" value="[% description |html %]" />
122
           <input class="required" required="required" type="text" id="description" name="description" size="50" maxlength="250" value="[% description %]" />
123
           <span class="required">Required</span>
123
           <span class="required">Required</span>
124
       </li>
124
       </li>
125
       <li><label for="sort_routine" class="required">Filing routine: </label>
125
       <li><label for="sort_routine" class="required">Filing routine: </label>
Lines 217-224 Link Here
217
    <td>[% IF ( class_source.used ) %]Yes[% ELSE %]No[% END %]</td>
217
    <td>[% IF ( class_source.used ) %]Yes[% ELSE %]No[% END %]</td>
218
    <td>[% class_source.sortrule %]</td>
218
    <td>[% class_source.sortrule %]</td>
219
    <td class="actions">
219
    <td class="actions">
220
      <a class="btn btn-default btn-xs" href="[% class_source.script_name %]?op=edit_source&amp;class_source=[% class_source.code |html %]"><i class="fa fa-pencil"></i> Edit</a>
220
      <a class="btn btn-default btn-xs" href="[% class_source.script_name %]?op=edit_source&amp;class_source=[% class_source.code %]"><i class="fa fa-pencil"></i> Edit</a>
221
      <a class="btn btn-default btn-xs" href="[% class_source.script_name %]?op=delete_source&amp;class_source=[% class_source.code |html %]"><i class="fa fa-trash"></i> Delete</a>
221
      <a class="btn btn-default btn-xs" href="[% class_source.script_name %]?op=delete_source&amp;class_source=[% class_source.code %]"><i class="fa fa-trash"></i> Delete</a>
222
    </td>
222
    </td>
223
  </tr>
223
  </tr>
224
  [% END %]
224
  [% END %]
Lines 250-257 Link Here
250
    <td>[% class_sort_rule.description %]</td>
250
    <td>[% class_sort_rule.description %]</td>
251
    <td>[% class_sort_rule.sort_routine %]</td>
251
    <td>[% class_sort_rule.sort_routine %]</td>
252
    <td class="actions">
252
    <td class="actions">
253
      <a class="btn btn-default btn-xs" href="[% class_sort_rule.script_name %]?op=edit_sort_rule&amp;sort_rule=[% class_sort_rule.rule |html %]"><i class="fa fa-pencil"></i> Edit</a>
253
      <a class="btn btn-default btn-xs" href="[% class_sort_rule.script_name %]?op=edit_sort_rule&amp;sort_rule=[% class_sort_rule.rule %]"><i class="fa fa-pencil"></i> Edit</a>
254
      <a class="btn btn-default btn-xs" href="[% class_sort_rule.script_name %]?op=delete_sort_rule&amp;sort_rule=[% class_sort_rule.rule |html %]"><i class="fa fa-trash"></i> Delete</a>
254
      <a class="btn btn-default btn-xs" href="[% class_sort_rule.script_name %]?op=delete_sort_rule&amp;sort_rule=[% class_sort_rule.rule %]"><i class="fa fa-trash"></i> Delete</a>
255
    </td>
255
    </td>
256
  </tr>
256
  </tr>
257
  [% END %]
257
  [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt (-3 / +3 lines)
Lines 24-30 Link Here
24
    }
24
    }
25
25
26
    $(document).ready(function() {
26
    $(document).ready(function() {
27
        columns_settings = [% ColumnsSettings.GetColumns( 'admin', 'currency', 'currencies-table', 'json' ) %]
27
        columns_settings = [% ColumnsSettings.GetColumns( 'admin', 'currency', 'currencies-table', 'json' ).raw %]
28
        var issuest = KohaTable("#currencies-table", {
28
        var issuest = KohaTable("#currencies-table", {
29
            dom: 'B<"clearfix">t',
29
            dom: 'B<"clearfix">t',
30
            "columnDefs": [
30
            "columnDefs": [
Lines 218-225 Link Here
218
          <tr>
218
          <tr>
219
            <td>[% currency.currency %]</td>
219
            <td>[% currency.currency %]</td>
220
            <td>[% currency.rate %]</td>
220
            <td>[% currency.rate %]</td>
221
            <td>[% currency.symbol |html %]</td>
221
            <td>[% currency.symbol %]</td>
222
            <td>[% currency.isocode |html %]</td>
222
            <td>[% currency.isocode %]</td>
223
            <td><span title="[% currency.timestamp %]">[% currency.timestamp | $KohaDates %]</span></td>
223
            <td><span title="[% currency.timestamp %]">[% currency.timestamp | $KohaDates %]</span></td>
224
            <td style="color:green;">[% IF currency.active %]✓[% END %]</td>
224
            <td style="color:green;">[% IF currency.active %]✓[% END %]</td>
225
            <td>[% IF currency.archived %]Yes[% END %]</td>
225
            <td>[% IF currency.archived %]Yes[% END %]</td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt (-4 / +4 lines)
Lines 142-148 Item types administration Link Here
142
                [% END %]
142
                [% END %]
143
                <li>
143
                <li>
144
                    <label for="description" class="required">Description: </label>
144
                    <label for="description" class="required">Description: </label>
145
                    <input type="text" id="description" name="description" size="48" value="[% itemtype.description |html %]" required="required" /> <span class="required">Required</span>
145
                    <input type="text" id="description" name="description" size="48" value="[% itemtype.description %]" required="required" /> <span class="required">Required</span>
146
                    [% IF can_be_translated %]
146
                    [% IF can_be_translated %]
147
                        <a href="/cgi-bin/koha/admin/localization.pl?entity=itemtypes&code=[% itemtype.itemtype %]" title="Translate item type [% itemtype.itemtype %]" rel="gb_page_center[600,500]"><i class="fa fa-pencil"></i> Translate into other languages</a>
147
                        <a href="/cgi-bin/koha/admin/localization.pl?entity=itemtypes&code=[% itemtype.itemtype %]" title="Translate item type [% itemtype.itemtype %]" rel="gb_page_center[600,500]"><i class="fa fa-pencil"></i> Translate into other languages</a>
148
                    [% END %]
148
                    [% END %]
Lines 360-366 Item types administration Link Here
360
                    </td>
360
                    </td>
361
                [% END %]
361
                [% END %]
362
            <td>
362
            <td>
363
              <a href="/cgi-bin/koha/admin/itemtypes.pl?op=add_form&amp;itemtype=[% itemtype.itemtype |html %]">
363
              <a href="/cgi-bin/koha/admin/itemtypes.pl?op=add_form&amp;itemtype=[% itemtype.itemtype %]">
364
                [% itemtype.itemtype %]
364
                [% itemtype.itemtype %]
365
              </a>
365
              </a>
366
            </td>
366
            </td>
Lines 389-396 Item types administration Link Here
389
            </td>
389
            </td>
390
            <td>[% itemtype.checkinmsg | html_line_break %]</td>
390
            <td>[% itemtype.checkinmsg | html_line_break %]</td>
391
            <td class="actions">
391
            <td class="actions">
392
              <a href="/cgi-bin/koha/admin/itemtypes.pl?op=add_form&amp;itemtype=[% itemtype.itemtype |html %]" class="btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
392
              <a href="/cgi-bin/koha/admin/itemtypes.pl?op=add_form&amp;itemtype=[% itemtype.itemtype %]" class="btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
393
              <a href="/cgi-bin/koha/admin/itemtypes.pl?op=delete_confirm&amp;itemtype=[% itemtype.itemtype |html %]" class="btn btn-default btn-xs"><i class="fa fa-trash"></i> Delete</a>
393
              <a href="/cgi-bin/koha/admin/itemtypes.pl?op=delete_confirm&amp;itemtype=[% itemtype.itemtype %]" class="btn btn-default btn-xs"><i class="fa fa-trash"></i> Delete</a>
394
            </td>
394
            </td>
395
          </tr>
395
          </tr>
396
          [% END %]
396
          [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt (-11 / +11 lines)
Lines 12-27 Link Here
12
  <a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo; <a href="/cgi-bin/koha/admin/biblio_framework.pl">MARC frameworks</a> &rsaquo; <a href="/cgi-bin/koha/admin/marctagstructure.pl?frameworkcode=[% frameworkcode %]&amp;searchfield=[% tagfield | uri %]">[% IF ( frameworkcode ) %][% frameworkcode %][% ELSE %]Default[% END %] framework structure</a> &rsaquo;
12
  <a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo; <a href="/cgi-bin/koha/admin/biblio_framework.pl">MARC frameworks</a> &rsaquo; <a href="/cgi-bin/koha/admin/marctagstructure.pl?frameworkcode=[% frameworkcode %]&amp;searchfield=[% tagfield | uri %]">[% IF ( frameworkcode ) %][% frameworkcode %][% ELSE %]Default[% END %] framework structure</a> &rsaquo;
13
  [% IF ( add_form ) %]
13
  [% IF ( add_form ) %]
14
  [% IF ( use_heading_flags_p ) %]
14
  [% IF ( use_heading_flags_p ) %]
15
  [% IF ( heading_edit_subfields_p ) %] <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?tagfield=[% tagfield | uri %]&amp;frameworkcode=[% frameworkcode %]">Tag [% tagfield | html %] subfield structure</a> &rsaquo; Edit subfields constraints
15
  [% IF ( heading_edit_subfields_p ) %] <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?tagfield=[% tagfield | uri %]&amp;frameworkcode=[% frameworkcode %]">Tag [% tagfield %] subfield structure</a> &rsaquo; Edit subfields constraints
16
  [% END %]
16
  [% END %]
17
  [% ELSE %] <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?tagfield=[% tagfield | uri %]&amp;frameworkcode=[% frameworkcode %]">Tag [% tagfield | html %] Subfield structure</a> &rsaquo; [% action %]
17
  [% ELSE %] <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?tagfield=[% tagfield | uri %]&amp;frameworkcode=[% frameworkcode %]">Tag [% tagfield %] Subfield structure</a> &rsaquo; [% action %]
18
  [% END %]
18
  [% END %]
19
  [% END %]
19
  [% END %]
20
[% IF ( delete_confirm ) %] <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?tagfield=[% tagfield | uri %]&amp;frameworkcode=[% frameworkcode %]">Tag [% tagfield | html %] Subfield structure</a> &rsaquo; Confirm deletion of subfield [% tagsubfield %]
20
[% IF ( delete_confirm ) %] <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?tagfield=[% tagfield | uri %]&amp;frameworkcode=[% frameworkcode %]">Tag [% tagfield %] Subfield structure</a> &rsaquo; Confirm deletion of subfield [% tagsubfield %]
21
[% END %]
21
[% END %]
22
[% IF ( delete_confirmed ) %] <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?tagfield=[% tagfield | uri %]&amp;frameworkcode=[% frameworkcode %]">Tag [% tagfield | html %] subfield structure</a> &rsaquo; Subfield deleted
22
[% IF ( delete_confirmed ) %] <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?tagfield=[% tagfield | uri %]&amp;frameworkcode=[% frameworkcode %]">Tag [% tagfield %] subfield structure</a> &rsaquo; Subfield deleted
23
[% END %]
23
[% END %]
24
[% IF ( else ) %]Tag [% tagfield | html %] Subfield structure[% END %]
24
[% IF ( else ) %]Tag [% tagfield %] Subfield structure[% END %]
25
</div>
25
</div>
26
26
27
<div id="doc3" class="yui-t2">
27
<div id="doc3" class="yui-t2">
Lines 33-46 Link Here
33
[% IF ( add_form ) %]
33
[% IF ( add_form ) %]
34
    <h1>
34
    <h1>
35
        [% IF ( use_heading_flags_p ) %]
35
        [% IF ( use_heading_flags_p ) %]
36
            [% IF ( heading_edit_subfields_p ) %]Tag [% tagfield | html %] Subfield constraints[% END %]
36
            [% IF ( heading_edit_subfields_p ) %]Tag [% tagfield %] Subfield constraints[% END %]
37
        [% ELSE %]
37
        [% ELSE %]
38
            [% action %]
38
            [% action %]
39
        [% END %]
39
        [% END %]
40
    </h1>
40
    </h1>
41
    <form action="[% script_name %]" name="Aform" method="post">
41
    <form action="[% script_name %]" name="Aform" method="post">
42
    <input type="hidden" name="op" value="add_validate" />
42
    <input type="hidden" name="op" value="add_validate" />
43
    <input type="hidden" name="tagfield" value="[% tagfield | html %]" />
43
    <input type="hidden" name="tagfield" value="[% tagfield %]" />
44
    <input type="hidden" name="frameworkcode" value="[% frameworkcode %]" />
44
    <input type="hidden" name="frameworkcode" value="[% frameworkcode %]" />
45
    <div id="subfieldtabs" class="toptabs numbered">
45
    <div id="subfieldtabs" class="toptabs numbered">
46
   <ul>
46
   <ul>
Lines 218-224 Link Here
218
218
219
        <form action="[% delete_link %]" method="post"><input type="hidden" name="op" value="delete_confirmed" />
219
        <form action="[% delete_link %]" method="post"><input type="hidden" name="op" value="delete_confirmed" />
220
            <input type="hidden" name="searchfield" value="[% searchfield %]" />
220
            <input type="hidden" name="searchfield" value="[% searchfield %]" />
221
            <input type="hidden" name="tagfield" value="[% tagfield | html %]" />
221
            <input type="hidden" name="tagfield" value="[% tagfield %]" />
222
            <input type="hidden" name="tagsubfield" value="[% tagsubfield %]" />
222
            <input type="hidden" name="tagsubfield" value="[% tagsubfield %]" />
223
            <input type="hidden" name="frameworkcode" value="[% frameworkcode %]" />
223
            <input type="hidden" name="frameworkcode" value="[% frameworkcode %]" />
224
            <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete this subfield</button>
224
            <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete this subfield</button>
Lines 227-233 Link Here
227
227
228
        <form action="[% script_name %]" method="post">
228
        <form action="[% script_name %]" method="post">
229
            <input type="hidden" name="searchfield" value="[% searchfield %]" />
229
            <input type="hidden" name="searchfield" value="[% searchfield %]" />
230
            <input type="hidden" name="tagfield" value="[% tagfield | html%]" />
230
            <input type="hidden" name="tagfield" value="[% tagfield%]" />
231
            <input type="hidden" name="tagsubfield" value="[% tagsubfield %]" />
231
            <input type="hidden" name="tagsubfield" value="[% tagsubfield %]" />
232
            <input type="hidden" name="frameworkcode" value="[% frameworkcode %]" />
232
            <input type="hidden" name="frameworkcode" value="[% frameworkcode %]" />
233
            <button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not delete</button>
233
            <button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not delete</button>
Lines 240-253 Link Here
240
240
241
    <h3>Data deleted</h3>
241
    <h3>Data deleted</h3>
242
    <form action="[% script_name %]" method="post">
242
    <form action="[% script_name %]" method="post">
243
        <input type="hidden" name="tagfield" value="[% tagfield | html %]" />
243
        <input type="hidden" name="tagfield" value="[% tagfield %]" />
244
    <input type="submit" value="OK" />
244
    <input type="submit" value="OK" />
245
    </form>
245
    </form>
246
[% END %]
246
[% END %]
247
247
248
248
249
[% IF ( else ) %]
249
[% IF ( else ) %]
250
<h1>MARC subfield structure admin for [% tagfield | html %] [% IF ( frameworkcode ) %](framework [% frameworkcode %])[% ELSE %](default framework)[% END %]</h1>
250
<h1>MARC subfield structure admin for [% tagfield %] [% IF ( frameworkcode ) %](framework [% frameworkcode %])[% ELSE %](default framework)[% END %]</h1>
251
<p>This screen shows the subfields associated with the selected tag. You can edit subfields or add a new one by clicking on edit.</p>
251
<p>This screen shows the subfields associated with the selected tag. You can edit subfields or add a new one by clicking on edit.</p>
252
<p>The column 'Koha field' shows that the subfield is linked with a Koha field.</p>
252
<p>The column 'Koha field' shows that the subfield is linked with a Koha field.</p>
253
253
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt (-2 / +2 lines)
Lines 83-90 $(document).ready(function() { Link Here
83
                    <span class="required">Required</span>
83
                    <span class="required">Required</span>
84
                [% END %]
84
                [% END %]
85
            </li>
85
            </li>
86
    <li><label for="liblibrarian">Label for lib: </label><input type="text" id="liblibrarian" name="liblibrarian" value="[% liblibrarian |html %]" size="40" maxlength="100" /></li>
86
    <li><label for="liblibrarian">Label for lib: </label><input type="text" id="liblibrarian" name="liblibrarian" value="[% liblibrarian %]" size="40" maxlength="100" /></li>
87
    <li><label for="libopac">Label for opac: </label><input type="text" id="libopac" name="libopac" value="[% libopac |html %]" size="40" maxlength="100" /></li>
87
    <li><label for="libopac">Label for opac: </label><input type="text" id="libopac" name="libopac" value="[% libopac %]" size="40" maxlength="100" /></li>
88
    <li><label for="repeatable">Repeatable: </label>
88
    <li><label for="repeatable">Repeatable: </label>
89
        [% IF ( repeatable ) %]
89
        [% IF ( repeatable ) %]
90
            <input type="checkbox" name="repeatable" id="repeatable" value="1" checked="checked" />
90
            <input type="checkbox" name="repeatable" id="repeatable" value="1" checked="checked" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/matching-rules.tt (-19 / +19 lines)
Lines 247-257 function CheckRuleForm(f) { Link Here
247
       </li>
247
       </li>
248
       <li><label for="description" class="required">Description: </label>
248
       <li><label for="description" class="required">Description: </label>
249
           <input type="text" id="description" name="description" size="50" maxlength="250" 
249
           <input type="text" id="description" name="description" size="50" maxlength="250" 
250
                  value="[% description |html %]" /> <span class="required">Required</span>
250
                  value="[% description %]" /> <span class="required">Required</span>
251
       </li>
251
       </li>
252
       <li><label for="threshold" class="required">Match threshold: </label>
252
       <li><label for="threshold" class="required">Match threshold: </label>
253
           <input type="text" id="threshold" name="threshold" size="5" maxlength="5" 
253
           <input type="text" id="threshold" name="threshold" size="5" maxlength="5" 
254
                  value="[% threshold |html %]" /> <span class="required">Required</span>
254
                  value="[% threshold %]" /> <span class="required">Required</span>
255
       </li>
255
       </li>
256
       <li><label for="record_type" class="required">Record type: </label>
256
       <li><label for="record_type" class="required">Record type: </label>
257
           <select id="record_type" name="record_type">
257
           <select id="record_type" name="record_type">
Lines 282-295 function CheckRuleForm(f) { Link Here
282
        <label for="mp_[% matchpoint.mp_num %]_search_index">Search index: </label>
282
        <label for="mp_[% matchpoint.mp_num %]_search_index">Search index: </label>
283
        <input type ="text" id="mp_[% matchpoint.mp_num %]_search_index" 
283
        <input type ="text" id="mp_[% matchpoint.mp_num %]_search_index" 
284
               name="mp_[% matchpoint.mp_num %]_search_index" size="20" 
284
               name="mp_[% matchpoint.mp_num %]_search_index" size="20" 
285
               value="[% matchpoint.index |html %]"
285
               value="[% matchpoint.index %]"
286
          maxlength="30" />
286
          maxlength="30" />
287
      </li>
287
      </li>
288
      <li>
288
      <li>
289
        <label for="mp_[% matchpoint.mp_num %]_score">Score: </label>
289
        <label for="mp_[% matchpoint.mp_num %]_score">Score: </label>
290
        <input type ="text" id="mp_[% matchpoint.mp_num %]_score" 
290
        <input type ="text" id="mp_[% matchpoint.mp_num %]_score" 
291
               name="mp_[% matchpoint.mp_num %]_score" size="5"
291
               name="mp_[% matchpoint.mp_num %]_score" size="5"
292
               value="[% matchpoint.score |html %]" 
292
               value="[% matchpoint.score %]"
293
               maxlength="5" />
293
               maxlength="5" />
294
      </li>
294
      </li>
295
      </ol>
295
      </ol>
Lines 301-328 function CheckRuleForm(f) { Link Here
301
            <label for="mp_[% matchpoint.mp_num %]_c_[% component.comp_num %]_tag">Tag: </label>
301
            <label for="mp_[% matchpoint.mp_num %]_c_[% component.comp_num %]_tag">Tag: </label>
302
            <input type="text" id="mp_[% matchpoint.mp_num %]_c_[% component.comp_num %]_tag" 
302
            <input type="text" id="mp_[% matchpoint.mp_num %]_c_[% component.comp_num %]_tag" 
303
                   name="mp_[% matchpoint.mp_num %]_c_[% component.comp_num %]_tag" 
303
                   name="mp_[% matchpoint.mp_num %]_c_[% component.comp_num %]_tag" 
304
                   value="[% component.tag |html %]"
304
                   value="[% component.tag %]"
305
                   size="3" maxlength="3" />
305
                   size="3" maxlength="3" />
306
          </li>
306
          </li>
307
          <li>
307
          <li>
308
            <label for="mp_[% matchpoint.mp_num %]_c_[% component.comp_num %]_subfields">Subfields: </label>
308
            <label for="mp_[% matchpoint.mp_num %]_c_[% component.comp_num %]_subfields">Subfields: </label>
309
            <input type="text" id="mp_[% matchpoint.mp_num %]_c_[% component.comp_num %]_subfields" 
309
            <input type="text" id="mp_[% matchpoint.mp_num %]_c_[% component.comp_num %]_subfields" 
310
                   name="mp_[% matchpoint.mp_num %]_c_[% component.comp_num %]_subfields" 
310
                   name="mp_[% matchpoint.mp_num %]_c_[% component.comp_num %]_subfields" 
311
                   value="[% component.subfields |html %]"
311
                   value="[% component.subfields %]"
312
                   size="10" maxlength="40" />
312
                   size="10" maxlength="40" />
313
          </li>
313
          </li>
314
          <li>
314
          <li>
315
            <label for="mp_[% matchpoint.mp_num %]_c_[% component.comp_num %]_offset">Offset: </label>
315
            <label for="mp_[% matchpoint.mp_num %]_c_[% component.comp_num %]_offset">Offset: </label>
316
            <input type="text" id="mp_[% matchpoint.mp_num %]_c_[% component.comp_num %]_offset" 
316
            <input type="text" id="mp_[% matchpoint.mp_num %]_c_[% component.comp_num %]_offset" 
317
                   name="mp_[% matchpoint.mp_num %]_c_[% component.comp_num %]_offset" 
317
                   name="mp_[% matchpoint.mp_num %]_c_[% component.comp_num %]_offset" 
318
                   value="[% component.offset |html %]"
318
                   value="[% component.offset %]"
319
                   size="5" maxlength="5" />
319
                   size="5" maxlength="5" />
320
          </li>
320
          </li>
321
          <li>
321
          <li>
322
            <label for="mp_[% matchpoint.mp_num %]_c_[% component.comp_num %]_length">Length: </label>
322
            <label for="mp_[% matchpoint.mp_num %]_c_[% component.comp_num %]_length">Length: </label>
323
            <input type="text" id="mp_[% matchpoint.mp_num %]_c_[% component.comp_num %]_length" 
323
            <input type="text" id="mp_[% matchpoint.mp_num %]_c_[% component.comp_num %]_length" 
324
                   name="mp_[% matchpoint.mp_num %]_c_[% component.comp_num %]_length" 
324
                   name="mp_[% matchpoint.mp_num %]_c_[% component.comp_num %]_length" 
325
                   value="[% component.length |html %]"
325
                   value="[% component.length %]"
326
                   size="5" maxlength="5" />
326
                   size="5" maxlength="5" />
327
          </li>
327
          </li>
328
              [% FOREACH norm IN component.norms %]
328
              [% FOREACH norm IN component.norms %]
Lines 414-441 function CheckRuleForm(f) { Link Here
414
            <label for="mc_[% src_component.mc_num %]_src_c_[% src_component.comp_num %]_tag">Tag: </label>
414
            <label for="mc_[% src_component.mc_num %]_src_c_[% src_component.comp_num %]_tag">Tag: </label>
415
            <input type="text" id="mc_[% matchcheck.mc_num %]_src_c_[% src_component.comp_num %]_tag" 
415
            <input type="text" id="mc_[% matchcheck.mc_num %]_src_c_[% src_component.comp_num %]_tag" 
416
                   name="mc_[% matchcheck.mc_num %]_src_c_[% src_component.comp_num %]_tag" 
416
                   name="mc_[% matchcheck.mc_num %]_src_c_[% src_component.comp_num %]_tag" 
417
                   value="[% src_component.tag |html %]"
417
                   value="[% src_component.tag %]"
418
                   size="3" maxlength="3" />
418
                   size="3" maxlength="3" />
419
          </li>
419
          </li>
420
          <li>
420
          <li>
421
            <label for="mc_[% matchcheck.mc_num %]_src_c_[% src_component.comp_num %]_subfields">Subfields: </label>
421
            <label for="mc_[% matchcheck.mc_num %]_src_c_[% src_component.comp_num %]_subfields">Subfields: </label>
422
            <input type="text" id="mc_[% matchcheck.mc_num %]_src_c_[% src_component.comp_num %]_subfields" 
422
            <input type="text" id="mc_[% matchcheck.mc_num %]_src_c_[% src_component.comp_num %]_subfields" 
423
                   name="mc_[% matchcheck.mc_num %]_src_c_[% src_component.comp_num %]_subfields" 
423
                   name="mc_[% matchcheck.mc_num %]_src_c_[% src_component.comp_num %]_subfields" 
424
                   value="[% src_component.subfields |html %]"
424
                   value="[% src_component.subfields %]"
425
                   size="10" maxlength="40" />
425
                   size="10" maxlength="40" />
426
          </li>
426
          </li>
427
          <li>
427
          <li>
428
            <label for="mc_[% matchcheck.mc_num %]_src_c_[% src_component.comp_num %]_offset">Offset: </label>
428
            <label for="mc_[% matchcheck.mc_num %]_src_c_[% src_component.comp_num %]_offset">Offset: </label>
429
            <input type="text" id="mc_[% matchcheck.mc_num %]_src_c_[% src_component.comp_num %]_offset" 
429
            <input type="text" id="mc_[% matchcheck.mc_num %]_src_c_[% src_component.comp_num %]_offset" 
430
                   name="mc_[% matchcheck.mc_num %]_src_c_[% src_component.comp_num %]_offset" 
430
                   name="mc_[% matchcheck.mc_num %]_src_c_[% src_component.comp_num %]_offset" 
431
                   value="[% src_component.offset |html %]"
431
                   value="[% src_component.offset %]"
432
                   size="5" maxlength="5" />
432
                   size="5" maxlength="5" />
433
          </li>
433
          </li>
434
          <li>
434
          <li>
435
            <label for="mc_[% matchcheck.mc_num %]_src_c_[% src_component.comp_num %]_length">Length: </label>
435
            <label for="mc_[% matchcheck.mc_num %]_src_c_[% src_component.comp_num %]_length">Length: </label>
436
            <input type="text" id="mc_[% matchcheck.mc_num %]_src_c_[% src_component.comp_num %]_length" 
436
            <input type="text" id="mc_[% matchcheck.mc_num %]_src_c_[% src_component.comp_num %]_length" 
437
                   name="mc_[% matchcheck.mc_num %]_src_c_[% src_component.comp_num %]_length" 
437
                   name="mc_[% matchcheck.mc_num %]_src_c_[% src_component.comp_num %]_length" 
438
                   value="[% src_component.length |html %]"
438
                   value="[% src_component.length %]"
439
                   size="5" maxlength="5" />
439
                   size="5" maxlength="5" />
440
          </li>
440
          </li>
441
          [% FOREACH norm IN src_component.norms %]
441
          [% FOREACH norm IN src_component.norms %]
Lines 459-486 function CheckRuleForm(f) { Link Here
459
            <label for="mc_[% matchcheck.mc_num %]_tgt_c_[% tgt_component.comp_num %]_tag">Tag: </label>
459
            <label for="mc_[% matchcheck.mc_num %]_tgt_c_[% tgt_component.comp_num %]_tag">Tag: </label>
460
            <input type="text" id="mc_[% matchcheck.mc_num %]_tgt_c_[% tgt_component.comp_num %]_tag" 
460
            <input type="text" id="mc_[% matchcheck.mc_num %]_tgt_c_[% tgt_component.comp_num %]_tag" 
461
                   name="mc_[% matchcheck.mc_num %]_tgt_c_[% tgt_component.comp_num %]_tag" 
461
                   name="mc_[% matchcheck.mc_num %]_tgt_c_[% tgt_component.comp_num %]_tag" 
462
                   value="[% tgt_component.tag |html %]"
462
                   value="[% tgt_component.tag %]"
463
                   size="3" maxlength="3" />
463
                   size="3" maxlength="3" />
464
          </li>
464
          </li>
465
          <li>
465
          <li>
466
            <label for="mc_[% matchcheck.mc_num %]_tgt_c_[% tgt_component.comp_num %]_subfields">Subfields: </label>
466
            <label for="mc_[% matchcheck.mc_num %]_tgt_c_[% tgt_component.comp_num %]_subfields">Subfields: </label>
467
            <input type="text" id="mc_[% matchcheck.mc_num %]_tgt_c_[% tgt_component.comp_num %]_subfields" 
467
            <input type="text" id="mc_[% matchcheck.mc_num %]_tgt_c_[% tgt_component.comp_num %]_subfields" 
468
                   name="mc_[% matchcheck.mc_num %]_tgt_c_[% tgt_component.comp_num %]_subfields" 
468
                   name="mc_[% matchcheck.mc_num %]_tgt_c_[% tgt_component.comp_num %]_subfields" 
469
                   value="[% tgt_component.subfields |html %]"
469
                   value="[% tgt_component.subfields %]"
470
                   size="10" maxlength="40" />
470
                   size="10" maxlength="40" />
471
          </li>
471
          </li>
472
          <li>
472
          <li>
473
            <label for="mc_[% matchcheck.mc_num %]_tgt_c_[% tgt_component.comp_num %]_offset">Offset: </label>
473
            <label for="mc_[% matchcheck.mc_num %]_tgt_c_[% tgt_component.comp_num %]_offset">Offset: </label>
474
            <input type="text" id="mc_[% matchcheck.mc_num %]_tgt_c_[% tgt_component.comp_num %]_offset" 
474
            <input type="text" id="mc_[% matchcheck.mc_num %]_tgt_c_[% tgt_component.comp_num %]_offset" 
475
                   name="mc_[% matchcheck.mc_num %]_tgt_c_[% tgt_component.comp_num %]_offset" 
475
                   name="mc_[% matchcheck.mc_num %]_tgt_c_[% tgt_component.comp_num %]_offset" 
476
                   value="[% tgt_component.offset |html %]"
476
                   value="[% tgt_component.offset %]"
477
                   size="5" maxlength="5" />
477
                   size="5" maxlength="5" />
478
          </li>
478
          </li>
479
          <li>
479
          <li>
480
            <label for="mc_[% matchcheck.mc_num %]_tgt_c_[% tgt_component.comp_num %]_length">Length: </label>
480
            <label for="mc_[% matchcheck.mc_num %]_tgt_c_[% tgt_component.comp_num %]_length">Length: </label>
481
            <input type="text" id="mc_[% matchcheck.mc_num %]_tgt_c_[% tgt_component.comp_num %]_length" 
481
            <input type="text" id="mc_[% matchcheck.mc_num %]_tgt_c_[% tgt_component.comp_num %]_length" 
482
                   name="mc_[% matchcheck.mc_num %]_tgt_c_[% tgt_component.comp_num %]_length" 
482
                   name="mc_[% matchcheck.mc_num %]_tgt_c_[% tgt_component.comp_num %]_length" 
483
                   value="[% tgt_component.length |html %]"
483
                   value="[% tgt_component.length %]"
484
                   size="5" maxlength="5" />
484
                   size="5" maxlength="5" />
485
          </li>
485
          </li>
486
          [% FOREACH norm IN tgt_component.norms %]
486
          [% FOREACH norm IN tgt_component.norms %]
Lines 625-638 function CheckRuleForm(f) { Link Here
625
    <td>[% available_matching_rule.code %]</td>
625
    <td>[% available_matching_rule.code %]</td>
626
    <td>[% available_matching_rule.description %]</td>
626
    <td>[% available_matching_rule.description %]</td>
627
    <td class="actions">
627
    <td class="actions">
628
      <a class="btn btn-default btn-xs" href="[% available_matching_rule.script_name %]?op=edit_matching_rule&amp;matcher_id=[% available_matching_rule.matcher_id |html %]"><i class="fa fa-pencil"></i> Edit</a>
628
      <a class="btn btn-default btn-xs" href="[% available_matching_rule.script_name %]?op=edit_matching_rule&amp;matcher_id=[% available_matching_rule.matcher_id %]"><i class="fa fa-pencil"></i> Edit</a>
629
      <a class="btn btn-default btn-xs" href="[% available_matching_rule.script_name %]?op=delete_matching_rule&amp;matcher_id=[% available_matching_rule.matcher_id |html %]"><i class="fa fa-trash"></i> Delete</a>
629
      <a class="btn btn-default btn-xs" href="[% available_matching_rule.script_name %]?op=delete_matching_rule&amp;matcher_id=[% available_matching_rule.matcher_id %]"><i class="fa fa-trash"></i> Delete</a>
630
    </td>
630
    </td>
631
  </tr>
631
  </tr>
632
  [% END %]
632
  [% END %]
633
</table>[% ELSE %]<p>There are no saved matching rules.</p>[% END %]
633
</table>[% ELSE %]<p>There are no saved matching rules.</p>[% END %]
634
634
635
<div class="pages">[% pagination_bar %]</div>
635
<div class="pages">[% pagination_bar.raw %]</div>
636
636
637
[% END %]
637
[% END %]
638
 [% IF ( matching_rule_form ) %]
638
 [% IF ( matching_rule_form ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt (-11 / +11 lines)
Lines 9-15 Link Here
9
  [% END %]
9
  [% END %]
10
[% END %]
10
[% END %]
11
[% IF ( delete_attribute_type_form ) %]
11
[% IF ( delete_attribute_type_form ) %]
12
  &rsaquo; Confirm deletion of patron attribute type &quot;[% code |html %]&quot;
12
  &rsaquo; Confirm deletion of patron attribute type &quot;[% code %]&quot;
13
[% END %]
13
[% END %]
14
</title>
14
</title>
15
[% INCLUDE 'doc-head-close.inc' %]
15
[% INCLUDE 'doc-head-close.inc' %]
Lines 37-43 $(document).ready(function() { Link Here
37
  [% END %]
37
  [% END %]
38
[% END %]
38
[% END %]
39
[% IF ( delete_attribute_type_form ) %]
39
[% IF ( delete_attribute_type_form ) %]
40
  &rsaquo; Confirm deletion of patron attribute type &quot;[% code |html %]&quot;
40
  &rsaquo; Confirm deletion of patron attribute type &quot;[% code %]&quot;
41
[% END %]
41
[% END %]
42
</div>
42
</div>
43
43
Lines 69-76 $(document).ready(function() { Link Here
69
      <li>
69
      <li>
70
          [% IF ( edit_attribute_type ) %]
70
          [% IF ( edit_attribute_type ) %]
71
		  <span class="label">Patron attribute type code: </span>
71
		  <span class="label">Patron attribute type code: </span>
72
            <input type="hidden" name="code" value="[% code |html %]" />
72
            <input type="hidden" name="code" value="[% code %]" />
73
            [% code |html %]
73
            [% code %]
74
          [% ELSE %]
74
          [% ELSE %]
75
              <label for="code" class="required">Patron attribute type code: </label>
75
              <label for="code" class="required">Patron attribute type code: </label>
76
              <input type="text" id="code" name="code" required="required" class="required" size="10" maxlength="10" />
76
              <input type="text" id="code" name="code" required="required" class="required" size="10" maxlength="10" />
Lines 78-84 $(document).ready(function() { Link Here
78
          [% END %]
78
          [% END %]
79
       </li>
79
       </li>
80
       <li><label for="description" class="required">Description: </label>
80
       <li><label for="description" class="required">Description: </label>
81
           <input type="text" id="description" name="description" required="required" class="required" size="50" maxlength="250" value="[% description |html %]" />
81
           <input type="text" id="description" name="description" required="required" class="required" size="50" maxlength="250" value="[% description %]" />
82
           <span class="required">Required</span>
82
           <span class="required">Required</span>
83
       </li>
83
       </li>
84
       <li><label for="repeatable">Repeatable: </label>
84
       <li><label for="repeatable">Repeatable: </label>
Lines 202-211 $(document).ready(function() { Link Here
202
202
203
[% IF ( delete_attribute_type_form ) %]
203
[% IF ( delete_attribute_type_form ) %]
204
    <div class="dialog alert">
204
    <div class="dialog alert">
205
        <h3>Confirm deletion of patron attribute type <span class="ex">'[% code |html %]' ([% description %])</span>?</h3>
205
        <h3>Confirm deletion of patron attribute type <span class="ex">'[% code %]' ([% description %])</span>?</h3>
206
        <form action="[% script_name %]" name="Aform" method="post">
206
        <form action="[% script_name %]" name="Aform" method="post">
207
            <input type="hidden" name="op" value="[% confirm_op %]" />
207
            <input type="hidden" name="op" value="[% confirm_op %]" />
208
            <input type="hidden" name="code" value="[% code |html %]" />
208
            <input type="hidden" name="code" value="[% code %]" />
209
            <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete patron attribute type</button>
209
            <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete patron attribute type</button>
210
        </form>
210
        </form>
211
        <form action="[% script_name %]" method="get">
211
        <form action="[% script_name %]" method="get">
Lines 255-261 $(document).ready(function() { Link Here
255
      <tbody>
255
      <tbody>
256
        [% FOREACH item IN attribute.items %]
256
        [% FOREACH item IN attribute.items %]
257
          <tr>
257
          <tr>
258
            <td>[% item.code |html %]</td>
258
            <td>[% item.code %]</td>
259
            <td>[% item.description %]</td>
259
            <td>[% item.description %]</td>
260
            <td>
260
            <td>
261
                [% IF ( item.branches && item.branches.size > 0 ) %]
261
                [% IF ( item.branches && item.branches.size > 0 ) %]
Lines 275-282 $(document).ready(function() { Link Here
275
                [% END %]
275
                [% END %]
276
            </td>
276
            </td>
277
            <td class="actions">
277
            <td class="actions">
278
              <a class="btn btn-default btn-xs" href="[% item.script_name %]?op=edit_attribute_type&amp;code=[% item.code |html %]"><i class="fa fa-pencil"></i> Edit</a>
278
              <a class="btn btn-default btn-xs" href="[% item.script_name %]?op=edit_attribute_type&amp;code=[% item.code %]"><i class="fa fa-pencil"></i> Edit</a>
279
              <a class="btn btn-default btn-xs" href="[% item.script_name %]?op=delete_attribute_type&amp;code=[% item.code |html %]"><i class="fa fa-trash"></i> Delete</a>
279
              <a class="btn btn-default btn-xs" href="[% item.script_name %]?op=delete_attribute_type&amp;code=[% item.code %]"><i class="fa fa-trash"></i> Delete</a>
280
            </td>
280
            </td>
281
          </tr>
281
          </tr>
282
        [% END %]
282
        [% END %]
Lines 287-293 $(document).ready(function() { Link Here
287
  <p>There are no saved patron attribute types.</p>
287
  <p>There are no saved patron attribute types.</p>
288
[% END %]
288
[% END %]
289
289
290
<div class="pages">[% pagination_bar %]</div>
290
<div class="pages">[% pagination_bar.raw %]</div>
291
291
292
[% END %]
292
[% END %]
293
 
293
 
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt (-2 / +2 lines)
Lines 74-80 Link Here
74
    [% END %]
74
    [% END %]
75
    [% IF ( search_not_found ) %]
75
    [% IF ( search_not_found ) %]
76
    <div class="dialog alert">
76
    <div class="dialog alert">
77
        No system preferences matched your search for: <strong>[% searchfield |html %]</strong>
77
        No system preferences matched your search for: <strong>[% searchfield %]</strong>
78
    </div>
78
    </div>
79
    [% END %]
79
    [% END %]
80
    [% FOREACH TAB IN TABS %]
80
    [% FOREACH TAB IN TABS %]
Lines 120-126 Link Here
120
                <td><div>
120
                <td><div>
121
                    [% FOREACH CHUNK IN LINE.CHUNKS %]
121
                    [% FOREACH CHUNK IN LINE.CHUNKS %]
122
                    [% IF ( CHUNK.type_text ) %]
122
                    [% IF ( CHUNK.type_text ) %]
123
                    [% CHUNK.contents %]
123
                    [% CHUNK.contents.raw %]
124
                    [% ELSIF ( CHUNK.type_input ) %]
124
                    [% ELSIF ( CHUNK.type_input ) %]
125
                    <input type="[%IF CHUNK.input_type %][% CHUNK.input_type %][% ELSE %]text[% END %]" name="pref_[% CHUNK.name %]" id="pref_[% CHUNK.name %]" class="preference preference-[% CHUNK.class or "short" %]" value="[% CHUNK.value %]" autocomplete="off" /> [% IF ( CHUNK.dateinput ) %]<span class="hint">[% INCLUDE 'date-format.inc' %]</span>[% END %]
125
                    <input type="[%IF CHUNK.input_type %][% CHUNK.input_type %][% ELSE %]text[% END %]" name="pref_[% CHUNK.name %]" id="pref_[% CHUNK.name %]" class="preference preference-[% CHUNK.class or "short" %]" value="[% CHUNK.value %]" autocomplete="off" /> [% IF ( CHUNK.dateinput ) %]<span class="hint">[% INCLUDE 'date-format.inc' %]</span>[% END %]
126
                    [% ELSIF ( CHUNK.type_select ) %]
126
                    [% ELSIF ( CHUNK.type_select ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/systempreferences.tt (-11 / +11 lines)
Lines 103-121 Link Here
103
        [% IF ( modify ) %]Modify
103
        [% IF ( modify ) %]Modify
104
        [% ELSE %]Add
104
        [% ELSE %]Add
105
        [% END %] a system preference</legend><ol>
105
        [% END %] a system preference</legend><ol>
106
            <li><label for="explanation">Explanation: </label><input type="text" name="explanation" id="explanation" size="60" value="[% explanation |html %]" /><input type="hidden" name="op" value="add_validate" /></li>
106
            <li><label for="explanation">Explanation: </label><input type="text" name="explanation" id="explanation" size="60" value="[% explanation %]" /><input type="hidden" name="op" value="add_validate" /></li>
107
            <li>[% IF ( searchfield ) %]<span class="label">Variable: </span>[% searchfield %]<input type="hidden" name="variable" value="[% searchfield %]" />
107
            <li>[% IF ( searchfield ) %]<span class="label">Variable: </span>[% searchfield %]<input type="hidden" name="variable" value="[% searchfield %]" />
108
            [% ELSE %]<label for="variable">Variable: </label><input type="text" name="variable" id="variable" size="60" />[% END %]</li>
108
            [% ELSE %]<label for="variable">Variable: </label><input type="text" name="variable" id="variable" size="60" />[% END %]</li>
109
            <li><label for="value">Value: </label>
109
            <li><label for="value">Value: </label>
110
                [% IF ( type_free ) %]
110
                [% IF ( type_free ) %]
111
                    <textarea id="value" name="value" cols="[% fieldlength %]">[% value |html %]</textarea>
111
                    <textarea id="value" name="value" cols="[% fieldlength %]">[% value %]</textarea>
112
                [% ELSIF ( type_upload ) %]
112
                [% ELSIF ( type_upload ) %]
113
                    <input type="file" name="value" />
113
                    <input type="file" name="value" />
114
                [% ELSIF ( type_textarea || type_htmlarea ) %]
114
                [% ELSIF ( type_textarea || type_htmlarea ) %]
115
                    [% IF ( type_htmlarea ) && ( Koha.Preference('UseWYSIWYGinSystemPreferences') ) %]
115
                    [% IF ( type_htmlarea ) && ( Koha.Preference('UseWYSIWYGinSystemPreferences') ) %]
116
                        <textarea class="mce" name="value" id="value" rows="[% rows %]" cols="[% cols %]">[% value |html %]</textarea>
116
                        <textarea class="mce" name="value" id="value" rows="[% rows %]" cols="[% cols %]">[% value %]</textarea>
117
                    [% ELSE %]
117
                    [% ELSE %]
118
                    <textarea name="value" id="value" rows="[% rows %]" cols="[% cols %]">[% value |html %]</textarea>
118
                    <textarea name="value" id="value" rows="[% rows %]" cols="[% cols %]">[% value %]</textarea>
119
                    [% END %]
119
                    [% END %]
120
                [% ELSIF ( type_choice ) %]
120
                [% ELSIF ( type_choice ) %]
121
                    <select name="value" id="value">
121
                    <select name="value" id="value">
Lines 327-333 Link Here
327
    <tbody>[% FOREACH loo IN loop %]
327
    <tbody>[% FOREACH loo IN loop %]
328
        <tr>
328
        <tr>
329
329
330
        <td><strong><a href="[% loo.edit %]">[% loo.variable %]</a></strong></td><td> [% loo.explanation |html %]</td>
330
        <td><strong><a href="[% loo.edit %]">[% loo.variable %]</a></strong></td><td> [% loo.explanation %]</td>
331
        [% IF ( loo.oneline ) %]
331
        [% IF ( loo.oneline ) %]
332
        <td class="single-line">
332
        <td class="single-line">
333
        [% ELSE %]
333
        [% ELSE %]
Lines 339-355 Link Here
339
            <form action="/cgi-bin/koha/admin/systempreferences.pl" method="post">
339
            <form action="/cgi-bin/koha/admin/systempreferences.pl" method="post">
340
        [% END %]
340
        [% END %]
341
                [% IF ( loo.type_free ) %]
341
                [% IF ( loo.type_free ) %]
342
                <input type="text" name="value" size="[% loo.fieldlength %]" value="[% loo.value |html %]" />
342
                <input type="text" name="value" size="[% loo.fieldlength %]" value="[% loo.value %]" />
343
                [% END %]
343
                [% END %]
344
                [% IF ( loo.type_upload ) %]
344
                [% IF ( loo.type_upload ) %]
345
                <input type="file" name="value" value="[% loo.value |html %]" />
345
                <input type="file" name="value" value="[% loo.value %]" />
346
                [% END %]
346
                [% END %]
347
                [% IF ( loo.type_textarea ) || ( loo.type_htmlarea ) %]
347
                [% IF ( loo.type_textarea ) || ( loo.type_htmlarea ) %]
348
                    [% IF ( loo.type_htmlarea ) && ( Koha.Preference('UseWYSIWYGinSystemPreferences') ) %]
348
                    [% IF ( loo.type_htmlarea ) && ( Koha.Preference('UseWYSIWYGinSystemPreferences') ) %]
349
                        <textarea class="mce" name="value" rows="[% loo.rows %]" cols="[% loo.cols %]">[% loo.value |html %]</textarea>
349
                        <textarea class="mce" name="value" rows="[% loo.rows %]" cols="[% loo.cols %]">[% loo.value %]</textarea>
350
                    [% ELSE %]
350
                    [% ELSE %]
351
                        <a class="expand-textarea" style="display: none" href="#">Click to edit</a>
351
                        <a class="expand-textarea" style="display: none" href="#">Click to edit</a>
352
                        <textarea name="value" rows="[% loo.rows %]" cols="[% loo.cols %]">[% loo.value |html %]</textarea>
352
                        <textarea name="value" rows="[% loo.rows %]" cols="[% loo.cols %]">[% loo.value %]</textarea>
353
                    [% END %]
353
                    [% END %]
354
                [% END %]
354
                [% END %]
355
                [% IF ( loo.type_choice ) %]
355
                [% IF ( loo.type_choice ) %]
Lines 429-437 Link Here
429
                [% END %]
429
                [% END %]
430
                <input type="hidden" name="op" value="add_validate" />
430
                <input type="hidden" name="op" value="add_validate" />
431
                <input type="hidden" name="variable" value="[% loo.variable %]" />
431
                <input type="hidden" name="variable" value="[% loo.variable %]" />
432
                <input type="hidden" name="prefoptions" value="[% loo.prefoptions |html %]" />
432
                <input type="hidden" name="prefoptions" value="[% loo.prefoptions %]" />
433
                <input type="hidden" name="preftype" value="[% loo.type %]" />
433
                <input type="hidden" name="preftype" value="[% loo.type %]" />
434
                <input type="hidden" name="explanation" value="[% loo.explanation |html %]" />
434
                <input type="hidden" name="explanation" value="[% loo.explanation %]" />
435
                <button type="submit" class="btn btn-default btn-xs"><i class="fa fa-save"></i> Save</button>
435
                <button type="submit" class="btn btn-default btn-xs"><i class="fa fa-save"></i> Save</button>
436
            </form>
436
            </form>
437
        </td>
437
        </td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt (-1 / +1 lines)
Lines 127-133 Link Here
127
        <fieldset class="rows">
127
        <fieldset class="rows">
128
        <ol>
128
        <ol>
129
        <li><label for="name">Server name: </label>
129
        <li><label for="name">Server name: </label>
130
            <input type="text" name="servername" id="servername" size="65" maxlength="100" value="[% server.servername | html %]"/>
130
            <input type="text" name="servername" id="servername" size="65" maxlength="100" value="[% server.servername %]"/>
131
        </li>
131
        </li>
132
132
133
        <li><label for="host" class="required">Hostname: </label> <input type="text" name="host" id="host" size="30" value="[% server.host %]" required="required" /> <span class="required">Required</span>
133
        <li><label for="host" class="required">Hostname: </label> <input type="text" name="host" id="host" size="30" value="[% server.host %]" required="required" /> <span class="required">Required</span>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt (-1 / +1 lines)
Lines 45-51 Link Here
45
<form action="[% script_name %]" method="post" name="loginform" id="loginform">
45
<form action="[% script_name %]" method="post" name="loginform" id="loginform">
46
    <input type="hidden" name="koha_login_context" value="intranet" />
46
    <input type="hidden" name="koha_login_context" value="intranet" />
47
[% FOREACH INPUT IN INPUTS %]
47
[% FOREACH INPUT IN INPUTS %]
48
    <input type="hidden" name="[% INPUT.name |html %]" value="[% INPUT.value |html %]" />
48
    <input type="hidden" name="[% INPUT.name %]" value="[% INPUT.value %]" />
49
[% END %]
49
[% END %]
50
<p><label for="userid">Username:</label>
50
<p><label for="userid">Username:</label>
51
<input type="text" name="userid" id="userid" class="input focus" value="[% userid %]" size="20" tabindex="1" />
51
<input type="text" name="userid" id="userid" class="input focus" value="[% userid %]" size="20" tabindex="1" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt (-4 / +4 lines)
Lines 63-69 function AreMandatoriesNotOk(){ Link Here
63
    		[% FOREACH subfield_loo IN innerloo.subfield_loop %]
63
    		[% FOREACH subfield_loo IN innerloo.subfield_loop %]
64
    			[% IF ( subfield_loo.mandatory ) %]mandatories.push("[% subfield_loo.id %]");
64
    			[% IF ( subfield_loo.mandatory ) %]mandatories.push("[% subfield_loo.id %]");
65
                    tab.push("[% BIG_LOO.number %]");
65
                    tab.push("[% BIG_LOO.number %]");
66
        		label.push("[% subfield_loo.marc_lib |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %]");
66
                    label.push("[% subfield_loo.marc_lib.raw |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %]");
67
    			[% END %]
67
    			[% END %]
68
			[% END %]
68
			[% END %]
69
		[% END %]
69
		[% END %]
Lines 319-325 function confirmnotdup(redirect){ Link Here
319
                        <img class="buttonUp" src="[% interface %]/[% theme %]/img/up.png" onclick="upSubfield('subfield[% subfield_loo.tag %][% subfield_loo.subfield %][% subfield_loo.random %]')" alt="Move Up" title="Move Up" />
319
                        <img class="buttonUp" src="[% interface %]/[% theme %]/img/up.png" onclick="upSubfield('subfield[% subfield_loo.tag %][% subfield_loo.subfield %][% subfield_loo.random %]')" alt="Move Up" title="Move Up" />
320
                    [% END %]
320
                    [% END %]
321
                        <input type="text"
321
                        <input type="text"
322
                            title="[% subfield_loo.marc_lib %]"
322
                            title="[% subfield_loo.marc_lib.raw %]"
323
                            style=" [% IF ( subfield_loo.fixedfield ) %]display:none; [% END %]border:0;"
323
                            style=" [% IF ( subfield_loo.fixedfield ) %]display:none; [% END %]border:0;"
324
                            name="tag_[% subfield_loo.tag %]_code_[% subfield_loo.subfield %]_[% subfield_loo.index %]_[% subfield_loo.index_subfield %]"
324
                            name="tag_[% subfield_loo.tag %]_code_[% subfield_loo.subfield %]_[% subfield_loo.index %]_[% subfield_loo.index_subfield %]"
325
                            value="[% subfield_loo.subfield %]"
325
                            value="[% subfield_loo.subfield %]"
Lines 336-342 function confirmnotdup(redirect){ Link Here
336
336
337
                [% UNLESS advancedMARCEditor %]
337
                [% UNLESS advancedMARCEditor %]
338
                    [% IF ( subfield_loo.mandatory ) %]<span class="subfield subfield_mandatory">[% ELSE %]<span class="subfield">[% END %]
338
                    [% IF ( subfield_loo.mandatory ) %]<span class="subfield subfield_mandatory">[% ELSE %]<span class="subfield">[% END %]
339
                        [% subfield_loo.marc_lib %]
339
                        [% subfield_loo.marc_lib.raw %]
340
                        [% IF ( subfield_loo.mandatory ) %]<span class="mandatory_marker" title="This field is mandatory">*</span>[% END %]
340
                        [% IF ( subfield_loo.mandatory ) %]<span class="mandatory_marker" title="This field is mandatory">*</span>[% END %]
341
                    </span>
341
                    </span>
342
                    </label>
342
                    </label>
Lines 363-369 function confirmnotdup(redirect){ Link Here
363
                    [% ELSE %]
363
                    [% ELSE %]
364
                        <a href="#" id="buttonDot_[% mv.id %]" class="buttonDot tag_editor" title="Tag editor">...</a>
364
                        <a href="#" id="buttonDot_[% mv.id %]" class="buttonDot tag_editor" title="Tag editor">...</a>
365
                    [% END %]
365
                    [% END %]
366
                    [% mv.javascript %]
366
                    [% mv.javascript.raw %]
367
                [% ELSIF ( mv.type == 'text' ) %]
367
                [% ELSIF ( mv.type == 'text' ) %]
368
                    <input type="text" id="[%- mv.id -%]" name="[%- mv.name -%]" value="[%- mv.value -%]" class="input_marceditor" tabindex="1" size="67" maxlength="[%- mv.maxlength -%]" />
368
                    <input type="text" id="[%- mv.id -%]" name="[%- mv.name -%]" value="[%- mv.value -%]" class="input_marceditor" tabindex="1" size="67" maxlength="[%- mv.maxlength -%]" />
369
                [% ELSIF ( mv.type == 'textarea' ) %]
369
                [% ELSIF ( mv.type == 'textarea' ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt (-1 / +1 lines)
Lines 75-81 function doauth(authid, index, repet) Link Here
75
                        <td>
75
                        <td>
76
                          [% IF resul.summary && resul.summary.authorized && resul.summary.authorized.size > 1 %]
76
                          [% IF resul.summary && resul.summary.authorized && resul.summary.authorized.size > 1 %]
77
                            [% FOREACH authorized IN resul.summary.authorized %]
77
                            [% FOREACH authorized IN resul.summary.authorized %]
78
                            <a href="javascript:doauth('[% resul.authid %]', '[% index %]', '[% loop.count %]')" title="[% authorized.heading | html %]">[% loop.count %]</a>
78
                            <a href="javascript:doauth('[% resul.authid %]', '[% index %]', '[% loop.count %]')" title="[% authorized.heading %]">[% loop.count %]</a>
79
                            [% END %]
79
                            [% END %]
80
                          [% ELSE %]
80
                          [% ELSE %]
81
                            <a href="javascript:doauth('[% resul.authid %]', '[% index %]', '')">choose</a>
81
                            <a href="javascript:doauth('[% resul.authid %]', '[% index %]', '')">choose</a>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist.tt (-2 / +2 lines)
Lines 57-63 function searchauthority() { Link Here
57
57
58
<div id="merge_in_progress"></div>
58
<div id="merge_in_progress"></div>
59
[% IF ( total ) %]
59
[% IF ( total ) %]
60
<div class="pages">[% pagination_bar %]</div>
60
<div class="pages">[% pagination_bar.raw %]</div>
61
61
62
<p id="authorities_searchresultlist_current_page_info">
62
<p id="authorities_searchresultlist_current_page_info">
63
  Results [% from %] to [% to %] of [% total %]
63
  Results [% from %] to [% to %] of [% total %]
Lines 107-113 function searchauthority() { Link Here
107
  </table>
107
  </table>
108
</div>
108
</div>
109
109
110
<div class="pages">[% pagination_bar %]</div>
110
<div class="pages">[% pagination_bar.raw %]</div>
111
111
112
[% ELSE %]
112
[% ELSE %]
113
  No results found
113
  No results found
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt (-3 / +3 lines)
Lines 77-88 Link Here
77
    [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %]
77
    [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %]
78
    <h3>
78
    <h3>
79
        [% IF ( print_basket ) %]
79
        [% IF ( print_basket ) %]
80
            [% BIBLIO_RESULT.title |html %]
80
            [% BIBLIO_RESULT.title %]
81
                [% IF ( BIBLIO_RESULT.subtitle ) %] [% BIBLIO_RESULT.subtitle %][% END %]
81
                [% IF ( BIBLIO_RESULT.subtitle ) %] [% BIBLIO_RESULT.subtitle %][% END %]
82
                [% IF ( BIBLIO_RESULT.author ) %] [% BIBLIO_RESULT.author %][% END %]
82
                [% IF ( BIBLIO_RESULT.author ) %] [% BIBLIO_RESULT.author %][% END %]
83
        [% ELSE %]
83
        [% ELSE %]
84
                <input type="checkbox" class="select_record" value="[% BIBLIO_RESULT.biblionumber %]" name="bib[% BIBLIO_RESULT.biblionumber %]" id="bib[% BIBLIO_RESULT.biblionumber %]" />
84
                <input type="checkbox" class="select_record" value="[% BIBLIO_RESULT.biblionumber %]" name="bib[% BIBLIO_RESULT.biblionumber %]" id="bib[% BIBLIO_RESULT.biblionumber %]" />
85
                [% BIBLIO_RESULT.title |html %]
85
                [% BIBLIO_RESULT.title %]
86
                [% IF ( BIBLIO_RESULT.subtitle ) %] [% BIBLIO_RESULT.subtitle %][% END %]
86
                [% IF ( BIBLIO_RESULT.subtitle ) %] [% BIBLIO_RESULT.subtitle %][% END %]
87
                [% IF ( BIBLIO_RESULT.author ) %] [% BIBLIO_RESULT.author %][% END %]
87
                [% IF ( BIBLIO_RESULT.author ) %] [% BIBLIO_RESULT.author %][% END %]
88
        [% END %]
88
        [% END %]
Lines 253-259 Link Here
253
253
254
                </td> [% END %]
254
                </td> [% END %]
255
            <td><a href="[% BIBLIO_RESULT.dest %]?biblionumber=[% BIBLIO_RESULT.biblionumber %]" class="open_title">
255
            <td><a href="[% BIBLIO_RESULT.dest %]?biblionumber=[% BIBLIO_RESULT.biblionumber %]" class="open_title">
256
                        [% BIBLIO_RESULT.title |html %]
256
                        [% BIBLIO_RESULT.title %]
257
                    </a>
257
                    </a>
258
                        [% BIBLIO_RESULT.author %]
258
                        [% BIBLIO_RESULT.author %]
259
                        <p>[% IF ( BIBLIO_RESULT.publishercode ) %]- [% BIBLIO_RESULT.publishercode %]
259
                        <p>[% IF ( BIBLIO_RESULT.publishercode ) %]- [% BIBLIO_RESULT.publishercode %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasket.tt (-23 / +23 lines)
Lines 23-48 Your cart Link Here
23
[% FILTER html2text %]
23
[% FILTER html2text %]
24
24
25
    [% IF comment %]
25
    [% IF comment %]
26
        <p>[% comment %]</p>
26
        <p>[% comment.raw %]</p>
27
        <hr/>
27
        <hr/>
28
    [% END %]
28
    [% END %]
29
    <ol>
29
    <ol>
30
    [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %]
30
    [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %]
31
        <li>
31
        <li>
32
            <span>
32
            <span>
33
                [% BIBLIO_RESULT.title %]
33
                [% BIBLIO_RESULT.title.raw %]
34
                [% IF ( BIBLIO_RESULT.subtitle ) %] [% BIBLIO_RESULT.subtitle %][% END %]
34
                [% IF ( BIBLIO_RESULT.subtitle ) %] [% BIBLIO_RESULT.subtitle.raw %][% END %]
35
            </span>
35
            </span>
36
36
37
            <p>
37
            <p>
38
            [% IF ( BIBLIO_RESULT.HASAUTHORS ) %]
38
            [% IF ( BIBLIO_RESULT.HASAUTHORS ) %]
39
            <span>Author(s): [% IF ( BIBLIO_RESULT.author ) %][% BIBLIO_RESULT.author %][% END %]
39
            <span>Author(s): [% IF ( BIBLIO_RESULT.author ) %][% BIBLIO_RESULT.author.raw %][% END %]
40
40
41
            [% IF ( BIBLIO_RESULT.MARCAUTHORS ) %]
41
            [% IF ( BIBLIO_RESULT.MARCAUTHORS ) %]
42
                [% IF ( BIBLIO_RESULT.author ) %]; [% END %]
42
                [% IF ( BIBLIO_RESULT.author ) %]; [% END %]
43
                [% FOREACH MARCAUTHOR IN BIBLIO_RESULT.MARCAUTHORS %]
43
                [% FOREACH MARCAUTHOR IN BIBLIO_RESULT.MARCAUTHORS %]
44
                    [% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %]
44
                    [% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %]
45
                        [% MARCAUTHOR_SUBFIELDS_LOO.separator %][% MARCAUTHOR_SUBFIELDS_LOO.value %]
45
                        [% MARCAUTHOR_SUBFIELDS_LOO.separator.raw %][% MARCAUTHOR_SUBFIELDS_LOO.value.raw %]
46
                    [% END %]
46
                    [% END %]
47
                    [% UNLESS ( loop.last ) %];[% END %]
47
                    [% UNLESS ( loop.last ) %];[% END %]
48
                [% END %]
48
                [% END %]
Lines 52-69 Your cart Link Here
52
52
53
            [% IF ( BIBLIO_RESULT.ISBN ) %]
53
            [% IF ( BIBLIO_RESULT.ISBN ) %]
54
            <span>
54
            <span>
55
                ISBN: [% BIBLIO_RESULT.ISBN %]
55
                ISBN: [% BIBLIO_RESULT.ISBN.raw %]
56
            </span><br/>
56
            </span><br/>
57
            [% END %]
57
            [% END %]
58
58
59
            [% IF BIBLIO_RESULT.publishercode %]
59
            [% IF BIBLIO_RESULT.publishercode %]
60
            <span>
60
            <span>
61
                Published by: [% BIBLIO_RESULT.publishercode %]
61
                Published by: [% BIBLIO_RESULT.publishercode.raw %]
62
                [% IF ( BIBLIO_RESULT.publicationyear ) %]
62
                [% IF ( BIBLIO_RESULT.publicationyear ) %]
63
                    in [% BIBLIO_RESULT.publicationyear %]
63
                    in [% BIBLIO_RESULT.publicationyear.raw %]
64
                [% END %]
64
                [% END %]
65
                [% IF ( BIBLIO_RESULT.pages ) %]
65
                [% IF ( BIBLIO_RESULT.pages ) %]
66
                    , [% BIBLIO_RESULT.pages %]
66
                    , [% BIBLIO_RESULT.pages.raw %]
67
                [% END %]
67
                [% END %]
68
                [% IF BIBLIO_RESULT.item('size') %]
68
                [% IF BIBLIO_RESULT.item('size') %]
69
                , [% BIBLIO_RESULT.item('size') %]
69
                , [% BIBLIO_RESULT.item('size') %]
Lines 73-127 Your cart Link Here
73
73
74
            [% IF BIBLIO_RESULT.collection %]
74
            [% IF BIBLIO_RESULT.collection %]
75
            <span>
75
            <span>
76
                Collection: [% BIBLIO_RESULT.seriestitle %]
76
                Collection: [% BIBLIO_RESULT.seriestitle.raw %]
77
            </span><br/>
77
            </span><br/>
78
            [% END %]
78
            [% END %]
79
79
80
            [% IF ( BIBLIO_RESULT.subject ) %]
80
            [% IF ( BIBLIO_RESULT.subject ) %]
81
            <span>
81
            <span>
82
                Subject: [% BIBLIO_RESULT.subject %]
82
                Subject: [% BIBLIO_RESULT.subject.raw %]
83
            <span><br/>
83
            <span><br/>
84
            [% END %]
84
            [% END %]
85
85
86
            [% IF ( BIBLIO_RESULT.copyrightdate ) %]
86
            [% IF ( BIBLIO_RESULT.copyrightdate ) %]
87
            <span>
87
            <span>
88
                Copyright year: [% BIBLIO_RESULT.copyrightdate %]
88
                Copyright year: [% BIBLIO_RESULT.copyrightdate.raw %]
89
            </span><br/>
89
            </span><br/>
90
            [% END %]
90
            [% END %]
91
91
92
            [% IF ( BIBLIO_RESULT.notes ) %]
92
            [% IF ( BIBLIO_RESULT.notes ) %]
93
            <span>
93
            <span>
94
                Notes : [% BIBLIO_RESULT.notes %]
94
                Notes : [% BIBLIO_RESULT.notes.raw %]
95
            </span><br/>
95
            </span><br/>
96
            [% END %]
96
            [% END %]
97
97
98
            [% IF ( BIBLIO_RESULT.unititle ) %]
98
            [% IF ( BIBLIO_RESULT.unititle ) %]
99
            <span>
99
            <span>
100
                Unified title: [% BIBLIO_RESULT.unititle %]
100
                Unified title: [% BIBLIO_RESULT.unititle.raw %]
101
            </span><br/>
101
            </span><br/>
102
            [% END %]
102
            [% END %]
103
103
104
            [% IF ( BIBLIO_RESULT.serial ) %]
104
            [% IF ( BIBLIO_RESULT.serial ) %]
105
            <span>
105
            <span>
106
                Serial: [% BIBLIO_RESULT.serial %]
106
                Serial: [% BIBLIO_RESULT.serial.raw %]
107
            </span><br/>
107
            </span><br/>
108
            [% END %]
108
            [% END %]
109
109
110
            [% IF ( BIBLIO_RESULT.dewey ) %]
110
            [% IF ( BIBLIO_RESULT.dewey ) %]
111
            <span>
111
            <span>
112
                Dewey: [% BIBLIO_RESULT.dewey %]
112
                Dewey: [% BIBLIO_RESULT.dewey.raw %]
113
            </span><br/>
113
            </span><br/>
114
            [% END %]
114
            [% END %]
115
115
116
            [% IF ( BIBLIO_RESULT.classification ) %]
116
            [% IF ( BIBLIO_RESULT.classification ) %]
117
            <span>
117
            <span>
118
                Classification: [% BIBLIO_RESULT.classification %]
118
                Classification: [% BIBLIO_RESULT.classification.raw %]
119
            </span><br/>
119
            </span><br/>
120
            [% END %]
120
            [% END %]
121
121
122
            [% IF ( BIBLIO_RESULT.lccn ) %]
122
            [% IF ( BIBLIO_RESULT.lccn ) %]
123
            <span>
123
            <span>
124
                LCCN: [% BIBLIO_RESULT.lccn %]
124
                LCCN: [% BIBLIO_RESULT.lccn.raw %]
125
            </span><br/>
125
            </span><br/>
126
            [% END %]
126
            [% END %]
127
            [% IF ( BIBLIO_RESULT.url ) %]
127
            [% IF ( BIBLIO_RESULT.url ) %]
Lines 134-150 Your cart Link Here
134
            [% SET OPACBaseURL = Koha.Preference('OPACBaseURL') %]
134
            [% SET OPACBaseURL = Koha.Preference('OPACBaseURL') %]
135
            [% IF ( OPACBaseURL ) %]
135
            [% IF ( OPACBaseURL ) %]
136
            <p>
136
            <p>
137
                In online catalog: [% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% BIBLIO_RESULT.biblionumber %]
137
                In online catalog: [% OPACBaseURL.raw %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% BIBLIO_RESULT.biblionumber %]
138
            </p>
138
            </p>
139
            [% END %]
139
            [% END %]
140
            [% IF ( BIBLIO_RESULT.ITEM_RESULTS.size ) %]
140
            [% IF ( BIBLIO_RESULT.ITEM_RESULTS.size ) %]
141
            <p>Items:
141
            <p>Items:
142
            <ul>
142
            <ul>
143
                [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]<li>
143
                [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]<li>
144
                    [% ITEM_RESULT.branchname %]
144
                    [% ITEM_RESULT.branchname.raw %]
145
                    [% ITEM_RESULT.location %]
145
                    [% ITEM_RESULT.location.raw %]
146
                    [% IF ITEM_RESULT.itemcallnumber %]([% ITEM_RESULT.itemcallnumber %])[% END %]
146
                    [% IF ITEM_RESULT.itemcallnumber %]([% ITEM_RESULT.itemcallnumber.raw %])[% END %]
147
                    [% ITEM_RESULT.barcode %]
147
                    [% ITEM_RESULT.barcode.raw %]
148
                </li>[% END %]
148
                </li>[% END %]
149
            </ul>
149
            </ul>
150
            </p>
150
            </p>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasketform.tt (-1 / +1 lines)
Lines 7-13 Link Here
7
7
8
	[% IF ( SENT ) %]
8
	[% IF ( SENT ) %]
9
        <h3>Message sent</h3>
9
        <h3>Message sent</h3>
10
        <p>The cart was sent to: [% email_add |html %]</p>
10
        <p>The cart was sent to: [% email_add %]</p>
11
		<p><a class="focus close" href="#">Close window</a></p>
11
		<p><a class="focus close" href="#">Close window</a></p>
12
	[% END %]
12
	[% END %]
13
	[% IF ( error ) %]
13
	[% IF ( error ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tt (-2 / +2 lines)
Lines 3-9 Link Here
3
  [% IF ( unknownbiblionumber ) %]
3
  [% IF ( unknownbiblionumber ) %]
4
    Unknown record
4
    Unknown record
5
  [% ELSE %]
5
  [% ELSE %]
6
    ISBD details for [% title | html %]
6
    ISBD details for [% title %]
7
  [% END %]
7
  [% END %]
8
</title>
8
</title>
9
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
Lines 46-52 Link Here
46
    <span class="Z3988" title="[% ocoins %]"></span>
46
    <span class="Z3988" title="[% ocoins %]"></span>
47
    [% END %]
47
    [% END %]
48
	  <div id="catalogue_ISBDdetail">
48
	  <div id="catalogue_ISBDdetail">
49
		  [% ISBD %]
49
          [% ISBD.raw %]
50
	  </div>
50
	  </div>
51
	</div>
51
	</div>
52
      </div>
52
      </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt (-6 / +6 lines)
Lines 3-9 Link Here
3
  [% IF ( unknownbiblionumber ) %]
3
  [% IF ( unknownbiblionumber ) %]
4
    Unknown record
4
    Unknown record
5
  [% ELSE %]
5
  [% ELSE %]
6
    MARC details for [% bibliotitle | html %]
6
    MARC details for [% bibliotitle %]
7
  [% END %]
7
  [% END %]
8
</title>
8
</title>
9
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
Lines 41-47 function Changefwk(FwkList) { Link Here
41
  [% IF ( unknownbiblionumber ) %]
41
  [% IF ( unknownbiblionumber ) %]
42
    Unknown record
42
    Unknown record
43
  [% ELSE %]
43
  [% ELSE %]
44
    MARC Details for <i>[% bibliotitle |html %]</i>
44
    MARC Details for <i>[% bibliotitle %]</i>
45
  [% END %]
45
  [% END %]
46
</div>
46
</div>
47
47
Lines 56-62 function Changefwk(FwkList) { Link Here
56
[% INCLUDE 'cat-toolbar.inc' %]
56
[% INCLUDE 'cat-toolbar.inc' %]
57
57
58
[% UNLESS ( popup ) %]
58
[% UNLESS ( popup ) %]
59
    <h1>MARC biblio : [% biblionumber %]  ( [% bibliotitle |html %] )</h1>
59
    <h1>MARC biblio : [% biblionumber %]  ( [% bibliotitle %] )</h1>
60
60
61
61
62
[% END %]
62
[% END %]
Lines 97-106 function Changefwk(FwkList) { Link Here
97
                    <span class="subfield-label">&nbsp;
97
                    <span class="subfield-label">&nbsp;
98
                    [% UNLESS ( subfiel.hide_marc ) %]<span class="subfield-code">[% subfiel.marc_subfield %]</span>[% END %]
98
                    [% UNLESS ( subfiel.hide_marc ) %]<span class="subfield-code">[% subfiel.marc_subfield %]</span>[% END %]
99
                    <span class="desc" title="[% subfiel.long_desc %]">[% subfiel.short_desc %]</span></span>
99
                    <span class="desc" title="[% subfiel.long_desc %]">[% subfiel.short_desc %]</span></span>
100
                    [% IF ( subfiel.is_url ) %]<a href="[% subfiel.marc_value %]">[% subfiel.marc_value |html %]</a>[% ELSE %][% subfiel.marc_value |html %][% END %]
100
                    [% IF ( subfiel.is_url ) %]<a href="[% subfiel.marc_value %]">[% subfiel.marc_value %]</a>[% ELSE %][% subfiel.marc_value %][% END %]
101
                    [% IF ( subfiel.link ) %]
101
                    [% IF ( subfiel.link ) %]
102
                        <a href="/cgi-bin/koha/catalogue/search.pl?op=do_search&amp;idx=[% subfiel.link %],phr&amp;type=intranet&amp;q=[% subfiel.marc_value |url %]">
102
                        <a href="/cgi-bin/koha/catalogue/search.pl?op=do_search&amp;idx=[% subfiel.link %],phr&amp;type=intranet&amp;q=[% subfiel.marc_value |url %]">
103
                            <img src="[% interface %]/[% theme %]/img/filefind.png" height="15" title="Search on [% subfiel.marc_value |html %]" alt="Search on [% subfiel.marc_value |html %]" />
103
                            <img src="[% interface %]/[% theme %]/img/filefind.png" height="15" title="Search on [% subfiel.marc_value %]" alt="Search on [% subfiel.marc_value %]" />
104
                        </a>
104
                        </a>
105
                    [% END %]
105
                    [% END %]
106
                    [% IF ( subfiel.authority ) %]
106
                    [% IF ( subfiel.authority ) %]
Lines 181-187 function Changefwk(FwkList) { Link Here
181
                [% FOREACH item IN item_loop %]
181
                [% FOREACH item IN item_loop %]
182
                    <tr>
182
                    <tr>
183
                        [% FOREACH sf_code IN item_subfield_codes %]
183
                        [% FOREACH sf_code IN item_subfield_codes %]
184
                            <td>[% item.$sf_code %]</td>
184
                            <td>[% item.$sf_code.raw %]</td>
185
                        [% END %]
185
                        [% END %]
186
                    </tr>
186
                    </tr>
187
                [% END %]
187
                [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-15 / +15 lines)
Lines 23-29 Link Here
23
  [% IF ( unknownbiblionumber ) %]
23
  [% IF ( unknownbiblionumber ) %]
24
    Unknown record
24
    Unknown record
25
  [% ELSE %]
25
  [% ELSE %]
26
    Details for [% title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield | html %][% END %]
26
    Details for [% title %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]
27
  [% END %]
27
  [% END %]
28
</title>
28
</title>
29
29
Lines 347-353 function verify_images() { Link Here
347
  [% IF ( unknownbiblionumber ) %]
347
  [% IF ( unknownbiblionumber ) %]
348
    Unknown record
348
    Unknown record
349
  [% ELSE %]
349
  [% ELSE %]
350
    Details for <i>[% title |html %]  [% FOREACH subtitl IN subtitle %] [% subtitl.subfield | html %][% END %]</i>
350
    Details for <i>[% title %]  [% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]</i>
351
  [% END %]
351
  [% END %]
352
</div>
352
</div>
353
353
Lines 385-391 function verify_images() { Link Here
385
    [% END %]
385
    [% END %]
386
386
387
    [% IF ( XSLTDetailsDisplay ) %]
387
    [% IF ( XSLTDetailsDisplay ) %]
388
        [% XSLTBloc %]
388
        [% XSLTBloc.raw %]
389
389
390
        [% IF shelves.count %]
390
        [% IF shelves.count %]
391
            <span class="results_summary"><span class="label">Lists that include this title: </span>
391
            <span class="results_summary"><span class="label">Lists that include this title: </span>
Lines 399-407 function verify_images() { Link Here
399
                <span class="results_summary"><span class="label">Tags:</span>
399
                <span class="results_summary"><span class="label">Tags:</span>
400
                    [% FOREACH TagLoo IN TagLoop %]
400
                    [% FOREACH TagLoo IN TagLoop %]
401
                        [% IF ( CAN_user_tools_moderate_tags ) %]
401
                        [% IF ( CAN_user_tools_moderate_tags ) %]
402
                        <a href="/cgi-bin/koha/tags/list.pl?tag=[% TagLoo.term |url %]">[% TagLoo.term |html %]</a>
402
                        <a href="/cgi-bin/koha/tags/list.pl?tag=[% TagLoo.term |url %]">[% TagLoo.term %]</a>
403
                        [% ELSE %]
403
                        [% ELSE %]
404
                        [% TagLoo.term |html %]
404
                        [% TagLoo.term %]
405
                        [% END %]
405
                        [% END %]
406
                        <span class="weight">([% TagLoo.weight_total %])</span>[% IF ( loop.last ) %][% ELSE %], [% END %]
406
                        <span class="weight">([% TagLoo.weight_total %])</span>[% IF ( loop.last ) %][% ELSE %], [% END %]
407
                    [% END %]
407
                    [% END %]
Lines 441-458 function verify_images() { Link Here
441
        [% END %]
441
        [% END %]
442
    [% ELSE %]
442
    [% ELSE %]
443
443
444
    <h3>[% title |html %]</h3>
444
    <h3>[% title %]</h3>
445
    [% FOREACH subtitl IN subtitle %]
445
    [% FOREACH subtitl IN subtitle %]
446
    	<h4>[% subtitl.subfield %]</h4>
446
    	<h4>[% subtitl.subfield %]</h4>
447
    [% END %]
447
    [% END %]
448
            [% UNLESS ( item_level_itypes ) %]<img src="[% imageurl %]" alt="[% translated_description %]" title="[% translated_description %]">[% END %]
448
            [% UNLESS ( item_level_itypes ) %]<img src="[% imageurl %]" alt="[% translated_description %]" title="[% translated_description %]">[% END %]
449
            [% IF ( unititle ) %]<p>[% unititle |html %]</p>[% END %]
449
            [% IF ( unititle ) %]<p>[% unititle %]</p>[% END %]
450
            [% IF ( author ) %]<p>By <a href="/cgi-bin/koha/catalogue/search.pl?q=au:[% author |url %]">[% author | html %]</a></p>[% END %]
450
            [% IF ( author ) %]<p>By <a href="/cgi-bin/koha/catalogue/search.pl?q=au:[% author |url %]">[% author %]</a></p>[% END %]
451
        <ul>
451
        <ul>
452
        [% IF ( MARCAUTHORS ) %]
452
        [% IF ( MARCAUTHORS ) %]
453
            <li><strong>Additional authors:</strong><ul>
453
            <li><strong>Additional authors:</strong><ul>
454
            [% FOREACH MARCAUTHOR IN MARCAUTHORS %]
454
            [% FOREACH MARCAUTHOR IN MARCAUTHORS %]
455
                <li>[% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %][% MARCAUTHOR_SUBFIELDS_LOO.separator %]<a title="‡[% MARCAUTHOR_SUBFIELDS_LOO.code %] [% MARCAUTHOR_SUBFIELDS_LOO.value |url %]" href="/cgi-bin/koha/catalogue/search.pl?q=[% FOREACH link_loo IN MARCAUTHOR_SUBFIELDS_LOO.link_loop %][% link_loo.operator |url %][% link_loo.limit %]:[% link_loo.link |url %][% END %]">[% MARCAUTHOR_SUBFIELDS_LOO.value | html %]</a>[% END %]</li>
455
                <li>[% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %][% MARCAUTHOR_SUBFIELDS_LOO.separator %]<a title="‡[% MARCAUTHOR_SUBFIELDS_LOO.code %] [% MARCAUTHOR_SUBFIELDS_LOO.value |url %]" href="/cgi-bin/koha/catalogue/search.pl?q=[% FOREACH link_loo IN MARCAUTHOR_SUBFIELDS_LOO.link_loop %][% link_loo.operator |url %][% link_loo.limit %]:[% link_loo.link |url %][% END %]">[% MARCAUTHOR_SUBFIELDS_LOO.value %]</a>[% END %]</li>
456
                [% END %]
456
                [% END %]
457
457
458
        </ul>
458
        </ul>
Lines 468-474 function verify_images() { Link Here
468
        [% IF ( publishercode ) %]
468
        [% IF ( publishercode ) %]
469
    <li><strong>Published by:</strong>
469
    <li><strong>Published by:</strong>
470
        <a href="/cgi-bin/koha/catalogue/search.pl?q=pb:[% publishercode |url %]">
470
        <a href="/cgi-bin/koha/catalogue/search.pl?q=pb:[% publishercode |url %]">
471
            [% publishercode |html %]
471
            [% publishercode %]
472
        </a> [% IF ( place ) %]([% place %])[% END %] [% IF ( publicationyear ) %], [% publicationyear %][% END %] [% IF ( editionstatement ) %][% editionstatement %][% END %] [% IF ( editionresponsability ) %][% editionresponsability %][% END %]
472
        </a> [% IF ( place ) %]([% place %])[% END %] [% IF ( publicationyear ) %], [% publicationyear %][% END %] [% IF ( editionstatement ) %][% editionstatement %][% END %] [% IF ( editionresponsability ) %][% editionresponsability %][% END %]
473
    </li>
473
    </li>
474
    [% END %]
474
    [% END %]
Lines 519-525 function verify_images() { Link Here
519
        <div class="yui-u" style="margin-top: 1em;">
519
        <div class="yui-u" style="margin-top: 1em;">
520
        <ul>
520
        <ul>
521
        [% IF ( MARCISBNS ) %]
521
        [% IF ( MARCISBNS ) %]
522
            <li><strong>ISBN:</strong><ul>[% FOREACH MARCISBN IN MARCISBNS %]<li>[% MARCISBN | html %]</li>[% END %]</ul></li>
522
            <li><strong>ISBN:</strong><ul>[% FOREACH MARCISBN IN MARCISBNS %]<li>[% MARCISBN %]</li>[% END %]</ul></li>
523
        [% ELSE %]
523
        [% ELSE %]
524
            [% IF ( normalized_isbn ) %]
524
            [% IF ( normalized_isbn ) %]
525
                <li><strong>ISBN:</strong> [% normalized_isbn %]</li>
525
                <li><strong>ISBN:</strong> [% normalized_isbn %]</li>
Lines 537-543 function verify_images() { Link Here
537
            <li><strong>Subjects:</strong> 
537
            <li><strong>Subjects:</strong> 
538
            <ul>
538
            <ul>
539
                [% FOREACH MARCSUBJCT IN MARCSUBJCTS %]
539
                [% FOREACH MARCSUBJCT IN MARCSUBJCTS %]
540
                <li>[% FOREACH MARCSUBJECT_SUBFIELDS_LOO IN MARCSUBJCT.MARCSUBJECT_SUBFIELDS_LOOP %] [% MARCSUBJECT_SUBFIELDS_LOO.separator %] <a title="‡[% MARCSUBJECT_SUBFIELDS_LOO.code %] [% MARCSUBJECT_SUBFIELDS_LOO.value %]" href="/cgi-bin/koha/catalogue/search.pl?q=[% FOREACH link_loo IN MARCSUBJECT_SUBFIELDS_LOO.link_loop %][% link_loo.operator |url %][% link_loo.limit %]:[% link_loo.link |url %][% END %]">[% MARCSUBJECT_SUBFIELDS_LOO.value |html %]</a>[% END %]</li>
540
                <li>[% FOREACH MARCSUBJECT_SUBFIELDS_LOO IN MARCSUBJCT.MARCSUBJECT_SUBFIELDS_LOOP %] [% MARCSUBJECT_SUBFIELDS_LOO.separator %] <a title="‡[% MARCSUBJECT_SUBFIELDS_LOO.code %] [% MARCSUBJECT_SUBFIELDS_LOO.value %]" href="/cgi-bin/koha/catalogue/search.pl?q=[% FOREACH link_loo IN MARCSUBJECT_SUBFIELDS_LOO.link_loop %][% link_loo.operator |url %][% link_loo.limit %]:[% link_loo.link |url %][% END %]">[% MARCSUBJECT_SUBFIELDS_LOO.value %]</a>[% END %]</li>
541
                [% END %]
541
                [% END %]
542
                </ul>
542
                </ul>
543
            </li>
543
            </li>
Lines 575-583 function verify_images() { Link Here
575
                    [% FOREACH TagLoo IN TagLoop %]
575
                    [% FOREACH TagLoo IN TagLoop %]
576
                        <li>
576
                        <li>
577
                        [% IF ( CAN_user_tools_moderate_tags ) %]
577
                        [% IF ( CAN_user_tools_moderate_tags ) %]
578
                        <a href="/cgi-bin/koha/tags/list.pl?tag=[% TagLoo.term |url %]">[% TagLoo.term |html %]</a>
578
                        <a href="/cgi-bin/koha/tags/list.pl?tag=[% TagLoo.term |url %]">[% TagLoo.term %]</a>
579
                        [% ELSE %]
579
                        [% ELSE %]
580
                        [% TagLoo.term |html %]
580
                        [% TagLoo.term %]
581
                        [% END %]
581
                        [% END %]
582
                        <span class="weight">([% TagLoo.weight_total %])</span>[% IF ( loop.last ) %][% ELSE %], [% END %]</li>
582
                        <span class="weight">([% TagLoo.weight_total %])</span>[% IF ( loop.last ) %][% ELSE %], [% END %]</li>
583
                    [% END %]
583
                    [% END %]
Lines 1047-1053 function verify_images() { Link Here
1047
<table>
1047
<table>
1048
[% FOREACH XISBN IN XISBNS %]<tr>[% IF ( AmazonCoverImages ) %]<td><a href="http://www.amazon.com/gp/reader/[% XISBN.normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link"><img src="https://images-na.ssl-images-amazon.com/images/P/[% XISBN.normalized_isbn %].01._AA75_PU_PU-5_.jpg" /></a></td>[% END %]
1048
[% FOREACH XISBN IN XISBNS %]<tr>[% IF ( AmazonCoverImages ) %]<td><a href="http://www.amazon.com/gp/reader/[% XISBN.normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link"><img src="https://images-na.ssl-images-amazon.com/images/P/[% XISBN.normalized_isbn %].01._AA75_PU_PU-5_.jpg" /></a></td>[% END %]
1049
[% UNLESS ( item_level_itypes ) %]<td>[% IF ( noItemTypeImages ) %][% XISBN.description %][% ELSE %]<img src="[% XISBN.imageurl %]" alt="[% XISBN.description %]" title="[% XISBN.description %]">[% END %]</td>[% END %]
1049
[% UNLESS ( item_level_itypes ) %]<td>[% IF ( noItemTypeImages ) %][% XISBN.description %][% ELSE %]<img src="[% XISBN.imageurl %]" alt="[% XISBN.description %]" title="[% XISBN.description %]">[% END %]</td>[% END %]
1050
<td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% XISBN.biblionumber %]">[% XISBN.title |html %]</a> by [% XISBN.author | html %] &copy;[% XISBN.copyrightdate %]
1050
<td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% XISBN.biblionumber %]">[% XISBN.title %]</a> by [% XISBN.author %] &copy;[% XISBN.copyrightdate %]
1051
  [% IF ( XISBN.publishercode ) %]
1051
  [% IF ( XISBN.publishercode ) %]
1052
[% XISBN.publishercode %] [% IF ( XISBN.place ) %]([% XISBN.place %])[% END %] [% IF ( XISBN.publicationyear ) %], [% XISBN.publicationyear %][% END %] [% IF ( XISBN.editionstatement ) %][% XISBN.editionstatement %][% END %] [% IF ( XISBN.editionresponsability ) %][% XISBN.editionresponsability %][% END %]
1052
[% XISBN.publishercode %] [% IF ( XISBN.place ) %]([% XISBN.place %])[% END %] [% IF ( XISBN.publicationyear ) %], [% XISBN.publicationyear %][% END %] [% IF ( XISBN.editionstatement ) %][% XISBN.editionstatement %][% END %] [% IF ( XISBN.editionresponsability ) %][% XISBN.editionresponsability %][% END %]
1053
    [% END %]
1053
    [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/imageviewer.tt (-3 / +3 lines)
Lines 1-5 Link Here
1
[% INCLUDE 'doc-head-open.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Catalog &rsaquo; Details for [% biblio.title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]</title>
2
<title>Koha &rsaquo; Catalog &rsaquo; Details for [% biblio.title %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]</title>
3
[% INCLUDE 'doc-head-close.inc' %]
3
[% INCLUDE 'doc-head-close.inc' %]
4
[% IF ( LocalCoverImages == 1 ) %]
4
[% IF ( LocalCoverImages == 1 ) %]
5
<script type="text/JavaScript">
5
<script type="text/JavaScript">
Lines 55-61 img.thumbnail { Link Here
55
[% INCLUDE 'header.inc' %]
55
[% INCLUDE 'header.inc' %]
56
[% INCLUDE 'cat-search.inc' %]
56
[% INCLUDE 'cat-search.inc' %]
57
57
58
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>  &rsaquo; Images for <i>[% biblio.title |html %]  [% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]</i></div>
58
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>  &rsaquo; Images for <i>[% biblio.title %]  [% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]</i></div>
59
59
60
<div id="doc3" class="yui-t1">
60
<div id="doc3" class="yui-t1">
61
61
Lines 66-72 img.thumbnail { Link Here
66
66
67
[% INCLUDE 'cat-toolbar.inc' %]
67
[% INCLUDE 'cat-toolbar.inc' %]
68
68
69
<h3>Images for <i>[% biblio.title |html %]</i></h3>
69
<h3>Images for <i>[% biblio.title %]</i></h3>
70
<h4>[% biblio.author %]</h4>
70
<h4>[% biblio.author %]</h4>
71
71
72
[% IF ( LocalCoverImages == 1 ) %]
72
[% IF ( LocalCoverImages == 1 ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt (-4 / +4 lines)
Lines 2-8 Link Here
2
[% USE KohaDates %]
2
[% USE KohaDates %]
3
[% USE Branches %]
3
[% USE Branches %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Koha &rsaquo; Catalog &rsaquo; Checkout history for [% title |html %]</title>
5
<title>Koha &rsaquo; Catalog &rsaquo; Checkout history for [% title %]</title>
6
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
7
<link rel="stylesheet" href="[% interface %]/[% theme %]/css/datatables.css" />
7
<link rel="stylesheet" href="[% interface %]/[% theme %]/css/datatables.css" />
8
[% INCLUDE 'datatables.inc' %]
8
[% INCLUDE 'datatables.inc' %]
Lines 23-29 $(document).ready(function() { Link Here
23
[% INCLUDE 'header.inc' %]
23
[% INCLUDE 'header.inc' %]
24
[% INCLUDE 'cat-search.inc' %]
24
[% INCLUDE 'cat-search.inc' %]
25
25
26
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>  &rsaquo; Checkout history for <i>[% title |html %]</i></div>
26
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>  &rsaquo; Checkout history for <i>[% title %]</i></div>
27
27
28
<div id="doc3" class="yui-t2">
28
<div id="doc3" class="yui-t2">
29
29
Lines 31-37 $(document).ready(function() { Link Here
31
	<div id="yui-main">
31
	<div id="yui-main">
32
	<div class="yui-b">
32
	<div class="yui-b">
33
33
34
<h1>Checkout history for [% title |html %]</h1>
34
<h1>Checkout history for [% title %]</h1>
35
[% IF ( author ) %]<h3>by [% author %]</h3>[% END %]
35
[% IF ( author ) %]<h3>by [% author %]</h3>[% END %]
36
36
37
<div class="searchresults">
37
<div class="searchresults">
Lines 94-100 $(document).ready(function() { Link Here
94
		</table>
94
		</table>
95
    [% ELSE %]
95
    [% ELSE %]
96
        <div class="dialog message"><p>
96
        <div class="dialog message"><p>
97
        <b>[% title |html %][% IF ( author ) %], by [% author %][% END %]</b> has never been checked out.</p></div>
97
        <b>[% title %][% IF ( author ) %], by [% author %][% END %]</b> has never been checked out.</p></div>
98
98
99
    [% END %]
99
    [% END %]
100
</div>
100
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt (-1 / +1 lines)
Lines 488-494 Link Here
488
          [% END %]
488
          [% END %]
489
489
490
          <div class="pages">
490
          <div class="pages">
491
            [% pagination_bar %]
491
            [% pagination_bar.raw %]
492
          </div>
492
          </div>
493
493
494
        [% END %]
494
        [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/labeledMARCdetail.tt (-3 / +3 lines)
Lines 4-10 Link Here
4
  [% IF ( unknownbiblionumber ) %]
4
  [% IF ( unknownbiblionumber ) %]
5
    Unknown record
5
    Unknown record
6
  [% ELSE %]
6
  [% ELSE %]
7
    Labeled MARC details for [% bibliotitle | html %]
7
    Labeled MARC details for [% bibliotitle %]
8
  [% END %]
8
  [% END %]
9
</title>
9
</title>
10
10
Lines 43-49 Link Here
43
		[% IF ( unknownbiblionumber ) %]
43
		[% IF ( unknownbiblionumber ) %]
44
		  Unknown record
44
		  Unknown record
45
		[% ELSE %]
45
		[% ELSE %]
46
            MARC details for <i>[% bibliotitle | html %]</i>
46
            MARC details for <i>[% bibliotitle %]</i>
47
		[% END %]
47
		[% END %]
48
	</div>
48
	</div>
49
49
Lines 60-66 Link Here
60
					[% INCLUDE 'cat-toolbar.inc' %]
60
					[% INCLUDE 'cat-toolbar.inc' %]
61
61
62
					[% UNLESS ( popup ) %]
62
					[% UNLESS ( popup ) %]
63
                        <h1>Labeled MARC biblio : [% biblionumber %]  ( [% bibliotitle | html %] )</h1>
63
                        <h1>Labeled MARC biblio : [% biblionumber %]  ( [% bibliotitle %] )</h1>
64
					[% END %]
64
					[% END %]
65
                    <p><b>With framework:
65
                    <p><b>With framework:
66
                    <select name="Frameworks" id="Frameworks" size="1" onchange="Changefwk(this);">
66
                    <select name="Frameworks" id="Frameworks" size="1" onchange="Changefwk(this);">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt (-7 / +7 lines)
Lines 1-7 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% USE Branches %]
2
[% USE Branches %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Koha &rsaquo; Catalog &rsaquo; Item details for [% title | html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield | html %][% END %]</title>
4
<title>Koha &rsaquo; Catalog &rsaquo; Item details for [% title %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]</title>
5
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
6
<style type="text/css">h3{padding-top: 1em; border-top: 2px solid #CCCCCC;}#exportLabelexportModal_{border-top: 0px;}</style>
6
<style type="text/css">h3{padding-top: 1em; border-top: 2px solid #CCCCCC;}#exportLabelexportModal_{border-top: 0px;}</style>
7
[% INCLUDE 'browser-strings.inc' %]
7
[% INCLUDE 'browser-strings.inc' %]
Lines 21-27 Link Here
21
[% INCLUDE 'header.inc' %]
21
[% INCLUDE 'header.inc' %]
22
[% INCLUDE 'cat-search.inc' %]
22
[% INCLUDE 'cat-search.inc' %]
23
23
24
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>  &rsaquo; Item details for <i>[% title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield|html %][% END %]</i></div>
24
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>  &rsaquo; Item details for <i>[% title %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]</i></div>
25
25
26
<div id="doc3" class="yui-t2">
26
<div id="doc3" class="yui-t2">
27
27
Lines 32-48 Link Here
32
32
33
<div id="catalogue_detail_biblio">
33
<div id="catalogue_detail_biblio">
34
34
35
    <h2>[% title |html %]</h2>
35
    <h2>[% title %]</h2>
36
    [% IF ( subtitle ) %]<h4>[% FOREACH subtitl IN subtitle %] [% subtitl.subfield|html %][% END %]</h4>[% END %]
36
    [% IF ( subtitle ) %]<h4>[% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]</h4>[% END %]
37
    [% IF ( author ) %]<h4>by [% author | html %]</h4>[% END %]
37
    [% IF ( author ) %]<h4>by [% author %]</h4>[% END %]
38
    <ol class="bibliodetails">
38
    <ol class="bibliodetails">
39
        <li><span class="label">Biblionumber:</span> [% biblionumber %]&nbsp;</li>
39
        <li><span class="label">Biblionumber:</span> [% biblionumber %]&nbsp;</li>
40
        [% UNLESS ( item_level_itypes ) %]
40
        [% UNLESS ( item_level_itypes ) %]
41
        <li><span class="label">Item type:</span> [% itemtypename %]&nbsp;</li>
41
        <li><span class="label">Item type:</span> [% itemtypename %]&nbsp;</li>
42
        [% END %]
42
        [% END %]
43
        [% IF ( rentalcharge ) %]<li><span class="label">Rental charge:</span>[% rentalcharge %]&nbsp;</li>[% END %]
43
        [% IF ( rentalcharge ) %]<li><span class="label">Rental charge:</span>[% rentalcharge %]&nbsp;</li>[% END %]
44
        <li><span class="label">ISBN:</span> [% isbn | html %]&nbsp;</li>
44
        <li><span class="label">ISBN:</span> [% isbn %]&nbsp;</li>
45
        <li><span class="label">Publisher:</span>[% place %] [% publishercode |html %] [% publicationyear %]&nbsp;</li>
45
        <li><span class="label">Publisher:</span>[% place %] [% publishercode %] [% publicationyear %]&nbsp;</li>
46
        [% IF ( volumeddesc ) %]<li><span class="label">Volume:</span> [% volumeddesc %]</li>[% END %]
46
        [% IF ( volumeddesc ) %]<li><span class="label">Volume:</span> [% volumeddesc %]</li>[% END %]
47
        <li><span class="label">Physical details:</span> [% pages %] [% illus %] [% size %]&nbsp;</li>
47
        <li><span class="label">Physical details:</span> [% pages %] [% illus %] [% size %]&nbsp;</li>
48
        [% IF ( bnotes ) %]<li><span class="label">Notes:</span> [% bnotes %]</li>[% END %]
48
        [% IF ( bnotes ) %]<li><span class="label">Notes:</span> [% bnotes %]</li>[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt (-16 / +16 lines)
Lines 1-7 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% USE Biblio %]
2
[% USE Biblio %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Koha &rsaquo; Catalog &rsaquo; [% IF ( searchdesc ) %]Results of search [% IF ( query_desc ) %]for '[% query_desc | html %]'[% END %][% IF ( limit_desc ) %]&nbsp;with limit(s):&nbsp;'[% limit_desc | html %]'[% END %][% ELSE %]You did not specify any search criteria[% END %]</title>
4
<title>Koha &rsaquo; Catalog &rsaquo; [% IF ( searchdesc ) %]Results of search [% IF ( query_desc ) %]for '[% query_desc %]'[% END %][% IF ( limit_desc ) %]&nbsp;with limit(s):&nbsp;'[% limit_desc %]'[% END %][% ELSE %]You did not specify any search criteria[% END %]</title>
5
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'browser-strings.inc' %]
6
[% INCLUDE 'browser-strings.inc' %]
7
[% IF BiblioDefaultViewmarc %]
7
[% IF BiblioDefaultViewmarc %]
Lines 109-115 $('#sort_by').change(function() { Link Here
109
                [% SET number_of_private_shelves = 0 %]
109
                [% SET number_of_private_shelves = 0 %]
110
                [% FOREACH s IN add_to_some_private_shelves %]
110
                [% FOREACH s IN add_to_some_private_shelves %]
111
                    [% IF shelfnumber != s.shelfnumber %]
111
                    [% IF shelfnumber != s.shelfnumber %]
112
                        param1 += "<option id=\"s[% s.shelfnumber %]\" value=\"addtolist\">[% s.shelfname |html %]<\/option>";
112
                        param1 += "<option id=\"s[% s.shelfnumber %]\" value=\"addtolist\">[% s.shelfname %]<\/option>";
113
                        [% SET number_of_private_shelves = number_of_private_shelves + 1 %]
113
                        [% SET number_of_private_shelves = number_of_private_shelves + 1 %]
114
                        [% IF number_of_private_shelves == 10 %][% LAST %][% END %]
114
                        [% IF number_of_private_shelves == 10 %][% LAST %][% END %]
115
                    [% END %]
115
                    [% END %]
Lines 121-127 $('#sort_by').change(function() { Link Here
121
                [% SET number_of_public_shelves = 0 %]
121
                [% SET number_of_public_shelves = 0 %]
122
                [% FOREACH s IN add_to_some_public_shelves %]
122
                [% FOREACH s IN add_to_some_public_shelves %]
123
                    [% IF shelfnumber != s.shelfnumber %]
123
                    [% IF shelfnumber != s.shelfnumber %]
124
                        param1 += "<option id=\"s[% s.shelfnumber %]\" value=\"addtolist\">[% s.shelfname |html %]<\/option>";
124
                        param1 += "<option id=\"s[% s.shelfnumber %]\" value=\"addtolist\">[% s.shelfname %]<\/option>";
125
                        [% SET number_of_public_shelves = number_of_public_shelves + 1 %]
125
                        [% SET number_of_public_shelves = number_of_public_shelves + 1 %]
126
                        [% IF number_of_public_shelves == 10 %][% LAST %][% END %]
126
                        [% IF number_of_public_shelves == 10 %][% LAST %][% END %]
127
                    [% END %]
127
                    [% END %]
Lines 153-159 $('#sort_by').change(function() { Link Here
153
    $(".selection").show();
153
    $(".selection").show();
154
    [% IF ( query_desc ) %]
154
    [% IF ( query_desc ) %]
155
    toHighlight = $("p,span.results_summary,a.title");
155
    toHighlight = $("p,span.results_summary,a.title");
156
        var query_desc = "[% query_desc |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') | html %]";
156
        var query_desc = "[% query_desc |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %]";
157
        q_array = query_desc.split(" ");
157
        q_array = query_desc.split(" ");
158
        // ensure that we don't have "" at the end of the array, which can
158
        // ensure that we don't have "" at the end of the array, which can
159
        // break the highlighter
159
        // break the highlighter
Lines 316-322 var holdForPatron = function () { Link Here
316
<div id="breadcrumbs">
316
<div id="breadcrumbs">
317
         <a href="/cgi-bin/koha/mainpage.pl">Home</a>
317
         <a href="/cgi-bin/koha/mainpage.pl">Home</a>
318
&rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>
318
&rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>
319
&rsaquo; Search [% IF ( query_desc ) %]for '[% query_desc |html %]'[% END %][% IF ( limit_desc ) %]&nbsp;with limit(s):&nbsp;'[% limit_desc | html %]'[% END %]
319
&rsaquo; Search [% IF ( query_desc ) %]for '[% query_desc %]'[% END %][% IF ( limit_desc ) %]&nbsp;with limit(s):&nbsp;'[% limit_desc %]'[% END %]
320
</div>
320
</div>
321
321
322
<div id="doc3" class="yui-t1">
322
<div id="doc3" class="yui-t1">
Lines 346-355 var holdForPatron = function () { Link Here
346
            <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="sortbyform">
346
            <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="sortbyform">
347
                [% IF ( searchdesc ) %]
347
                [% IF ( searchdesc ) %]
348
                    [% FOREACH QUERY_INPUT IN QUERY_INPUTS %]
348
                    [% FOREACH QUERY_INPUT IN QUERY_INPUTS %]
349
                    <input type="hidden" name="[% QUERY_INPUT.input_name |html %]" value="[% QUERY_INPUT.input_value |html %]"/>
349
                    <input type="hidden" name="[% QUERY_INPUT.input_name %]" value="[% QUERY_INPUT.input_value %]"/>
350
                    [% END %]
350
                    [% END %]
351
                    [% FOREACH LIMIT_INPUT IN LIMIT_INPUTS %]
351
                    [% FOREACH LIMIT_INPUT IN LIMIT_INPUTS %]
352
                    <input type="hidden" name="[% LIMIT_INPUT.input_name |html %]" value="[% LIMIT_INPUT.input_value |html %]"/>
352
                    <input type="hidden" name="[% LIMIT_INPUT.input_name %]" value="[% LIMIT_INPUT.input_value %]"/>
353
                    [% END %]
353
                    [% END %]
354
                [% END %]
354
                [% END %]
355
                <!-- RE-SORT START -->
355
                <!-- RE-SORT START -->
Lines 361-367 var holdForPatron = function () { Link Here
361
                <!-- RESORT END -->
361
                <!-- RESORT END -->
362
            </form>
362
            </form>
363
            <h3>
363
            <h3>
364
                [% total %] result(s) found [% IF ( query_desc ) %]for <span style="font-weight: bold;">'[% query_desc |html %]'</span>[% END %][% IF limit_desc  %]&nbsp;with limit(s): <span style="font-weight: bold;">'[% limit_desc | html %]'</span>[% END %][% IF ( LibraryName ) %] in [% LibraryName %] Catalog[% END %].<br />&nbsp;
364
                [% total %] result(s) found [% IF ( query_desc ) %]for <span style="font-weight: bold;">'[% query_desc %]'</span>[% END %][% IF limit_desc  %]&nbsp;with limit(s): <span style="font-weight: bold;">'[% limit_desc %]'</span>[% END %][% IF ( LibraryName ) %] in [% LibraryName %] Catalog[% END %].<br />&nbsp;
365
            </h3>
365
            </h3>
366
            <div id="selection_ops" class="cartlist" style="display:none">
366
            <div id="selection_ops" class="cartlist" style="display:none">
367
                <a href="#" id="select_all"><i class="fa fa-check"></i> Select all</a>
367
                <a href="#" id="select_all"><i class="fa fa-check"></i> Select all</a>
Lines 402-408 var holdForPatron = function () { Link Here
402
            <h3>No results found</h3>
402
            <h3>No results found</h3>
403
        [% IF ( searchdesc ) %]
403
        [% IF ( searchdesc ) %]
404
            <p>
404
            <p>
405
                No results match your search [% IF ( query_desc ) %]for <span style="font-weight: bold;">'[% query_desc |html %]'</span>[% END %][% IF ( limit_desc ) %]&nbsp;with limit(s): <span style="font-weight: bold;">'[% limit_desc | html %]'</span>[% END %][% IF ( LibraryName ) %] in [% LibraryName %] Catalog[% END %].
405
                No results match your search [% IF ( query_desc ) %]for <span style="font-weight: bold;">'[% query_desc %]'</span>[% END %][% IF ( limit_desc ) %]&nbsp;with limit(s): <span style="font-weight: bold;">'[% limit_desc %]'</span>[% END %][% IF ( LibraryName ) %] in [% LibraryName %] Catalog[% END %].
406
            </p>
406
            </p>
407
        [% ELSE %]
407
        [% ELSE %]
408
            <p>You did not specify any search criteria.</p>
408
            <p>You did not specify any search criteria.</p>
Lines 423-429 var holdForPatron = function () { Link Here
423
                <tr>
423
                <tr>
424
                    <td>
424
                    <td>
425
                        [% IF ( scan_search_term_to_use ) %]
425
                        [% IF ( scan_search_term_to_use ) %]
426
                            Scan Index for: <input type="text" name="q" id="scan-index" size="35" value="[% scan_search_term_to_use | html %]" />
426
                            Scan Index for: <input type="text" name="q" id="scan-index" size="35" value="[% scan_search_term_to_use %]" />
427
                        [% ELSE %]
427
                        [% ELSE %]
428
                            Scan Index for: <input type="text" name="q" id="scan-index" size="35" value="" />
428
                            Scan Index for: <input type="text" name="q" id="scan-index" size="35" value="" />
429
                        [% END %]
429
                        [% END %]
Lines 472-478 var holdForPatron = function () { Link Here
472
                [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
472
                [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
473
                    <tr>
473
                    <tr>
474
                        <td>
474
                        <td>
475
                            <a href="/cgi-bin/koha/catalogue/search.pl?idx=[% scan_index_to_use %]&amp;q=[% SEARCH_RESULT.scan_use |url %]&quot;[% SEARCH_RESULT.title %]&quot;">[% SEARCH_RESULT.title |html %]</a>
475
                            <a href="/cgi-bin/koha/catalogue/search.pl?idx=[% scan_index_to_use %]&amp;q=[% SEARCH_RESULT.scan_use |url %]&quot;[% SEARCH_RESULT.title %]&quot;">[% SEARCH_RESULT.title %]</a>
476
                        </td>
476
                        </td>
477
                        <td>
477
                        <td>
478
                            [% SEARCH_RESULT.author %]
478
                            [% SEARCH_RESULT.author %]
Lines 487-496 var holdForPatron = function () { Link Here
487
                <form action="/cgi-bin/koha/catalogue/search.pl" method="get" name="bookbag_form" id="bookbag_form">
487
                <form action="/cgi-bin/koha/catalogue/search.pl" method="get" name="bookbag_form" id="bookbag_form">
488
                [% IF ( searchdesc ) %]
488
                [% IF ( searchdesc ) %]
489
                [% FOREACH QUERY_INPUT IN QUERY_INPUTS %]
489
                [% FOREACH QUERY_INPUT IN QUERY_INPUTS %]
490
                <input type="hidden" name="[% QUERY_INPUT.input_name |html %]" value="[% QUERY_INPUT.input_value |html %]"/>
490
                <input type="hidden" name="[% QUERY_INPUT.input_name %]" value="[% QUERY_INPUT.input_value %]"/>
491
                [% END %]
491
                [% END %]
492
                [% FOREACH LIMIT_INPUT IN LIMIT_INPUTS %]
492
                [% FOREACH LIMIT_INPUT IN LIMIT_INPUTS %]
493
                <input type="hidden" name="[% LIMIT_INPUT.input_name |html %]" value="[% LIMIT_INPUT.input_value |html %]"/>
493
                <input type="hidden" name="[% LIMIT_INPUT.input_name %]" value="[% LIMIT_INPUT.input_value %]"/>
494
                [% END %]
494
                [% END %]
495
                [% END %]
495
                [% END %]
496
496
Lines 530-542 var holdForPatron = function () { Link Here
530
                            <td>
530
                            <td>
531
			    [% IF ( SEARCH_RESULT.XSLTResultsRecord ) %]
531
			    [% IF ( SEARCH_RESULT.XSLTResultsRecord ) %]
532
                [% SEARCH_RESULT.result_number %].
532
                [% SEARCH_RESULT.result_number %].
533
				[% SEARCH_RESULT.XSLTResultsRecord %]
533
                [% SEARCH_RESULT.XSLTResultsRecord.raw %]
534
			    [% ELSE %]
534
			    [% ELSE %]
535
                                <p>[% SEARCH_RESULT.result_number %].
535
                                <p>[% SEARCH_RESULT.result_number %].
536
                                 [% biblionumber = SEARCH_RESULT.biblionumber %]
536
                                 [% biblionumber = SEARCH_RESULT.biblionumber %]
537
537
538
				[% INCLUDE 'biblio-default-view.inc' %]
538
				[% INCLUDE 'biblio-default-view.inc' %]
539
                                            <b>[% IF ( SEARCH_RESULT.title ) %][% SEARCH_RESULT.title |html %][% ELSE %]No title[% END %]</b>
539
                                            <b>[% IF ( SEARCH_RESULT.title ) %][% SEARCH_RESULT.title %][% ELSE %]No title[% END %]</b>
540
                                            </a>
540
                                            </a>
541
                                        [% FOREACH subtitl IN SEARCH_RESULT.subtitle %], [% subtitl.subfield %][% END %]
541
                                        [% FOREACH subtitl IN SEARCH_RESULT.subtitle %], [% subtitl.subfield %][% END %]
542
                                        [% IF ( SEARCH_RESULT.seriestitle ) %][% SEARCH_RESULT.seriestitle %][% END %]
542
                                        [% IF ( SEARCH_RESULT.seriestitle ) %][% SEARCH_RESULT.seriestitle %][% END %]
Lines 737-743 var holdForPatron = function () { Link Here
737
    [% IF ( outer_sup_results_loo.inner_sup_results_loop ) %]
737
    [% IF ( outer_sup_results_loo.inner_sup_results_loop ) %]
738
        [% outer_sup_results_loo.servername %]
738
        [% outer_sup_results_loo.servername %]
739
        [% FOREACH inner_sup_results_loo IN outer_sup_results_loo.inner_sup_results_loop %]
739
        [% FOREACH inner_sup_results_loo IN outer_sup_results_loo.inner_sup_results_loop %]
740
        <div><a href="/cgi-bin/koha/catalogue/search.pl?[% inner_sup_results_loo.query_cgi %][% inner_sup_results_loo.limit_cgi |html %][% inner_sup_results_loo.sort_by %][% inner_sup_results_loo.link %]">[% inner_sup_results_loo.title |html %]</a></div>
740
        <div><a href="/cgi-bin/koha/catalogue/search.pl?[% inner_sup_results_loo.query_cgi %][% inner_sup_results_loo.limit_cgi %][% inner_sup_results_loo.sort_by %][% inner_sup_results_loo.link %]">[% inner_sup_results_loo.title %]</a></div>
741
        [% END %]
741
        [% END %]
742
    [% END %]
742
    [% END %]
743
<!-- </div> -->
743
<!-- </div> -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/search-history.tt (-4 / +4 lines)
Lines 161-167 function enableCheckboxActions(form){ Link Here
161
                  <tr>
161
                  <tr>
162
                    <td><input type="checkbox" name="id" value="[% s.id %]" /></td>
162
                    <td><input type="checkbox" name="id" value="[% s.id %]" /></td>
163
                    <td><span title="[% s.time %]">[% s.time |$KohaDates with_hours => 1 %]</span></td>
163
                    <td><span title="[% s.time %]">[% s.time |$KohaDates with_hours => 1 %]</span></td>
164
                    <td><a href="/cgi-bin/koha/catalogue/search.pl?[% s.query_cgi |html %]">[% s.query_desc |html %]</a></td>
164
                    <td><a href="/cgi-bin/koha/catalogue/search.pl?[% s.query_cgi %]">[% s.query_desc %]</a></td>
165
                    <td>[% s.total %]</td>
165
                    <td>[% s.total %]</td>
166
                  </tr>
166
                  </tr>
167
                [% END %]
167
                [% END %]
Lines 198-204 function enableCheckboxActions(form){ Link Here
198
                  <tr>
198
                  <tr>
199
                    <td><input type="checkbox" name="id" value="[% s.id %]" /></td>
199
                    <td><input type="checkbox" name="id" value="[% s.id %]" /></td>
200
                    <td><span title="[% s.time %]">[% s.time |$KohaDates with_hours => 1 %]</span></td>
200
                    <td><span title="[% s.time %]">[% s.time |$KohaDates with_hours => 1 %]</span></td>
201
                    <td><a href="/cgi-bin/koha/catalogue/search.pl?[% s.query_cgi |html %]">[% s.query_desc |html %]</a></td>
201
                    <td><a href="/cgi-bin/koha/catalogue/search.pl?[% s.query_cgi %]">[% s.query_desc %]</a></td>
202
                    <td>[% s.total %]</td>
202
                    <td>[% s.total %]</td>
203
                  </tr>
203
                  </tr>
204
                [% END %]
204
                [% END %]
Lines 241-247 function enableCheckboxActions(form){ Link Here
241
                  <tr>
241
                  <tr>
242
                    <td><input type="checkbox" name="id" value="[% s.id %]" /></td>
242
                    <td><input type="checkbox" name="id" value="[% s.id %]" /></td>
243
                    <td><span title="[% s.time %]">[% s.time |$KohaDates with_hours => 1 %]</span></td>
243
                    <td><span title="[% s.time %]">[% s.time |$KohaDates with_hours => 1 %]</span></td>
244
                    <td><a href="/cgi-bin/koha/authorities/authorities-home.pl?[% s.query_cgi |html %]">[% s.query_desc |html %]</a></td>
244
                    <td><a href="/cgi-bin/koha/authorities/authorities-home.pl?[% s.query_cgi %]">[% s.query_desc %]</a></td>
245
                    <td>[% s.total %]</td>
245
                    <td>[% s.total %]</td>
246
                  </tr>
246
                  </tr>
247
                [% END %]
247
                [% END %]
Lines 278-284 function enableCheckboxActions(form){ Link Here
278
                  <tr>
278
                  <tr>
279
                    <td><input type="checkbox" name="id" value="[% s.id %]" /></td>
279
                    <td><input type="checkbox" name="id" value="[% s.id %]" /></td>
280
                    <td><span title="[% s.time %]">[% s.time |$KohaDates with_hours => 1 %]</span></td>
280
                    <td><span title="[% s.time %]">[% s.time |$KohaDates with_hours => 1 %]</span></td>
281
                    <td><a href="/cgi-bin/koha/authorities/authorities-home.pl?[% s.query_cgi |html %]">[% s.query_desc |html %]</a></td>
281
                    <td><a href="/cgi-bin/koha/authorities/authorities-home.pl?[% s.query_cgi %]">[% s.query_desc %]</a></td>
282
                    <td>[% s.total %]</td>
282
                    <td>[% s.total %]</td>
283
                  </tr>
283
                  </tr>
284
                [% END %]
284
                [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt (-8 / +8 lines)
Lines 1-6 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
[% 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>
3
<title>Koha &rsaquo; Cataloging &rsaquo; [% IF ( biblionumber ) %]Editing [% title %] (Record number [% biblionumber %])[% ELSE %]Add MARC record[% END %]</title>
4
[% INCLUDE 'doc-head-close.inc' %]
4
[% INCLUDE 'doc-head-close.inc' %]
5
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.fixFloat.js"></script>
5
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.fixFloat.js"></script>
6
<script type="text/javascript" src="[% interface %]/[% theme %]/js/cataloging.js"></script>
6
<script type="text/javascript" src="[% interface %]/[% theme %]/js/cataloging.js"></script>
Lines 244-250 function AreMandatoriesNotOk(){ Link Here
244
    		[% FOREACH subfield_loo IN innerloo.subfield_loop %]
244
    		[% FOREACH subfield_loo IN innerloo.subfield_loop %]
245
    			[% IF ( subfield_loo.mandatory ) %]mandatories.push("[% subfield_loo.id %]");
245
    			[% IF ( subfield_loo.mandatory ) %]mandatories.push("[% subfield_loo.id %]");
246
                   	tab.push("[% BIG_LOO.number %]");
246
                   	tab.push("[% BIG_LOO.number %]");
247
                   	label.push("[% subfield_loo.marc_lib %]");
247
                    label.push("[% subfield_loo.marc_lib.raw %]");
248
                [% END %]
248
                [% END %]
249
            [% END %]
249
            [% END %]
250
        [% END %]
250
        [% END %]
Lines 401-407 function Changefwk() { Link Here
401
401
402
[% INCLUDE 'header.inc' %]
402
[% INCLUDE 'header.inc' %]
403
403
404
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a>  &rsaquo; [% IF ( biblionumber ) %]Editing <em>[% title |html %]</em> (Record number [% biblionumber %])[% ELSE %]Add MARC record[% END %]</div>
404
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a>  &rsaquo; [% IF ( biblionumber ) %]Editing <em>[% title %]</em> (Record number [% biblionumber %])[% ELSE %]Add MARC record[% END %]</div>
405
405
406
<div id="doc" class="yui-t7">
406
<div id="doc" class="yui-t7">
407
407
Lines 410-416 function Changefwk() { Link Here
410
        <div class="yui-g">
410
        <div class="yui-g">
411
411
412
<h1>
412
<h1>
413
[% IF ( biblionumber ) %]Editing <em>[% title |html %]</em> (Record number [% biblionumber %])
413
[% IF ( biblionumber ) %]Editing <em>[% title %]</em> (Record number [% biblionumber %])
414
[% ELSE %]Add MARC record [% IF (circborrowernumber) %]<em>(fast cataloging)</em>[% END %]
414
[% ELSE %]Add MARC record [% IF (circborrowernumber) %]<em>(fast cataloging)</em>[% END %]
415
[% END %]
415
[% END %]
416
</h1>
416
</h1>
Lines 438-444 function Changefwk() { Link Here
438
[% IF ( done ) %]
438
[% IF ( done ) %]
439
    <script type="text/javascript">
439
    <script type="text/javascript">
440
        opener.document.forms['f'].biblionumber.value=[% biblionumber %];
440
        opener.document.forms['f'].biblionumber.value=[% biblionumber %];
441
        opener.document.forms['f'].title.value='[% title |html %]';
441
        opener.document.forms['f'].title.value='[% title %]';
442
        window.close();
442
        window.close();
443
    </script>
443
    </script>
444
[% ELSE %]
444
[% ELSE %]
Lines 636-642 function Changefwk() { Link Here
636
                        <img class="buttonUp" src="[% interface %]/[% theme %]/img/up.png" onclick="upSubfield('subfield[% subfield_loo.tag %][% subfield_loo.subfield %][% subfield_loo.random %]')" alt="Move Up" title="Move Up" />
636
                        <img class="buttonUp" src="[% interface %]/[% theme %]/img/up.png" onclick="upSubfield('subfield[% subfield_loo.tag %][% subfield_loo.subfield %][% subfield_loo.random %]')" alt="Move Up" title="Move Up" />
637
                    [% END %]
637
                    [% END %]
638
                        <input type="text"
638
                        <input type="text"
639
                            title="[% subfield_loo.marc_lib %]"
639
                            title="[% subfield_loo.marc_lib.raw %]"
640
                            style=" [% IF ( subfield_loo.fixedfield ) %]display:none; [% END %]border:0;"
640
                            style=" [% IF ( subfield_loo.fixedfield ) %]display:none; [% END %]border:0;"
641
                            name="tag_[% subfield_loo.tag %]_code_[% subfield_loo.subfield %]_[% subfield_loo.index %]_[% subfield_loo.index_subfield %]"
641
                            name="tag_[% subfield_loo.tag %]_code_[% subfield_loo.subfield %]_[% subfield_loo.index %]_[% subfield_loo.index_subfield %]"
642
                            value="[% subfield_loo.subfield %]"
642
                            value="[% subfield_loo.subfield %]"
Lines 648-654 function Changefwk() { Link Here
648
648
649
                [% UNLESS advancedMARCEditor %]
649
                [% UNLESS advancedMARCEditor %]
650
                    [% IF ( subfield_loo.mandatory ) %]<span class="subfield subfield_mandatory">[% ELSE %]<span class="subfield">[% END %]
650
                    [% IF ( subfield_loo.mandatory ) %]<span class="subfield subfield_mandatory">[% ELSE %]<span class="subfield">[% END %]
651
                        [% subfield_loo.marc_lib %]
651
                        [% subfield_loo.marc_lib.raw %]
652
                        [% IF ( subfield_loo.mandatory ) %]<span class="mandatory_marker" title="This field is mandatory">*</span>[% END %]
652
                        [% IF ( subfield_loo.mandatory ) %]<span class="mandatory_marker" title="This field is mandatory">*</span>[% END %]
653
                    </span>
653
                    </span>
654
                    </label>
654
                    </label>
Lines 673-679 function Changefwk() { Link Here
673
                            <a href="#" id="buttonDot_[% mv.id %]" class="buttonDot tag_editor framework_plugin" tabindex="1" title="Tag editor">Tag editor</a>
673
                            <a href="#" id="buttonDot_[% mv.id %]" class="buttonDot tag_editor framework_plugin" tabindex="1" title="Tag editor">Tag editor</a>
674
                        [% END %]
674
                        [% END %]
675
                    </span>
675
                    </span>
676
                    [% mv.javascript %]
676
                    [% mv.javascript.raw %]
677
                [% ELSIF ( mv.type == 'hidden' ) %]
677
                [% ELSIF ( mv.type == 'hidden' ) %]
678
                    <input tabindex="1" type="hidden" id="[%- mv.id -%]" name="[%- mv.name -%]" size="[%- mv.size -%]" maxlength="[%- mv.maxlength -%]" value="[%- mv.value -%]" />
678
                    <input tabindex="1" type="hidden" id="[%- mv.id -%]" name="[%- mv.name -%]" size="[%- mv.size -%]" maxlength="[%- mv.maxlength -%]" value="[%- mv.value -%]" />
679
                [% ELSIF ( mv.type == 'textarea' ) %]
679
                [% ELSIF ( mv.type == 'textarea' ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt (-3 / +3 lines)
Lines 134-140 Link Here
134
    [% total %] result(s) found in catalog,
134
    [% total %] result(s) found in catalog,
135
    <a href="#searchresult-breeding">[% breeding_count %] result(s) found in reservoir</a>
135
    <a href="#searchresult-breeding">[% breeding_count %] result(s) found in reservoir</a>
136
</div>
136
</div>
137
<div class="pages">[% pagination_bar %]</div>
137
<div class="pages">[% pagination_bar.raw %]</div>
138
<div class="searchresults">
138
<div class="searchresults">
139
    <table>
139
    <table>
140
        <tr>
140
        <tr>
Lines 148-154 Link Here
148
            <td><input type="checkbox" class="selection" id="bib[% resultsloo.biblionumber %]" name="biblionumber" value="[% resultsloo.biblionumber %]" /></td>
148
            <td><input type="checkbox" class="selection" id="bib[% resultsloo.biblionumber %]" name="biblionumber" value="[% resultsloo.biblionumber %]" /></td>
149
            <td>
149
            <td>
150
                <p>
150
                <p>
151
                    <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% resultsloo.biblionumber %]">[% resultsloo.title |html %]</a>
151
                    <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% resultsloo.biblionumber %]">[% resultsloo.title %]</a>
152
                [% FOREACH subtitl IN resultsloo.subtitle %][% subtitl.subfield %][% END %]</p>
152
                [% FOREACH subtitl IN resultsloo.subtitle %][% subtitl.subfield %][% END %]</p>
153
                [% IF ( resultsloo.summary ) %]
153
                [% IF ( resultsloo.summary ) %]
154
                    <p>[% resultsloo.summary %]</p>
154
                    <p>[% resultsloo.summary %]</p>
Lines 238-244 Link Here
238
            </tr>
238
            </tr>
239
            [% FOREACH breeding_loo IN breeding_loop %]
239
            [% FOREACH breeding_loo IN breeding_loop %]
240
               <tr>
240
               <tr>
241
                <td>[% breeding_loo.title |html %]
241
                <td>[% breeding_loo.title %]
242
                [% breeding_loo.author %]</td>
242
                [% breeding_loo.author %]</td>
243
                <td>[% breeding_loo.isbn %]</td>
243
                <td>[% breeding_loo.isbn %]</td>
244
                <td>[% breeding_loo.copyrightdate %]</td>
244
                <td>[% breeding_loo.copyrightdate %]</td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt (-8 / +8 lines)
Lines 2-8 Link Here
2
[% USE ColumnsSettings %]
2
[% USE ColumnsSettings %]
3
3
4
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Koha &rsaquo; Cataloging &rsaquo; [% title |html %] [% IF ( author ) %] by [% author | html %][% END %] (Record #[% biblionumber %]) &rsaquo; Items</title>
5
<title>Koha &rsaquo; Cataloging &rsaquo; [% title %] [% IF ( author ) %] by [% author %][% END %] (Record #[% biblionumber %]) &rsaquo; Items</title>
6
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
6
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
7
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'datatables.inc' %]
8
[% INCLUDE 'datatables.inc' %]
Lines 51-57 $(document).ready(function(){ Link Here
51
                });
51
                });
52
            });
52
            });
53
53
54
    var columns_settings = [% ColumnsSettings.GetColumns( 'cataloguing', 'additem', 'itemst', 'json' ) %]
54
    var columns_settings = [% ColumnsSettings.GetColumns( 'cataloguing', 'additem', 'itemst', 'json' ).raw %]
55
    // Skip the first column
55
    // Skip the first column
56
    columns_settings.unshift( { cannot_be_toggled: "1" } );
56
    columns_settings.unshift( { cannot_be_toggled: "1" } );
57
57
Lines 146-152 function confirm_deletion() { Link Here
146
<div id="breadcrumbs">
146
<div id="breadcrumbs">
147
          <a href="/cgi-bin/koha/mainpage.pl">Home</a>
147
          <a href="/cgi-bin/koha/mainpage.pl">Home</a>
148
 &rsaquo; <a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a>
148
 &rsaquo; <a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a>
149
 &rsaquo; Edit <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% biblionumber %]">[% title |html %] [% IF ( author ) %] by [% author | html %][% END %] (Record #[% biblionumber %])</a>
149
 &rsaquo; Edit <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% biblionumber %]">[% title %] [% IF ( author ) %] by [% author %][% END %] (Record #[% biblionumber %])</a>
150
 &rsaquo; <a href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% biblionumber %]">Items</a>
150
 &rsaquo; <a href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% biblionumber %]">Items</a>
151
</div>
151
</div>
152
152
Lines 155-161 function confirm_deletion() { Link Here
155
   <div id="bd">
155
   <div id="bd">
156
	<div id="yui-main">
156
	<div id="yui-main">
157
157
158
<h1>Items for [% title |html %] [% IF ( author ) %] by [% author | html %][% END %] (Record #[% biblionumber %])</h1>
158
<h1>Items for [% title %] [% IF ( author ) %] by [% author %][% END %] (Record #[% biblionumber %])</h1>
159
159
160
[% IF ( barcode_not_unique ) %]<div class="dialog alert"><strong>Error saving item</strong>: Barcode must be unique.</div>[% END %]
160
[% IF ( barcode_not_unique ) %]<div class="dialog alert"><strong>Error saving item</strong>: Barcode must be unique.</div>[% END %]
161
[% IF ( no_next_barcode ) %]<div class="dialog alert"><strong>Error saving items</strong>: Unable to automatically determine values for barcodes. No item has been inserted.</div>[% END %]
161
[% IF ( no_next_barcode ) %]<div class="dialog alert"><strong>Error saving items</strong>: Unable to automatically determine values for barcodes. No item has been inserted.</div>[% END %]
Lines 226-232 function confirm_deletion() { Link Here
226
                      </td>
226
                      </td>
227
                    [% END %]
227
                    [% END %]
228
                [% FOREACH item_valu IN item_loo.item_value %]
228
                [% FOREACH item_valu IN item_loo.item_value %]
229
                    <td>[% item_valu.field |html %]</td>
229
                    <td>[% item_valu.field %]</td>
230
                [% END %]
230
                [% END %]
231
                </tr>
231
                </tr>
232
                [% END %]
232
                [% END %]
Lines 257-265 function confirm_deletion() { Link Here
257
        [% FOREACH ite IN item %]
257
        [% FOREACH ite IN item %]
258
               <li><div class="subfield_line" style="[% ite.visibility %]" id="subfield[% ite.tag %][% ite.subfield %][% ite.random %]">
258
               <li><div class="subfield_line" style="[% ite.visibility %]" id="subfield[% ite.tag %][% ite.subfield %][% ite.random %]">
259
                [% IF ( ite.mandatory ) %]
259
                [% IF ( ite.mandatory ) %]
260
               <label class="required">[% ite.subfield %] - [% ite.marc_lib %]</label>
260
               <label class="required">[% ite.subfield %] - [% ite.marc_lib.raw %]</label>
261
               [% ELSE %]
261
               [% ELSE %]
262
               <label>[% ite.subfield %] - [% ite.marc_lib %]</label>
262
               <label>[% ite.subfield %] - [% ite.marc_lib.raw %]</label>
263
               [% END %]
263
               [% END %]
264
264
265
                [% SET mv = ite.marc_value %]
265
                [% SET mv = ite.marc_value %]
Lines 290-296 function confirm_deletion() { Link Here
290
                    [% ELSE  %]
290
                    [% ELSE  %]
291
                        <a href="#" id="buttonDot_[%- mv.id -%]" class="[%- mv.class -%]" title="Tag editor">...</a>
291
                        <a href="#" id="buttonDot_[%- mv.id -%]" class="[%- mv.class -%]" title="Tag editor">...</a>
292
                    [% END %]
292
                    [% END %]
293
                    [%- mv.javascript -%]
293
                    [%- mv.javascript.raw -%]
294
                [% ELSIF ( mv.type == 'text' ) %]
294
                [% ELSIF ( mv.type == 'text' ) %]
295
                    <input type="text" id="[%- mv.id -%]" name="field_value" class="input_marceditor" size="50" maxlength="[%- mv.maxlength -%]" value="[%- mv.value -%]" />
295
                    <input type="text" id="[%- mv.id -%]" name="field_value" class="input_marceditor" size="50" maxlength="[%- mv.maxlength -%]" value="[%- mv.value -%]" />
296
                [% ELSIF ( mv.type == 'textarea' ) %]
296
                [% ELSIF ( mv.type == 'textarea' ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/linkitem.tt (-3 / +3 lines)
Lines 5-11 Link Here
5
<body id="catalog_linkitem" class="catalog">
5
<body id="catalog_linkitem" class="catalog">
6
[% INCLUDE 'header.inc' %]
6
[% INCLUDE 'header.inc' %]
7
[% INCLUDE 'cat-search.inc' %]
7
[% INCLUDE 'cat-search.inc' %]
8
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a>  &rsaquo; Link a host item to <i>[% bibliotitle |html %]</i></div>
8
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a>  &rsaquo; Link a host item to <i>[% bibliotitle %]</i></div>
9
<div id="doc3" class="yui-t2">
9
<div id="doc3" class="yui-t2">
10
10
11
[% IF ( error ) %]
11
[% IF ( error ) %]
Lines 20-26 Link Here
20
    </form>
20
    </form>
21
[% ELSE %]
21
[% ELSE %]
22
    [% IF ( success ) %]
22
    [% IF ( success ) %]
23
	<div class="dialog">The item has successfully been linked to <i>[% bibliotitle |html %]</i>.</div>    
23
    <div class="dialog">The item has successfully been linked to <i>[% bibliotitle %]</i>.</div>
24
	<form action="/cgi-bin/koha/catalogue/MARCdetail.pl" method="post">
24
	<form action="/cgi-bin/koha/catalogue/MARCdetail.pl" method="post">
25
	    <input type="submit" value="OK" />
25
	    <input type="submit" value="OK" />
26
	    <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
26
	    <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
Lines 40-46 Link Here
40
40
41
    	    [% IF ( missingbarcode ) %]
41
    	    [% IF ( missingbarcode ) %]
42
	    <fieldset id="barcode_fieldset">
42
	    <fieldset id="barcode_fieldset">
43
		<label for="barcode_fieldset">Select the host item to link[% IF ( bibliotitle ) %] to <i>[% bibliotitle |html %]</i>[% END %]</label>
43
        <label for="barcode_fieldset">Select the host item to link[% IF ( bibliotitle ) %] to <i>[% bibliotitle %]</i>[% END %]</label>
44
		    <div class="hint">Enter item barcode:</div>
44
		    <div class="hint">Enter item barcode:</div>
45
		    <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" /> 
45
		    <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" /> 
46
	    </fieldset>
46
	    </fieldset>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt (-4 / +4 lines)
Lines 1-11 Link Here
1
[% INCLUDE 'doc-head-open.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Attach an item to [% bibliotitle |html %]</title>
2
<title>Attach an item to [% bibliotitle %]</title>
3
[% INCLUDE 'doc-head-close.inc' %]
3
[% INCLUDE 'doc-head-close.inc' %]
4
</head>
4
</head>
5
<body id="catalog_moveitem" class="catalog">
5
<body id="catalog_moveitem" class="catalog">
6
[% INCLUDE 'header.inc' %]
6
[% INCLUDE 'header.inc' %]
7
[% INCLUDE 'cat-search.inc' %]
7
[% INCLUDE 'cat-search.inc' %]
8
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a>  &rsaquo; Attach an item to <i>[% bibliotitle |html %][% IF ( itemsloo.subtitle ) %][% itemsloo.subtitle %][% END %]</i></div>
8
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a>  &rsaquo; Attach an item to <i>[% bibliotitle %][% IF ( itemsloo.subtitle ) %][% itemsloo.subtitle %][% END %]</i></div>
9
<div id="doc" class="yui-t7">
9
<div id="doc" class="yui-t7">
10
10
11
[% BLOCK actions %]
11
[% BLOCK actions %]
Lines 52-58 Link Here
52
52
53
	[% ELSE %]
53
	[% ELSE %]
54
	    [% IF ( success ) %]
54
	    [% IF ( success ) %]
55
			<div class="dialog message">The item has successfully been attached to [% INCLUDE 'biblio-default-view.inc' %]<i>[% bibliotitle |html %]</i></a>.
55
            <div class="dialog message">The item has successfully been attached to [% INCLUDE 'biblio-default-view.inc' %]<i>[% bibliotitle %]</i></a>.
56
			<p>
56
			<p>
57
			[% INCLUDE actions %]
57
			[% INCLUDE actions %]
58
                    <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> OK</button>
58
                    <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> OK</button>
Lines 79-85 Link Here
79
	    [% END %]
79
	    [% END %]
80
80
81
		[% IF ( missingbarcode ) %]
81
		[% IF ( missingbarcode ) %]
82
		<h3>Attach an item[% IF ( bibliotitle ) %] to <i>[% bibliotitle |html %]</i>[% END %]</h3>
82
        <h3>Attach an item[% IF ( bibliotitle ) %] to <i>[% bibliotitle %]</i>[% END %]</h3>
83
	    <fieldset id="barcode_fieldset">
83
	    <fieldset id="barcode_fieldset">
84
		<label for="barcode">Enter the barcode of the item to attach:</label>
84
		<label for="barcode">Enter the barcode of the item to attach:</label>
85
		    <p class="hint">The item you select will be moved to the target record.</p>
85
		    <p class="hint">The item you select will be moved to the target record.</p>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/macles.tt (-7 / +7 lines)
Lines 43-59 Link Here
43
                <tr>
43
                <tr>
44
                <th>Espace\Temps</th>
44
                <th>Espace\Temps</th>
45
                [% FOREACH col_hd IN BIGLOO.col_hdr %]
45
                [% FOREACH col_hd IN BIGLOO.col_hdr %]
46
                    <th scope="col" id="[% col_hd.colvalue %]">  [% col_hd.collib |html %] <br /><input type="checkbox" name="[% col_hd.colvalue %]" onclick="check_col('[% col_hd.colvalue %]')" />
46
                    <th scope="col" id="[% col_hd.colvalue %]">  [% col_hd.collib %] <br /><input type="checkbox" name="[% col_hd.colvalue %]" onclick="check_col('[% col_hd.colvalue %]')" />
47
                    </th>
47
                    </th>
48
                [% END %]
48
                [% END %]
49
                </tr>
49
                </tr>
50
                [% FOREACH line IN BIGLOO.lines %]
50
                [% FOREACH line IN BIGLOO.lines %]
51
                <tr>
51
                <tr>
52
                    <th scope="row" id="[% line.rowvalue %]">  [% line.rowlib |html %] <br /><input type="checkbox" name="[% line.rowvalue %]" onclick="check_row('[% line.rowvalue %]')" />
52
                    <th scope="row" id="[% line.rowvalue %]">  [% line.rowlib %] <br /><input type="checkbox" name="[% line.rowvalue %]" onclick="check_row('[% line.rowvalue %]')" />
53
                    </th>
53
                    </th>
54
                    [% FOREACH cell IN line.cells %]
54
                    [% FOREACH cell IN line.cells %]
55
                    <td headers="[% cell.rowvalue %] [% cell.colvalue %]">
55
                    <td headers="[% cell.rowvalue %] [% cell.colvalue %]">
56
                    <span title="[% FOREACH lib IN cell.libs %][% lib.lib |html %] - [% END %]">
56
                    <span title="[% FOREACH lib IN cell.libs %][% lib.lib %] - [% END %]">
57
                    [% cell.celvalue %] <br /><input type="checkbox" name="[% cell.celvalue %]" value="[% cell.celvalue %]" />
57
                    [% cell.celvalue %] <br /><input type="checkbox" name="[% cell.celvalue %]" value="[% cell.celvalue %]" />
58
                    </span>
58
                    </span>
59
                    </td>
59
                    </td>
Lines 67-83 Link Here
67
            [% FOREACH List IN BIGLOO.Lists %]
67
            [% FOREACH List IN BIGLOO.Lists %]
68
                <h3>[% List.lib %]</h3>
68
                <h3>[% List.lib %]</h3>
69
                [% FOREACH liblis IN List.liblist %]
69
                [% FOREACH liblis IN List.liblist %]
70
                <a href="#[% liblis.listvalue %]" onclick="check_multiple([% liblis.listvalue %])"> [% liblis.listlib |html %]</a><br />
70
                <a href="#[% liblis.listvalue %]" onclick="check_multiple([% liblis.listvalue %])"> [% liblis.listlib %]</a><br />
71
                [% END %]
71
                [% END %]
72
            [% END %]
72
            [% END %]
73
            [% END %]
73
            [% END %]
74
            [% UNLESS ( BIGLOO.Table ) %]
74
            [% UNLESS ( BIGLOO.Table ) %]
75
            <!-- Listes simples :Onglets 0 et 9-->
75
            <!-- Listes simples :Onglets 0 et 9-->
76
            [% FOREACH line IN BIGLOO.lines %]
76
            [% FOREACH line IN BIGLOO.lines %]
77
                <h3>[% line.rowvalue |html %]&nbsp;-&nbsp;[% line.rowlib |html %]&nbsp;<input type="checkbox" name="[% line.rowvalue %]" onclick="check_row('[% line.rowvalue %]')" /></h3>
77
                <h3>[% line.rowvalue %]&nbsp;-&nbsp;[% line.rowlib %]&nbsp;<input type="checkbox" name="[% line.rowvalue %]" onclick="check_row('[% line.rowvalue %]')" /></h3>
78
                [% FOREACH cell IN line.cells %]
78
                [% FOREACH cell IN line.cells %]
79
                <p>[% cell.celvalue |html %]&nbsp;-&nbsp;[% FOREACH lib IN cell.libs %]
79
                <p>[% cell.celvalue %]&nbsp;-&nbsp;[% FOREACH lib IN cell.libs %]
80
                        [% lib.lib |html %] &nbsp;
80
                        [% lib.lib %] &nbsp;
81
                    [% END %]
81
                    [% END %]
82
                    <input type="checkbox" name="[% cell.celvalue %]" value="[% cell.celvalue %]" />
82
                    <input type="checkbox" name="[% cell.celvalue %]" value="[% cell.celvalue %]" />
83
                </p>
83
                </p>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_linking_section.tt (-2 / +3 lines)
Lines 171-179 Link Here
171
                                    [% IF ( resul.even ) %]<td class="hilighted">
171
                                    [% IF ( resul.even ) %]<td class="hilighted">
172
                                    [% ELSE %]<td>[% END %]
172
                                    [% ELSE %]<td>[% END %]
173
                                                            [% IF ( resul.MARC_ON ) %]
173
                                                            [% IF ( resul.MARC_ON ) %]
174
                                                                    <a_class="transparent resultlist" href="/cgi-bin/koha/MARCdetail.pl?biblionumber=[% resul.biblionumber |url %]">[% resul.title |html %]</a>
174
                                                                    <a_class="transparent resultlist" href="/cgi-bin/koha/MARCdetail.pl?biblionumber=[% resul.biblionumber |url %]">[% resul.title %]</a>
175
                                                            [% ELSE %]
175
                                                            [% ELSE %]
176
                                                                    <a_class="transparent resultlist" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% resul.biblionumber |url %]">[% resul.title |html %]</a>				[% END %]
176
                                                                    <a_class="transparent resultlist" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% resul.biblionumber |url %]">[% resul.title %]</a>
177
                                                            [% END %]
177
                                                    <p>[% resul.author %]
178
                                                    <p>[% resul.author %]
178
                                                    [% IF ( resul.publishercode ) %]- [% resul.publishercode %][% END %]
179
                                                    [% IF ( resul.publishercode ) %]- [% resul.publishercode %][% END %]
179
                                                    [% IF ( resul.place ) %] ; [% resul.place %][% END %]
180
                                                    [% IF ( resul.place ) %] ; [% resul.place %][% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_210c.tt (-2 / +2 lines)
Lines 41-47 Link Here
41
            [% IF ( total ) %]
41
            [% IF ( total ) %]
42
            <h3>Authority search results</h3>
42
            <h3>Authority search results</h3>
43
            <div class="pages">
43
            <div class="pages">
44
                          [% pagination_bar %]      
44
                          [% pagination_bar.raw %]
45
                        </div>[% END %]
45
                        </div>[% END %]
46
            <p>
46
            <p>
47
                [% IF ( total ) %]
47
                [% IF ( total ) %]
Lines 74-80 Link Here
74
[% END %]
74
[% END %]
75
75
76
            [% IF ( total ) %]<div class="pages">
76
            [% IF ( total ) %]<div class="pages">
77
                          [% pagination_bar %]      
77
                          [% pagination_bar.raw %]
78
                        </div>
78
                        </div>
79
            [% END %]
79
            [% END %]
80
<script type="text/javascript">
80
<script type="text/javascript">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_4XX.tt (-11 / +11 lines)
Lines 129-135 Link Here
129
				<select name="itype" id="itypeloop">
129
				<select name="itype" id="itypeloop">
130
                <option value="">All item types</option>
130
                <option value="">All item types</option>
131
				[% FOREACH itypeloo IN itypeloop %]
131
				[% FOREACH itypeloo IN itypeloop %]
132
                <option value="[% itypeloo.itemtype %]">[% itypeloo.description |html %]</option>
132
                <option value="[% itypeloo.itemtype %]">[% itypeloo.description %]</option>
133
				[% END %]
133
				[% END %]
134
				</select>
134
				</select>
135
			</p>
135
			</p>
Lines 172-195 Link Here
172
                                    [% IF ( resul.even ) %]<td class="hilighted">
172
                                    [% IF ( resul.even ) %]<td class="hilighted">
173
                                    [% ELSE %]<td>[% END %]
173
                                    [% ELSE %]<td>[% END %]
174
                                                            [% IF ( resul.MARC_ON ) %]
174
                                                            [% IF ( resul.MARC_ON ) %]
175
                                                                    <a class="transparent resultlist" href="/cgi-bin/koha/MARCdetail.pl?biblionumber=[% resul.biblionumber |url %]">[% resul.title |html %]</a>
175
                                                                    <a class="transparent resultlist" href="/cgi-bin/koha/MARCdetail.pl?biblionumber=[% resul.biblionumber |url %]">[% resul.title %]</a>
176
                                                            [% ELSE %]
176
                                                            [% ELSE %]
177
                                                                    <a class="transparent resultlist" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% resul.biblionumber |url %]">[% resul.fulltitle |html %]</a>[% END %]
177
                                                                    <a class="transparent resultlist" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% resul.biblionumber |url %]">[% resul.fulltitle %]</a>[% END %]
178
                                                    <p>[% resul.author |html %]
178
                                                    <p>[% resul.author %]
179
                                                    [% IF ( resul.publishercode ) %]- [% resul.publishercode |html %][% END %]
179
                                                    [% IF ( resul.publishercode ) %]- [% resul.publishercode %][% END %]
180
                                                    [% IF ( resul.place ) %] ; [% resul.place |html %][% END %]
180
                                                    [% IF ( resul.place ) %] ; [% resul.place %][% END %]
181
                                                    [% IF ( resul.pages ) %] - [% resul.pages |html %][% END %]
181
                                                    [% IF ( resul.pages ) %] - [% resul.pages %][% END %]
182
                                                    [% IF ( resul.notes ) %] : [% resul.notes |html %][% END %]
182
                                                    [% IF ( resul.notes ) %] : [% resul.notes %][% END %]
183
                                                    [% IF ( resul.item('size') ) %] ; [% resul.item('size') |html %][% END %]
183
                                                    [% IF ( resul.item('size') ) %] ; [% resul.item('size') %][% END %]
184
                                            </p>
184
                                            </p>
185
					</td>
185
					</td>
186
                    [% IF ( resul.even ) %]<td align="center" class="hilighted">
186
                    [% IF ( resul.even ) %]<td align="center" class="hilighted">
187
                    [% ELSE %]<td align="center">[% END %]
187
                    [% ELSE %]<td align="center">[% END %]
188
                        [% resul.totitem |html %]
188
                        [% resul.totitem %]
189
					</td>
189
					</td>
190
                    [% IF ( resul.even ) %]<td class="hilighted">
190
                    [% IF ( resul.even ) %]<td class="hilighted">
191
                    [% ELSE %]<td>[% END %]
191
                    [% ELSE %]<td>[% END %]
192
                        [% resul.CN |html %]
192
                        [% resul.CN %]
193
					</td>
193
					</td>
194
					<td>
194
					<td>
195
                      [% IF ( resul.biblionumber ) %]
195
                      [% IF ( resul.biblionumber ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_686a.tt (-3 / +3 lines)
Lines 33-39 Link Here
33
                        <option value="start">starts with</option>
33
                        <option value="start">starts with</option>
34
                        <option value="is">is exactly</option>
34
                        <option value="is">is exactly</option>
35
                    </select>
35
                    </select>
36
                    <input type="text" name="value_mainstr" value="[% value_mainstr |html %]" />
36
                    <input type="text" name="value_mainstr" value="[% value_mainstr %]" />
37
                </li>
37
                </li>
38
                <li>
38
                <li>
39
                    <label for="mainentry">Main entry</label>
39
                    <label for="mainentry">Main entry</label>
Lines 45-51 Link Here
45
                        <option value="start">starts with</option>
45
                        <option value="start">starts with</option>
46
                        <option value="is">is exactly</option>
46
                        <option value="is">is exactly</option>
47
                    </select>
47
                    </select>
48
                    <input type="text" name="value_main" value="[% value_main |html %]" />
48
                    <input type="text" name="value_main" value="[% value_main %]" />
49
                </li>
49
                </li>
50
                <li>
50
                <li>
51
                    <label for="marclist">Anywhere</label>
51
                    <label for="marclist">Anywhere</label>
Lines 57-63 Link Here
57
                        <option value="start">starts with</option>
57
                        <option value="start">starts with</option>
58
                        <option value="is">is exactly</option>
58
                        <option value="is">is exactly</option>
59
                    </select>
59
                    </select>
60
                    <input type="text" name="value_any" value="[% value_any |html %]" />
60
                    <input type="text" name="value_any" value="[% value_any %]" />
61
                </li>
61
                </li>
62
                <li>
62
                <li>
63
                    <label for="orderby">Sort by </label>
63
                    <label for="orderby">Sort by </label>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt (-5 / +5 lines)
Lines 72-80 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
72
                    <li><label for="srchany">Keyword (any): </label> <input type="text" id="srchany" name="srchany" value="" /></li>
72
                    <li><label for="srchany">Keyword (any): </label> <input type="text" id="srchany" name="srchany" value="" /></li>
73
                    <li><label for="nameany">Name (any): </label> <input type="text" id="nameany" name="nameany" value="" /></li>
73
                    <li><label for="nameany">Name (any): </label> <input type="text" id="nameany" name="nameany" value="" /></li>
74
                    <li><label for="authorany">Author (any): </label> <input type="text" id="authorany" name="authorany" value="" /></li>
74
                    <li><label for="authorany">Author (any): </label> <input type="text" id="authorany" name="authorany" value="" /></li>
75
                    <li><label for="authorpersonal">Author (personal): </label> <input type="text" id="authorpersonal" name="authorpersonal" value="[% authorpersonal | html %]" /></li>
75
                    <li><label for="authorpersonal">Author (personal): </label> <input type="text" id="authorpersonal" name="authorpersonal" value="[% authorpersonal %]" /></li>
76
                    <li><label for="authorcorp">Author (corporate): </label> <input type="text" id="authorcorp" name="authorcorp" value="[% authorcorp | html %]" /></li>
76
                    <li><label for="authorcorp">Author (corporate): </label> <input type="text" id="authorcorp" name="authorcorp" value="[% authorcorp %]" /></li>
77
                    <li><label for="authormeetingcon">Author (meeting/conference): </label> <input type="text" id="authormeetingcon" name="authormeetingcon" value="[% authormeetingcon | html %]" /></li>
77
                    <li><label for="authormeetingcon">Author (meeting/conference): </label> <input type="text" id="authormeetingcon" name="authormeetingcon" value="[% authormeetingcon %]" /></li>
78
                </ol>
78
                </ol>
79
                </fieldset>
79
                </fieldset>
80
            </div>
80
            </div>
Lines 83-90 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
83
                <ol>
83
                <ol>
84
                    <li><label for="subject">Subject heading: </label> <input type="text" id="subject" name="subject" value="" /></li>
84
                    <li><label for="subject">Subject heading: </label> <input type="text" id="subject" name="subject" value="" /></li>
85
                    <li><label for="subjectsubdiv">Subject sub-division: </label> <input type="text" id="subjectsubdiv" name="subjectsubdiv" value="" /></li>
85
                    <li><label for="subjectsubdiv">Subject sub-division: </label> <input type="text" id="subjectsubdiv" name="subjectsubdiv" value="" /></li>
86
                    <li><label for="title">Title (any): </label> <input type="text" id="title"  name="title" value="[% title | html %]" /></li>
86
                    <li><label for="title">Title (any): </label> <input type="text" id="title"  name="title" value="[% title %]" /></li>
87
                    <li><label for="uniformtitle">Title (uniform): </label> <input type="text" id="uniformtitle"  name="uniformtitle" value="[% uniformtitle | html %]" /></li>
87
                    <li><label for="uniformtitle">Title (uniform): </label> <input type="text" id="uniformtitle"  name="uniformtitle" value="[% uniformtitle %]" /></li>
88
                    <li><a id="resetZ3950Search" href="#"><i class="fa fa-trash"></i> Clear search form</a></li>
88
                    <li><a id="resetZ3950Search" href="#"><i class="fa fa-trash"></i> Clear search form</a></li>
89
                </ol>
89
                </ol>
90
                </fieldset>
90
                </fieldset>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt (-29 / +29 lines)
Lines 70-79 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
70
    <div class="yui-u first">
70
    <div class="yui-u first">
71
	    <fieldset class="rows"> 
71
	    <fieldset class="rows"> 
72
        <ol>
72
        <ol>
73
        <li><label for="isbn">ISBN: </label> <input type="text" id="isbn" name="isbn" value="[% isbn | html %]" /></li>
73
        <li><label for="isbn">ISBN: </label> <input type="text" id="isbn" name="isbn" value="[% isbn %]" /></li>
74
        <li><label for="issn">ISSN: </label> <input type="text" id="issn" name="issn" value="[% issn | html %]" /></li>
74
        <li><label for="issn">ISSN: </label> <input type="text" id="issn" name="issn" value="[% issn %]" /></li>
75
        <li><label for="title">Title: </label> <input type="text" id="title"  name="title" value="[% title |html %]" /></li>
75
        <li><label for="title">Title: </label> <input type="text" id="title"  name="title" value="[% title %]" /></li>
76
        <li><label for="author">Author: </label> <input type="text" id="author" name="author" value="[% author | html %]" /></li>
76
        <li><label for="author">Author: </label> <input type="text" id="author" name="author" value="[% author %]" /></li>
77
        <li><label for="subject">Subject heading: </label> <input type="text" id="subject" name="subject" value="" /></li>
77
        <li><label for="subject">Subject heading: </label> <input type="text" id="subject" name="subject" value="" /></li>
78
        <li><label for="srchany">Keyword (any): </label> <input type="text" id="srchany" name="srchany" value="" /></li>
78
        <li><label for="srchany">Keyword (any): </label> <input type="text" id="srchany" name="srchany" value="" /></li>
79
        <li><label for="lccall">LC call number: </label> <input type="text" id="lccall" name="lccall" value="" /></li>
79
        <li><label for="lccall">LC call number: </label> <input type="text" id="lccall" name="lccall" value="" /></li>
Lines 82-89 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
82
        <li><label for="stdid">Standard ID: </label> <input type="text" id="stdid" name="stdid" value="" /></li>
82
        <li><label for="stdid">Standard ID: </label> <input type="text" id="stdid" name="stdid" value="" /></li>
83
        <li><a id="resetZ3950Search" href="#"><i class="fa fa-trash"></i> Clear search form</a></li>
83
        <li><a id="resetZ3950Search" href="#"><i class="fa fa-trash"></i> Clear search form</a></li>
84
        </ol>
84
        </ol>
85
    <input type="hidden" name="biblionumber" value="[% biblionumber | html %]" />
85
    <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
86
    <input type="hidden" name="frameworkcode" value="[% frameworkcode | html %]" />
86
    <input type="hidden" name="frameworkcode" value="[% frameworkcode %]" />
87
    </div>
87
    </div>
88
    <div class="yui-g">
88
    <div class="yui-g">
89
      <h2>Search targets</h2>
89
      <h2>Search targets</h2>
Lines 109-124 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
109
[% ELSE %]
109
[% ELSE %]
110
    <h2>Results</h2>
110
    <h2>Results</h2>
111
    <p>You searched for:
111
    <p>You searched for:
112
        [% IF ( title ) %]<em>Title: </em><span class=term>[% title | html %]</span> [% END %]
112
        [% IF ( title ) %]<em>Title: </em><span class=term>[% title %]</span> [% END %]
113
        [% IF ( author ) %]<em>Author: </em><span class=term>[% author | html %]</span> [% END %]
113
        [% IF ( author ) %]<em>Author: </em><span class=term>[% author %]</span> [% END %]
114
        [% IF ( isbn ) %]<em>ISBN: </em><span class=term>[% isbn | html %]</span> [% END %]
114
        [% IF ( isbn ) %]<em>ISBN: </em><span class=term>[% isbn %]</span> [% END %]
115
        [% IF ( issn ) %]<em>ISSN: </em><span class=term>[% issn | html %]</span> [% END %]
115
        [% IF ( issn ) %]<em>ISSN: </em><span class=term>[% issn %]</span> [% END %]
116
        [% IF ( lccall ) %]<em>LC call number: </em><span class=term>[% lccall | html %]</span> [% END %]
116
        [% IF ( lccall ) %]<em>LC call number: </em><span class=term>[% lccall %]</span> [% END %]
117
        [% IF ( subject ) %]<em>Subject heading: </em><span class=term>[% subject | html %]</span> [% END %]
117
        [% IF ( subject ) %]<em>Subject heading: </em><span class=term>[% subject %]</span> [% END %]
118
        [% IF ( controlnumber ) %]<em>Control no: </em><span class=term>[% controlnumber | html %]</span> [% END %]
118
        [% IF ( controlnumber ) %]<em>Control no: </em><span class=term>[% controlnumber %]</span> [% END %]
119
        [% IF ( dewey ) %]<em>Dewey: </em><span class=term>[% dewey | html %]</span> [%END %]
119
        [% IF ( dewey ) %]<em>Dewey: </em><span class=term>[% dewey %]</span> [%END %]
120
        [% IF ( srchany ) %]<em>Raw (any): </em><span class=term>[% srchany | html %]</span> [% END %]
120
        [% IF ( srchany ) %]<em>Raw (any): </em><span class=term>[% srchany %]</span> [% END %]
121
        [% IF ( stdid ) %]<em>Standard ID: </em><span class=term>[% stdid | html %]</span> [% END %]
121
        [% IF ( stdid ) %]<em>Standard ID: </em><span class=term>[% stdid %]</span> [% END %]
122
    </p>
122
    </p>
123
    [% IF ( errconn ) %]
123
    [% IF ( errconn ) %]
124
            <div class="dialog alert">
124
            <div class="dialog alert">
Lines 153-159 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
153
153
154
	    <tr id="row[% breeding_loo.breedingid %]">
154
	    <tr id="row[% breeding_loo.breedingid %]">
155
            <td>[% breeding_loo.server %] <div class="linktools"><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.breedingid %]" class="previewData">Preview MARC</a> <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&amp;importid=[% breeding_loo.breedingid %]" class="previewData">Preview card</a> <a href="#" class="import_record" data-breedingid="[% breeding_loo.breedingid %]" data-biblionumber="[% breeding_loo.biblionumber %]" data-frameworkcode="[% frameworkcode | uri %]">Import</a><a href="#" id="close_menu" title="Close this menu"> X </a></div> </td>
155
            <td>[% breeding_loo.server %] <div class="linktools"><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.breedingid %]" class="previewData">Preview MARC</a> <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&amp;importid=[% breeding_loo.breedingid %]" class="previewData">Preview card</a> <a href="#" class="import_record" data-breedingid="[% breeding_loo.breedingid %]" data-biblionumber="[% breeding_loo.biblionumber %]" data-frameworkcode="[% frameworkcode | uri %]">Import</a><a href="#" id="close_menu" title="Close this menu"> X </a></div> </td>
156
            <td>[% breeding_loo.title |html %]</td>
156
            <td>[% breeding_loo.title %]</td>
157
            <td>[% breeding_loo.author %]</td>
157
            <td>[% breeding_loo.author %]</td>
158
            <td>[% breeding_loo.date %]</td>
158
            <td>[% breeding_loo.date %]</td>
159
            <td>[% breeding_loo.edition %]</td>
159
            <td>[% breeding_loo.edition %]</td>
Lines 185-201 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
185
    <form method="post" action="z3950_search.pl" id="page_form" name="page_form" class="checkboxed">
185
    <form method="post" action="z3950_search.pl" id="page_form" name="page_form" class="checkboxed">
186
        <input type="hidden" name="op" id="op" value="do_search" />
186
        <input type="hidden" name="op" id="op" value="do_search" />
187
        <input type="hidden" name="current_page" id="current_page" value="[% current_page %]" />
187
        <input type="hidden" name="current_page" id="current_page" value="[% current_page %]" />
188
        <input type="hidden" id="title"  name="title" value="[% title | html %]" />
188
        <input type="hidden" id="title"  name="title" value="[% title %]" />
189
        <input type="hidden" id="isbn" name="isbn" value="[% isbn | html %]" />
189
        <input type="hidden" id="isbn" name="isbn" value="[% isbn %]" />
190
        <input type="hidden" id="lccall" name="lccall" value="[% lccall | html %]" />
190
        <input type="hidden" id="lccall" name="lccall" value="[% lccall %]" />
191
        <input type="hidden" id="controlnumber" name="controlnumber" value="[% controlnumber | html %]" />
191
        <input type="hidden" id="controlnumber" name="controlnumber" value="[% controlnumber %]" />
192
        <input type="hidden" id="srchany" name="srchany" value="[% srchany | html %]" />
192
        <input type="hidden" id="srchany" name="srchany" value="[% srchany %]" />
193
        <input type="hidden" id="author" name="author" value="[% author | html %]" />
193
        <input type="hidden" id="author" name="author" value="[% author %]" />
194
        <input type="hidden" id="subject" name="subject" value="[% subject | html %]" />
194
        <input type="hidden" id="subject" name="subject" value="[% subject %]" />
195
        <input type="hidden" id="dewey" name="dewey" value="[% dewey | html %]" />
195
        <input type="hidden" id="dewey" name="dewey" value="[% dewey %]" />
196
        <input type="hidden" id="stdid" name="stdid" value="[% stdid | html %]" />
196
        <input type="hidden" id="stdid" name="stdid" value="[% stdid %]" />
197
        <input type="hidden" name="biblionumber" value="[% biblionumber | html %]" />
197
        <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
198
        <input type="hidden" name="frameworkcode" value="[% frameworkcode | html %]" />
198
        <input type="hidden" name="frameworkcode" value="[% frameworkcode %]" />
199
199
200
        [% FOREACH server IN servers %]
200
        [% FOREACH server IN servers %]
201
        <input type="hidden" name="id" id="z3950_[% server.id %]" value="[% server.id %]" />
201
        <input type="hidden" name="id" id="z3950_[% server.id %]" value="[% server.id %]" />
Lines 214-220 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
214
    [% ELSE %]
214
    [% ELSE %]
215
        <div class="dialog message">Nothing found.</div>
215
        <div class="dialog message">Nothing found.</div>
216
    [% END %]
216
    [% END %]
217
<p><form method="get" action="/cgi-bin/koha/cataloguing/z3950_search.pl"><input type="hidden" name="biblionumber" value="[% biblionumber | html %]"/><input type="hidden" name="frameworkcode" value="[% frameworkcode | html %]"/><input type="submit" value="Try another search"/></form></p>
217
<p><form method="get" action="/cgi-bin/koha/cataloguing/z3950_search.pl"><input type="hidden" name="biblionumber" value="[% biblionumber %]"/><input type="hidden" name="frameworkcode" value="[% frameworkcode %]"/><input type="submit" value="Try another search"/></form></p>
218
218
219
[% END %]
219
[% END %]
220
220
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt (-2 / +2 lines)
Lines 182-188 Link Here
182
                                        <td class="ar-title">
182
                                        <td class="ar-title">
183
                                            <p>
183
                                            <p>
184
                                                <a href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% ar.biblionumber %]">
184
                                                <a href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% ar.biblionumber %]">
185
                                                    <strong>[% ar.biblio.title | html %]</strong>
185
                                                    <strong>[% ar.biblio.title %]</strong>
186
                                                    [% FOREACH s IN itemsloo.subtitle %] [% s %][% END %]
186
                                                    [% FOREACH s IN itemsloo.subtitle %] [% s %][% END %]
187
                                                </a>
187
                                                </a>
188
                                            </p>
188
                                            </p>
Lines 310-316 Link Here
310
                                        <td class="ar-title">
310
                                        <td class="ar-title">
311
                                            <p>
311
                                            <p>
312
                                                <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% ar.biblionumber %]">
312
                                                <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% ar.biblionumber %]">
313
                                                    <strong>[% ar.biblio.title | html %]</strong>
313
                                                    <strong>[% ar.biblio.title %]</strong>
314
                                                    [% FOREACH s IN itemsloo.subtitle %] [% s %][% END %]
314
                                                    [% FOREACH s IN itemsloo.subtitle %] [% s %][% END %]
315
                                                </a>
315
                                                </a>
316
                                            </p>
316
                                            </p>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/bookcount.tt (-3 / +3 lines)
Lines 1-7 Link Here
1
[% USE KohaDates %]
1
[% USE KohaDates %]
2
[% USE Branches %]
2
[% USE Branches %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Koha &rsaquo; Circulation &rsaquo; Circulation statistics for [% title |html %]</title>
4
<title>Koha &rsaquo; Circulation &rsaquo; Circulation statistics for [% title %]</title>
5
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
6
<script type="text/javascript">
6
<script type="text/javascript">
7
$(document).ready(function(){
7
$(document).ready(function(){
Lines 13-19 $(document).ready(function(){ Link Here
13
[% INCLUDE 'header.inc' %]
13
[% INCLUDE 'header.inc' %]
14
[% INCLUDE 'circ-search.inc' %]
14
[% INCLUDE 'circ-search.inc' %]
15
15
16
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> &rsaquo; Circulation statistics for [% title |html %]</div>
16
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> &rsaquo; Circulation statistics for [% title %]</div>
17
17
18
<div id="doc3" class="yui-t2">
18
<div id="doc3" class="yui-t2">
19
   
19
   
Lines 22-28 $(document).ready(function(){ Link Here
22
	<div class="yui-b">
22
	<div class="yui-b">
23
23
24
<h2>
24
<h2>
25
[% title |html %] [% IF ( author ) %] by [% author |html %][% END %]</h2>
25
[% title %] [% IF ( author ) %] by [% author %][% END %]</h2>
26
<h3>Barcode [% barcode %]</h3>
26
<h3>Barcode [% barcode %]</h3>
27
<table>
27
<table>
28
        <tr><th>Home library</th><th>Current library</th><th>Date arrived<br />at current library </th><th>Number of checkouts<br />since last transfer</th></tr>
28
        <tr><th>Home library</th><th>Current library</th><th>Date arrived<br />at current library </th><th>Number of checkouts<br />since last transfer</th></tr>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt (-4 / +4 lines)
Lines 44-50 Link Here
44
                        [% overduesloo.date_due %]
44
                        [% overduesloo.date_due %]
45
                    </td>
45
                    </td>
46
                    <td>
46
                    <td>
47
                    [% INCLUDE 'biblio-default-view.inc' biblionumber = overduesloo.biblionumber %][% overduesloo.title |html %] [% IF ( overduesloo.subtitle ) %][% overduesloo.subtitle %][% END %]</a> [% IF ( overduesloo.author ) %] by [% overduesloo.author %][% END %]
47
                    [% INCLUDE 'biblio-default-view.inc' biblionumber = overduesloo.biblionumber %][% overduesloo.title %] [% IF ( overduesloo.subtitle ) %][% overduesloo.subtitle %][% END %]</a> [% IF ( overduesloo.author ) %] by [% overduesloo.author %][% END %]
48
48
49
                            <br />Barcode : [% overduesloo.barcode %]
49
                            <br />Barcode : [% overduesloo.barcode %]
50
                    </td>
50
                    </td>
Lines 52-58 Link Here
52
                        <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% overduesloo.borrowernumber %]">[% overduesloo.borrowersurname %], [% overduesloo.borrowerfirstname %]</a>
52
                        <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% overduesloo.borrowernumber %]">[% overduesloo.borrowersurname %], [% overduesloo.borrowerfirstname %]</a>
53
                        <br />[% overduesloo.cardnumber %]
53
                        <br />[% overduesloo.cardnumber %]
54
                        <br />[% overduesloo.borrowerphone %]<br />
54
                        <br />[% overduesloo.borrowerphone %]<br />
55
                    [% IF ( overduesloo.borroweremail ) %]<a href="mailto:[% overduesloo.borroweremail %]?subject=Overdue: [% overduesloo.title |html %]">
55
                    [% IF ( overduesloo.borroweremail ) %]<a href="mailto:[% overduesloo.borroweremail %]?subject=Overdue: [% overduesloo.title %]">
56
                    [% overduesloo.borroweremail %]</a>[% END %]
56
                    [% overduesloo.borroweremail %]</a>[% END %]
57
                    </td>
57
                    </td>
58
                    <td>[% Branches.GetName( overduesloo.homebranch ) %] [% overduesloo.itemcallnumber %]
58
                    <td>[% Branches.GetName( overduesloo.homebranch ) %] [% overduesloo.itemcallnumber %]
Lines 120-126 Link Here
120
                        </td>
120
                        </td>
121
                        <td>
121
                        <td>
122
                            <p>
122
                            <p>
123
                                <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% todayoverduesloo.biblionumber %]">[% todayoverduesloo.title |html %]</a>
123
                                <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% todayoverduesloo.biblionumber %]">[% todayoverduesloo.title %]</a>
124
                                &nbsp; (<b>[% todayoverduesloo.description %]</b>)
124
                                &nbsp; (<b>[% todayoverduesloo.description %]</b>)
125
                                <br />Barcode : [% todayoverduesloo.barcode %]
125
                                <br />Barcode : [% todayoverduesloo.barcode %]
126
                            </p>
126
                            </p>
Lines 129-135 Link Here
129
                            <p><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% todayoverduesloo.borrowernumber %]">[% todayoverduesloo.borrowersurname %] &nbsp; [% todayoverduesloo.borrowerfirstname %]</a>
129
                            <p><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% todayoverduesloo.borrowernumber %]">[% todayoverduesloo.borrowersurname %] &nbsp; [% todayoverduesloo.borrowerfirstname %]</a>
130
                            <br />[% todayoverduesloo.cardnumber %]<br />
130
                            <br />[% todayoverduesloo.cardnumber %]<br />
131
                            <br />[% todayoverduesloo.borrowerphone %]<br />
131
                            <br />[% todayoverduesloo.borrowerphone %]<br />
132
                        [% IF ( todayoverduesloo.borroweremail ) %]<a href="mailto:[% todayoverduesloo.borroweremail %]?subject=Overdue: [% todayoverduesloo.title |html %]">
132
                        [% IF ( todayoverduesloo.borroweremail ) %]<a href="mailto:[% todayoverduesloo.borroweremail %]?subject=Overdue: [% todayoverduesloo.title %]">
133
                        [% todayoverduesloo.borroweremail %]</a>[% END %]
133
                        [% todayoverduesloo.borroweremail %]</a>[% END %]
134
                            </p>
134
                            </p>
135
                        </td>
135
                        </td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt (-4 / +4 lines)
Lines 41-47 Link Here
41
                    <input type="hidden" name="itemnumber" value="[% itemnumber %]" />
41
                    <input type="hidden" name="itemnumber" value="[% itemnumber %]" />
42
                    <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
42
                    <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
43
                    [% IF ( waiting ) %]
43
                    [% IF ( waiting ) %]
44
                        <input type="hidden" name="barcode" value="[% barcode | html %]" />
44
                        <input type="hidden" name="barcode" value="[% barcode %]" />
45
                        <input type="hidden" name="request" value="KillWaiting" />
45
                        <input type="hidden" name="request" value="KillWaiting" />
46
                        <input type="submit" value="Cancel" />
46
                        <input type="submit" value="Cancel" />
47
                    [% END %]
47
                    [% END %]
Lines 65-71 Link Here
65
                            <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
65
                            <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
66
                            <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
66
                            <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
67
                            <input type="hidden" name="tobranchcd" value="[% tobranchcd %]" />
67
                            <input type="hidden" name="tobranchcd" value="[% tobranchcd %]" />
68
                            <input type="hidden" name="barcode" value="[% barcode | html %]" />
68
                            <input type="hidden" name="barcode" value="[% barcode %]" />
69
                            <input type="hidden" name="request" value="KillReserved" />
69
                            <input type="hidden" name="request" value="KillReserved" />
70
                            <input type="submit" value="Cancel" />
70
                            <input type="submit" value="Cancel" />
71
                        </form>
71
                        </form>
Lines 108-114 Link Here
108
                            <ul>
108
                            <ul>
109
                             [% FOREACH errmsgloo IN errmsgloop %]
109
                             [% FOREACH errmsgloo IN errmsgloop %]
110
                              [% IF ( errmsgloo.errbadcode ) %]
110
                              [% IF ( errmsgloo.errbadcode ) %]
111
                                  <li>No Item with barcode: [% errmsgloo.msg | html %]</li>
111
                                  <li>No Item with barcode: [% errmsgloo.msg %]</li>
112
                              [% END %]
112
                              [% END %]
113
                              [% IF ( errmsgloo.errispermanent ) %]
113
                              [% IF ( errmsgloo.errispermanent ) %]
114
                                  <li>Please return item to home library: [% Branches.GetName( errmsgloo.msg ) %]</li>
114
                                  <li>Please return item to home library: [% Branches.GetName( errmsgloo.msg ) %]</li>
Lines 180-186 Link Here
180
            </tr>
180
            </tr>
181
            [% FOREACH trsfitemloo IN trsfitemloop %]
181
            [% FOREACH trsfitemloo IN trsfitemloop %]
182
                <tr>
182
                <tr>
183
                    <td class="tf-title"><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% trsfitemloo.biblionumber %]">[% trsfitemloo.title |html %]</a></td>
183
                    <td class="tf-title"><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% trsfitemloo.biblionumber %]">[% trsfitemloo.title %]</a></td>
184
                    <td class="tf-author">[% trsfitemloo.author %]</td>
184
                    <td class="tf-author">[% trsfitemloo.author %]</td>
185
                    <td class="tf-barcode"><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% trsfitemloo.biblionumber %]&amp;itemnumber=[% trsfitemloo.itemnumber %]#item[% trsfitemloo.itemnumber %]">[% trsfitemloo.barcode %]</a></td>
185
                    <td class="tf-barcode"><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% trsfitemloo.biblionumber %]&amp;itemnumber=[% trsfitemloo.itemnumber %]#item[% trsfitemloo.itemnumber %]">[% trsfitemloo.barcode %]</a></td>
186
                    <td class="tf-location">[% trsfitemloo.location %]</td>
186
                    <td class="tf-location">[% trsfitemloo.location %]</td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-14 / +14 lines)
Lines 50-56 var relatives_borrowernumbers = new Array(); Link Here
50
var MSG_EXPORT_SELECT_CHECKOUTS = _("You must select checkout(s) to export");
50
var MSG_EXPORT_SELECT_CHECKOUTS = _("You must select checkout(s) to export");
51
var MSG_CONFIRM_DELETE_MESSAGE = _("Are you sure you want to delete this message? This cannot be undone.");
51
var MSG_CONFIRM_DELETE_MESSAGE = _("Are you sure you want to delete this message? This cannot be undone.");
52
52
53
columns_settings = [% ColumnsSettings.GetColumns( 'circ', 'circulation', 'issues-table', 'json' ) %]
53
columns_settings = [% ColumnsSettings.GetColumns( 'circ', 'circulation', 'issues-table', 'json' ).raw %]
54
54
55
[% IF borrowernumber and borrower %]
55
[% IF borrowernumber and borrower %]
56
    if($.cookie("holdfor") != [% borrowernumber %]){
56
    if($.cookie("holdfor") != [% borrowernumber %]){
Lines 346-352 $(document).ready(function() { Link Here
346
</p>
346
</p>
347
[% END %]
347
[% END %]
348
348
349
    <input type="hidden" name="barcode" value="[% barcode |html %]" />
349
    <input type="hidden" name="barcode" value="[% barcode %]" />
350
    <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
350
    <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
351
    <input type="hidden" name="issueconfirmed" value="1" />
351
    <input type="hidden" name="issueconfirmed" value="1" />
352
    <input type="hidden" name="override_high_holds" value="[% override_high_holds %]"/>
352
    <input type="hidden" name="override_high_holds" value="[% override_high_holds %]"/>
Lines 433-439 $(document).ready(function() { Link Here
433
        [% END %]
433
        [% END %]
434
434
435
        [% IF ( UNKNOWN_BARCODE ) %]
435
        [% IF ( UNKNOWN_BARCODE ) %]
436
            <li>The barcode was not found: <span class="ex">[% barcode |html %]</span>
436
            <li>The barcode was not found: <span class="ex">[% barcode %]</span>
437
	    [% IF ( fast_cataloging ) %]
437
	    [% IF ( fast_cataloging ) %]
438
	        [% IF ( CAN_user_editcatalogue_fast_cataloging ) %]
438
	        [% IF ( CAN_user_editcatalogue_fast_cataloging ) %]
439
            <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=FA&amp;barcode=[% barcode |uri %]&amp;circborrowernumber=[% borrowernumber %]&amp;branch=[% branch %]&amp;duedatespec=[% duedatespec %]&amp;stickyduedate=[% stickyduedate %]">Add record using fast cataloging</a>
439
            <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=FA&amp;barcode=[% barcode |uri %]&amp;circborrowernumber=[% borrowernumber %]&amp;branch=[% branch %]&amp;duedatespec=[% duedatespec %]&amp;stickyduedate=[% stickyduedate %]">Add record using fast cataloging</a>
Lines 556-562 $(document).ready(function() { Link Here
556
[% IF ( message ) %]
556
[% IF ( message ) %]
557
[% INCLUDE 'patron-toolbar.inc' %]
557
[% INCLUDE 'patron-toolbar.inc' %]
558
<h4>
558
<h4>
559
No patron matched <span class="ex">[% message | html %]</span>
559
No patron matched <span class="ex">[% message %]</span>
560
</h4>
560
</h4>
561
[% END %]
561
[% END %]
562
562
Lines 774-785 No patron matched <span class="ex">[% message | html %]</span> Link Here
774
774
775
                   [% IF ( debarredcomment ) %]
775
                   [% IF ( debarredcomment ) %]
776
                       with the explanation: <br/><i>
776
                       with the explanation: <br/><i>
777
			   [% IF debarredcomment.search('OVERDUES_PROCESS') %]
777
                       [% IF debarredcomment.search('OVERDUES_PROCESS') %]
778
	                       Restriction added by overdues process [% debarredcomment.remove('OVERDUES_PROCESS ') | html_line_break %]
778
                           Restriction added by overdues process [% debarredcomment.remove('OVERDUES_PROCESS ').raw | html_line_break %]
779
	                   [% ELSE %]
779
                       [% ELSE %]
780
	                       [% debarredcomment | html_line_break %]
780
                           [% debarredcomment.raw | html_line_break %]
781
	                   [% END %]
781
                       [% END %]
782
                    </i>
782
                       </i>
783
                   [% END %]
783
                   [% END %]
784
                   <br/>
784
                   <br/>
785
                   <a class="btn btn-default btn-sm" href="#reldebarments" onclick="$('#debarments-tab-link').click()"><i class="fa fa-ban"></i> View restrictions</a>
785
                   <a class="btn btn-default btn-sm" href="#reldebarments" onclick="$('#debarments-tab-link').click()"><i class="fa fa-ban"></i> View restrictions</a>
Lines 825-840 No patron matched <span class="ex">[% message | html %]</span> Link Here
825
                    [% FOREACH w IN WaitingHolds %]
825
                    [% FOREACH w IN WaitingHolds %]
826
                        <ul>
826
                        <ul>
827
                            <li>
827
                            <li>
828
                                <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% w.biblio.biblionumber %]">[% w.biblio.title | html %]</a>
828
                                <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% w.biblio.biblionumber %]">[% w.biblio.title %]</a>
829
                                ([% ItemTypes.GetDescription( w.item.effective_itemtype ) %]),
829
                                ([% ItemTypes.GetDescription( w.item.effective_itemtype ) %]),
830
                                [% IF ( w.biblio.author ) %] by [% w.biblio.author | html %] [% END %]
830
                                [% IF ( w.biblio.author ) %] by [% w.biblio.author %] [% END %]
831
                                [% IF ( w.item.itemcallnumber ) %] [[% w.item.itemcallnumber %]] [% END %]
831
                                [% IF ( w.item.itemcallnumber ) %] [[% w.item.itemcallnumber %]] [% END %]
832
                                Hold placed on [% w.reservedate | $KohaDates %].
832
                                Hold placed on [% w.reservedate | $KohaDates %].
833
833
834
                                <br/>
834
                                <br/>
835
                                [% IF ( w.branch.branchcode == Branches.GetLoggedInBranchcode()  ) %]<strong class="waitinghere">[% ELSE %]<strong>[% END %]
835
                                [% IF ( w.branch.branchcode == Branches.GetLoggedInBranchcode()  ) %]<strong class="waitinghere">[% ELSE %]<strong>[% END %]
836
                                    [% SET waiting_expires_on = w.waiting_expires_on %]
836
                                    [% SET waiting_expires_on = w.waiting_expires_on %]
837
                                    Waiting at [% w.branch.branchname | html %] [% IF waiting_expires_on %] until [% waiting_expires_on | $KohaDates %] [% END %]
837
                                    Waiting at [% w.branch.branchname %] [% IF waiting_expires_on %] until [% waiting_expires_on | $KohaDates %] [% END %]
838
                                </strong>
838
                                </strong>
839
                            </li>
839
                            </li>
840
                        </ul>
840
                        </ul>
Lines 866-872 No patron matched <span class="ex">[% message | html %]</span> Link Here
866
                        [% IF message.manager_id %]
866
                        [% IF message.manager_id %]
867
                            ( <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% message.manager_id %]">[% message.get_column('manager_firstname') %] [% message.get_column('manager_surname') %]</a> )
867
                            ( <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% message.manager_id %]">[% message.get_column('manager_firstname') %] [% message.get_column('manager_surname') %]</a> )
868
                        [% END %]
868
                        [% END %]
869
                        <i>"[% message.message %]"</i>
869
                        <i>"[% message.message.raw %]"</i>
870
                    </span>
870
                    </span>
871
                    [% IF message.branchcode == branch OR Koha.Preference('AllowAllMessageDeletion') %]
871
                    [% IF message.branchcode == branch OR Koha.Preference('AllowAllMessageDeletion') %]
872
                        <a class="btn btn-link btn-sm" href="/cgi-bin/koha/circ/del_message.pl?message_id=[% message.message_id %]&amp;borrowernumber=[% message.borrowernumber %]" onclick="return confirm(MSG_CONFIRM_DELETE_MESSAGE);"><i class="fa fa-trash"></i> Delete</a>
872
                        <a class="btn btn-link btn-sm" href="/cgi-bin/koha/circ/del_message.pl?message_id=[% message.message_id %]&amp;borrowernumber=[% message.borrowernumber %]" onclick="return confirm(MSG_CONFIRM_DELETE_MESSAGE);"><i class="fa fa-trash"></i> Delete</a>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt (-2 / +2 lines)
Lines 137-143 $(document).ready(function() { Link Here
137
            [% END %]
137
            [% END %]
138
            <td>[% checkout_info.barcode %]</td>
138
            <td>[% checkout_info.barcode %]</td>
139
            <td>
139
            <td>
140
              <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% checkout_info.item.biblionumber %]&amp;type=intra"><strong>[% checkout_info.item.title |html %][% FOREACH subtitl IN checkout_info.item.subtitle %] [% subtitl.subfield %][% END %]</strong></a>[% IF checkout_info.item.author %], by [% checkout_info.item.author %][% END %][% IF ( checkout_info.itme.itemnotes ) %]- <span class="circ-hlt">[% checkout_info.item.itemnotes %]</span>[% END %] <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% checkout_info.item.biblionumber %]&amp;itemnumber=[% checkout_info.item.itemnumber %]#item[% checkout_info.item.itemnumber %]">[% checkout_info.item.barcode %]</a>
140
              <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% checkout_info.item.biblionumber %]&amp;type=intra"><strong>[% checkout_info.item.title %][% FOREACH subtitl IN checkout_info.item.subtitle %] [% subtitl.subfield %][% END %]</strong></a>[% IF checkout_info.item.author %], by [% checkout_info.item.author %][% END %][% IF ( checkout_info.itme.itemnotes ) %]- <span class="circ-hlt">[% checkout_info.item.itemnotes %]</span>[% END %] <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% checkout_info.item.biblionumber %]&amp;itemnumber=[% checkout_info.item.itemnumber %]#item[% checkout_info.item.itemnumber %]">[% checkout_info.item.barcode %]</a>
141
            </td>
141
            </td>
142
            <td>
142
            <td>
143
              [% IF checkout_info.NEEDSCONFIRMATION %]
143
              [% IF checkout_info.NEEDSCONFIRMATION %]
Lines 267-273 $(document).ready(function() { Link Here
267
                      <li><i class="fa fa-li fa-exclamation"></i>Too many checked out.</li>
267
                      <li><i class="fa fa-li fa-exclamation"></i>Too many checked out.</li>
268
                  [% END %]
268
                  [% END %]
269
                  [% IF checkout_info.UNKNOWN_BARCODE %]
269
                  [% IF checkout_info.UNKNOWN_BARCODE %]
270
                      <li><i class="fa fa-li fa-exclamation"></i>The barcode was not found [% checkout_info.barcode |html %].</li>
270
                      <li><i class="fa fa-li fa-exclamation"></i>The barcode was not found [% checkout_info.barcode %].</li>
271
                  [% END %]
271
                  [% END %]
272
                  [% IF checkout_info.DEBT %]
272
                  [% IF checkout_info.DEBT %]
273
                      <li><i class="fa fa-li fa-exclamation"></i>The patron has a debt of [% checkout_info.DEBT %].</li> <!-- Need debt_confirmed -->
273
                      <li><i class="fa fa-li fa-exclamation"></i>The patron has a debt of [% checkout_info.DEBT %].</li> <!-- Need debt_confirmed -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/on-site_checkouts.tt (-1 / +1 lines)
Lines 61-67 $(document).ready(function(){ Link Here
61
                    <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.borrowernumber %]">[%item.firstname %] [% item.surname %]</a>
61
                    <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.borrowernumber %]">[%item.firstname %] [% item.surname %]</a>
62
                  </td>
62
                  </td>
63
                  <td>
63
                  <td>
64
                    <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.biblionumber %]"><strong>[% item.title |html %]</strong></a>[% IF ( item.author ) %], by [% item.author %][% END %][% IF ( item.itemnotes ) %]- <span class="circ-hlt">[% item.itemnotes %]</span>[% END %]
64
                    <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.biblionumber %]"><strong>[% item.title %]</strong></a>[% IF ( item.author ) %], by [% item.author %][% END %][% IF ( item.itemnotes ) %]- <span class="circ-hlt">[% item.itemnotes %]</span>[% END %]
65
                  </td>
65
                  </td>
66
                  <td>[% item.itemcallnumber %]</td>
66
                  <td>[% item.itemcallnumber %]</td>
67
                  <td>
67
                  <td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt (-13 / +13 lines)
Lines 88-100 Link Here
88
88
89
  <p>
89
  <p>
90
    [% IF ( isfiltered ) %]
90
    [% IF ( isfiltered ) %]
91
      <a href="overdue.pl?op=csv&amp;[% csv_param_string |html %]">Download file of displayed overdues</a>
91
      <a href="overdue.pl?op=csv&amp;[% csv_param_string %]">Download file of displayed overdues</a>
92
    [% ELSE %]
92
    [% ELSE %]
93
      <a href="overdue.pl?op=csv">Download file of all overdues</a>
93
      <a href="overdue.pl?op=csv">Download file of all overdues</a>
94
    [% END %]
94
    [% END %]
95
  </p>
95
  </p>
96
96
97
  <div class="sql"><pre>[% sql |html %]</pre></div>
97
  <div class="sql"><pre>[% sql %]</pre></div>
98
  <div class="searchresults">
98
  <div class="searchresults">
99
    <table id="overduest">
99
    <table id="overduest">
100
      <thead>
100
      <thead>
Lines 114-123 Link Here
114
        <tr>
114
        <tr>
115
          <td>[% overdueloo.duedate %]</td>
115
          <td>[% overdueloo.duedate %]</td>
116
          <td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% overdueloo.borrowernumber %]">[% overdueloo.surname %][% IF (overdueloo.firstname) %], [% overdueloo.firstname %][% END %] ([% overdueloo.cardnumber %])</a>
116
          <td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% overdueloo.borrowernumber %]">[% overdueloo.surname %][% IF (overdueloo.firstname) %], [% overdueloo.firstname %][% END %] ([% overdueloo.cardnumber %])</a>
117
          [% IF ( overdueloo.email ) %][<a href="mailto:[% overdueloo.email %]?subject=[% INCLUDE subject %] [% overdueloo.title |html %]">email</a>][% END %]
117
          [% IF ( overdueloo.email ) %][<a href="mailto:[% overdueloo.email %]?subject=[% INCLUDE subject %] [% overdueloo.title %]">email</a>][% END %]
118
          [% IF ( overdueloo.phone ) %]([% overdueloo.phone %])[% ELSIF ( overdueloo.mobile ) %]([% overdueloo.mobile %])[% ELSIF ( overdueloo.phonepro ) %]([% overdueloo.phonepro %])[% END %]</td>
118
          [% IF ( overdueloo.phone ) %]([% overdueloo.phone %])[% ELSIF ( overdueloo.mobile ) %]([% overdueloo.mobile %])[% ELSIF ( overdueloo.phonepro ) %]([% overdueloo.phonepro %])[% END %]</td>
119
          <td>[% IF overdueloo.branchcode %][% Branches.GetName( overdueloo.branchcode ) %][% END %]</td>
119
          <td>[% IF overdueloo.branchcode %][% Branches.GetName( overdueloo.branchcode ) %][% END %]</td>
120
          <td>[% INCLUDE 'biblio-default-view.inc' biblionumber = overdueloo.biblionumber %][% overdueloo.title |html %]  [% overdueloo.subtitle %]</a> [% IF ( overdueloo.author ) %], by [% overdueloo.author %][% END %][% IF ( overdueloo.enumchron ) %], [% overdueloo.enumchron %][% END %]</td>
120
          <td>[% INCLUDE 'biblio-default-view.inc' biblionumber = overdueloo.biblionumber %][% overdueloo.title %]  [% overdueloo.subtitle %]</a> [% IF ( overdueloo.author ) %], by [% overdueloo.author %][% END %][% IF ( overdueloo.enumchron ) %], [% overdueloo.enumchron %][% END %]</td>
121
          <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% overdueloo.biblionumber %]&amp;itemnumber=[% overdueloo.itemnum %]#item[% overdueloo.itemnum %]">[% overdueloo.barcode %]</a></td>
121
          <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% overdueloo.biblionumber %]&amp;itemnumber=[% overdueloo.itemnum %]#item[% overdueloo.itemnum %]">[% overdueloo.barcode %]</a></td>
122
          <td>[% overdueloo.itemcallnumber %]</td>
122
          <td>[% overdueloo.itemcallnumber %]</td>
123
          <td>[% overdueloo.replacementprice %]</td>
123
          <td>[% overdueloo.replacementprice %]</td>
Lines 156-165 Link Here
156
    </li>
156
    </li>
157
    </ol></fieldset>
157
    </ol></fieldset>
158
    <ol>
158
    <ol>
159
    <li><label>Name or cardnumber:</label><input type="text" name="borname" value="[% borname |html %]" /></li>
159
    <li><label>Name or cardnumber:</label><input type="text" name="borname" value="[% borname %]" /></li>
160
    <li><label>Patron category:</label><select name="borcat" id="borcat"><option value="">Any</option>
160
    <li><label>Patron category:</label><select name="borcat" id="borcat"><option value="">Any</option>
161
      [% FOREACH borcatloo IN borcatloop %]
161
      [% FOREACH borcatloo IN borcatloop %]
162
        [% IF ( borcatloo.selected ) %]<option value="[% borcatloo.value |html %]" selected="selected">[% borcatloo.catname %]</option>[% ELSE %]<option value="[% borcatloo.value |html %]">[% borcatloo.catname %]</option>[% END %]
162
        [% IF ( borcatloo.selected ) %]<option value="[% borcatloo.value %]" selected="selected">[% borcatloo.catname %]</option>[% ELSE %]<option value="[% borcatloo.value %]">[% borcatloo.catname %]</option>[% END %]
163
      [% END %]
163
      [% END %]
164
      </select>
164
      </select>
165
    </li>
165
    </li>
Lines 179-192 Link Here
179
		<li>
179
		<li>
180
			<label>[% patron_attr_filter_loo.description %]:</label>
180
			<label>[% patron_attr_filter_loo.description %]:</label>
181
            [% IF ( patron_attr_filter_loo.authorised_value_category ) %]
181
            [% IF ( patron_attr_filter_loo.authorised_value_category ) %]
182
                <script type="text/javascript" x-code="[% patron_attr_filter_loo.code |html %]">create_auto_completion_responder([% patron_attr_filter_loo.domid %],"[% patron_attr_filter_loo.code |html %]");</script>
182
                <script type="text/javascript" x-code="[% patron_attr_filter_loo.code %]">create_auto_completion_responder([% patron_attr_filter_loo.domid %],"[% patron_attr_filter_loo.code %]");</script>
183
				<span id="pattrodue-getready-[% patron_attr_filter_loo.domid %]">
183
				<span id="pattrodue-getready-[% patron_attr_filter_loo.domid %]">
184
						<div class="pattrodue-autocomplete">
184
						<div class="pattrodue-autocomplete">
185
							<input autocomplete="off" id="pattrodue-input-[% patron_attr_filter_loo.domid %]" name="patron_attr_filter_[% patron_attr_filter_loo.code |html %]" value="[% patron_attr_filter_loo.cgivalue |html %]"  class="pattrodue-input" type="text" />
185
                            <input autocomplete="off" id="pattrodue-input-[% patron_attr_filter_loo.domid %]" name="patron_attr_filter_[% patron_attr_filter_loo.code %]" value="[% patron_attr_filter_loo.cgivalue %]"  class="pattrodue-input" type="text" />
186
						</div>
186
						</div>
187
				</span>
187
				</span>
188
			[% ELSE %]
188
			[% ELSE %]
189
				<input type="text" name="patron_attr_filter_[% patron_attr_filter_loo.code |html %]" value="[% patron_attr_filter_loo.cgivalue |html %]"/>
189
                <input type="text" name="patron_attr_filter_[% patron_attr_filter_loo.code %]" value="[% patron_attr_filter_loo.cgivalue %]"/>
190
			[% END %]
190
			[% END %]
191
			[% IF ( patron_attr_filter_loo.repeatable ) %]
191
			[% IF ( patron_attr_filter_loo.repeatable ) %]
192
                <a href="#" onclick="clone_parent(this); return false;">Add</a>
192
                <a href="#" onclick="clone_parent(this); return false;">Add</a>
Lines 203-210 Link Here
203
203
204
    <li><label>Item type:</label><select name="itemtype" id="itemtype"><option value="">Any</option>
204
    <li><label>Item type:</label><select name="itemtype" id="itemtype"><option value="">Any</option>
205
      [% FOREACH itemtypeloo IN itemtypeloop %][% IF ( itemtypeloo.selected ) %]
205
      [% FOREACH itemtypeloo IN itemtypeloop %][% IF ( itemtypeloo.selected ) %]
206
        <option value="[% itemtypeloo.value |html %]" selected="selected">[% itemtypeloo.itemtypename %]</option>[% ELSE %]
206
        <option value="[% itemtypeloo.value %]" selected="selected">[% itemtypeloo.itemtypename %]</option>[% ELSE %]
207
        <option value="[% itemtypeloo.value |html %]">[% itemtypeloo.itemtypename %]</option>[% END %]
207
        <option value="[% itemtypeloo.value %]">[% itemtypeloo.itemtypename %]</option>[% END %]
208
      [% END %]
208
      [% END %]
209
      </select>
209
      </select>
210
    </li>
210
    </li>
Lines 254-261 Link Here
254
    </option>
254
    </option>
255
[% END %]
255
[% END %]
256
	[% FOREACH patron_attr_order_loo IN patron_attr_order_loop %]
256
	[% FOREACH patron_attr_order_loo IN patron_attr_order_loop %]
257
        [% IF ( patron_attr_order_loo.selected ) %]<option value="[% patron_attr_order_loo.value |html %]" selected="selected">[% patron_attr_order_loo.label %]</option>
257
        [% IF ( patron_attr_order_loo.selected ) %]<option value="[% patron_attr_order_loo.value %]" selected="selected">[% patron_attr_order_loo.label %]</option>
258
        [% ELSE %]<option value="[% patron_attr_order_loo.value |html %]">[% patron_attr_order_loo.label %]</option>[% END %]
258
        [% ELSE %]<option value="[% patron_attr_order_loo.value %]">[% patron_attr_order_loo.label %]</option>[% END %]
259
	[% END %]
259
	[% END %]
260
</select></li>
260
</select></li>
261
261
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt (-1 / +1 lines)
Lines 114-120 $(document).ready(function() { Link Here
114
            <td>
114
            <td>
115
            <p>
115
            <p>
116
                [% INCLUDE 'biblio-default-view.inc' biblionumber = reserveloo.biblionumber %]
116
                [% INCLUDE 'biblio-default-view.inc' biblionumber = reserveloo.biblionumber %]
117
                [% reserveloo.title |html %] [% FOREACH s IN reserveloo.subtitle %] [% s %][% END %]</a></p>
117
                [% reserveloo.title %] [% FOREACH s IN reserveloo.subtitle %] [% s %][% END %]</a></p>
118
                [% IF ( reserveloo.author ) %]<p> by [% reserveloo.author %]</p>[% END %]
118
                [% IF ( reserveloo.author ) %]<p> by [% reserveloo.author %]</p>[% END %]
119
            </td>
119
            </td>
120
        [% ELSE %]
120
        [% ELSE %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt (-2 / +2 lines)
Lines 14-20 Link Here
14
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" />
14
<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.css" />
15
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/print.css" />
16
[% IF ( Koha.Preference('SlipCSS') ) %]
16
[% IF ( Koha.Preference('SlipCSS') ) %]
17
<link rel="stylesheet" type="text/css" href="[% Koha.Preference('SlipCSS') %]" />
17
<link rel="stylesheet" type="text/css" href="[% Koha.Preference('SlipCSS').raw %]" />
18
[% END %]
18
[% END %]
19
19
20
[% INCLUDE 'slip-print.inc' #printThenClose %]
20
[% INCLUDE 'slip-print.inc' #printThenClose %]
Lines 27-33 Link Here
27
[% IF ( slip ) %][% slip %][% ELSE %]No slip template found[% END %]
27
[% IF ( slip ) %][% slip %][% ELSE %]No slip template found[% END %]
28
</pre>
28
</pre>
29
[% ELSE %]
29
[% ELSE %]
30
[% IF ( slip ) %][% slip %][% ELSE %]No slip template found[% END %]
30
[% IF ( slip ) %][% slip.raw %][% ELSE %]No slip template found[% END %]
31
[% END %]
31
[% END %]
32
32
33
[% INCLUDE 'intranet-bottom.inc' %]
33
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt (-1 / +1 lines)
Lines 3-9 Link Here
3
3
4
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
5
6
<title>Koha &rsaquo; Circulation &rsaquo; Renew [% title |html %]</title>
6
<title>Koha &rsaquo; Circulation &rsaquo; Renew [% title %]</title>
7
7
8
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
9
9
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt (-2 / +2 lines)
Lines 102-108 $(document).ready(function() { Link Here
102
        &rsaquo;
102
        &rsaquo;
103
        <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>
103
        <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>
104
        &rsaquo;
104
        &rsaquo;
105
        <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]">[% biblio.title | html %]</a>
105
        <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]">[% biblio.title %]</a>
106
        &rsaquo;
106
        &rsaquo;
107
        Request article
107
        Request article
108
    </div>
108
    </div>
Lines 112-118 $(document).ready(function() { Link Here
112
            <div id="yui-main">
112
            <div id="yui-main">
113
                <div class="yui-b">
113
                <div class="yui-b">
114
114
115
                    <h1>Request article from <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.id %]">[% biblio.title | html %]</a></h1>
115
                    <h1>Request article from <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.id %]">[% biblio.title %]</a></h1>
116
                    [% IF no_patrons_found %]
116
                    [% IF no_patrons_found %]
117
                        <div class="dialog alert">
117
                        <div class="dialog alert">
118
                            <h3>Patron not found</h3>
118
                            <h3>Patron not found</h3>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt (-1 / +1 lines)
Lines 74-80 Link Here
74
            <td><p>[% reserveloo.reservecount %]</p></td>
74
            <td><p>[% reserveloo.reservecount %]</p></td>
75
            <td><p>[% reserveloo.itemcount %]</p></td>
75
            <td><p>[% reserveloo.itemcount %]</p></td>
76
            <td><p class="ratiolimit">[% reserveloo.thisratio %]</p></td>
76
            <td><p class="ratiolimit">[% reserveloo.thisratio %]</p></td>
77
            <td> [% INCLUDE 'biblio-default-view.inc' biblionumber = reserveloo.biblionumber %][% reserveloo.title |html %] [% IF ( reserveloo.subtitle ) %][% FOREACH subtitl IN reserveloo.subtitle %][% subtitl.subfield %][% END %][% END %]</a>[% IF ( reserveloo.author ) %] by [% reserveloo.author %][% END %]
77
            <td> [% INCLUDE 'biblio-default-view.inc' biblionumber = reserveloo.biblionumber %][% reserveloo.title %] [% IF ( reserveloo.subtitle ) %][% FOREACH subtitl IN reserveloo.subtitle %][% subtitl.subfield %][% END %][% END %]</a>[% IF ( reserveloo.author ) %] by [% reserveloo.author %][% END %]
78
            </td>
78
            </td>
79
            <td>
79
            <td>
80
                  <ul>
80
                  <ul>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt (-12 / +12 lines)
Lines 22-28 Link Here
22
[% END %]
22
[% END %]
23
23
24
[% INCLUDE 'doc-head-open.inc' %]
24
[% INCLUDE 'doc-head-open.inc' %]
25
<title>Koha &rsaquo; Circulation &rsaquo; Check in [% title |html %]</title>
25
<title>Koha &rsaquo; Circulation &rsaquo; Check in [% title %]</title>
26
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
26
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
27
[% INCLUDE 'doc-head-close.inc' %]
27
[% INCLUDE 'doc-head-close.inc' %]
28
[% INCLUDE 'datatables.inc' %]
28
[% INCLUDE 'datatables.inc' %]
Lines 177-183 $(document).ready(function () { Link Here
177
[% IF ( collectionItemNeedsTransferred ) %]
177
[% IF ( collectionItemNeedsTransferred ) %]
178
 <div id="rotating-collection" class="dialog message">
178
 <div id="rotating-collection" class="dialog message">
179
        <h3>Please transfer item to: [% Branches.GetName( collectionBranch ) %]</h3>
179
        <h3>Please transfer item to: [% Branches.GetName( collectionBranch ) %]</h3>
180
            <p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p>
180
            <p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=[% itembiblionumber %]">[% itembarcode %]: [% title %]</a></p>
181
            <p>This item is part of a rotating collection.</p>
181
            <p>This item is part of a rotating collection.</p>
182
            <p><button type="button" class="openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber %]&amp;branchcode=[% collectionBranch %]&amp;op=slip"><i class="fa fa-print"></i> Print slip</button></p>
182
            <p><button type="button" class="openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber %]&amp;branchcode=[% collectionBranch %]&amp;op=slip"><i class="fa fa-print"></i> Print slip</button></p>
183
</div>
183
</div>
Lines 213-219 $(document).ready(function () { Link Here
213
213
214
[% IF ( wrongbranch ) %]
214
[% IF ( wrongbranch ) %]
215
    <div class="dialog alert"><h3>Cannot check in</h3>
215
    <div class="dialog alert"><h3>Cannot check in</h3>
216
        <p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p>
216
        <p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=[% itembiblionumber %]">[% itembarcode %]: [% title %]</a></p>
217
        </p><strong>NOT CHECKED IN</strong></p>
217
        </p><strong>NOT CHECKED IN</strong></p>
218
        <p>This item must be checked in at following library: <strong>[% Branches.GetName( rightbranch ) %]</strong></p>
218
        <p>This item must be checked in at following library: <strong>[% Branches.GetName( rightbranch ) %]</strong></p>
219
    </div>
219
    </div>
Lines 223-229 $(document).ready(function () { Link Here
223
    <div id="return2" class="dialog message">
223
    <div id="return2" class="dialog message">
224
        <!-- WrongTransfer -->
224
        <!-- WrongTransfer -->
225
        <h3>Please return item to: [% Branches.GetName( TransferWaitingAt ) %]</h3>
225
        <h3>Please return item to: [% Branches.GetName( TransferWaitingAt ) %]</h3>
226
            <p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p>
226
            <p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=[% itembiblionumber %]">[% itembarcode %]: [% title %]</a></p>
227
        <button type="submit" class="openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber %]&amp;&amp;branchcode=[% homebranch %]&amp;op=slip"><i class="fa fa-print"></i> Print transfer slip</button>
227
        <button type="submit" class="openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber %]&amp;&amp;branchcode=[% homebranch %]&amp;op=slip"><i class="fa fa-print"></i> Print transfer slip</button>
228
        <button class="deny" type="submit" onclick="window.location.href='/cgi-bin/koha/circ/returns.pl?itemnumber=[% itemnumber %]&amp;canceltransfer=1'"><i class="fa fa-times"></i> Cancel transfer</button>
228
        <button class="deny" type="submit" onclick="window.location.href='/cgi-bin/koha/circ/returns.pl?itemnumber=[% itemnumber %]&amp;canceltransfer=1'"><i class="fa fa-times"></i> Cancel transfer</button>
229
[% IF ( wborcnum ) %]<h5>Hold for:</h5>
229
[% IF ( wborcnum ) %]<h5>Hold for:</h5>
Lines 262-268 $(document).ready(function () { Link Here
262
                        Hold found (item is already waiting):
262
                        Hold found (item is already waiting):
263
                        <br/>
263
                        <br/>
264
                        <a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=[% itembiblionumber %]">
264
                        <a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=[% itembiblionumber %]">
265
                            [% itembarcode |html %]: [% title |html %]
265
                            [% itembarcode %]: [% title %]
266
                        </a>
266
                        </a>
267
                    </h3>
267
                    </h3>
268
                </div>
268
                </div>
Lines 354-360 $(document).ready(function () { Link Here
354
		<!-- diffbranch -->
354
		<!-- diffbranch -->
355
        <div id="transfer-needed" class="dialog message audio-alert-action">
355
        <div id="transfer-needed" class="dialog message audio-alert-action">
356
            <h3>Hold needing transfer found</h3>
356
            <h3>Hold needing transfer found</h3>
357
                <p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p>
357
                <p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=[% itembiblionumber %]">[% itembarcode %]: [% title %]</a></p>
358
                <h4>Hold for: </h4>
358
                <h4>Hold for: </h4>
359
                    <ul>
359
                    <ul>
360
                        <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% borsurname %], [% borfirstname %]</a> ([% borcnum %]) <span class="patron-category"> - [% wborcategory %]</span> </li>
360
                        <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% borsurname %], [% borfirstname %]</a> ([% borcnum %]) <span class="patron-category"> - [% wborcategory %]</span> </li>
Lines 399-405 $(document).ready(function () { Link Here
399
    <!-- transfer: item with no reservation, must be returned according to home library circulation rules -->
399
    <!-- transfer: item with no reservation, must be returned according to home library circulation rules -->
400
        <div id="return1" class="dialog message audio-alert-action">
400
        <div id="return1" class="dialog message audio-alert-action">
401
            <h3>Please return item to: [% Branches.GetName( returnbranch ) %]</h3>
401
            <h3>Please return item to: [% Branches.GetName( returnbranch ) %]</h3>
402
            <p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p>
402
            <p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=[% itembiblionumber %]">[% itembarcode %]: [% title %]</a></p>
403
            <p><button type="button" class="openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber %]&amp;branchcode=[% returnbranch %]&amp;op=slip"><i class="fa fa-print"></i> Print slip</button></p>
403
            <p><button type="button" class="openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber %]&amp;branchcode=[% returnbranch %]&amp;op=slip"><i class="fa fa-print"></i> Print slip</button></p>
404
        </div>
404
        </div>
405
    [% END %]
405
    [% END %]
Lines 434-440 $(document).ready(function () { Link Here
434
	<!-- diffbranch -->
434
	<!-- diffbranch -->
435
        <h3 class="audio-alert-action">Item consigned:</h3>
435
        <h3 class="audio-alert-action">Item consigned:</h3>
436
        <table>
436
        <table>
437
        <caption><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=[% itembiblionumber %]">[% title |html %]</a></caption>
437
        <caption><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=[% itembiblionumber %]">[% title %]</a></caption>
438
        <tr>
438
        <tr>
439
            <th>Hold for:</th>
439
            <th>Hold for:</th>
440
            <td>[% name %]</td>
440
            <td>[% name %]</td>
Lines 469-475 $(document).ready(function () { Link Here
469
                        Hold found:
469
                        Hold found:
470
                        <br/>
470
                        <br/>
471
                        <a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=[% itembiblionumber %]">
471
                        <a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=[% itembiblionumber %]">
472
                            [% itembarcode |html %]: [% title |html %]
472
                            [% itembarcode %]: [% title %]
473
                        </a>
473
                        </a>
474
                </div>
474
                </div>
475
475
Lines 580-586 $(document).ready(function () { Link Here
580
    <div class="dialog alert audio-alert-warning">
580
    <div class="dialog alert audio-alert-warning">
581
        <h3>Check in message</h3>
581
        <h3>Check in message</h3>
582
        [% IF itembiblionumber %]
582
        [% IF itembiblionumber %]
583
            <p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p>
583
            <p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=[% itembiblionumber %]">[% itembarcode %]: [% title %]</a></p>
584
        [% END %]
584
        [% END %]
585
        [% FOREACH errmsgloo IN errmsgloop %]
585
        [% FOREACH errmsgloo IN errmsgloop %]
586
                    [% IF ( errmsgloo.NotForLoanStatusUpdated ) %]
586
                    [% IF ( errmsgloo.NotForLoanStatusUpdated ) %]
Lines 601-607 $(document).ready(function () { Link Here
601
                        </p>
601
                        </p>
602
                    [% END %]
602
                    [% END %]
603
                    [% IF ( errmsgloo.badbarcode ) %]
603
                    [% IF ( errmsgloo.badbarcode ) %]
604
                        <p class="problem">No item with barcode: [% errmsgloo.msg | html %]</p>
604
                        <p class="problem">No item with barcode: [% errmsgloo.msg %]</p>
605
                    [% END %]
605
                    [% END %]
606
                    [% IF ( errmsgloo.ispermanent ) %]
606
                    [% IF ( errmsgloo.ispermanent ) %]
607
                        <p class="problem">Please return item to: [% Branches.GetName( errmsgloo.msg ) %]</p>
607
                        <p class="problem">Please return item to: [% Branches.GetName( errmsgloo.msg ) %]</p>
Lines 756-762 $(document).ready(function () { Link Here
756
                [% END %]
756
                [% END %]
757
            </td>
757
            </td>
758
            <td class="ci-title"><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% riloo.itembiblionumber %]">
758
            <td class="ci-title"><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% riloo.itembiblionumber %]">
759
                    [% riloo.itemtitle |html %]
759
                    [% riloo.itemtitle %]
760
                </a>
760
                </a>
761
                [% IF ( riloo.enumchron ) %]
761
                [% IF ( riloo.enumchron ) %]
762
                    <br/>
762
                    <br/>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/selectbranchprinter.tt (-4 / +4 lines)
Lines 35-44 Updated:<ul> Link Here
35
    [% END %]
35
    [% END %]
36
    [% END %]
36
    [% END %]
37
    </ul>
37
    </ul>
38
<form method="post" action="[% referer or "/cgi-bin/koha/circ/circulation.pl" |html %]">
38
<form method="post" action="[% referer or "/cgi-bin/koha/circ/circulation.pl" %]">
39
    <div class="noshow">
39
    <div class="noshow">
40
        [% FOREACH recycle_loo IN recycle_loop %]
40
        [% FOREACH recycle_loo IN recycle_loop %]
41
        <input type="text" name="[% recycle_loo.param %]" value="[% recycle_loo.value |html %]" />
41
        <input type="text" name="[% recycle_loo.param %]" value="[% recycle_loo.value %]" />
42
        [% END %]
42
        [% END %]
43
    </div>
43
    </div>
44
    <button type="submit">Continue</button>
44
    <button type="submit">Continue</button>
Lines 79-87 Updated:<ul> Link Here
79
</fieldset>
79
</fieldset>
80
<div class="noshow">
80
<div class="noshow">
81
    [% FOREACH recycle_loo IN recycle_loop %]
81
    [% FOREACH recycle_loo IN recycle_loop %]
82
    <input type="text" name="[% recycle_loo.param %]" value="[% recycle_loo.value |html %]" />
82
    <input type="text" name="[% recycle_loo.param %]" value="[% recycle_loo.value %]" />
83
    [% END %]
83
    [% END %]
84
    <input type="hidden" name="oldreferer" value="[% referer or "/cgi-bin/koha/circ/circulation.pl" |html %]" />
84
    <input type="hidden" name="oldreferer" value="[% referer or "/cgi-bin/koha/circ/circulation.pl" %]" />
85
</div>
85
</div>
86
</form>
86
</form>
87
<!-- /updated -->
87
<!-- /updated -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transfer-slip.tt (-1 / +1 lines)
Lines 16-22 window.close(); Link Here
16
<h3>Transfer to [% branchname %]</h3>
16
<h3>Transfer to [% branchname %]</h3>
17
17
18
<h3>ITEM</h3>
18
<h3>ITEM</h3>
19
 <h4>[% biblio.title |html %]</h4>
19
 <h4>[% biblio.title %]</h4>
20
 <h5>[% biblio.author %] </h5>
20
 <h5>[% biblio.author %] </h5>
21
 <ul>
21
 <ul>
22
    [% IF ( item.barcode ) %]<li>[% item.barcode %]</li>[% END %]
22
    [% IF ( item.barcode ) %]<li>[% item.barcode %]</li>[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt (-2 / +2 lines)
Lines 60-66 $(document).ready(function() { Link Here
60
                [% END %]
60
                [% END %]
61
                    <td><p><span title="[% reser.datetransfer %]">[% reser.datetransfer | $KohaDates %]</span></p> [% IF ( reser.messcompa ) %]<span class="error">Transfer is [% reser.diff %] days late</span>[% END %]</td>
61
                    <td><p><span title="[% reser.datetransfer %]">[% reser.datetransfer | $KohaDates %]</span></p> [% IF ( reser.messcompa ) %]<span class="error">Transfer is [% reser.diff %] days late</span>[% END %]</td>
62
                    <td>
62
                    <td>
63
                        [% INCLUDE 'biblio-default-view.inc' biblionumber = reser.biblionumber %][% reser.title |html %] [% IF ( reser.subtitle ) %] [% FOREACH subtitl IN reser.subtitle %][% subtitl.subfield %][% END %][% END %]</a> [% IF ( reser.author ) %]by [% reser.author %][% END %]
63
                        [% INCLUDE 'biblio-default-view.inc' biblionumber = reser.biblionumber %][% reser.title %] [% IF ( reser.subtitle ) %] [% FOREACH subtitl IN reser.subtitle %][% subtitl.subfield %][% END %][% END %]</a> [% IF ( reser.author ) %]by [% reser.author %][% END %]
64
                            [% IF ( reser.itemtype ) %] (<b>[% reser.itemtype %]</b>)[% END %]
64
                            [% IF ( reser.itemtype ) %] (<b>[% reser.itemtype %]</b>)[% END %]
65
                            <br />Barcode: [% reser.barcode %]
65
                            <br />Barcode: [% reser.barcode %]
66
                    </td>
66
                    </td>
Lines 72-78 $(document).ready(function() { Link Here
72
                            [% IF ( reser.borrowermail ) %]
72
                            [% IF ( reser.borrowermail ) %]
73
                                <br />
73
                                <br />
74
                                [% BLOCK subject %]Hold:[% END %]
74
                                [% BLOCK subject %]Hold:[% END %]
75
                                <a href="mailto:[% reser.borrowermail %]?subject=[% INCLUDE subject %] [% reser.title |html %]">
75
                                <a href="mailto:[% reser.borrowermail %]?subject=[% INCLUDE subject %] [% reser.title %]">
76
                                    [% reser.borrowermail %]
76
                                    [% reser.borrowermail %]
77
                                </a>
77
                                </a>
78
                            [% END %]
78
                            [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt (-1 / +1 lines)
Lines 146-152 $(document).ready(function() { Link Here
146
     <tbody>[% FOREACH itemsloo IN itemsloop %]
146
     <tbody>[% FOREACH itemsloo IN itemsloop %]
147
        <tr>
147
        <tr>
148
            <td class="hq-title">
148
            <td class="hq-title">
149
                <p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itemsloo.biblionumber %]"><strong>[% itemsloo.title | html %]</strong> [% FOREACH s IN itemsloo.subtitle %] [% s %][% END %]</a></p>
149
                <p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itemsloo.biblionumber %]"><strong>[% itemsloo.title %]</strong> [% FOREACH s IN itemsloo.subtitle %] [% s %][% END %]</a></p>
150
                <p>
150
                <p>
151
                    <div class="hq-biblionumber content_hidden">[% itemsloo.biblionumber %]</div>
151
                    <div class="hq-biblionumber content_hidden">[% itemsloo.biblionumber %]</div>
152
                    <div class="hq-author">[% itemsloo.author %]</div>
152
                    <div class="hq-author">[% itemsloo.author %]</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt (-2 / +2 lines)
Lines 96-102 Link Here
96
                <tr>
96
                <tr>
97
                    <td><span title="[% reserveloo.waitingdate %]">[% reserveloo.waitingdate | $KohaDates %]</span></td>
97
                    <td><span title="[% reserveloo.waitingdate %]">[% reserveloo.waitingdate | $KohaDates %]</span></td>
98
                    <td>[% INCLUDE 'biblio-default-view.inc' biblionumber = reserveloo.biblionumber %]
98
                    <td>[% INCLUDE 'biblio-default-view.inc' biblionumber = reserveloo.biblionumber %]
99
                        [% reserveloo.title |html %] [% FOREACH subtitl IN reserveloo.subtitle %] [% subtitl.subfield %][% END %]
99
                        [% reserveloo.title %] [% FOREACH subtitl IN reserveloo.subtitle %] [% subtitl.subfield %][% END %]
100
                        </a>
100
                        </a>
101
                            [% UNLESS ( item_level_itypes ) %][% IF ( reserveloo.itemtype ) %]&nbsp; (<b>[% reserveloo.itemtype %]</b>)[% END %][% END %]
101
                            [% UNLESS ( item_level_itypes ) %][% IF ( reserveloo.itemtype ) %]&nbsp; (<b>[% reserveloo.itemtype %]</b>)[% END %][% END %]
102
                            <br />Barcode: [% reserveloo.barcode %]
102
                            <br />Barcode: [% reserveloo.barcode %]
Lines 161-167 Link Here
161
               <tbody>[% FOREACH overloo IN overloop %]
161
               <tbody>[% FOREACH overloo IN overloop %]
162
                    <tr>
162
                    <tr>
163
                        <td><p><span title="[% overloo.waitingdate %]">[% overloo.waitingdate | $KohaDates %]</span></p></td>
163
                        <td><p><span title="[% overloo.waitingdate %]">[% overloo.waitingdate | $KohaDates %]</span></p></td>
164
                        <td>[% INCLUDE 'biblio-default-view.inc' biblionumber = overloo.biblionumber %][% overloo.title |html %]
164
                        <td>[% INCLUDE 'biblio-default-view.inc' biblionumber = overloo.biblionumber %][% overloo.title %]
165
                            [% FOREACH subtitl IN overloo.subtitle %] [% subtitl.subfield %][% END %]
165
                            [% FOREACH subtitl IN overloo.subtitle %] [% subtitl.subfield %][% END %]
166
                        </a>
166
                        </a>
167
                            [% UNLESS ( item_level_itypes ) %][% IF ( overloo.itemtype ) %]&nbsp; (<b>[% overloo.itemtype %]</b>)[% END %][% END %]
167
                            [% UNLESS ( item_level_itypes ) %][% IF ( overloo.itemtype ) %]&nbsp; (<b>[% overloo.itemtype %]</b>)[% END %][% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/installer/auth.tt (-1 / +1 lines)
Lines 31-37 Link Here
31
<!-- login prompt time-->
31
<!-- login prompt time-->
32
<form action="/cgi-bin/koha/installer/install.pl" method="post" name="mainform" id="mainform">
32
<form action="/cgi-bin/koha/installer/install.pl" method="post" name="mainform" id="mainform">
33
[% FOREACH INPUT IN INPUTS %]
33
[% FOREACH INPUT IN INPUTS %]
34
    <input type="hidden" name="[% INPUT.name |html %]" value="[% INPUT.value |html %]" />
34
    <input type="hidden" name="[% INPUT.name %]" value="[% INPUT.value %]" />
35
[% END %]
35
[% END %]
36
<h3>Welcome to the Koha web installer</h3>
36
<h3>Welcome to the Koha web installer</h3>
37
<p>Before we begin, please verify you have the correct credentials to continue. Please log in
37
<p>Before we begin, please verify you have the correct credentials to continue. Please log in
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step3.tt (-2 / +2 lines)
Lines 232-238 Link Here
232
  <p>Update report :</p>
232
  <p>Update report :</p>
233
    <ul>
233
    <ul>
234
      [% FOREACH update_repor IN update_report %]
234
      [% FOREACH update_repor IN update_report %]
235
          <li>[% update_repor.line |html %]</li>
235
          <li>[% update_repor.line %]</li>
236
      [% END %]
236
      [% END %]
237
    </ul>
237
    </ul>
238
  [% END %]
238
  [% END %]
Lines 240-246 Link Here
240
  <p>Update errors :</p>
240
  <p>Update errors :</p>
241
    <ul>
241
    <ul>
242
      [% FOREACH update_error IN update_errors %]
242
      [% FOREACH update_error IN update_errors %]
243
          <li class="update_error">[% update_error.line |html %]</li>
243
          <li class="update_error">[% update_error.line %]</li>
244
      [% END %]
244
      [% END %]
245
    </ul>
245
    </ul>
246
  [% END %]
246
  [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt (-2 / +2 lines)
Lines 170-176 Link Here
170
            [% IF ( IntranetmainUserblock ) %]
170
            [% IF ( IntranetmainUserblock ) %]
171
                <div class="yui-g" id="area-userblock">
171
                <div class="yui-g" id="area-userblock">
172
                    <div class="user-info">
172
                    <div class="user-info">
173
                        [% IntranetmainUserblock %]
173
                        [% IntranetmainUserblock.raw %]
174
                    </div>
174
                    </div>
175
                </div>
175
                </div>
176
            [% END %]
176
            [% END %]
Lines 183-189 Link Here
183
            [% SET newsdisp = Koha.Preference('NewsAuthorDisplay') %]
183
            [% SET newsdisp = Koha.Preference('NewsAuthorDisplay') %]
184
            [% FOREACH koha_new IN koha_news %]
184
            [% FOREACH koha_new IN koha_news %]
185
                <div class="newsitem" id="news[% koha_new.idnew %]"><h4>[% koha_new.title %]</h4>
185
                <div class="newsitem" id="news[% koha_new.idnew %]"><h4>[% koha_new.title %]</h4>
186
                    <div class="newsbody">[% koha_new.content %]</div>
186
                    <div class="newsbody">[% koha_new.content.raw %]</div>
187
                    <p class="newsfooter"> Posted on [% koha_new.newdate %][% IF( ( newsdisp == 'staff' || newsdisp == 'both' ) && koha_new.borrowernumber ) %] by <span class="newsauthor_title">[% koha_new.author_title %] </span>[% koha_new.author_firstname %] [% koha_new.author_surname %]<br />[% END %]
187
                    <p class="newsfooter"> Posted on [% koha_new.newdate %][% IF( ( newsdisp == 'staff' || newsdisp == 'both' ) && koha_new.borrowernumber ) %] by <span class="newsauthor_title">[% koha_new.author_title %] </span>[% koha_new.author_firstname %] [% koha_new.author_surname %]<br />[% END %]
188
                        [% IF ( CAN_user_tools ) %]
188
                        [% IF ( CAN_user_tools ) %]
189
                            <a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form&amp;id=[% koha_new.idnew %]">Edit</a>
189
                            <a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form&amp;id=[% koha_new.idnew %]">Edit</a>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt (-1 / +1 lines)
Lines 266-272 Link Here
266
                                                            [% IF ( text_field.select_field ) %]
266
                                                            [% IF ( text_field.select_field ) %]
267
                                                                <td>
267
                                                                <td>
268
                                                                    <a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/labels/label-edit-batch.pl?op=remove&amp;batch_id=[% batch_id |url %]&amp;label_id=[% text_field.field_value |url %]"><i class="fa fa-trash"></i> Delete</a>
268
                                                                    <a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/labels/label-edit-batch.pl?op=remove&amp;batch_id=[% batch_id |url %]&amp;label_id=[% text_field.field_value |url %]"><i class="fa fa-trash"></i> Delete</a>
269
                                                                    <a class="btn btn-default btn-xs export" href="#" data-batch-id="[% batch_id %]" data-label-id="[% text_field.field_value |html %]"><i class="fa fa-share-square-o"></i> Export</a>
269
                                                                    <a class="btn btn-default btn-xs export" href="#" data-batch-id="[% batch_id %]" data-label-id="[% text_field.field_value %]"><i class="fa fa-share-square-o"></i> Export</a>
270
                                                                </td>
270
                                                                </td>
271
                                                                <td><input type="checkbox" name="action" value="[% text_field.field_value %]"></td>
271
                                                                <td><input type="checkbox" name="action" value="[% text_field.field_value %]"></td>
272
                                                            [% ELSE %]
272
                                                            [% ELSE %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt (-2 / +2 lines)
Lines 135-141 Link Here
135
                                            [% END %]
135
                                            [% END %]
136
                                           <li> <fieldset id="layout_string" class="brief">
136
                                           <li> <fieldset id="layout_string" class="brief">
137
                                                <label for="format_string">Data fields</label>
137
                                                <label for="format_string">Data fields</label>
138
                                                <input type="text" name="format_string" id="format_string" size="80" value="[% format_string |html %]" />
138
                                                <input type="text" name="format_string" id="format_string" size="80" value="[% format_string %]" />
139
                                                <div class="hint">
139
                                                <div class="hint">
140
                                                    <p>Enter a comma separated list of fields to print.  You may include any <em>Koha field</em> or MARC subfield.</p>
140
                                                    <p>Enter a comma separated list of fields to print.  You may include any <em>Koha field</em> or MARC subfield.</p>
141
                                                    <p>See online help for advanced options</p>
141
                                                    <p>See online help for advanced options</p>
Lines 188-194 Link Here
188
                                </li>
188
                                </li>
189
                                <li>
189
                                <li>
190
                                    <label for="font_size">Font size: </label>
190
                                    <label for="font_size">Font size: </label>
191
                                    <input type="text" name="font_size" id="font_size" size="2" value="[% font_size |html %]" />
191
                                    <input type="text" name="font_size" id="font_size" size="2" value="[% font_size %]" />
192
                                </li>
192
                                </li>
193
                                <li>
193
                                <li>
194
                                    <label for="oblique_title">Oblique title: </label>
194
                                    <label for="oblique_title">Oblique title: </label>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt (-1 / +1 lines)
Lines 82-88 Link Here
82
                <input type="hidden" name="ccl_query" value="[% ccl_query %]" />
82
                <input type="hidden" name="ccl_query" value="[% ccl_query %]" />
83
            [% FOREACH result_se IN result_set %]
83
            [% FOREACH result_se IN result_set %]
84
            <div style="border-bottom:1px solid #CCC;padding:1em 0;">
84
            <div style="border-bottom:1px solid #CCC;padding:1em 0;">
85
                    <h4>[% result_se.title |html %]</h4>
85
                    <h4>[% result_se.title %]</h4>
86
                            <p>[% IF ( result_se.author ) %]by [% result_se.author %][% END %]
86
                            <p>[% IF ( result_se.author ) %]by [% result_se.author %][% END %]
87
                            [[% result_se.itemtype %]], [% IF ( result_se.publishercode ) %][% result_se.publishercode %] [% END %][% IF ( result_se.place ) %][% result_se.place %] [% END %][% IF ( result_se.copyrightdate ) %][% result_se.copyrightdate %], [% END %][% IF ( result_se.pages ) %][% result_se.pages %][% END %][% IF ( result_se.isbn ) %], <b>ISBN: </b>[% result_se.isbn %][% END %][% IF ( result_se.notes ) %],<br />[% result_se.notes %][% END %]</p>
87
                            [[% result_se.itemtype %]], [% IF ( result_se.publishercode ) %][% result_se.publishercode %] [% END %][% IF ( result_se.place ) %][% result_se.place %] [% END %][% IF ( result_se.copyrightdate ) %][% result_se.copyrightdate %], [% END %][% IF ( result_se.pages ) %][% result_se.pages %][% END %][% IF ( result_se.isbn ) %], <b>ISBN: </b>[% result_se.isbn %][% END %][% IF ( result_se.notes ) %],<br />[% result_se.notes %][% END %]</p>
88
88
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt (-2 / +2 lines)
Lines 10-22 Link Here
10
			.noprint { display: none; }
10
			.noprint { display: none; }
11
		}
11
		}
12
	</style>
12
	</style>
13
[% IF ( IntranetUserCSS ) %]<style type="text/css">[% IntranetUserCSS %]</style>[% END %]
13
[% IF ( IntranetUserCSS ) %]<style type="text/css">[% IntranetUserCSS.raw %]</style>[% END %]
14
[% IF ( IntranetUserJS ) %]
14
[% IF ( IntranetUserJS ) %]
15
    <script type="text/javascript" src="[% interface %]/lib/jquery/jquery-2.2.3.min.js"></script>
15
    <script type="text/javascript" src="[% interface %]/lib/jquery/jquery-2.2.3.min.js"></script>
16
    <script type="text/javascript" src="[% interface %]/lib/jquery/jquery-migrate-1.3.0.min.js"></script>
16
    <script type="text/javascript" src="[% interface %]/lib/jquery/jquery-migrate-1.3.0.min.js"></script>
17
    <script type="text/javascript">
17
    <script type="text/javascript">
18
    //<![CDATA[
18
    //<![CDATA[
19
    [% IntranetUserJS %]
19
    [% IntranetUserJS.raw %]
20
    //]]>
20
    //]]>
21
    </script>
21
    </script>
22
[% END %]
22
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt (-1 / +1 lines)
Lines 106-112 $(document).ready(function() { Link Here
106
          [% CASE %][% account.accounttype %]
106
          [% CASE %][% account.accounttype %]
107
        [%- END -%]
107
        [%- END -%]
108
        [%- IF account.description %], [% account.description %][% END %]
108
        [%- IF account.description %], [% account.description %][% END %]
109
        &nbsp;[% IF ( account.itemnumber ) %]<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% account.biblionumber %]&amp;itemnumber=[% account.itemnumber %]">[% account.title |html %]</a>[% END %]</td>
109
        &nbsp;[% IF ( account.itemnumber ) %]<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% account.biblionumber %]&amp;itemnumber=[% account.itemnumber %]">[% account.title %]</a>[% END %]</td>
110
      <td>[% account.note | html_line_break %]</td>
110
      <td>[% account.note | html_line_break %]</td>
111
      [% IF ( account.amountcredit ) %]<td class="credit" style="text-align: right;">[% ELSE %]<td class="debit" style="text-align: right;">[% END %][% account.amount %]</td>
111
      [% IF ( account.amountcredit ) %]<td class="credit" style="text-align: right;">[% ELSE %]<td class="debit" style="text-align: right;">[% END %][% account.amount %]</td>
112
      [% IF ( account.amountoutstandingcredit ) %]<td class="credit" style="text-align: right;">[% ELSE %]<td class="debit" style="text-align: right;">[% END %][% account.amountoutstanding %]</td>
112
      [% IF ( account.amountoutstandingcredit ) %]<td class="credit" style="text-align: right;">[% ELSE %]<td class="debit" style="text-align: right;">[% END %][% account.amountoutstanding %]</td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt (-1 / +1 lines)
Lines 160-166 $(document).ready(function() { Link Here
160
    });
160
    });
161
161
162
    // Apply DataTables on the results table
162
    // Apply DataTables on the results table
163
    var columns_settings = [% ColumnsSettings.GetColumns( 'members', 'member', 'memberresultst', 'json' ) %];
163
    var columns_settings = [% ColumnsSettings.GetColumns( 'members', 'member', 'memberresultst', 'json' ).raw %];
164
    dtMemberResults = KohaTable("#memberresultst", {
164
    dtMemberResults = KohaTable("#memberresultst", {
165
        'bServerSide': true,
165
        'bServerSide': true,
166
        'sAjaxSource': "/cgi-bin/koha/svc/members/search",
166
        'sAjaxSource': "/cgi-bin/koha/svc/members/search",
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt (-39 / +43 lines)
Lines 107-113 $(document).ready(function() { Link Here
107
[% INCLUDE 'patron-search.inc' %]
107
[% INCLUDE 'patron-search.inc' %]
108
108
109
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a>  &rsaquo;
109
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a>  &rsaquo;
110
[% IF (firstname || surname ) %] <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% IF (firstname) %][% firstname | html %] [% END %][% IF (surname) %][% surname | html %] [% END %]</a>  &rsaquo;[% END %]
110
[% IF (firstname || surname ) %] <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% IF (firstname) %][% firstname %] [% END %][% IF (surname) %][% surname %] [% END %]</a>  &rsaquo;[% END %]
111
<strong>[% IF ( opadd ) %]Add[% ELSIF ( opduplicate ) %]Duplicate[% ELSE %] Modify[% END %] patron ([%IF ( categoryname ) %][% categoryname %][% ELSE %][% IF ( I ) %]Organization[% END %][% IF ( A ) %]Adult[% END %][% IF ( C ) %]Child[% END %][% IF ( P ) %]Professional[% END %][% IF ( S ) %]Staff[% END %][% END %])</strong>
111
<strong>[% IF ( opadd ) %]Add[% ELSIF ( opduplicate ) %]Duplicate[% ELSE %] Modify[% END %] patron ([%IF ( categoryname ) %][% categoryname %][% ELSE %][% IF ( I ) %]Organization[% END %][% IF ( A ) %]Adult[% END %][% IF ( C ) %]Child[% END %][% IF ( P ) %]Professional[% END %][% IF ( S ) %]Staff[% END %][% END %])</strong>
112
</div>
112
</div>
113
[% IF ( opadd ) %]<div id="doc" class="yui-t7">[% ELSE %]<div id="doc3" class="yui-t2">[% END %]
113
[% IF ( opadd ) %]<div id="doc" class="yui-t7">[% ELSE %]<div id="doc3" class="yui-t2">[% END %]
Lines 129-135 $(document).ready(function() { Link Here
129
    [% INCLUDE 'noadd-warnings.inc' %]
129
    [% INCLUDE 'noadd-warnings.inc' %]
130
130
131
	[% UNLESS ( no_add ) %]
131
	[% UNLESS ( no_add ) %]
132
    <h1>[% IF ( opadd ) %]Add[% ELSIF ( opduplicate ) %]Duplicate[% ELSE %] Modify[% END %] patron [% IF (firstname) %][% firstname | html %] [% END %][% IF (surname) %][% surname | html %] [% END %]([%IF ( categoryname ) %][% categoryname %][% ELSE %][% IF ( I ) %]Organization[% END %][% IF ( A ) %]Adult[% END %][% IF ( C ) %]Child[% END %][% IF ( P ) %]Professional[% END %][% IF ( S ) %]Staff[% END %][% END %])</h1>
132
    <h1>[% IF ( opadd ) %]Add[% ELSIF ( opduplicate ) %]Duplicate[% ELSE %] Modify[% END %] patron [% IF (firstname) %][% firstname %] [% END %][% IF (surname) %][% surname %] [% END %]([%IF ( categoryname ) %][% categoryname %][% ELSE %][% IF ( I ) %]Organization[% END %][% IF ( A ) %]Adult[% END %][% IF ( C ) %]Child[% END %][% IF ( P ) %]Professional[% END %][% IF ( S ) %]Staff[% END %][% END %])</h1>
133
133
134
    [% IF quickadd && opadd && !check_member %]
134
    [% IF quickadd && opadd && !check_member %]
135
        <a href="#" class="toggle_quick_add"><i class="fa fa-plus-square"></i> Show full form</a>
135
        <a href="#" class="toggle_quick_add"><i class="fa fa-plus-square"></i> Show full form</a>
Lines 304-310 $(document).ready(function() { Link Here
304
                <label for="firstname">
304
                <label for="firstname">
305
                [% END %]
305
                [% END %]
306
                First name: </label>
306
                First name: </label>
307
                <input type="text" id="firstname" name="firstname" size="20"  value="[% UNLESS opduplicate %][% firstname | html %][% END %]" />
307
                <input type="text" id="firstname" name="firstname" size="20"  value="[% UNLESS opduplicate %][% firstname %][% END %]" />
308
                [% IF ( mandatoryfirstname ) %]<span class="required">Required</span>[% END %]
308
                [% IF ( mandatoryfirstname ) %]<span class="required">Required</span>[% END %]
309
            </li>
309
            </li>
310
        [% END %]
310
        [% END %]
Lines 332-338 $(document).ready(function() { Link Here
332
                    <label for="initials">
332
                    <label for="initials">
333
                [% END %]
333
                [% END %]
334
                Initials: </label>
334
                Initials: </label>
335
                <input type="text" id="initials" name="initials" size="20"  value="[% UNLESS opduplicate %][% initials | html %][% END %]" />
335
                <input type="text" id="initials" name="initials" size="20"  value="[% UNLESS opduplicate %][% initials %][% END %]" />
336
                [% IF ( mandatoryinitials ) %]<span class="required">Required</span>[% END %]
336
                [% IF ( mandatoryinitials ) %]<span class="required">Required</span>[% END %]
337
            </li>
337
            </li>
338
        [% END %]
338
        [% END %]
Lines 345-351 $(document).ready(function() { Link Here
345
			<label for="othernames">
345
			<label for="othernames">
346
			[% END %]
346
			[% END %]
347
            Other name: </label>
347
            Other name: </label>
348
            <input type="text" id="othernames" name="othernames" size="20"  value="[% UNLESS opduplicate %][% othernames | html %][% END %]" />
348
            <input type="text" id="othernames" name="othernames" size="20"  value="[% UNLESS opduplicate %][% othernames %][% END %]" />
349
[% IF ( mandatoryothernames ) %]<span class="required">Required</span>[% END %]
349
[% IF ( mandatoryothernames ) %]<span class="required">Required</span>[% END %]
350
		[% IF ( I ) %]<input type="hidden" name="sex" value="N" />[% END %]
350
		[% IF ( I ) %]<input type="hidden" name="sex" value="N" />[% END %]
351
		</li>
351
		</li>
Lines 403-411 $(document).ready(function() { Link Here
403
	            <label for="contactname">Organization name: </label>
403
	            <label for="contactname">Organization name: </label>
404
	            [% IF ( guarantorid ) %]
404
	            [% IF ( guarantorid ) %]
405
	            <span>[% contactname %]</span>
405
	            <span>[% contactname %]</span>
406
	            <input name="contactname" id="contactname" type="hidden" size="20" value="[% contactname | html %]" />
406
	            <input name="contactname" id="contactname" type="hidden" size="20" value="[% contactname %]" />
407
	            [% ELSE %]
407
	            [% ELSE %]
408
                    <input name="contactname" id="contactname" type="text" size="20" value="[% contactname | html %]" />
408
                    <input name="contactname" id="contactname" type="text" size="20" value="[% contactname %]" />
409
	            [% END %]
409
	            [% END %]
410
	        </li>
410
	        </li>
411
[% ELSE %]
411
[% ELSE %]
Lines 422-430 $(document).ready(function() { Link Here
422
     <label for="contactname">Surname: </label>
422
     <label for="contactname">Surname: </label>
423
     [% IF ( guarantorid ) %]
423
     [% IF ( guarantorid ) %]
424
     <span>[% contactname %]</span>
424
     <span>[% contactname %]</span>
425
     <input name="contactname" id="contactname" type="hidden" size="20" value="[% contactname | html %]" />
425
     <input name="contactname" id="contactname" type="hidden" size="20" value="[% contactname %]" />
426
     [% ELSE %]
426
     [% ELSE %]
427
        <input name="contactname" id="contactname" type="text" size="20" value="[% contactname | html %]" />
427
        <input name="contactname" id="contactname" type="text" size="20" value="[% contactname %]" />
428
     [% END %]
428
     [% END %]
429
 </li>
429
 </li>
430
        [% END %]
430
        [% END %]
Lines 433-441 $(document).ready(function() { Link Here
433
     <label for="contactfirstname">First name: </label>
433
     <label for="contactfirstname">First name: </label>
434
     [% IF ( guarantorid ) %]
434
     [% IF ( guarantorid ) %]
435
     <span>[% contactfirstname %]</span>
435
     <span>[% contactfirstname %]</span>
436
     <input name="contactfirstname" id="contactfirstname" type="hidden" size="20" value="[% contactfirstname | html %]" />
436
     <input name="contactfirstname" id="contactfirstname" type="hidden" size="20" value="[% contactfirstname %]" />
437
     [% ELSE %]
437
     [% ELSE %]
438
        <input name="contactfirstname" id="contactfirstname" type="text" size="20" value="[% contactfirstname | html %]" />
438
        <input name="contactfirstname" id="contactfirstname" type="text" size="20" value="[% contactfirstname %]" />
439
     [% END %]
439
     [% END %]
440
 </li>
440
 </li>
441
        [% END %]
441
        [% END %]
Lines 484-494 $(document).ready(function() { Link Here
484
484
485
[% END %]
485
[% END %]
486
[% UNLESS noaddress && noaddress2 && nocity && nostate && nozipcode && nocountry %]
486
[% UNLESS noaddress && noaddress2 && nocity && nostate && nozipcode && nocountry %]
487
    [% IF Koha.Preference( 'AddressFormat' ) %]
487
    [% SWITCH Koha.Preference( 'AddressFormat' ) %]
488
        [% INCLUDE "member-main-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %]
488
        [% CASE 'de' %]
489
    [% ELSE %]
489
            [% INCLUDE 'member-main-address-style-de.inc' %]
490
        [% INCLUDE 'member-main-address-style-us.inc' %]
490
        [% CASE # us %]
491
    [% END %]
491
            [% INCLUDE 'member-main-address-style-us.inc' %]
492
     [% END %]
492
[% END # nostreet && nocity etc group%]
493
[% END # nostreet && nocity etc group%]
493
494
494
[% UNLESS nophone && nophonepro && nomobile && noemail && noemailpro && nofax %]
495
[% UNLESS nophone && nophonepro && nomobile && noemail && noemailpro && nofax %]
Lines 502-508 $(document).ready(function() { Link Here
502
      <label for="phone">
503
      <label for="phone">
503
      [% END %]
504
      [% END %]
504
      Primary phone: </label>
505
      Primary phone: </label>
505
        <input type="text" id="phone" name="phone" value="[% phone | html %]" />
506
        <input type="text" id="phone" name="phone" value="[% phone %]" />
506
	  [% IF ( mandatoryphone ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div>
507
	  [% IF ( mandatoryphone ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div>
507
508
508
    </li>
509
    </li>
Lines 515-521 $(document).ready(function() { Link Here
515
      <label for="phonepro">
516
      <label for="phonepro">
516
      [% END %]
517
      [% END %]
517
      Secondary phone: </label>
518
      Secondary phone: </label>
518
    <input type="text" id="phonepro" name="phonepro" value="[% phonepro | html %]" />
519
    <input type="text" id="phonepro" name="phonepro" value="[% phonepro %]" />
519
	  [% IF ( mandatoryphonepro ) %]<span class="required">Required</span>[% END %]
520
	  [% IF ( mandatoryphonepro ) %]<span class="required">Required</span>[% END %]
520
    </li>
521
    </li>
521
        [% END %]
522
        [% END %]
Lines 527-533 $(document).ready(function() { Link Here
527
      <label for="mobile">
528
      <label for="mobile">
528
      [% END %]
529
      [% END %]
529
      Other phone: </label>
530
      Other phone: </label>
530
        <input type="text" id="mobile" name="mobile" value="[% mobile | html %]" />
531
        <input type="text" id="mobile" name="mobile" value="[% mobile %]" />
531
	  [% IF ( mandatorymobile ) %]<span class="required">Required</span>[% END %]
532
	  [% IF ( mandatorymobile ) %]<span class="required">Required</span>[% END %]
532
    </li>
533
    </li>
533
        [% END %]
534
        [% END %]
Lines 539-545 $(document).ready(function() { Link Here
539
      <label for="email">
540
      <label for="email">
540
      [% END %]
541
      [% END %]
541
      Primary email: </label>
542
      Primary email: </label>
542
        <input type="text" id="email" name="email" size="45" value="[% email | html %]" />
543
        <input type="text" id="email" name="email" size="45" value="[% email %]" />
543
	  [% IF ( mandatoryemail ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div>
544
	  [% IF ( mandatoryemail ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div>
544
545
545
    </li>
546
    </li>
Lines 552-558 $(document).ready(function() { Link Here
552
      <label for="emailpro">
553
      <label for="emailpro">
553
      [% END %]
554
      [% END %]
554
      Secondary email: </label>
555
      Secondary email: </label>
555
        <input type="text" id="emailpro" name="emailpro" size="45" value="[% emailpro | html %]" />
556
        <input type="text" id="emailpro" name="emailpro" size="45" value="[% emailpro %]" />
556
	  [% IF ( mandatoryemailpro ) %]<span class="required">Required</span>[% END %]
557
	  [% IF ( mandatoryemailpro ) %]<span class="required">Required</span>[% END %]
557
    </li>
558
    </li>
558
        [% END %]
559
        [% END %]
Lines 564-570 $(document).ready(function() { Link Here
564
      <label for="fax">
565
      <label for="fax">
565
      [% END %]
566
      [% END %]
566
      Fax: </label>
567
      Fax: </label>
567
        <input type="text" id="fax" name="fax" value="[% fax | html %]" />
568
        <input type="text" id="fax" name="fax" value="[% fax %]" />
568
	  [% IF ( mandatoryfax ) %]<span class="required">Required</span>[% END %]
569
	  [% IF ( mandatoryfax ) %]<span class="required">Required</span>[% END %]
569
    </li>
570
    </li>
570
        [% END %]
571
        [% END %]
Lines 577-596 $(document).ready(function() { Link Here
577
[% IF ( step_6 ) %]
578
[% IF ( step_6 ) %]
578
579
579
    [% UNLESS noB_address && noB_address2 && noB_city && noB_zipcode && noB_state && noB_country &&nocontactnote && noB_phone && noB_email %]
580
    [% UNLESS noB_address && noB_address2 && noB_city && noB_zipcode && noB_state && noB_country &&nocontactnote && noB_phone && noB_email %]
580
        [% IF Koha.Preference( 'AddressFormat' ) %]
581
    [% SWITCH Koha.Preference( 'AddressFormat' ) %]
581
            [% INCLUDE "member-alt-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %]
582
        [% CASE 'de' %]
582
        [% ELSE %]
583
            [% INCLUDE 'member-alt-address-style-de.inc' %]
584
        [% CASE # us %]
583
            [% INCLUDE 'member-alt-address-style-us.inc' %]
585
            [% INCLUDE 'member-alt-address-style-us.inc' %]
584
        [% END %]
586
     [% END %]
587
585
    [% END # UNLESS noB_address && noB_city && noB_state && noB_phone && noB_email %]
588
    [% END # UNLESS noB_address && noB_city && noB_state && noB_phone && noB_email %]
586
[% END %]
589
[% END %]
587
[% IF ( step_2 ) %]
590
[% IF ( step_2 ) %]
588
    [% UNLESS noaltcontactsurname && noaltcontactfirstname && noaltcontactaddress1 && noaltcontactaddress2 && noaltcontactaddress3 && noaltcontactstate && noaltcontactzipcode && noaltcontactcountry && noaltcontactphone %]
591
    [% UNLESS noaltcontactsurname && noaltcontactfirstname && noaltcontactaddress1 && noaltcontactaddress2 && noaltcontactaddress3 && noaltcontactstate && noaltcontactzipcode && noaltcontactcountry && noaltcontactphone %]
589
        [% IF Koha.Preference( 'AddressFormat' ) %]
592
    [% SWITCH Koha.Preference( 'AddressFormat' ) %]
590
            [% INCLUDE "member-alt-contact-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %]
593
        [% CASE 'de' %]
591
        [% ELSE %]
594
            [% INCLUDE 'member-alt-contact-style-de.inc' %]
595
        [% CASE # us %]
592
            [% INCLUDE 'member-alt-contact-style-us.inc' %]
596
            [% INCLUDE 'member-alt-contact-style-us.inc' %]
593
        [% END %]
597
     [% END %]
594
    [% END # UNLESS noaltcontactsurname && noaltcontactfirstname etc %]
598
    [% END # UNLESS noaltcontactsurname && noaltcontactfirstname etc %]
595
599
596
[% END %]
600
[% END %]
Lines 612-630 $(document).ready(function() { Link Here
612
              Card number: </label>
616
              Card number: </label>
613
          [% END %]
617
          [% END %]
614
          [% IF minlength_cardnumber == maxlength_cardnumber %]
618
          [% IF minlength_cardnumber == maxlength_cardnumber %]
615
                <input type="text" id="cardnumber" name="cardnumber" size="20" value="[% cardnumber | html %]" minlength="[% minlength_cardnumber %]" maxlength="[% maxlength_cardnumber %]" />
619
                <input type="text" id="cardnumber" name="cardnumber" size="20" value="[% cardnumber %]" minlength="[% minlength_cardnumber %]" maxlength="[% maxlength_cardnumber %]" />
616
                [% IF mandatorycardnumber and not autoMemberNum %]<span class="required">Required</span>[% END %]
620
                [% IF mandatorycardnumber and not autoMemberNum %]<span class="required">Required</span>[% END %]
617
                <div class="hint">Card number must be exactly [% minlength_cardnumber %] characters.</div>
621
                <div class="hint">Card number must be exactly [% minlength_cardnumber %] characters.</div>
618
          [% ELSIF minlength_cardnumber && maxlength_cardnumber %]
622
          [% ELSIF minlength_cardnumber && maxlength_cardnumber %]
619
                <input type="text" id="cardnumber" name="cardnumber" size="20" value="[% cardnumber | html %]" minlength="[% minlength_cardnumber %]" maxlength="[% maxlength_cardnumber %]" />
623
                <input type="text" id="cardnumber" name="cardnumber" size="20" value="[% cardnumber %]" minlength="[% minlength_cardnumber %]" maxlength="[% maxlength_cardnumber %]" />
620
                [% IF mandatorycardnumber and not autoMemberNum %]<span class="required">Required</span>[% END %]
624
                [% IF mandatorycardnumber and not autoMemberNum %]<span class="required">Required</span>[% END %]
621
                <div class="hint">Card number must be between [% minlength_cardnumber %] and [% maxlength_cardnumber %] characters.</div>
625
                <div class="hint">Card number must be between [% minlength_cardnumber %] and [% maxlength_cardnumber %] characters.</div>
622
          [% ELSIF maxlength_cardnumber %]
626
          [% ELSIF maxlength_cardnumber %]
623
                <input type="text" id="cardnumber" name="cardnumber" size="20" value="[% cardnumber | html %]" maxlength="[% maxlength_cardnumber %]" />
627
                <input type="text" id="cardnumber" name="cardnumber" size="20" value="[% cardnumber %]" maxlength="[% maxlength_cardnumber %]" />
624
                [% IF mandatorycardnumber and not autoMemberNum %]<span class="required">Required</span>[% END %]
628
                [% IF mandatorycardnumber and not autoMemberNum %]<span class="required">Required</span>[% END %]
625
                <div class="hint">Card number can be up to [% maxlength_cardnumber %] characters.</div>
629
                <div class="hint">Card number can be up to [% maxlength_cardnumber %] characters.</div>
626
          [% ELSE %]
630
          [% ELSE %]
627
                <input type="text" id="cardnumber" name="cardnumber" size="20" value="[% cardnumber | html %]" />
631
                <input type="text" id="cardnumber" name="cardnumber" size="20" value="[% cardnumber %]" />
628
                [% IF mandatorycardnumber and not autoMemberNum %]<span class="required">Required</span>[% END %]
632
                [% IF mandatorycardnumber and not autoMemberNum %]<span class="required">Required</span>[% END %]
629
                <div class="hint">There is no minimum or maximum character length.</div>
633
                <div class="hint">There is no minimum or maximum character length.</div>
630
          [% END %]
634
          [% END %]
Lines 779-785 $(document).ready(function() { Link Here
779
				<label for="opacnote">
783
				<label for="opacnote">
780
            [% END %]
784
            [% END %]
781
			OPAC note: </label>
785
			OPAC note: </label>
782
            <textarea id="opacnote" name="opacnote" cols="55" rows="5">[% UNLESS opduplicate %][% opacnote | html %][% END %]</textarea>
786
            <textarea id="opacnote" name="opacnote" cols="55" rows="5">[% UNLESS opduplicate %][% opacnote %][% END %]</textarea>
783
			<div class="hint">This message appears on this patron's user page in the OPAC</div>
787
			<div class="hint">This message appears on this patron's user page in the OPAC</div>
784
	  [% IF ( mandatoryopacnote ) %]<span class="required">Required</span>[% END %]
788
	  [% IF ( mandatoryopacnote ) %]<span class="required">Required</span>[% END %]
785
		</li>
789
		</li>
Lines 792-798 $(document).ready(function() { Link Here
792
				<label for="borrowernotes">
796
				<label for="borrowernotes">
793
			[% END %]
797
			[% END %]
794
			Circulation note: </label>
798
			Circulation note: </label>
795
            <textarea id="borrowernotes" name="borrowernotes" cols="55" rows="5">[% UNLESS opduplicate %][% borrowernotes | html %][% END %]</textarea>
799
            <textarea id="borrowernotes" name="borrowernotes" cols="55" rows="5">[% UNLESS opduplicate %][% borrowernotes %][% END %]</textarea>
796
			<div class="hint">This message displays when checking out to this patron</div>
800
			<div class="hint">This message displays when checking out to this patron</div>
797
	  [% IF ( mandatoryborrowernotes ) %]<span class="required">Required</span>[% END %]
801
	  [% IF ( mandatoryborrowernotes ) %]<span class="required">Required</span>[% END %]
798
		</li>
802
		</li>
Lines 979-987 $(document).ready(function() { Link Here
979
                                    <td>[% d.type %]</td>
983
                                    <td>[% d.type %]</td>
980
                                    <td>
984
                                    <td>
981
                                    [% IF d.comment.search('OVERDUES_PROCESS') %]
985
                                    [% IF d.comment.search('OVERDUES_PROCESS') %]
982
                                        Restriction added by overdues process [% d.comment.remove('OVERDUES_PROCESS ') %]
986
                                        Restriction added by overdues process [% d.comment.remove('OVERDUES_PROCESS ').raw %]
983
                                    [% ELSE %]
987
                                    [% ELSE %]
984
                                        [% d.comment %]
988
                                        [% d.comment.raw %]
985
                                    [% END %]
989
                                    [% END %]
986
                                    </td>
990
                                    </td>
987
                                    <td>[% IF d.expiration %] [% d.expiration | $KohaDates %] [% ELSE %] <i>Indefinite</i> [% END %]</td>
991
                                    <td>[% IF d.expiration %] [% d.expiration | $KohaDates %] [% ELSE %] <i>Indefinite</i> [% END %]</td>
Lines 1082-1088 $(document).ready(function() { Link Here
1082
            [% FOREACH patron_attribute IN pa_loo.items %]
1086
            [% FOREACH patron_attribute IN pa_loo.items %]
1083
                <li data-category_code="[% patron_attribute.category_code %]">
1087
                <li data-category_code="[% patron_attribute.category_code %]">
1084
                    <label for="[% patron_attribute.form_id %]">[% patron_attribute.description %]: </label>
1088
                    <label for="[% patron_attribute.form_id %]">[% patron_attribute.description %]: </label>
1085
                        <input type="hidden" id="[% patron_attribute.form_id %]_code" name="[% patron_attribute.form_id %]_code" value="[% patron_attribute.code |html %]" />
1089
                        <input type="hidden" id="[% patron_attribute.form_id %]_code" name="[% patron_attribute.form_id %]_code" value="[% patron_attribute.code %]" />
1086
                        [% IF ( patron_attribute.use_dropdown ) %]
1090
                        [% IF ( patron_attribute.use_dropdown ) %]
1087
                            <select id="[% patron_attribute.form_id %]" name="[% patron_attribute.form_id %]">
1091
                            <select id="[% patron_attribute.form_id %]" name="[% patron_attribute.form_id %]">
1088
                                <option value=""></option>
1092
                                <option value=""></option>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt (-2 / +2 lines)
Lines 49-55 Link Here
49
                [% FOREACH issue IN issues %]
49
                [% FOREACH issue IN issues %]
50
                    [% IF ( issue.overdue ) %]<tr class="overdue">[% ELSE %]<tr>[% END %]
50
                    [% IF ( issue.overdue ) %]<tr class="overdue">[% ELSE %]<tr>[% END %]
51
                        <td>
51
                        <td>
52
                            [% issue.title |html %]
52
                            [% issue.title %]
53
                            <a href="/cgi-bin/koha/catalogue/detail.pl?item=[% issue.itemnumber %]&amp;biblionumber=[% issue.biblionumber %]&amp;bi=[% issue.biblioitemnumber %]"></a>
53
                            <a href="/cgi-bin/koha/catalogue/detail.pl?item=[% issue.itemnumber %]&amp;biblionumber=[% issue.biblionumber %]&amp;bi=[% issue.biblioitemnumber %]"></a>
54
                        </td>
54
                        </td>
55
                        <td>[% issue.author %]</td>
55
                        <td>[% issue.author %]</td>
Lines 109-115 Link Here
109
                <tr>
109
                <tr>
110
                    <td>
110
                    <td>
111
                        [% IF ( account.itemnumber ) %]<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% account.biblionumber %]&amp;itemnumber=[% account.itemnumber %]">[% END %]
111
                        [% IF ( account.itemnumber ) %]<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% account.biblionumber %]&amp;itemnumber=[% account.itemnumber %]">[% END %]
112
                        [% account.description %]&nbsp;[% IF ( account.printtitle ) %] [% account.title |html %][% END %]
112
                        [% account.description %]&nbsp;[% IF ( account.printtitle ) %] [% account.title %][% END %]
113
                        [% IF ( account.itemnumber ) %]</a>[% END %]
113
                        [% IF ( account.itemnumber ) %]</a>[% END %]
114
                    </td>
114
                    </td>
115
                    <td>[% account.date | $KohaDates %]</td>
115
                    <td>[% account.date | $KohaDates %]</td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-receipt.tt (-4 / +4 lines)
Lines 24-30 Checked out to [% firstname %] [% surname %] <br /> Link Here
24
[% FOREACH issueloo IN issueloop %]
24
[% FOREACH issueloo IN issueloop %]
25
[% IF ( issueloo.red ) %][% ELSE %]
25
[% IF ( issueloo.red ) %][% ELSE %]
26
[% IF ( issueloo.today ) %]
26
[% IF ( issueloo.today ) %]
27
<p><a href="/cgi-bin/koha/catalogue/detail.pl?item=[% issueloo.itemnumber %]&amp;biblionumber=[% issueloo.biblionumber %]&amp;bi=[% issueloo.biblioitemnumber %]">[% issueloo.title |html %]</a><br />
27
<p><a href="/cgi-bin/koha/catalogue/detail.pl?item=[% issueloo.itemnumber %]&amp;biblionumber=[% issueloo.biblionumber %]&amp;bi=[% issueloo.biblioitemnumber %]">[% issueloo.title %]</a><br />
28
Barcode: [% issueloo.barcode %]<br />
28
Barcode: [% issueloo.barcode %]<br />
29
Date due: [% issueloo.date_due %]<br /></p>
29
Date due: [% issueloo.date_due %]<br /></p>
30
    [% END %]
30
    [% END %]
Lines 35-41 Date due: [% issueloo.date_due %]<br /></p> Link Here
35
<h4>Checked out</h4>
35
<h4>Checked out</h4>
36
[% FOREACH issueloo IN issueloop %]
36
[% FOREACH issueloo IN issueloop %]
37
[% IF ( issueloo.red ) %][% ELSE %]
37
[% IF ( issueloo.red ) %][% ELSE %]
38
<p><a href="/cgi-bin/koha/catalogue/detail.pl?item=[% issueloo.itemnumber %]&amp;biblionumber=[% issueloo.biblionumber %]&amp;bi=[% issueloo.biblioitemnumber %]">[% issueloo.title |html %]</a><br />
38
<p><a href="/cgi-bin/koha/catalogue/detail.pl?item=[% issueloo.itemnumber %]&amp;biblionumber=[% issueloo.biblionumber %]&amp;bi=[% issueloo.biblioitemnumber %]">[% issueloo.title %]</a><br />
39
Barcode: [% issueloo.barcode %]<br />
39
Barcode: [% issueloo.barcode %]<br />
40
Date due: [% issueloo.date_due %]<br /></p>
40
Date due: [% issueloo.date_due %]<br /></p>
41
    [% END %]
41
    [% END %]
Lines 49-55 Date due: [% issueloo.date_due %]<br /></p> Link Here
49
<h4>Overdues</h4>
49
<h4>Overdues</h4>
50
    [% FOREACH issueloo IN issueloop %]
50
    [% FOREACH issueloo IN issueloop %]
51
    [% IF ( issueloo.red ) %]
51
    [% IF ( issueloo.red ) %]
52
<p><a href="/cgi-bin/koha/catalogue/detail.pl?item=[% issueloo.itemnumber %]&amp;biblionumber=[% issueloo.biblionumber %]&amp;bi=[% issueloo.biblioitemnumber %]">[% issueloo.title |html %]</a><br />
52
<p><a href="/cgi-bin/koha/catalogue/detail.pl?item=[% issueloo.itemnumber %]&amp;biblionumber=[% issueloo.biblionumber %]&amp;bi=[% issueloo.biblioitemnumber %]">[% issueloo.title %]</a><br />
53
Barcode: [% issueloo.barcode %]<br />
53
Barcode: [% issueloo.barcode %]<br />
54
Date due: [% issueloo.date_due %]</p>
54
Date due: [% issueloo.date_due %]</p>
55
[% END %]
55
[% END %]
Lines 62-68 Date due: [% issueloo.date_due %]</p> Link Here
62
                       <!-- [% koha_news_count %] recent news item(s) -->
62
                       <!-- [% koha_news_count %] recent news item(s) -->
63
            [% FOREACH koha_new IN koha_news %]
63
            [% FOREACH koha_new IN koha_news %]
64
                    <div class="newsitem" id="news[% koha_new.idnew %]"><h5 style="margin-bottom: 1px; margin-top: 1px"><b>[% koha_new.title %]</b></h5>
64
                    <div class="newsitem" id="news[% koha_new.idnew %]"><h5 style="margin-bottom: 1px; margin-top: 1px"><b>[% koha_new.title %]</b></h5>
65
                                        <p style="margin-bottom: 1px; margin-top: 1px">[% koha_new.content %]</p>
65
                                        <p style="margin-bottom: 1px; margin-top: 1px">[% koha_new.content.raw %]</p>
66
                                       <p class="newsfooter" style="font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px"> Posted on [% koha_new.newdate %]
66
                                       <p class="newsfooter" style="font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px"> Posted on [% koha_new.newdate %]
67
67
68
</p><hr /></div>
68
</p><hr /></div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt (-31 / +32 lines)
Lines 45-51 var relatives_borrowernumbers = new Array(); Link Here
45
45
46
var MSG_EXPORT_SELECT_CHECKOUTS = _("You must select checkout(s) to export");
46
var MSG_EXPORT_SELECT_CHECKOUTS = _("You must select checkout(s) to export");
47
47
48
columns_settings = [% ColumnsSettings.GetColumns( 'members', 'moremember', 'issues-table', 'json' ) %]
48
columns_settings = [% ColumnsSettings.GetColumns( 'members', 'moremember', 'issues-table', 'json' ).raw %]
49
49
50
$(document).ready(function() {
50
$(document).ready(function() {
51
    $('#finesholdsissues').tabs({
51
    $('#finesholdsissues').tabs({
Lines 199-207 function validate1(date) { Link Here
199
               [% IF ( debarredcomment ) %]
199
               [% IF ( debarredcomment ) %]
200
                   with the explanation: <i>
200
                   with the explanation: <i>
201
                   [% IF debarredcomment.search('OVERDUES_PROCESS') %]
201
                   [% IF debarredcomment.search('OVERDUES_PROCESS') %]
202
                       Restriction added by overdues process [% debarredcomment.remove('OVERDUES_PROCESS ') | html_line_break %]
202
                       Restriction added by overdues process [% debarredcomment.remove('OVERDUES_PROCESS ').raw | html_line_break %]
203
                   [% ELSE %]
203
                   [% ELSE %]
204
                       [% debarredcomment | html_line_break %]
204
                       [% debarredcomment.raw | html_line_break %]
205
                   [% END %]
205
                   [% END %]
206
                    </i>
206
                    </i>
207
               [% END %]
207
               [% END %]
Lines 215-249 function validate1(date) { Link Here
215
    [% END %]
215
    [% END %]
216
216
217
<h3>[% UNLESS ( I ) %]
217
<h3>[% UNLESS ( I ) %]
218
   [% title | html %] [% firstname | html %] [% END %] [% surname | html %] ([% cardnumber | html %])</h3>
218
   [% title %] [% firstname %] [% END %] [% surname %] ([% cardnumber %])</h3>
219
 <div class="yui-u first">
219
 <div class="yui-u first">
220
<div id="patron-information" style="padding : .5em;">
220
<div id="patron-information" style="padding : .5em;">
221
221
222
     [% UNLESS ( I ) %][% IF ( othernames ) %]&ldquo;[% othernames | html %]&rdquo;[% END %]
222
     [% UNLESS ( I ) %][% IF ( othernames ) %]&ldquo;[% othernames %]&rdquo;[% END %]
223
223
224
    <div class = "address">
224
    <div class = "address">
225
        [% IF Koha.Preference( 'AddressFormat' ) %]
225
        [% SWITCH Koha.Preference( 'AddressFormat' ) %]
226
            [% INCLUDE "member-display-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %]
226
            [% CASE 'de' %]
227
        [% ELSE %]
227
                [% INCLUDE 'member-display-address-style-de.inc' %]
228
            [% INCLUDE 'member-display-address-style-us.inc' %]
228
            [% CASE # us %]
229
                [% INCLUDE 'member-display-address-style-us.inc' %]
229
        [% END %]
230
        [% END %]
230
    </div>
231
    </div>
231
		    
232
		    
232
	<div class="rows">
233
	<div class="rows">
233
		<ol>
234
		<ol>
234
        [% IF ( I ) %]
235
        [% IF ( I ) %]
235
            [% IF ( phonepro ) %]<li><span class="label">Organization phone: </span><a href="tel:[% phonepro %]">[% phonepro | html %]</a></li>[% END %]
236
            [% IF ( phonepro ) %]<li><span class="label">Organization phone: </span><a href="tel:[% phonepro %]">[% phonepro %]</a></li>[% END %]
236
            [% IF ( emailpro ) %]<li class="email"><span class="label">Organization email: </span>[% emailpro | html %]</li>[% END %]
237
            [% IF ( emailpro ) %]<li class="email"><span class="label">Organization email: </span>[% emailpro %]</li>[% END %]
237
        [% ELSE %]
238
        [% ELSE %]
238
            [% IF ( phone ) %]<li><span class="label">Primary phone: </span><a href="tel:[% phone %]">[% phone | html %]</a></li>[% END %]
239
            [% IF ( phone ) %]<li><span class="label">Primary phone: </span><a href="tel:[% phone %]">[% phone %]</a></li>[% END %]
239
            [% IF ( phonepro ) %]<li><span class="label">Secondary phone: </span><a href="tel:[% phonepro %]">[% phonepro | html %]</a></li>[% END %]
240
            [% IF ( phonepro ) %]<li><span class="label">Secondary phone: </span><a href="tel:[% phonepro %]">[% phonepro %]</a></li>[% END %]
240
            [% IF ( mobile ) %]<li><span class="label">Other phone: </span><a href="tel:[% mobile %]">[% mobile | html %]</a></li>[% END %]
241
            [% IF ( mobile ) %]<li><span class="label">Other phone: </span><a href="tel:[% mobile %]">[% mobile %]</a></li>[% END %]
241
        [% END %]
242
        [% END %]
242
243
243
	[% IF ( fax ) %]<li><span class="label">Fax: </span>[% fax %]</li>[% END %]
244
	[% IF ( fax ) %]<li><span class="label">Fax: </span>[% fax %]</li>[% END %]
244
    [% UNLESS ( I ) %]
245
    [% UNLESS ( I ) %]
245
        [% IF ( email ) %]<li class="email"><span class="label">Primary email:</span><a title="[% email %]" href="mailto:[% email | url %]">[% email | html %]</a></li>[% END %]
246
        [% IF ( email ) %]<li class="email"><span class="label">Primary email:</span><a title="[% email %]" href="mailto:[% email | url %]">[% email %]</a></li>[% END %]
246
        [% IF ( emailpro ) %]<li class="email"><span class="label">Secondary email: </span><a title="[% emailpro %]" href="mailto:[% emailpro | url %]">[% emailpro | html %]</a></li>[% END %]
247
        [% IF ( emailpro ) %]<li class="email"><span class="label">Secondary email: </span><a title="[% emailpro %]" href="mailto:[% emailpro | url %]">[% emailpro %]</a></li>[% END %]
247
    [% END %]
248
    [% END %]
248
    [% IF ( initials ) %]<li><span class="label">Initials: </span>[% initials %]</li>[% END %]
249
    [% IF ( initials ) %]<li><span class="label">Initials: </span>[% initials %]</li>[% END %]
249
    [% IF ( dateofbirth ) %]<li><span class="label">Date of birth:</span>[% dateofbirth | $KohaDates %] ([% age %] years)</li>[% END %]
250
    [% IF ( dateofbirth ) %]<li><span class="label">Date of birth:</span>[% dateofbirth | $KohaDates %] ([% age %] years)</li>[% END %]
Lines 255-261 function validate1(date) { Link Here
255
            <span class="label">Guarantees:</span>
256
            <span class="label">Guarantees:</span>
256
            <ul>
257
            <ul>
257
                [% FOREACH guarantee IN guarantees %]
258
                [% FOREACH guarantee IN guarantees %]
258
                    <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantee.borrowernumber %]">[% guarantee.firstname | html %] [% guarantee.surname | html %]</a></li>
259
                    <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantee.borrowernumber %]">[% guarantee.firstname %] [% guarantee.surname %]</a></li>
259
                [% END %]
260
                [% END %]
260
            </ul>
261
            </ul>
261
        </li>
262
        </li>
Lines 263-271 function validate1(date) { Link Here
263
        <li>
264
        <li>
264
            <span class="label">Guarantor:</span>
265
            <span class="label">Guarantor:</span>
265
            [% IF guarantor.borrowernumber %]
266
            [% IF guarantor.borrowernumber %]
266
                <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantor.borrowernumber %]">[% guarantor.firstname | html %] [% guarantor.surname | html %]</a>
267
                <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantor.borrowernumber %]">[% guarantor.firstname %] [% guarantor.surname %]</a>
267
            [% ELSE %]
268
            [% ELSE %]
268
                [% guarantor.firstname | html %] [% guarantor.surname | html %]
269
                [% guarantor.firstname %] [% guarantor.surname %]
269
            [% END %]
270
            [% END %]
270
        </li>
271
        </li>
271
    [% END %]
272
    [% END %]
Lines 289-303 function validate1(date) { Link Here
289
            <fieldset class="brief">
290
            <fieldset class="brief">
290
            [% IF ( picture ) %]
291
            [% IF ( picture ) %]
291
                <legend>Manage patron image</legend>
292
                <legend>Manage patron image</legend>
292
                <div class="hint">To update the image for [% title | html %] [% surname | html %], select a new image file and click 'Upload.' <br />Click the 'Delete' button to remove the current image.
293
                <div class="hint">To update the image for [% title %] [% surname %], select a new image file and click 'Upload.' <br />Click the 'Delete' button to remove the current image.
293
            [% ELSE %]
294
            [% ELSE %]
294
                <legend>Upload patron image</legend>
295
                <legend>Upload patron image</legend>
295
                <div class="hint">[% title %] [% firstname | html %] [% surname | html %] does not currently have an image available. To import an image for [% title %] [% surname | html %], enter the name of an image file to upload.
296
                <div class="hint">[% title %] [% firstname %] [% surname %] does not currently have an image available. To import an image for [% title %] [% surname %], enter the name of an image file to upload.
296
            [% END %]
297
            [% END %]
297
                    <br />Only PNG, GIF, JPEG, XPM formats are supported.
298
                    <br />Only PNG, GIF, JPEG, XPM formats are supported.
298
                </div>
299
                </div>
299
                <input type="hidden" id="image" name="filetype" value="image" />
300
                <input type="hidden" id="image" name="filetype" value="image" />
300
                <input type="hidden" id="cardnumber" name="cardnumber" value="[% cardnumber | html %]" />
301
                <input type="hidden" id="cardnumber" name="cardnumber" value="[% cardnumber %]" />
301
                <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
302
                <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
302
                <ol>
303
                <ol>
303
                    <li>
304
                    <li>
Lines 483-497 function validate1(date) { Link Here
483
484
484
 <div id="patron-alternative-contact" style="padding-top: 1em;">
485
 <div id="patron-alternative-contact" style="padding-top: 1em;">
485
 <h3>Alternative contact</h3>
486
 <h3>Alternative contact</h3>
486
   <div class="rows"> <ol><li><span class="label">Surname: </span>[% altcontactsurname | html %]</li>
487
   <div class="rows"> <ol><li><span class="label">Surname: </span>[% altcontactsurname %]</li>
487
    <li><span class="label">First name: </span>[% altcontactfirstname | html %]</li>
488
    <li><span class="label">First name: </span>[% altcontactfirstname %]</li>
488
    <li><span class="label">Address: </span>[% altcontactaddress1 | html %]</li>
489
    <li><span class="label">Address: </span>[% altcontactaddress1 %]</li>
489
    <li><span class="label">Address 2: </span>[% altcontactaddress2 | html %]</li>
490
    <li><span class="label">Address 2: </span>[% altcontactaddress2 %]</li>
490
	<li><span class="label">City: </span>[% altcontactaddress3 | html %]</li>
491
	<li><span class="label">City: </span>[% altcontactaddress3 %]</li>
491
    [% IF ( altcontactstate ) %]<li><span class="label">State: </span>[% altcontactstate | html %]</li>[% END %]
492
    [% IF ( altcontactstate ) %]<li><span class="label">State: </span>[% altcontactstate %]</li>[% END %]
492
    <li><span class="label">ZIP/Postal code: </span>[% altcontactzipcode | html %]</li>
493
    <li><span class="label">ZIP/Postal code: </span>[% altcontactzipcode %]</li>
493
	[% IF ( altcontactcountry ) %]<li><span class="label">Country: </span>[% altcontactcountry | html %]</li>[% END %]
494
	[% IF ( altcontactcountry ) %]<li><span class="label">Country: </span>[% altcontactcountry %]</li>[% END %]
494
    [% IF ( altcontactphone ) %]<li><span class="label">Phone: </span><a href="tel:[% altcontactphone | url %]">[% altcontactphone | html %]</a></li>[% END %]
495
    [% IF ( altcontactphone ) %]<li><span class="label">Phone: </span><a href="tel:[% altcontactphone | url %]">[% altcontactphone %]</a></li>[% END %]
495
    </ol></div>
496
    </ol></div>
496
</div>
497
</div>
497
<div class="action"><a href="memberentry.pl?op=modify&amp;borrowernumber=[% borrowernumber %]&amp;step=2">Edit</a></div>
498
<div class="action"><a href="memberentry.pl?op=modify&amp;borrowernumber=[% borrowernumber %]&amp;step=2">Edit</a></div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt (-1 / +1 lines)
Lines 59-65 Link Here
59
		<td>
59
		<td>
60
            <a class="notice-title" data-noticeid="[% QUEUED_MESSAGE.message_id %]" href="#">[% QUEUED_MESSAGE.subject %]</a>
60
            <a class="notice-title" data-noticeid="[% QUEUED_MESSAGE.message_id %]" href="#">[% QUEUED_MESSAGE.subject %]</a>
61
            <div id="notice[% QUEUED_MESSAGE.message_id %]" class="notice">
61
            <div id="notice[% QUEUED_MESSAGE.message_id %]" class="notice">
62
                [% QUEUED_MESSAGE.content FILTER html_line_break %]
62
                [% QUEUED_MESSAGE.content.raw FILTER html_line_break %]
63
            </div>
63
            </div>
64
        </td>
64
        </td>
65
		<td>
65
		<td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/purchase-suggestions.tt (-2 / +2 lines)
Lines 58-66 Link Here
58
                                    <p>
58
                                    <p>
59
                                        <strong>
59
                                        <strong>
60
                                            [% IF ( CAN_user_catalogue ) %]
60
                                            [% IF ( CAN_user_catalogue ) %]
61
                                                <a href="/cgi-bin/koha/suggestion/suggestion.pl?suggestionid=[% s.suggestionid %]&amp;op=show">[% s.title |html %]</a>
61
                                                <a href="/cgi-bin/koha/suggestion/suggestion.pl?suggestionid=[% s.suggestionid %]&amp;op=show">[% s.title %]</a>
62
                                            [% ELSE %]
62
                                            [% ELSE %]
63
                                                [% s.title |html %]
63
                                                [% s.title %]
64
                                            [% END %]
64
                                            [% END %]
65
                                        </strong>
65
                                        </strong>
66
                                    </p>
66
                                    </p>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt (-1 / +1 lines)
Lines 96-102 Link Here
96
          <td>
96
          <td>
97
            <span title="[% issue.issuestimestamp %]">[% issue.issuestimestamp | $KohaDates with_hours => 1 %]</span>
97
            <span title="[% issue.issuestimestamp %]">[% issue.issuestimestamp | $KohaDates with_hours => 1 %]</span>
98
          </td>
98
          </td>
99
          <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% issue.biblionumber %]">[% issue.title |html %]</a></td>
99
          <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% issue.biblionumber %]">[% issue.title %]</a></td>
100
100
101
          <td>[% issue.author %]</td>
101
          <td>[% issue.author %]</td>
102
102
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/tables/guarantor_search.tt (-2 / +2 lines)
Lines 9-15 Link Here
9
        [% FOREACH data IN aaData %]
9
        [% FOREACH data IN aaData %]
10
            {
10
            {
11
                "dt_cardnumber":
11
                "dt_cardnumber":
12
                    "[% data.cardnumber |html %]",
12
                    "[% data.cardnumber %]",
13
                "dt_name":
13
                "dt_name":
14
                    "[% INCLUDE 'patron-title.inc' borrowernumber = data.borrowernumber category_type = data.category_type firstname = data.firstname surname = data.surname othernames = data.othernames cardnumber = data.cardnumber invert_name = 1%]",
14
                    "[% INCLUDE 'patron-title.inc' borrowernumber = data.borrowernumber category_type = data.category_type firstname = data.firstname surname = data.surname othernames = data.othernames cardnumber = data.cardnumber invert_name = 1%]",
15
                "dt_dateofbirth":
15
                "dt_dateofbirth":
Lines 17-23 Link Here
17
                "dt_address":
17
                "dt_address":
18
                    "[% INCLUDE escape_address data=data %]",
18
                    "[% INCLUDE escape_address data=data %]",
19
                "dt_action":
19
                "dt_action":
20
                    "<a href=\"#\" class=\"btn btn-default btn-xs select_user\" data-borrowernumber=\"[% data.borrowernumber %]\">Select</a><input type=\"hidden\" id=\"borrower_data[% data.borrowernumber %]\" name=\"borrower_data[% data.borrowernumber %]\" value=\"[% To.json(data) | html %]\" />"
20
                    "<a href=\"#\" class=\"btn btn-default btn-xs select_user\" data-borrowernumber=\"[% data.borrowernumber %]\">Select</a><input type=\"hidden\" id=\"borrower_data[% data.borrowernumber %]\" name=\"borrower_data[% data.borrowernumber %]\" value=\"[% To.json(data) %]\" />"
21
            }[% UNLESS loop.last %],[% END %]
21
            }[% UNLESS loop.last %],[% END %]
22
        [% END %]
22
        [% END %]
23
    ]
23
    ]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/tables/members_results.tt (-4 / +4 lines)
Lines 14-28 Link Here
14
                    "<input type='checkbox' class='selection' name='borrowernumber' value='[% data.borrowernumber %]' />",
14
                    "<input type='checkbox' class='selection' name='borrowernumber' value='[% data.borrowernumber %]' />",
15
                [% END %]
15
                [% END %]
16
                "dt_cardnumber":
16
                "dt_cardnumber":
17
                    "[% data.cardnumber | html %]",
17
                    "[% data.cardnumber %]",
18
                "dt_name":
18
                "dt_name":
19
                    "<span style='white-space:nowrap'><a href='/cgi-bin/koha/members/moremember.pl?borrowernumber=[% data.borrowernumber %]'>[% INCLUDE 'patron-title.inc' borrowernumber = data.borrowernumber category_type = data.category_type firstname = To.json(data.firstname) surname = To.json(data.surname) othernames = To.json(data.othernames) invert_name = 1 %]</a><br />[% INCLUDE escape_address data = data %][% IF data.email %]<br/>Email: <a href='mailto:[% data.email | html %]'>[% data.email | html %]</a>[% END %]</span>",
19
                    "<span style='white-space:nowrap'><a href='/cgi-bin/koha/members/moremember.pl?borrowernumber=[% data.borrowernumber %]'>[% INCLUDE 'patron-title.inc' borrowernumber = data.borrowernumber category_type = data.category_type firstname = To.json(data.firstname) surname = To.json(data.surname) othernames = To.json(data.othernames) invert_name = 1 %]</a><br />[% INCLUDE escape_address data = data %][% IF data.email %]<br/>Email: <a href='mailto:[% data.email %]'>[% data.email %]</a>[% END %]</span>",
20
    "dt_dateofbirth":
20
    "dt_dateofbirth":
21
        "[% data.dateofbirth | $KohaDates %]",
21
        "[% data.dateofbirth | $KohaDates %]",
22
                "dt_category":
22
                "dt_category":
23
                    "[% data.category_description |html %] ([% data.category_type |html %])",
23
                    "[% data.category_description %] ([% data.category_type %])",
24
                "dt_branch":
24
                "dt_branch":
25
                    "[% data.branchname |html %]",
25
                    "[% data.branchname %]",
26
                "dt_dateexpiry":
26
                "dt_dateexpiry":
27
                    "[% data.dateexpiry %]",
27
                    "[% data.dateexpiry %]",
28
                "dt_od_checkouts":
28
                "dt_od_checkouts":
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/process_koc.tt (-3 / +3 lines)
Lines 87-95 function CheckForm(f) { Link Here
87
	</div>
87
	</div>
88
	[% END %]
88
	[% END %]
89
	[% IF ( message.ERROR_no_borrower_from_item ) %]<p>Warning: Unable to determine patron from item barcode ([% message.badbarcode %]). Cannot check in.</p>[% END %]
89
	[% IF ( message.ERROR_no_borrower_from_item ) %]<p>Warning: Unable to determine patron from item barcode ([% message.badbarcode %]). Cannot check in.</p>[% END %]
90
	[% IF ( message.issue ) %]<p>Checked out <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% message.biblionumber %]">[% message.title |html %]</a> ([% message.barcode %]) to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% message.borrowernumber %]">[% message.firstname %] [% message.surname %]</a> ([% message.cardnumber %]): [% message.datetime %]</p>[% END %]
90
    [% IF ( message.issue ) %]<p>Checked out <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% message.biblionumber %]">[% message.title %]</a> ([% message.barcode %]) to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% message.borrowernumber %]">[% message.firstname %] [% message.surname %]</a> ([% message.cardnumber %]): [% message.datetime %]</p>[% END %]
91
	[% IF ( message.renew ) %]<p>Renewed <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% message.biblionumber %]">[% message.title |html %]</a>  ([% message.barcode %]) for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% message.borrowernumber %]">[% message.firstname %] [% message.surname %]</a> ([% message.cardnumber %]): [% message.datetime %]</p>[% END %]
91
    [% IF ( message.renew ) %]<p>Renewed <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% message.biblionumber %]">[% message.title %]</a>  ([% message.barcode %]) for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% message.borrowernumber %]">[% message.firstname %] [% message.surname %]</a> ([% message.cardnumber %]): [% message.datetime %]</p>[% END %]
92
	[% IF ( message.return ) %]<p>Checked in <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% message.biblionumber %]">[% message.title |html %]</a> ([% message.barcode %]) from <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% message.borrowernumber %]">[% message.firstname %] [% message.surname %]</a> ([% message.cardnumber %]): [% message.datetime %]</p>[% END %]
92
    [% IF ( message.return ) %]<p>Checked in <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% message.biblionumber %]">[% message.title %]</a> ([% message.barcode %]) from <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% message.borrowernumber %]">[% message.firstname %] [% message.surname %]</a> ([% message.cardnumber %]): [% message.datetime %]</p>[% END %]
93
	[% IF ( message.payment ) %]<p>Accepted payment ([% message.amount %]) from <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% message.borrowernumber %]">[% message.firstname %] [% message.surname %]</a> ([% message.cardnumber %]): [% message.datetime %]</p>[% END %]
93
	[% IF ( message.payment ) %]<p>Accepted payment ([% message.amount %]) from <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% message.borrowernumber %]">[% message.firstname %] [% message.surname %]</a> ([% message.cardnumber %]): [% message.datetime %]</p>[% END %]
94
  [% END %]
94
  [% END %]
95
[% ELSE %]
95
[% ELSE %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-layout.tt (-22 / +22 lines)
Lines 194-200 Link Here
194
                                            <ol>
194
                                            <ol>
195
                                            <li>
195
                                            <li>
196
                                                <label for="field_1_text">Text: </label>
196
                                                <label for="field_1_text">Text: </label>
197
                                                <input type="text" name="field_1_text" id="field_1_text" size="60" value="[% field_1_text |html %]" />
197
                                                <input type="text" name="field_1_text" id="field_1_text" size="60" value="[% field_1_text %]" />
198
                                            </li>
198
                                            </li>
199
                                            <li>
199
                                            <li>
200
                                                <label for="field_1_font">Font: </label>
200
                                                <label for="field_1_font">Font: </label>
Lines 210-216 Link Here
210
                                            </li>
210
                                            </li>
211
                                            <li>
211
                                            <li>
212
                                                <label for="field_1_font_size">Font size: </label>
212
                                                <label for="field_1_font_size">Font size: </label>
213
                                                <input type="text" name="field_1_font_size" id="field_1_font_size" size="2" value="[% field_1_font_size |html %]" />
213
                                                <input type="text" name="field_1_font_size" id="field_1_font_size" size="2" value="[% field_1_font_size %]" />
214
                                                <span class="font_unit"> pt</span>
214
                                                <span class="font_unit"> pt</span>
215
                                            </li>
215
                                            </li>
216
                                            <li>
216
                                            <li>
Lines 227-237 Link Here
227
                                            </li>
227
                                            </li>
228
                                            <li>
228
                                            <li>
229
                                                <label for="field_1_llx">Lower left X coordinate: </label>
229
                                                <label for="field_1_llx">Lower left X coordinate: </label>
230
                                                <input type="text" name="field_1_llx" id="field_1_llx" size="2" value="[% field_1_llx |html %]" />
230
                                                <input type="text" name="field_1_llx" id="field_1_llx" size="2" value="[% field_1_llx %]" />
231
                                            </li>
231
                                            </li>
232
                                            <li>
232
                                            <li>
233
                                                <label for="field_1_lly">Lower left Y coordinate: </label>
233
                                                <label for="field_1_lly">Lower left Y coordinate: </label>
234
                                                <input type="text" name="field_1_lly" id="field_1_lly" size="2" value="[% field_1_lly |html %]" />
234
                                                <input type="text" name="field_1_lly" id="field_1_lly" size="2" value="[% field_1_lly %]" />
235
                                            </li>
235
                                            </li>
236
                                            </ol>
236
                                            </ol>
237
                                            </div>
237
                                            </div>
Lines 248-254 Link Here
248
                                            <ol>
248
                                            <ol>
249
                                            <li>
249
                                            <li>
250
                                                <label for="field_2_text">Text: </label>
250
                                                <label for="field_2_text">Text: </label>
251
                                                <input type="text" name="field_2_text" id="field_2_text" size="60" value="[% field_2_text |html %]" />
251
                                                <input type="text" name="field_2_text" id="field_2_text" size="60" value="[% field_2_text %]" />
252
                                            </li>
252
                                            </li>
253
                                            <li>
253
                                            <li>
254
                                                <label for="field_2_font">Font: </label>
254
                                                <label for="field_2_font">Font: </label>
Lines 264-270 Link Here
264
                                            </li>
264
                                            </li>
265
                                            <li>
265
                                            <li>
266
                                                <label for="field_2_font_size">Font size: </label>
266
                                                <label for="field_2_font_size">Font size: </label>
267
                                                <input type="text" name="field_2_font_size" id="field_2_font_size" size="2" value="[% field_2_font_size |html %]" />
267
                                                <input type="text" name="field_2_font_size" id="field_2_font_size" size="2" value="[% field_2_font_size %]" />
268
                                                <span class="font_unit"> pt</span>
268
                                                <span class="font_unit"> pt</span>
269
                                            </li>
269
                                            </li>
270
                                            <li>
270
                                            <li>
Lines 281-291 Link Here
281
                                            </li>
281
                                            </li>
282
                                            <li>
282
                                            <li>
283
                                                <label for="field_2_llx">Lower left X coordinate: </label>
283
                                                <label for="field_2_llx">Lower left X coordinate: </label>
284
                                                <input type="text" name="field_2_llx" id="field_2_llx" size="2" value="[% field_2_llx |html %]" />
284
                                                <input type="text" name="field_2_llx" id="field_2_llx" size="2" value="[% field_2_llx %]" />
285
                                            </li>
285
                                            </li>
286
                                            <li>
286
                                            <li>
287
                                                <label for="field_2_lly">Lower left Y coordinate: </label>
287
                                                <label for="field_2_lly">Lower left Y coordinate: </label>
288
                                                <input type="text" name="field_2_lly" id="field_2_lly" size="2" value="[% field_2_lly |html %]" />
288
                                                <input type="text" name="field_2_lly" id="field_2_lly" size="2" value="[% field_2_lly %]" />
289
                                            </li>
289
                                            </li>
290
                                            </ol>
290
                                            </ol>
291
                                            </div>
291
                                            </div>
Lines 302-308 Link Here
302
                                            <ol>
302
                                            <ol>
303
                                            <li>
303
                                            <li>
304
                                                <label for="field_3_text">Text: </label>
304
                                                <label for="field_3_text">Text: </label>
305
                                                <input type="text" name="field_3_text" id="field_3_text" size="60" value="[% field_3_text |html %]" />
305
                                                <input type="text" name="field_3_text" id="field_3_text" size="60" value="[% field_3_text %]" />
306
                                            </li>
306
                                            </li>
307
                                            <li>
307
                                            <li>
308
                                                <label for="field_3_font">Font: </label>
308
                                                <label for="field_3_font">Font: </label>
Lines 318-324 Link Here
318
                                            </li>
318
                                            </li>
319
                                            <li>
319
                                            <li>
320
                                                <label for="field_3_font_size">Font size: </label>
320
                                                <label for="field_3_font_size">Font size: </label>
321
                                                <input type="text" name="field_3_font_size" id="field_3_font_size" size="2" value="[% field_3_font_size |html %]" />
321
                                                <input type="text" name="field_3_font_size" id="field_3_font_size" size="2" value="[% field_3_font_size %]" />
322
                                                <span class="font_unit"> pt</span>
322
                                                <span class="font_unit"> pt</span>
323
                                            </li>
323
                                            </li>
324
                                            <li>
324
                                            <li>
Lines 335-345 Link Here
335
                                            </li>
335
                                            </li>
336
                                            <li>
336
                                            <li>
337
                                                <label for="field_3_llx">Lower left X coordinate: </label>
337
                                                <label for="field_3_llx">Lower left X coordinate: </label>
338
                                                <input type="text" name="field_3_llx" id="field_3_llx" size="2" value="[% field_3_llx |html %]" />
338
                                                <input type="text" name="field_3_llx" id="field_3_llx" size="2" value="[% field_3_llx %]" />
339
                                            </li>
339
                                            </li>
340
                                            <li>
340
                                            <li>
341
                                                <label for="field_3_lly">Lower left Y coordinate: </label>
341
                                                <label for="field_3_lly">Lower left Y coordinate: </label>
342
                                                <input type="text" name="field_3_lly" id="field_3_lly" size="2" value="[% field_3_lly |html %]" />
342
                                                <input type="text" name="field_3_lly" id="field_3_lly" size="2" value="[% field_3_lly %]" />
343
                                            </li>
343
                                            </li>
344
                                            </ol>
344
                                            </ol>
345
                                            </div>
345
                                            </div>
Lines 384-402 Link Here
384
                                <ol>
384
                                <ol>
385
                                <li>
385
                                <li>
386
                                    <label for="barcode_llx">Lower left X coordinate: </label>
386
                                    <label for="barcode_llx">Lower left X coordinate: </label>
387
                                    <input type="text" name="barcode_llx" id="barcode_llx" size="2" value="[% barcode_llx |html %]" />
387
                                    <input type="text" name="barcode_llx" id="barcode_llx" size="2" value="[% barcode_llx %]" />
388
                                </li>
388
                                </li>
389
                                <li>
389
                                <li>
390
                                    <label for="barcode_lly">Lower left Y coordinate: </label>
390
                                    <label for="barcode_lly">Lower left Y coordinate: </label>
391
                                    <input type="text" name="barcode_lly" id="barcode_lly" size="2" value="[% barcode_lly |html %]" />
391
                                    <input type="text" name="barcode_lly" id="barcode_lly" size="2" value="[% barcode_lly %]" />
392
                                </li>
392
                                </li>
393
                                <li>
393
                                <li>
394
                                    <label for="barcode_height_scale">Scale height (relative to card): </label>
394
                                    <label for="barcode_height_scale">Scale height (relative to card): </label>
395
                                    <input type="text" name="barcode_height_scale" id="barcode_height_scale" size="2" value="[% barcode_height_scale |html %]" />
395
                                    <input type="text" name="barcode_height_scale" id="barcode_height_scale" size="2" value="[% barcode_height_scale %]" />
396
                                </li>
396
                                </li>
397
                                <li>
397
                                <li>
398
                                    <label for="barcode_width_scale">Scale width (relative to card): </label>
398
                                    <label for="barcode_width_scale">Scale width (relative to card): </label>
399
                                    <input type="text" name="barcode_width_scale" id="barcode_width_scale" size="2" value="[% barcode_width_scale |html %]" />
399
                                    <input type="text" name="barcode_width_scale" id="barcode_width_scale" size="2" value="[% barcode_width_scale %]" />
400
                                </li>
400
                                </li>
401
                                <li>
401
                                <li>
402
                                    <label for="barcode_type">Barcode type: </label>
402
                                    <label for="barcode_type">Barcode type: </label>
Lines 463-477 Link Here
463
                                    <ol>
463
                                    <ol>
464
                                    <li>
464
                                    <li>
465
                                        <label for="image_1_Dx">Display height: </label>
465
                                        <label for="image_1_Dx">Display height: </label>
466
                                        <input type="text" name="image_1_Dx" id="image_1_Dx" size="2" value="[% image_1_Dx |html %]" />
466
                                        <input type="text" name="image_1_Dx" id="image_1_Dx" size="2" value="[% image_1_Dx %]" />
467
                                    </li>
467
                                    </li>
468
                                    <li>
468
                                    <li>
469
                                        <label for="image_1_Tx">Lower left X coordinate: </label>
469
                                        <label for="image_1_Tx">Lower left X coordinate: </label>
470
                                        <input type="text" name="image_1_Tx" id="image_1_Tx" size="2" value="[% image_1_Tx |html %]" />
470
                                        <input type="text" name="image_1_Tx" id="image_1_Tx" size="2" value="[% image_1_Tx %]" />
471
                                    </li>
471
                                    </li>
472
                                    <li>
472
                                    <li>
473
                                        <label for="image_1_Ty">Lower left Y coordinate: </label>
473
                                        <label for="image_1_Ty">Lower left Y coordinate: </label>
474
                                        <input type="text" name="image_1_Ty" id="image_1_Ty" size="2" value="[% image_1_Ty |html %]" />
474
                                        <input type="text" name="image_1_Ty" id="image_1_Ty" size="2" value="[% image_1_Ty %]" />
475
                                    </li>
475
                                    </li>
476
                                    </ol>
476
                                    </ol>
477
                                    </div>
477
                                    </div>
Lines 519-533 Link Here
519
                                    <ol>
519
                                    <ol>
520
                                    <li>
520
                                    <li>
521
                                        <label for="image_2_Dx">Display height: </label>
521
                                        <label for="image_2_Dx">Display height: </label>
522
                                        <input type="text" name="image_2_Dx" id="image_2_Dx" size="2" value="[% image_2_Dx |html %]" />
522
                                        <input type="text" name="image_2_Dx" id="image_2_Dx" size="2" value="[% image_2_Dx %]" />
523
                                    </li>
523
                                    </li>
524
                                    <li>
524
                                    <li>
525
                                        <label for="image_2_Tx">Lower left X coordinate: </label>
525
                                        <label for="image_2_Tx">Lower left X coordinate: </label>
526
                                        <input type="text" name="image_2_Tx" id="image_2_Tx" size="2" value="[% image_2_Tx |html %]" />
526
                                        <input type="text" name="image_2_Tx" id="image_2_Tx" size="2" value="[% image_2_Tx %]" />
527
                                    </li>
527
                                    </li>
528
                                    <li>
528
                                    <li>
529
                                        <label for="image_2_Ty">Lower left Y coordinate: </label>
529
                                        <label for="image_2_Ty">Lower left Y coordinate: </label>
530
                                        <input type="text" name="image_2_Ty" id="image_2_Ty" size="2" value="[% image_2_Ty |html %]" />
530
                                        <input type="text" name="image_2_Ty" id="image_2_Ty" size="2" value="[% image_2_Ty %]" />
531
                                    </li>
531
                                    </li>
532
                                    </ol>
532
                                    </ol>
533
                                    </div>
533
                                    </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/tables/members_results.tt (-2 / +2 lines)
Lines 11-19 Link Here
11
                "dt_name":
11
                "dt_name":
12
                    "<span style='white-space:nowrap'><a href='/cgi-bin/koha/members/moremember.pl?borrowernumber=[% data.borrowernumber %]'>[% INCLUDE 'patron-title.inc' borrowernumber = data.borrowernumber category_type = data.category_type firstname = To.json(data.firstname) surname = To.json(data.surname) othernames = To.json(data.othernames) cardnumber = data.cardnumber invert_name = 1%]</a></span>",
12
                    "<span style='white-space:nowrap'><a href='/cgi-bin/koha/members/moremember.pl?borrowernumber=[% data.borrowernumber %]'>[% INCLUDE 'patron-title.inc' borrowernumber = data.borrowernumber category_type = data.category_type firstname = To.json(data.firstname) surname = To.json(data.surname) othernames = To.json(data.othernames) cardnumber = data.cardnumber invert_name = 1%]</a></span>",
13
                "dt_category":
13
                "dt_category":
14
                    "[% data.category_description |html %] ([% data.category_type |html %])",
14
                    "[% data.category_description %] ([% data.category_type %])",
15
                "dt_branch":
15
                "dt_branch":
16
                    "[% data.branchname |html %]",
16
                    "[% data.branchname %]",
17
                "dt_dateexpiry":
17
                "dt_dateexpiry":
18
                    "[% data.dateexpiry %]",
18
                    "[% data.dateexpiry %]",
19
                "dt_borrowernotes":
19
                "dt_borrowernotes":
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt (-5 / +5 lines)
Lines 608-614 canned reports and writing custom SQL reports.</p> Link Here
608
            <td>
608
            <td>
609
                <select name="[% criteri.name %]_value">
609
                <select name="[% criteri.name %]_value">
610
                [% FOREACH value IN criteri.values %]
610
                [% FOREACH value IN criteri.values %]
611
                <option value="[% value.availablevalues %]">[% IF ( value.default ) %]Default[% ELSE %][% value.display_value |html %][% END %]</option>
611
                <option value="[% value.availablevalues %]">[% IF ( value.default ) %]Default[% ELSE %][% value.display_value %][% END %]</option>
612
                [% END %]
612
                [% END %]
613
                </select>
613
                </select>
614
            </td>
614
            </td>
Lines 705-711 canned reports and writing custom SQL reports.</p> Link Here
705
<h1>Confirm custom report</h1>
705
<h1>Confirm custom report</h1>
706
<p>Your report will be generated with the following SQL statement.</p>
706
<p>Your report will be generated with the following SQL statement.</p>
707
<p> 
707
<p> 
708
[% sql |html %]
708
[% sql %]
709
</p>
709
</p>
710
710
711
<form action="/cgi-bin/koha/reports/guided_reports.pl" method="post">
711
<form action="/cgi-bin/koha/reports/guided_reports.pl" method="post">
Lines 721-727 canned reports and writing custom SQL reports.</p> Link Here
721
721
722
[% IF ( save ) %]
722
[% IF ( save ) %]
723
<form action="/cgi-bin/koha/reports/guided_reports.pl" method="post" class="validated">
723
<form action="/cgi-bin/koha/reports/guided_reports.pl" method="post" class="validated">
724
<input type="hidden" name="sql" value="[% sql |html %]" />
724
<input type="hidden" name="sql" value="[% sql %]" />
725
<input type="hidden" name="type" value="[% type %]" />
725
<input type="hidden" name="type" value="[% type %]" />
726
<input type="hidden" name="area" value="[% area %]" />
726
<input type="hidden" name="area" value="[% area %]" />
727
<input type="hidden" name="public" value="[% public %]" />
727
<input type="hidden" name="public" value="[% public %]" />
Lines 824-830 canned reports and writing custom SQL reports.</p> Link Here
824
<h1>[% name %]</h1>
824
<h1>[% name %]</h1>
825
[% IF ( notes ) %]<p>[% notes %]</p>[% END %]
825
[% IF ( notes ) %]<p>[% notes %]</p>[% END %]
826
[% IF ( unlimited_total ) %]<p>Total number of rows matching the (unlimited) query is [% unlimited_total %].</p>[% END %]
826
[% IF ( unlimited_total ) %]<p>Total number of rows matching the (unlimited) query is [% unlimited_total %].</p>[% END %]
827
<pre id="sql_output">[% sql |html %]</pre>
827
<pre id="sql_output">[% sql %]</pre>
828
828
829
<form action="/cgi-bin/koha/reports/guided_reports.pl" method="get" id="limitselect">
829
<form action="/cgi-bin/koha/reports/guided_reports.pl" method="get" id="limitselect">
830
    <input type="hidden" name="phase" value="Run this report"/>
830
    <input type="hidden" name="phase" value="Run this report"/>
Lines 847-853 canned reports and writing custom SQL reports.</p> Link Here
847
    </select>
847
    </select>
848
</form>
848
</form>
849
849
850
<div class="pages">[% pagination_bar %]</div>
850
<div class="pages">[% pagination_bar.raw %]</div>
851
[% UNLESS ( errors ) %]
851
[% UNLESS ( errors ) %]
852
<table>
852
<table>
853
<tr>[% FOREACH header_ro IN header_row %]<th>[% header_ro.cell %]</th>[% END %]</tr>
853
<tr>[% FOREACH header_ro IN header_row %]<th>[% header_ro.cell %]</th>[% END %]</tr>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt (-2 / +2 lines)
Lines 61-73 Link Here
61
            <tr>
61
            <tr>
62
                <th>[% mainloo.line %] / [% mainloo.column %]</th>
62
                <th>[% mainloo.line %] / [% mainloo.column %]</th>
63
                [% FOREACH loopco IN mainloo.loopcol %]
63
                [% FOREACH loopco IN mainloo.loopcol %]
64
                    <th>[% loopco.coltitle_display |html %]</th>
64
                    <th>[% loopco.coltitle_display %]</th>
65
                [% END %]
65
                [% END %]
66
                <th>TOTAL</th>
66
                <th>TOTAL</th>
67
                </tr>
67
                </tr>
68
                [% FOREACH loopro IN mainloo.looprow %]
68
                [% FOREACH loopro IN mainloo.looprow %]
69
                    <tr>
69
                    <tr>
70
                        <td>[% loopro.rowtitle_display or "UNKNOWN VALUE" |html %]</td>
70
                        <td>[% loopro.rowtitle_display or "UNKNOWN VALUE" %]</td>
71
                    [% FOREACH loopcel IN loopro.loopcell %]
71
                    [% FOREACH loopcel IN loopro.loopcell %]
72
						<td>[% loopcel.value || 0 %]</td>
72
						<td>[% loopcel.value || 0 %]</td>
73
                    [% END %]
73
                    [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt (-2 / +2 lines)
Lines 9-15 Link Here
9
<script type='text/javascript'>
9
<script type='text/javascript'>
10
//<![CDATA[
10
//<![CDATA[
11
    $(document).ready(function() {
11
    $(document).ready(function() {
12
        var columns_settings = [% ColumnsSettings.GetColumns( 'reports', 'lostitems', 'lostitems-table', 'json' ) %];
12
        var columns_settings = [% ColumnsSettings.GetColumns( 'reports', 'lostitems', 'lostitems-table', 'json' ).raw %];
13
        var lostitems_table = KohaTable("#lostitems-table", {
13
        var lostitems_table = KohaTable("#lostitems-table", {
14
            "dom": 'B<"clearfix">t',
14
            "dom": 'B<"clearfix">t',
15
            "aaSorting": [],
15
            "aaSorting": [],
Lines 72-78 Link Here
72
                [% FOREACH itemsloo IN itemsloop %]
72
                [% FOREACH itemsloo IN itemsloop %]
73
                    <tr>
73
                    <tr>
74
                        <td>
74
                        <td>
75
                            <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itemsloo.biblionumber %]" title="[% itemsloo.itemnotes %]">[% itemsloo.title |html %]</a>
75
                            <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itemsloo.biblionumber %]" title="[% itemsloo.itemnotes %]">[% itemsloo.title %]</a>
76
                        </td>
76
                        </td>
77
                        <td>[% itemsloo.author %]</td>
77
                        <td>[% itemsloo.author %]</td>
78
                        <td>[% itemsloo.lib %]</td>
78
                        <td>[% itemsloo.lib %]</td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/orders_by_budget.tt (-6 / +6 lines)
Lines 72-82 Link Here
72
            [% UNLESS ( loop.odd ) %]<tr class="highlight">
72
            [% UNLESS ( loop.odd ) %]<tr class="highlight">
73
            [% ELSE %] <tr>
73
            [% ELSE %] <tr>
74
            [% END %]
74
            [% END %]
75
            <td>[% ordersloo.budget_name |html %]</td>
75
            <td>[% ordersloo.budget_name %]</td>
76
            <td><a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% ordersloo.basketno %]"> [% ordersloo.basketno |html %]</a></td>
76
            <td><a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% ordersloo.basketno %]"> [% ordersloo.basketno %]</a></td>
77
            <td>[% ordersloo.basketname |html %]</td>
77
            <td>[% ordersloo.basketname %]</td>
78
            <td>[% ordersloo.authorisedbyname %]</td>
78
            <td>[% ordersloo.authorisedbyname %]</td>
79
            <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% ordersloo.biblionumber %]"> [% ordersloo.title |html %]</a></td>
79
            <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% ordersloo.biblionumber %]"> [% ordersloo.title %]</a></td>
80
            <td>[% ordersloo.currency %]</td>
80
            <td>[% ordersloo.currency %]</td>
81
            <td>[% ordersloo.listprice | $Price %]</td>
81
            <td>[% ordersloo.listprice | $Price %]</td>
82
            <td>[% ordersloo.rrp | $Price %]</td>
82
            <td>[% ordersloo.rrp | $Price %]</td>
Lines 86-93 Link Here
86
            <td>[% ordersloo.total_ecost | $Price %]</td>
86
            <td>[% ordersloo.total_ecost | $Price %]</td>
87
            <td>[% ordersloo.entrydate %]</td>
87
            <td>[% ordersloo.entrydate %]</td>
88
            <td>[% ordersloo.datereceived %]</td>
88
            <td>[% ordersloo.datereceived %]</td>
89
            <td>[% ordersloo.order_internalnote |html %]</td>
89
            <td>[% ordersloo.order_internalnote %]</td>
90
            <td>[% ordersloo.order_vendornote |html %]</td>
90
            <td>[% ordersloo.order_vendornote %]</td>
91
            </tr>
91
            </tr>
92
        [% END %]
92
        [% END %]
93
        </tbody>
93
        </tbody>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reserves_stats.tt (-2 / +2 lines)
Lines 114-126 Link Here
114
            <tr>
114
            <tr>
115
                <th>[% mainloo.line %] / [% mainloo.column %]</th>
115
                <th>[% mainloo.line %] / [% mainloo.column %]</th>
116
                [% FOREACH loopco IN mainloo.loopcol %]
116
                [% FOREACH loopco IN mainloo.loopcol %]
117
                    <th>[% loopco.coltitle_display |html %]</th>
117
                    <th>[% loopco.coltitle_display %]</th>
118
                [% END %]
118
                [% END %]
119
                <th>TOTAL</th>
119
                <th>TOTAL</th>
120
                </tr>
120
                </tr>
121
                [% FOREACH loopro IN mainloo.looprow %]
121
                [% FOREACH loopro IN mainloo.looprow %]
122
                    <tr>
122
                    <tr>
123
                        <td>[% loopro.rowtitle_display or "UNKNOWN VALUE" |html %]</td>
123
                        <td>[% loopro.rowtitle_display or "UNKNOWN VALUE" %]</td>
124
                    [% FOREACH loopcel IN loopro.loopcell %]
124
                    [% FOREACH loopcel IN loopro.loopcell %]
125
						<td align="center">
125
						<td align="center">
126
						[% IF ( loopcel.url_complement ) %]<a href="reserves_stats.pl?output=[% loopcel.output %]&amp;[% loopcel.url_complement %]">[% loopcel.value %]</a>[% ELSE %][% loopcel.value %][% END %]
126
						[% IF ( loopcel.url_complement ) %]<a href="reserves_stats.pl?output=[% loopcel.output %]&amp;[% loopcel.url_complement %]">[% loopcel.value %]</a>[% ELSE %][% loopcel.value %][% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/serials_stats.tt (-1 / +1 lines)
Lines 52-58 Link Here
52
			<tr>
52
			<tr>
53
				[% FOREACH data IN datas %]
53
				[% FOREACH data IN datas %]
54
                    <td><a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% data.aqbooksellerid %]">[% data.name %]</a></td>
54
                    <td><a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% data.aqbooksellerid %]">[% data.name %]</a></td>
55
                    <td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% data.subscriptionid %]">[% data.title |html %]</a></td>
55
                    <td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% data.subscriptionid %]">[% data.title %]</a></td>
56
					<td>[% data.subscriptionid %]</td>
56
					<td>[% data.subscriptionid %]</td>
57
                    <td>[% Branches.GetName( data.branchcode ) %]</td>
57
                    <td>[% Branches.GetName( data.branchcode ) %]</td>
58
					<td>[% data.callnumber %]</td>
58
					<td>[% data.callnumber %]</td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt (-7 / +7 lines)
Lines 5-11 Link Here
5
[% USE ItemTypes %]
5
[% USE ItemTypes %]
6
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
7
[% UNLESS ( multi_hold ) %]
7
[% UNLESS ( multi_hold ) %]
8
    <title>Koha &rsaquo; Circulation &rsaquo; Holds &rsaquo; Place a hold on [% title |html %]</title>
8
    <title>Koha &rsaquo; Circulation &rsaquo; Holds &rsaquo; Place a hold on [% title %]</title>
9
[% ELSE %]
9
[% ELSE %]
10
    <title>Koha &rsaquo; Circulation &rsaquo; Holds &rsaquo; Confirm holds</title>
10
    <title>Koha &rsaquo; Circulation &rsaquo; Holds &rsaquo; Confirm holds</title>
11
[% END %]
11
[% END %]
Lines 202-208 function checkMultiHold() { Link Here
202
[% INCLUDE 'circ-search.inc' %]
202
[% INCLUDE 'circ-search.inc' %]
203
203
204
[% UNLESS ( multi_hold ) %]
204
[% UNLESS ( multi_hold ) %]
205
    <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]">[% title |html %]</a> &rsaquo; Place a hold on [% title |html %]</div>
205
    <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]">[% title %]</a> &rsaquo; Place a hold on [% title %]</div>
206
[% ELSE %]
206
[% ELSE %]
207
    <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> &rsaquo; Confirm holds</div>
207
    <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> &rsaquo; Confirm holds</div>
208
[% END %]
208
[% END %]
Lines 234-240 function checkMultiHold() { Link Here
234
  [% END %]
234
  [% END %]
235
235
236
  [% UNLESS ( multi_hold ) %]
236
  [% UNLESS ( multi_hold ) %]
237
    <h1>Place a hold on [% INCLUDE 'biblio-default-view.inc' %][% title |html %]</a></h1>
237
    <h1>Place a hold on [% INCLUDE 'biblio-default-view.inc' %][% title %]</a></h1>
238
  [% ELSE %]
238
  [% ELSE %]
239
    <h1>Confirm holds</h1>
239
    <h1>Confirm holds</h1>
240
  [% END %]
240
  [% END %]
Lines 345-356 function checkMultiHold() { Link Here
345
            <input type="hidden" name="bad_bibs" id="bad_bibs" value=""/>
345
            <input type="hidden" name="bad_bibs" id="bad_bibs" value=""/>
346
            <input type="hidden" name="request" value="any"/>
346
            <input type="hidden" name="request" value="any"/>
347
            [% FOREACH biblioloo IN biblioloop %]
347
            [% FOREACH biblioloo IN biblioloop %]
348
              <input type="hidden" name="title_[% biblioloo.biblionumber %]" value="[% biblioloo.title |html %]"/>
348
              <input type="hidden" name="title_[% biblioloo.biblionumber %]" value="[% biblioloo.title %]"/>
349
              <input type="hidden" name="rank_[% biblioloo.biblionumber %]" value="[% biblioloo.rank %]"/>
349
              <input type="hidden" name="rank_[% biblioloo.biblionumber %]" value="[% biblioloo.rank %]"/>
350
            [% END %]
350
            [% END %]
351
        [% ELSE %]
351
        [% ELSE %]
352
            <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
352
            <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
353
            <input type="hidden" name="title" value="[% title |html %]" />
353
            <input type="hidden" name="title" value="[% title %]" />
354
            <input type="hidden" name="rank-request" value="[% fixedRank %]" />
354
            <input type="hidden" name="rank-request" value="[% fixedRank %]" />
355
        [% END %]
355
        [% END %]
356
356
Lines 624-630 function checkMultiHold() { Link Here
624
        [% END %]
624
        [% END %]
625
          <td>
625
          <td>
626
            <ul>
626
            <ul>
627
              <li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblioloo.biblionumber %]">[% biblioloo.title |html %]</a></li>
627
              <li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblioloo.biblionumber %]">[% biblioloo.title %]</a></li>
628
              [% IF ( biblioloo.publicationyear ) %]
628
              [% IF ( biblioloo.publicationyear ) %]
629
                <li><span class="label">Publication year:</span> [% biblioloo.publicationyear %]</li>
629
                <li><span class="label">Publication year:</span> [% biblioloo.publicationyear %]</li>
630
              [% END %]
630
              [% END %]
Lines 703-709 function checkMultiHold() { Link Here
703
    [% IF ( biblioloo.reserveloop ) %]
703
    [% IF ( biblioloo.reserveloop ) %]
704
    <table>
704
    <table>
705
      [% IF ( multi_hold ) %]
705
      [% IF ( multi_hold ) %]
706
          <caption><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblioloo.biblionumber %]">[% biblioloo.title |html %]</a></caption>
706
          <caption><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblioloo.biblionumber %]">[% biblioloo.title %]</a></caption>
707
      [% END %]
707
      [% END %]
708
      <tr>
708
      <tr>
709
        [% IF ( CAN_user_reserveforothers_modify_holds_priority ) %]
709
        [% IF ( CAN_user_reserveforothers_modify_holds_priority ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reviews/reviewswaiting.tt (-2 / +2 lines)
Lines 50-56 Link Here
50
            <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% review.biblionumber %]">[% review.bibliotitle %]</a>
50
            <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% review.biblionumber %]">[% review.bibliotitle %]</a>
51
        </td>
51
        </td>
52
        <td>
52
        <td>
53
            [% review.review |html %]
53
            [% review.review %]
54
        </td>
54
        </td>
55
        <td>
55
        <td>
56
            [% IF ( status ) %]<a href="/cgi-bin/koha/reviews/reviewswaiting.pl?op=unapprove&amp;reviewid=[% review.reviewid %]" class="btn btn-default btn-xs"><i class="fa fa-remove"></i> Unapprove</a>[% ELSE %]<a href="/cgi-bin/koha/reviews/reviewswaiting.pl?op=approve&amp;reviewid=[% review.reviewid %]" class="btn btn-default btn-xs"><i class="fa fa-check"></i> Approve</a>[% END %]
56
            [% IF ( status ) %]<a href="/cgi-bin/koha/reviews/reviewswaiting.pl?op=unapprove&amp;reviewid=[% review.reviewid %]" class="btn btn-default btn-xs"><i class="fa fa-remove"></i> Unapprove</a>[% ELSE %]<a href="/cgi-bin/koha/reviews/reviewswaiting.pl?op=approve&amp;reviewid=[% review.reviewid %]" class="btn btn-default btn-xs"><i class="fa fa-check"></i> Approve</a>[% END %]
Lines 59-65 Link Here
59
    </tr>
59
    </tr>
60
    [% END %]</tbody>
60
    [% END %]</tbody>
61
</table>
61
</table>
62
 <div class="pages">[% pagination_bar %]</div>
62
 <div class="pages">[% pagination_bar.raw %]</div>
63
[% ELSE %]
63
[% ELSE %]
64
[% IF ( status ) %]<p><b>No comments have been approved.</b></p>[% ELSE %]<p><b>No comments to moderate.</b></p>[% END %]
64
[% IF ( status ) %]<p><b>No comments have been approved.</b></p>[% ELSE %]<p><b>No comments to moderate.</b></p>[% END %]
65
[% END %]
65
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/addItems.tt (-1 / +1 lines)
Lines 106-112 Link Here
106
                    </tr>
106
                    </tr>
107
                    [% FOREACH collectionItemsLoo IN collectionItemsLoop %]
107
                    [% FOREACH collectionItemsLoo IN collectionItemsLoop %]
108
                      <tr>
108
                      <tr>
109
                        <td>[% INCLUDE 'biblio-default-view.inc' biblionumber = collectionItemsLoo.biblionumber %][% collectionItemsLoo.title |html %]</a></td>
109
                        <td>[% INCLUDE 'biblio-default-view.inc' biblionumber = collectionItemsLoo.biblionumber %][% collectionItemsLoo.title %]</a></td>
110
                        <td>[% collectionItemsLoo.itemcallnumber %]</td>
110
                        <td>[% collectionItemsLoo.itemcallnumber %]</td>
111
                        <td>[% collectionItemsLoo.barcode %]</td>
111
                        <td>[% collectionItemsLoo.barcode %]</td>
112
                        <td><a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% colId %]&amp;barcode=[% collectionItemsLoo.barcode %]&amp;removeItem=1&amp;action=addItem">Remove</a></td>
112
                        <td><a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% colId %]&amp;barcode=[% collectionItemsLoo.barcode %]&amp;removeItem=1&amp;action=addItem">Remove</a></td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search-result.tt (-1 / +1 lines)
Lines 43-49 $(document).ready(function(){ Link Here
43
	[% FOREACH loop_supplier IN loop_suppliers %]
43
	[% FOREACH loop_supplier IN loop_suppliers %]
44
        <tr>
44
        <tr>
45
			<td>[% loop_supplier.name %]</td>
45
			<td>[% loop_supplier.name %]</td>
46
            <td><a class="btn btn-default btn-xs select_vendor" href="#" data-vendorid="[% loop_supplier.aqbooksellerid %]" data-vendorname="[% loop_supplier.name |html%]">Choose</a></td>
46
            <td><a class="btn btn-default btn-xs select_vendor" href="#" data-vendorid="[% loop_supplier.aqbooksellerid %]" data-vendorname="[% loop_supplier.name%]">Choose</a></td>
47
		</tr>
47
		</tr>
48
	[% END %]
48
	[% END %]
49
</table>
49
</table>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/add_fields.tt (-2 / +2 lines)
Lines 130-136 Link Here
130
        <ol>
130
        <ol>
131
          <li>
131
          <li>
132
            <label for="name" class="required">Name: </label>
132
            <label for="name" class="required">Name: </label>
133
            <input type="text" name="name" id="name" value="[% field.name | html %]" class="required" required="required" />
133
            <input type="text" name="name" id="name" value="[% field.name %]" class="required" required="required" />
134
            <span class="required">Required</span>
134
            <span class="required">Required</span>
135
          </li>
135
          </li>
136
          <li>
136
          <li>
Lines 142-148 Link Here
142
          </li>
142
          </li>
143
          <li>
143
          <li>
144
            <label for="marcfield">Marc field: </label>
144
            <label for="marcfield">Marc field: </label>
145
            <input type="text" name="marcfield" id="marcfield" value="[% field.marcfield| html %]" />
145
            <input type="text" name="marcfield" id="marcfield" value="[% field.marcfield %]" />
146
          </li>
146
          </li>
147
          <li>
147
          <li>
148
            <label for="searchable">Searchable: </label>
148
            <label for="searchable">Searchable: </label>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/checkexpiration.tt (-5 / +5 lines)
Lines 41-50 Link Here
41
    
41
    
42
         <ol>
42
         <ol>
43
        <li><label for="title">Title:</label>
43
        <li><label for="title">Title:</label>
44
        <input id="title" type="text" name="title" size="15" value="[% title | html %]" /></li>
44
        <input id="title" type="text" name="title" size="15" value="[% title %]" /></li>
45
45
46
        <li><label for="issn">ISSN:</label>
46
        <li><label for="issn">ISSN:</label>
47
        <input id="issn" type="text" name="issn" size="15" value="[% issn | html %]" /></li>
47
        <input id="issn" type="text" name="issn" size="15" value="[% issn %]" /></li>
48
        [% IF can_change_library %]
48
        [% IF can_change_library %]
49
        <li><label for="branch">Library:</label>
49
        <li><label for="branch">Library:</label>
50
        <select id="branch" name="branch">
50
        <select id="branch" name="branch">
Lines 68-78 Link Here
68
<p>
68
<p>
69
    <b>[% numsubscription %]</b> subscription(s)
69
    <b>[% numsubscription %]</b> subscription(s)
70
        [% IF ( title ) %]
70
        [% IF ( title ) %]
71
        with title matching <span class="title">[% title | html %]</class>
71
        with title matching <span class="title">[% title %]</class>
72
        [% IF ( issn ) %]and [% END %]
72
        [% IF ( issn ) %]and [% END %]
73
    [% END %]
73
    [% END %]
74
    [% IF ( issn ) %]
74
    [% IF ( issn ) %]
75
        with ISSN matching <b>[% issn | html %]</b>
75
        with ISSN matching <b>[% issn %]</b>
76
    [% END %]
76
    [% END %]
77
        will expire before <b>[% date | $KohaDates %]</b>
77
        will expire before <b>[% date | $KohaDates %]</b>
78
</p>
78
</p>
Lines 92-98 Link Here
92
                [% subscriptions_loo.issn %]
92
                [% subscriptions_loo.issn %]
93
            </td>
93
            </td>
94
            <td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscriptions_loo.subscriptionid |url %]">[% IF ( subscriptions_loo.title ) %]
94
            <td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscriptions_loo.subscriptionid |url %]">[% IF ( subscriptions_loo.title ) %]
95
                    [% subscriptions_loo.title |html %]
95
                    [% subscriptions_loo.title %]
96
                [% ELSE %]
96
                [% ELSE %]
97
                    |
97
                    |
98
                [% END %]
98
                [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt (-1 / +1 lines)
Lines 246-252 Link Here
246
                            <span class="branch-[% missingissue.branchcode %]">[% Branches.GetName( missingissue.branchcode ) %]</span>
246
                            <span class="branch-[% missingissue.branchcode %]">[% Branches.GetName( missingissue.branchcode ) %]</span>
247
                        </td>
247
                        </td>
248
                        <td>
248
                        <td>
249
                        <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% missingissue.subscriptionid %]">[% missingissue.title |html %]</a>
249
                        <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% missingissue.subscriptionid %]">[% missingissue.title %]</a>
250
                        </td>
250
                        </td>
251
                        <td>[% missingissue.issn %]</td>
251
                        <td>[% missingissue.issn %]</td>
252
                        <td>[% missingissue.serialseq %]</td>
252
                        <td>[% missingissue.serialseq %]</td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/result.tt (-5 / +5 lines)
Lines 38-56 Link Here
38
    </tr>
38
    </tr>
39
    [% FOREACH resultsloo IN resultsloop %]
39
    [% FOREACH resultsloo IN resultsloop %]
40
        <tr>
40
        <tr>
41
            <td class="title">[% resultsloo.title |html %] [% resultsloo.subtitle |html %]
41
            <td class="title">[% resultsloo.title %] [% resultsloo.subtitle %]
42
            </td>
42
            </td>
43
            <td>
43
            <td>
44
                [% resultsloo.author |html %]
44
                [% resultsloo.author %]
45
            </td>
45
            </td>
46
            <td>
46
            <td>
47
                [% resultsloo.publishercode |html %]
47
                [% resultsloo.publishercode %]
48
            </td>
48
            </td>
49
            <td>
49
            <td>
50
                [% resultsloo.publicationyear |html %]
50
                [% resultsloo.publicationyear %]
51
            </td>
51
            </td>
52
            <td>
52
            <td>
53
                [% resultsloo.issn |html %]
53
                [% resultsloo.issn %]
54
            </td>
54
            </td>
55
            <td><a class="btn btn-default btn-xs select_title" data-biblionumber="[% resultsloo.biblionumber %]" href="#" title="Choose this record">Choose</a></td>
55
            <td><a class="btn btn-default btn-xs select_title" data-biblionumber="[% resultsloo.biblionumber %]" href="#" title="Choose this record">Choose</a></td>
56
        </tr>
56
        </tr>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing-preview-slip.tt (-1 / +1 lines)
Lines 27-33 Link Here
27
        <td colspan="2"><h3>[% libraryname %]</h3></td>
27
        <td colspan="2"><h3>[% libraryname %]</h3></td>
28
    </tr>
28
    </tr>
29
    <tr>
29
    <tr>
30
        <td colspan="2"><b>Title:</b> [% title |html %]<br />[% issue %]</td>
30
        <td colspan="2"><b>Title:</b> [% title %]<br />[% issue %]</td>
31
    </tr>
31
    </tr>
32
    <tr>
32
    <tr>
33
        <td><b>Name</b></td>
33
        <td><b>Name</b></td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing-preview.tt (-2 / +2 lines)
Lines 19-25 function print_slip(subscriptionid,issue){ Link Here
19
[% INCLUDE 'header.inc' %]
19
[% INCLUDE 'header.inc' %]
20
[% INCLUDE 'serials-search.inc' %]
20
[% INCLUDE 'serials-search.inc' %]
21
21
22
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a> &rsaquo; <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscriptionid %]"><i>[% title |html %]</i></a> &rsaquo; Preview routing list</div>
22
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a> &rsaquo; <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscriptionid %]"><i>[% title %]</i></a> &rsaquo; Preview routing list</div>
23
23
24
<div id="doc3" class="yui-t2">
24
<div id="doc3" class="yui-t2">
25
   
25
   
Lines 27-33 function print_slip(subscriptionid,issue){ Link Here
27
	<div id="yui-main">
27
	<div id="yui-main">
28
	<div class="yui-b">
28
	<div class="yui-b">
29
29
30
<h2>Preview routing list for <i>[% title |html %]</i></h2>
30
<h2>Preview routing list for <i>[% title %]</i></h2>
31
31
32
<form method="post" action="routing-preview.pl">
32
<form method="post" action="routing-preview.pl">
33
<input type="hidden" id="subscriptionid" name="subscriptionid" value="[% subscriptionid %]" />
33
<input type="hidden" id="subscriptionid" name="subscriptionid" value="[% subscriptionid %]" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt (-4 / +4 lines)
Lines 1-5 Link Here
1
[% INCLUDE 'doc-head-open.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Serials &rsaquo; [% title |html %] &rsaquo; [% IF ( op ) %]Create Routing List[% ELSE %]Edit routing list[% END %]</title>
2
<title>Koha &rsaquo; Serials &rsaquo; [% title %] &rsaquo; [% IF ( op ) %]Create Routing List[% ELSE %]Edit routing list[% END %]</title>
3
[% INCLUDE 'doc-head-close.inc' %]
3
[% INCLUDE 'doc-head-close.inc' %]
4
<script type="text/javascript">
4
<script type="text/javascript">
5
    $(document).ready(function(){
5
    $(document).ready(function(){
Lines 36-42 function reorder_item(sid,rid,rank){ Link Here
36
[% INCLUDE 'header.inc' %]
36
[% INCLUDE 'header.inc' %]
37
[% INCLUDE 'serials-search.inc' %]
37
[% INCLUDE 'serials-search.inc' %]
38
38
39
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a> &rsaquo; <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscriptionid %]"><i>[% title |html %]</i></a> &rsaquo; [% IF ( op ) %]Create Routing List[% ELSE %]Edit routing list[% END %]</div>
39
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a> &rsaquo; <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscriptionid %]"><i>[% title %]</i></a> &rsaquo; [% IF ( op ) %]Create Routing List[% ELSE %]Edit routing list[% END %]</div>
40
40
41
<div id="doc3" class="yui-t2">
41
<div id="doc3" class="yui-t2">
42
   
42
   
Lines 46-54 function reorder_item(sid,rid,rank){ Link Here
46
46
47
47
48
[% IF ( op ) %]
48
[% IF ( op ) %]
49
<h1>Create routing list for <i>[% title |html %]</i></h1>
49
<h1>Create routing list for <i>[% title %]</i></h1>
50
[% ELSE %]
50
[% ELSE %]
51
<h1>Edit routing list for <i>[% title |html %]</i></h1>
51
<h1>Edit routing list for <i>[% title %]</i></h1>
52
[% END %]
52
[% END %]
53
53
54
<form method="post" action="routing.pl">
54
<form method="post" action="routing.pl">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt (-1 / +1 lines)
Lines 309-315 $(document).ready(function() { Link Here
309
                </td>
309
                </td>
310
                [% IF ( routing ) %]
310
                [% IF ( routing ) %]
311
                <td class="actions">
311
                <td class="actions">
312
                    <a href="" onclick="print_slip([% serial.subscriptionid |html %], '[% serial.serialseq.replace("'", "\\'") |html %] ([% serial.publisheddate | $KohaDates %])'); return false" class="btn btn-default btn-xs"><i class="fa fa-print"></i> Print list</a>
312
                    <a href="" onclick="print_slip([% serial.subscriptionid %], '[% serial.serialseq.replace("'", "\\'") %] ([% serial.publisheddate | $KohaDates %])'); return false" class="btn btn-default btn-xs"><i class="fa fa-print"></i> Print list</a>
313
                </td>
313
                </td>
314
                [% END %]
314
                [% END %]
315
            </tr>
315
            </tr>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt (-6 / +6 lines)
Lines 225-233 $(document).ready(function() { Link Here
225
        <ol>[% FOREACH iteminformatio IN item.iteminformation %]<li>
225
        <ol>[% FOREACH iteminformatio IN item.iteminformation %]<li>
226
               <div class="subfield_line" style="[% iteminformatio.hidden %]" id="subfield[% item.serialid %][% item.countitems %][% iteminformatio.subfield %][% iteminformatio.random %]">
226
               <div class="subfield_line" style="[% iteminformatio.hidden %]" id="subfield[% item.serialid %][% item.countitems %][% iteminformatio.subfield %][% iteminformatio.random %]">
227
                [% IF (iteminformatio.mandatory) %]
227
                [% IF (iteminformatio.mandatory) %]
228
                    <label class="required">[% iteminformatio.subfield %] - [% iteminformatio.marc_lib %]</label>
228
                    <label class="required">[% iteminformatio.subfield %] - [% iteminformatio.marc_lib.raw %]</label>
229
                [% ELSE %]
229
                [% ELSE %]
230
                    <label>[% iteminformatio.subfield %] - [% iteminformatio.marc_lib %]</label>
230
                    <label>[% iteminformatio.subfield %] - [% iteminformatio.marc_lib.raw %]</label>
231
                [% END %]
231
                [% END %]
232
                [% IF ( iteminformatio.marc_value.type == 'select' ) %]
232
                [% IF ( iteminformatio.marc_value.type == 'select' ) %]
233
                  <select name="field_value" size="1">
233
                  <select name="field_value" size="1">
Lines 240-246 $(document).ready(function() { Link Here
240
                  [% END %]
240
                  [% END %]
241
                  </select>
241
                  </select>
242
                [% ELSE %]
242
                [% ELSE %]
243
                [% iteminformatio.marc_value %]
243
                [% iteminformatio.marc_value.raw %]
244
                [% END %]
244
                [% END %]
245
                <input type="hidden" name="itemid" value="[% item.itemid %]" />
245
                <input type="hidden" name="itemid" value="[% item.itemid %]" />
246
                <input type="hidden" name="kohafield" value="[% iteminformatio.kohafield %]" />
246
                <input type="hidden" name="kohafield" value="[% iteminformatio.kohafield %]" />
Lines 371-379 $(document).ready(function() { Link Here
371
        <ol>[% FOREACH iteminformatio IN newserialloo.iteminformation %]<li>
371
        <ol>[% FOREACH iteminformatio IN newserialloo.iteminformation %]<li>
372
               <div class="subfield_line" style="[% iteminformatio.hidden %]" id="subfield[% newserialloo.serialid %][% newserialloo.countitems %][% iteminformatio.subfield %][% iteminformatio.random %]">
372
               <div class="subfield_line" style="[% iteminformatio.hidden %]" id="subfield[% newserialloo.serialid %][% newserialloo.countitems %][% iteminformatio.subfield %][% iteminformatio.random %]">
373
                [% IF (iteminformatio.mandatory) %]
373
                [% IF (iteminformatio.mandatory) %]
374
                    <label class="required">[% iteminformatio.subfield %] - [% iteminformatio.marc_lib %]</label>
374
                    <label class="required">[% iteminformatio.subfield %] - [% iteminformatio.marc_lib.raw %]</label>
375
                [% ELSE %]
375
                [% ELSE %]
376
                    <label>[% iteminformatio.subfield %] - [% iteminformatio.marc_lib %]</label>
376
                    <label>[% iteminformatio.subfield %] - [% iteminformatio.marc_lib.raw %]</label>
377
                [% END %]
377
                [% END %]
378
                [% IF ( iteminformatio.marc_value.type == 'select' ) %]
378
                [% IF ( iteminformatio.marc_value.type == 'select' ) %]
379
                  <select name="field_value" size="1">
379
                  <select name="field_value" size="1">
Lines 386-392 $(document).ready(function() { Link Here
386
                  [% END %]
386
                  [% END %]
387
                  </select>
387
                  </select>
388
                [% ELSE %]
388
                [% ELSE %]
389
                [% iteminformatio.marc_value %]
389
                [% iteminformatio.marc_value.raw %]
390
                [% END %]
390
                [% END %]
391
                <input type="hidden" name="itemid" value="[% newserialloo.itemid %]" />
391
                <input type="hidden" name="itemid" value="[% newserialloo.itemid %]" />
392
                <input type="hidden" name="kohafield" value="[% iteminformatio.kohafield %]" />
392
                <input type="hidden" name="kohafield" value="[% iteminformatio.kohafield %]" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt (-14 / +14 lines)
Lines 66-94 Link Here
66
              <ol>
66
              <ol>
67
                <li>
67
                <li>
68
                  <label for="issn">ISSN:</label>
68
                  <label for="issn">ISSN:</label>
69
                  <input type="text" id="issn" name="ISSN_filter" value="[% ISSN_filter | html %]" />
69
                  <input type="text" id="issn" name="ISSN_filter" value="[% ISSN_filter %]" />
70
                </li>
70
                </li>
71
                <li>
71
                <li>
72
                  <label for="title">Title:</label>
72
                  <label for="title">Title:</label>
73
                  <input type="text" id="title" name="title_filter" value="[% title_filter | html %]" />
73
                  <input type="text" id="title" name="title_filter" value="[% title_filter %]" />
74
                </li>
74
                </li>
75
                [% IF ( marcflavour == "UNIMARC" ) %]
75
                [% IF ( marcflavour == "UNIMARC" ) %]
76
                <li>
76
                <li>
77
                  <label for="ean">EAN:</label>
77
                  <label for="ean">EAN:</label>
78
                  <input type="text" id="ean" name="EAN_filter" value="[% EAN_filter | html %]" />
78
                  <input type="text" id="ean" name="EAN_filter" value="[% EAN_filter %]" />
79
                </li>
79
                </li>
80
                [% END %]
80
                [% END %]
81
                <li>
81
                <li>
82
                  <label for="callnumber">Call number:</label>
82
                  <label for="callnumber">Call number:</label>
83
                  <input type="text" id="callnumber" name="callnumber_filter" value="[% callnumber_filter | html %]" />
83
                  <input type="text" id="callnumber" name="callnumber_filter" value="[% callnumber_filter %]" />
84
                </li>
84
                </li>
85
                <li>
85
                <li>
86
                  <label for="publisher">Publisher:</label>
86
                  <label for="publisher">Publisher:</label>
87
                  <input type="text" id="publisher" name="publisher_filter" value="[% publisher_filter | html %]" />
87
                  <input type="text" id="publisher" name="publisher_filter" value="[% publisher_filter %]" />
88
                </li>
88
                </li>
89
                <li>
89
                <li>
90
                  <label for="bookseller">Vendor:</label>
90
                  <label for="bookseller">Vendor:</label>
91
                  <input type="text" id="bookseller" name="bookseller_filter" value="[% bookseller_filter | html %]" />
91
                  <input type="text" id="bookseller" name="bookseller_filter" value="[% bookseller_filter %]" />
92
                </li>
92
                </li>
93
                <li>
93
                <li>
94
                  <label for="branch">Library:</label>
94
                  <label for="branch">Library:</label>
Lines 178-184 Link Here
178
                        [% IF ( subscription.issn ) %][% subscription.issn %]
178
                        [% IF ( subscription.issn ) %][% subscription.issn %]
179
                        [% END %]
179
                        [% END %]
180
                        </td>
180
                        </td>
181
                        <td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscription.subscriptionid %]" class="button" title="subscription detail">[% subscription.title |html %]</a>
181
                        <td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscription.subscriptionid %]" class="button" title="subscription detail">[% subscription.title %]</a>
182
                        </td>
182
                        </td>
183
                        <td>[% IF ( subscription.publicnotes ) %][% subscription.publicnotes %][% END %]
183
                        <td>[% IF ( subscription.publicnotes ) %][% subscription.publicnotes %][% END %]
184
                        [% IF ( subscription.internalnotes ) %]([% subscription.internalnotes %])[% END %]
184
                        [% IF ( subscription.internalnotes ) %]([% subscription.internalnotes %])[% END %]
Lines 299-305 Link Here
299
                          [% END %]
299
                          [% END %]
300
                        </td>
300
                        </td>
301
                        <td>
301
                        <td>
302
                          <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscription.subscriptionid %]" class="button" title="subscription detail">[% subscription.title |html %]</a>
302
                          <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscription.subscriptionid %]" class="button" title="subscription detail">[% subscription.title %]</a>
303
                        </td>
303
                        </td>
304
                        <td>
304
                        <td>
305
                          [% IF ( subscription.notes ) %][% subscription.notes %][% END %]
305
                          [% IF ( subscription.notes ) %][% subscription.notes %][% END %]
Lines 374-402 Link Here
374
              <ol>
374
              <ol>
375
                <li>
375
                <li>
376
                  <label for="issn">ISSN:</label>
376
                  <label for="issn">ISSN:</label>
377
                  <input type="text" id="issn" name="ISSN_filter" value="[% ISSN_filter | html %]" />
377
                  <input type="text" id="issn" name="ISSN_filter" value="[% ISSN_filter %]" />
378
                </li>
378
                </li>
379
                <li>
379
                <li>
380
                  <label for="title">Title:</label>
380
                  <label for="title">Title:</label>
381
                  <input type="text" id="title" name="title_filter" value="[% title_filter | html %]" />
381
                  <input type="text" id="title" name="title_filter" value="[% title_filter %]" />
382
                </li>
382
                </li>
383
                [% IF ( marcflavour == "UNIMARC" ) %]
383
                [% IF ( marcflavour == "UNIMARC" ) %]
384
                <li>
384
                <li>
385
                  <label for="ean">EAN:</label>
385
                  <label for="ean">EAN:</label>
386
                  <input type="text" id="ean" name="EAN_filter" value="[% EAN_filter | html %]" />
386
                  <input type="text" id="ean" name="EAN_filter" value="[% EAN_filter %]" />
387
                </li>
387
                </li>
388
                [% END %]
388
                [% END %]
389
                <li>
389
                <li>
390
                  <label for="callnumber">Call number:</label>
390
                  <label for="callnumber">Call number:</label>
391
                  <input type="text" id="callnumber" name="callnumber_filter" value="[% callnumber_filter | html %]" />
391
                  <input type="text" id="callnumber" name="callnumber_filter" value="[% callnumber_filter %]" />
392
                </li>
392
                </li>
393
                <li>
393
                <li>
394
                  <label for="publisher">Publisher:</label>
394
                  <label for="publisher">Publisher:</label>
395
                  <input type="text" id="publisher" name="publisher_filter" value="[% publisher_filter | html %]" />
395
                  <input type="text" id="publisher" name="publisher_filter" value="[% publisher_filter %]" />
396
                </li>
396
                </li>
397
                <li>
397
                <li>
398
                  <label for="bookseller">Vendor:</label>
398
                  <label for="bookseller">Vendor:</label>
399
                  <input type="text" id="bookseller" name="bookseller_filter" value="[% bookseller_filter | html %]" />
399
                  <input type="text" id="bookseller" name="bookseller_filter" value="[% bookseller_filter %]" />
400
                </li>
400
                </li>
401
                <li>
401
                <li>
402
                  <label for="branch">Library:</label>
402
                  <label for="branch">Library:</label>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt (-3 / +3 lines)
Lines 2-8 Link Here
2
[% USE Branches %]
2
[% USE Branches %]
3
3
4
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Koha &rsaquo; Serials &rsaquo; [% IF ( modify ) %][% bibliotitle |html %] &rsaquo; Modify subscription[% ELSE %]New subscription[% END %]</title>
5
<title>Koha &rsaquo; Serials &rsaquo; [% IF ( modify ) %][% bibliotitle %] &rsaquo; Modify subscription[% ELSE %]New subscription[% END %]</title>
6
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'calendar.inc' %]
7
[% INCLUDE 'calendar.inc' %]
8
<style type="text/css">
8
<style type="text/css">
Lines 513-524 $(document).ready(function() { Link Here
513
[% INCLUDE 'header.inc' %]
513
[% INCLUDE 'header.inc' %]
514
[% INCLUDE 'serials-search.inc' %]
514
[% INCLUDE 'serials-search.inc' %]
515
515
516
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a> &rsaquo; [% IF ( modify ) %]<a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscriptionid %]"><i>[% bibliotitle |html %]</i></a> &rsaquo; Modify subscription[% ELSE %]New subscription[% END %]</div>
516
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a> &rsaquo; [% IF ( modify ) %]<a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscriptionid %]"><i>[% bibliotitle %]</i></a> &rsaquo; Modify subscription[% ELSE %]New subscription[% END %]</div>
517
517
518
<div id="doc3" class="yui-t7">
518
<div id="doc3" class="yui-t7">
519
    <div id="bd">
519
    <div id="bd">
520
        <div class="yui-g">
520
        <div class="yui-g">
521
            <h1>[% IF ( modify ) %] Modify subscription for <i>[% bibliotitle |html %]</i>[% ELSE %]Add a new subscription[% END %] (<span id="page_number">1/2</span>)</h1>
521
            <h1>[% IF ( modify ) %] Modify subscription for <i>[% bibliotitle %]</i>[% ELSE %]Add a new subscription[% END %] (<span id="page_number">1/2</span>)</h1>
522
            <form method="post" id="subscription_add_form" name="f" action="/cgi-bin/koha/serials/subscription-add.pl" class="validated">
522
            <form method="post" id="subscription_add_form" name="f" action="/cgi-bin/koha/serials/subscription-add.pl" class="validated">
523
                [% IF ( modify ) %]
523
                [% IF ( modify ) %]
524
                    <input type="hidden" name="op" value="modsubscription" />
524
                    <input type="hidden" name="op" value="modsubscription" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-bib-search.tt (-2 / +2 lines)
Lines 26-32 Link Here
26
                <option value="">All</option>
26
                <option value="">All</option>
27
                [%- FOREACH itemtypeloo IN itemtypeloop %]
27
                [%- FOREACH itemtypeloo IN itemtypeloop %]
28
                <option value="[% itemtypeloo.code %]">
28
                <option value="[% itemtypeloo.code %]">
29
                    [% itemtypeloo.description |html %]
29
                    [% itemtypeloo.description %]
30
                </option>
30
                </option>
31
                [%- END %]
31
                [%- END %]
32
            </select>
32
            </select>
Lines 38-44 Link Here
38
                <option value="">All</option>
38
                <option value="">All</option>
39
                [%- FOREACH ccodeloo IN ccodeloop %]
39
                [%- FOREACH ccodeloo IN ccodeloop %]
40
                <option value="[% ccodeloo.code %]">
40
                <option value="[% ccodeloo.code %]">
41
                    [% ccodeloo.description |html %]
41
                    [% ccodeloo.description %]
42
                </option>
42
                </option>
43
                [%- END %]
43
                [%- END %]
44
            </select>
44
            </select>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/tables/members_results.tt (-1 / +1 lines)
Lines 11-17 Link Here
11
                "dt_name":
11
                "dt_name":
12
                    "<span style='white-space:nowrap'><a href='/cgi-bin/koha/members/moremember.pl?borrowernumber=[% data.borrowernumber %]'>[% INCLUDE 'patron-title.inc' borrowernumber = data.borrowernumber category_type = data.category_type firstname = To.json(data.firstname) surname = To.json(data.surname) othernames = To.json(data.othernames) cardnumber = data.cardnumber invert_name = 1%]</a></span>",
12
                    "<span style='white-space:nowrap'><a href='/cgi-bin/koha/members/moremember.pl?borrowernumber=[% data.borrowernumber %]'>[% INCLUDE 'patron-title.inc' borrowernumber = data.borrowernumber category_type = data.category_type firstname = To.json(data.firstname) surname = To.json(data.surname) othernames = To.json(data.othernames) cardnumber = data.cardnumber invert_name = 1%]</a></span>",
13
                "dt_branch":
13
                "dt_branch":
14
                    "[% data.branchname |html %]",
14
                    "[% data.branchname %]",
15
                "dt_action":
15
                "dt_action":
16
                    "<a href=\"#\" class=\"add_user btn btn-default btn-xs\" data-borrowernumber=\"[% data.borrowernumber %]\" data-firstname=\"[% data.firstname %]\" data-surname=\"[% data.surname %]\">Add</a>"
16
                    "<a href=\"#\" class=\"add_user btn btn-default btn-xs\" data-borrowernumber=\"[% data.borrowernumber %]\" data-firstname=\"[% data.firstname %]\" data-surname=\"[% data.surname %]\">Add</a>"
17
            }[% UNLESS loop.last %],[% END %]
17
            }[% UNLESS loop.last %],[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/services/itemrecorddisplay.tt (-3 / +3 lines)
Lines 7-15 Link Here
7
    [% END %]
7
    [% END %]
8
      <div class="subfield_line" id="subfield[% iteminfo.serialid %][% iteminfo.countitems %][% iteminfo.subfield %][% iteminfo.random %]">
8
      <div class="subfield_line" id="subfield[% iteminfo.serialid %][% iteminfo.countitems %][% iteminfo.subfield %][% iteminfo.random %]">
9
        [% IF (iteminfo.mandatory) %]
9
        [% IF (iteminfo.mandatory) %]
10
            <label class="required">[% iteminfo.subfield %] - [% iteminfo.marc_lib %]</label>
10
            <label class="required">[% iteminfo.subfield %] - [% iteminfo.marc_lib.raw %]</label>
11
        [% ELSE %]
11
        [% ELSE %]
12
            <label>[% iteminfo.subfield %] - [% iteminfo.marc_lib %]</label>
12
            <label>[% iteminfo.subfield %] - [% iteminfo.marc_lib.raw %]</label>
13
        [% END %]
13
        [% END %]
14
        [% IF ( iteminfo.marc_value.type == 'select' ) %]
14
        [% IF ( iteminfo.marc_value.type == 'select' ) %]
15
        <select name="field_value" size="1">
15
        <select name="field_value" size="1">
Lines 22-28 Link Here
22
        [% END %]
22
        [% END %]
23
        </select>
23
        </select>
24
        [% ELSE %]
24
        [% ELSE %]
25
        [% iteminfo.marc_value %]
25
        [% iteminfo.marc_value.raw %]
26
        [% END %]
26
        [% END %]
27
        <input type="hidden" name="itemid" value="1" />
27
        <input type="hidden" name="itemid" value="1" />
28
        <input type="hidden" name="kohafield" value="[% iteminfo.kohafield %]" />
28
        <input type="hidden" name="kohafield" value="[% iteminfo.kohafield %]" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt (-25 / +25 lines)
Lines 210-222 h4.local_collapse a { font-size : 80%; text-decoration: none; } fieldset.brief o Link Here
210
    <fieldset class="rows">
210
    <fieldset class="rows">
211
      <legend>Bibliographic information</legend>
211
      <legend>Bibliographic information</legend>
212
      <ol>
212
      <ol>
213
        <li><span class="label">Title:</span>[% title |html %]</li>
213
        <li><span class="label">Title:</span>[% title %]</li>
214
        <li><span class="label">Author:</span>[% author |html %]</li>
214
        <li><span class="label">Author:</span>[% author %]</li>
215
        <li><span class="label">Copyright date:</span>[% copyrightdate |html %]</li>
215
        <li><span class="label">Copyright date:</span>[% copyrightdate %]</li>
216
        <li><span class="label">ISBN or ISSN or other standard number:</span>[% isbn |html %]</li>
216
        <li><span class="label">ISBN or ISSN or other standard number:</span>[% isbn %]</li>
217
        <li><span class="label">Publisher:</span>[% publishercode |html %]</li>
217
        <li><span class="label">Publisher:</span>[% publishercode %]</li>
218
        <li><span class="label">Publication place:</span>[% place |html %]</li>
218
        <li><span class="label">Publication place:</span>[% place %]</li>
219
        <li><span class="label">Collection title:</span>[% collectiontitle |html %]</li>
219
        <li><span class="label">Collection title:</span>[% collectiontitle %]</li>
220
        <li><span class="label">Document type:</span>
220
        <li><span class="label">Document type:</span>
221
            [% AuthorisedValues.GetByCode( 'SUGGEST_FORMAT', itemtype, 0 ) %]
221
            [% AuthorisedValues.GetByCode( 'SUGGEST_FORMAT', itemtype, 0 ) %]
222
        </li>
222
        </li>
Lines 227-233 h4.local_collapse a { font-size : 80%; text-decoration: none; } fieldset.brief o Link Here
227
            [% END %]
227
            [% END %]
228
          </li>
228
          </li>
229
        [% END %]
229
        [% END %]
230
        <li><span class="label">Notes:</span>[% note |html %]</li>
230
        <li><span class="label">Notes:</span>[% note %]</li>
231
      </ol>
231
      </ol>
232
    </fieldset>
232
    </fieldset>
233
    <fieldset class="rows"> <legend>Suggestion management</legend>
233
    <fieldset class="rows"> <legend>Suggestion management</legend>
Lines 329-343 h4.local_collapse a { font-size : 80%; text-decoration: none; } fieldset.brief o Link Here
329
    <fieldset class="rows"> <legend>Bibliographic information</legend><ol>
329
    <fieldset class="rows"> <legend>Bibliographic information</legend><ol>
330
        <li>
330
        <li>
331
            <label for="title" class="required">Title:</label>
331
            <label for="title" class="required">Title:</label>
332
            <input type="text" id="title" name="title" size="80" maxlength="255" value="[% title |html %]" required="required" class="required" />
332
            <input type="text" id="title" name="title" size="80" maxlength="255" value="[% title %]" required="required" class="required" />
333
            <span class="required">Required</span>
333
            <span class="required">Required</span>
334
        </li>
334
        </li>
335
        <li><label for="author">Author:</label><input type="text" id="author" name="author" size="50" maxlength="80" value="[% author | html %]"/></li>
335
        <li><label for="author">Author:</label><input type="text" id="author" name="author" size="50" maxlength="80" value="[% author %]"/></li>
336
        <li><label for="copyrightdate">Copyright date:</label><input type="text" id="copyrightdate" name="copyrightdate" size="4" maxlength="4" value="[% copyrightdate | html %]" /></li>
336
        <li><label for="copyrightdate">Copyright date:</label><input type="text" id="copyrightdate" name="copyrightdate" size="4" maxlength="4" value="[% copyrightdate %]" /></li>
337
        <li><label for="isbn">ISBN or ISSN or other standard number:</label><input type="text" id="isbn" name="isbn" size="50" maxlength="80" value="[% isbn | html %]"/></li>
337
        <li><label for="isbn">ISBN or ISSN or other standard number:</label><input type="text" id="isbn" name="isbn" size="50" maxlength="80" value="[% isbn %]"/></li>
338
        <li><label for="publishercode">Publisher:</label><input type="text" id="publishercode" name="publishercode" size="50" maxlength="80" value="[% publishercode | html %]"/></li>
338
        <li><label for="publishercode">Publisher:</label><input type="text" id="publishercode" name="publishercode" size="50" maxlength="80" value="[% publishercode %]"/></li>
339
        <li><label for="place">Publication place:</label><input type="text" id="place" name="place" size="50" maxlength="80" value="[% place | html %]"/></li>
339
        <li><label for="place">Publication place:</label><input type="text" id="place" name="place" size="50" maxlength="80" value="[% place %]"/></li>
340
        <li><label for="collectiontitle">Collection title:</label><input type="text" id="collectiontitle" name="collectiontitle" size="50" maxlength="80" value="[% collectiontitle | html %]"/></li>
340
        <li><label for="collectiontitle">Collection title:</label><input type="text" id="collectiontitle" name="collectiontitle" size="50" maxlength="80" value="[% collectiontitle %]"/></li>
341
        <li><label for="itemtype">Document type:</label>
341
        <li><label for="itemtype">Document type:</label>
342
            [% PROCESS 'av-build-dropbox.inc' name="itemtype", category="SUGGEST_FORMAT", size = 20, default=itemtype %]
342
            [% PROCESS 'av-build-dropbox.inc' name="itemtype", category="SUGGEST_FORMAT", size = 20, default=itemtype %]
343
        </li>
343
        </li>
Lines 545-556 h4.local_collapse a { font-size : 80%; text-decoration: none; } fieldset.brief o Link Here
545
                </td>
545
                </td>
546
                <td>
546
                <td>
547
                    <a href="suggestion.pl?suggestionid=[% suggestions_loo.suggestionid %]&amp;op=show" title="suggestion" >
547
                    <a href="suggestion.pl?suggestionid=[% suggestions_loo.suggestionid %]&amp;op=show" title="suggestion" >
548
                        [% suggestions_loo.title |html %][% IF ( suggestions_loo.author ) %], by [% suggestions_loo.author %][% END %]</a>
548
                        [% suggestions_loo.title %][% IF ( suggestions_loo.author ) %], by [% suggestions_loo.author %][% END %]</a>
549
                    [<a href="suggestion.pl?suggestionid=[% suggestions_loo.suggestionid %]&amp;op=edit" title="suggestion" >edit</a>]
549
                    [<a href="suggestion.pl?suggestionid=[% suggestions_loo.suggestionid %]&amp;op=edit" title="suggestion" >edit</a>]
550
                    <br />
550
                    <br />
551
                    [% IF ( suggestions_loo.copyrightdate ) %]&copy; [% suggestions_loo.copyrightdate |html %] [% END %]
551
                    [% IF ( suggestions_loo.copyrightdate ) %]&copy; [% suggestions_loo.copyrightdate %] [% END %]
552
                        [% IF ( suggestions_loo.volumedesc ) %]; Volume:<i>[% suggestions_loo.volumedesc |html %]</i> [% END %]
552
                        [% IF ( suggestions_loo.volumedesc ) %]; Volume:<i>[% suggestions_loo.volumedesc %]</i> [% END %]
553
                        [% IF ( suggestions_loo.isbn ) %]; ISBN:<i>[% suggestions_loo.isbn |html %]</i> [% END %][% IF ( suggestions_loo.publishercode ) %]; Published by [% suggestions_loo.publishercode |html %] [% END %][% IF ( suggestions_loo.publicationyear ) %] in <i>[% suggestions_loo.publicationyear |html %]</i> [% END %][% IF ( suggestions_loo.place ) %] in <i>[% suggestions_loo.place |html %]</i> [% END %][% IF ( suggestions_loo.collectiontitle ) %]; [% suggestions_loo.collectiontitle |html %] [% END %][% IF ( suggestions_loo.itemtype ) %]; [% AuthorisedValues.GetByCode( 'SUGGEST_FORMAT', suggestions_loo.itemtype, 0 ) %] [% END %]<br />[% IF ( suggestions_loo.note ) %]<span class="note">[% suggestions_loo.note |html%]</span>[% END %]
553
                        [% IF ( suggestions_loo.isbn ) %]; ISBN:<i>[% suggestions_loo.isbn %]</i> [% END %][% IF ( suggestions_loo.publishercode ) %]; Published by [% suggestions_loo.publishercode %] [% END %][% IF ( suggestions_loo.publicationyear ) %] in <i>[% suggestions_loo.publicationyear %]</i> [% END %][% IF ( suggestions_loo.place ) %] in <i>[% suggestions_loo.place %]</i> [% END %][% IF ( suggestions_loo.collectiontitle ) %]; [% suggestions_loo.collectiontitle %] [% END %][% IF ( suggestions_loo.itemtype ) %]; [% AuthorisedValues.GetByCode( 'SUGGEST_FORMAT', suggestions_loo.itemtype, 0 ) %] [% END %]<br />[% IF ( suggestions_loo.note ) %]<span class="note">[% suggestions_loo.note %]</span>[% END %]
554
                </td>
554
                </td>
555
                <td>
555
                <td>
556
                    [% IF ( suggestions_loo.emailsuggestedby ) %]<a href="mailto:[% suggestions_loo.emailsuggestedby %]">[% END %][% suggestions_loo.surnamesuggestedby %][% IF ( suggestions_loo.firstnamesuggestedby ) %], [% suggestions_loo.firstnamesuggestedby %][% END %] [% IF (suggestions_loo.cardnumbersuggestedby ) %]([% suggestions_loo.cardnumbersuggestedby %])[% END %] [% IF ( suggestions_loo.emailsuggestedby ) %]</a>[% END %]
556
                    [% IF ( suggestions_loo.emailsuggestedby ) %]<a href="mailto:[% suggestions_loo.emailsuggestedby %]">[% END %][% suggestions_loo.surnamesuggestedby %][% IF ( suggestions_loo.firstnamesuggestedby ) %], [% suggestions_loo.firstnamesuggestedby %][% END %] [% IF (suggestions_loo.cardnumbersuggestedby ) %]([% suggestions_loo.cardnumbersuggestedby %])[% END %] [% IF ( suggestions_loo.emailsuggestedby ) %]</a>[% END %]
Lines 697-708 h4.local_collapse a { font-size : 80%; text-decoration: none; } fieldset.brief o Link Here
697
                <div style="display:block;" id="limits">
697
                <div style="display:block;" id="limits">
698
698
699
				<fieldset class="brief"><h4 class="local_collapse"><a href="#">Bibliographic information</a></h4>
699
				<fieldset class="brief"><h4 class="local_collapse"><a href="#">Bibliographic information</a></h4>
700
                   <ol> <li><label for="title"> Title:</label><input type="text" id="title" name="title" value="[% title |html %]" /></li>
700
                   <ol> <li><label for="title"> Title:</label><input type="text" id="title" name="title" value="[% title %]" /></li>
701
                    <li><label for="author"> Author:</label><input type="text" id="author" name="author" value="[% author | html %]" /></li>
701
                    <li><label for="author"> Author:</label><input type="text" id="author" name="author" value="[% author %]" /></li>
702
                    <li><label for="isbn"> ISBN:</label><input type="text" id="isbn"  name="isbn" value="[% isbn | html %]" /></li>
702
                    <li><label for="isbn"> ISBN:</label><input type="text" id="isbn"  name="isbn" value="[% isbn %]" /></li>
703
                    <li><label for="publishercode"> Publisher:</label><input type="text" id="publishercode" name="publishercode" value="[% publishercode | html %]" /></li>
703
                    <li><label for="publishercode"> Publisher:</label><input type="text" id="publishercode" name="publishercode" value="[% publishercode %]" /></li>
704
                    <li><label for="copyrightdate_filter"> Copyright date:</label><input type="text" id="copyrightdate_filter" name="copyrightdate" value="[% copyrightdate | html %]" /></li>
704
                    <li><label for="copyrightdate_filter"> Copyright date:</label><input type="text" id="copyrightdate_filter" name="copyrightdate" value="[% copyrightdate %]" /></li>
705
                    <li><label for="collectiontitle"> Collection title:</label><input type="text" id="collectiontitle" name="collectiontitle" value="[% collectiontitle | html %]" /></li><li><input type="submit" value="Go" /></li></ol>
705
                    <li><label for="collectiontitle"> Collection title:</label><input type="text" id="collectiontitle" name="collectiontitle" value="[% collectiontitle %]" /></li><li><input type="submit" value="Go" /></li></ol>
706
                </fieldset>
706
                </fieldset>
707
				 <fieldset class="brief"><h4 class="local_collapse"><a href="#">Suggestion information</a></h4>
707
				 <fieldset class="brief"><h4 class="local_collapse"><a href="#">Suggestion information</a></h4>
708
                    <ol>
708
                    <ol>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/list.tt (-4 / +4 lines)
Lines 48-64 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
48
48
49
        [% FOREACH title IN titles %]
49
        [% FOREACH title IN titles %]
50
            <tr>
50
            <tr>
51
            <td>[% INCLUDE 'biblio-default-view.inc' biblionumber = title.biblionumber %][% title.title |html %][% FOREACH subtitl IN title.subtitle %] [% subtitl.subfield %][% END %]</a>
51
            <td>[% INCLUDE 'biblio-default-view.inc' biblionumber = title.biblionumber %][% title.title %][% FOREACH subtitl IN title.subtitle %] [% subtitl.subfield %][% END %]</a>
52
            [% title.author %]
52
            [% title.author %]
53
            <p>[% IF ( title.publishercode ) %]- [% title.publishercode|html %]
53
            <p>[% IF ( title.publishercode ) %]- [% title.publishercode %]
54
            [% IF ( title.place ) %] [% title.place %][% END %][% END %]
54
            [% IF ( title.place ) %] [% title.place %][% END %][% END %]
55
            [% IF ( title.pages ) %] - [% title.pages %][% IF ( title.size ) %] [% title.size %]
55
            [% IF ( title.pages ) %] - [% title.pages %][% IF ( title.size ) %] [% title.size %]
56
            [% END %]
56
            [% END %]
57
            [% END %]</p>
57
            [% END %]</p>
58
            [% IF ( title.notes ) %]
58
            [% IF ( title.notes ) %]
59
            <p>[% title.notes |html%]</p>[% END %]
59
            <p>[% title.notes%]</p>[% END %]
60
            [% IF ( title.TagLoop ) %]<p style="font-size:90%"><strong>Tagged with:</strong> [% FOREACH TagLoo IN title.TagLoop %]
60
            [% IF ( title.TagLoop ) %]<p style="font-size:90%"><strong>Tagged with:</strong> [% FOREACH TagLoo IN title.TagLoop %]
61
            <a href="/cgi-bin/koha/tags/list.pl?tag=[% TagLoo.term %]">[% TagLoo.term |html %]</a> <span class="weight">([% TagLoo.weight_total %])</span>[% IF ( loop.last ) %][% ELSE %], [% END %]
61
            <a href="/cgi-bin/koha/tags/list.pl?tag=[% TagLoo.term %]">[% TagLoo.term %]</a> <span class="weight">([% TagLoo.weight_total %])</span>[% IF ( loop.last ) %][% ELSE %], [% END %]
62
            [% END %]</p>
62
            [% END %]</p>
63
            [% END %]
63
            [% END %]
64
            </td>
64
            </td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt (-1 / +1 lines)
Lines 231-237 tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; } Link Here
231
  [% END %]
231
  [% END %]
232
  [% IF ( pagination_bar ) %]
232
  [% IF ( pagination_bar ) %]
233
  <div class="pages" id="pagination_top">
233
  <div class="pages" id="pagination_top">
234
  	[% pagination_bar %]
234
    [% pagination_bar.raw %]
235
  </div>
235
  </div>
236
  [% END %]
236
  [% END %]
237
  [% IF ( tagloop ) %]
237
  [% IF ( tagloop ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt (-1 / +1 lines)
Lines 101-107 $(document).ready(function(){ Link Here
101
		    <tbody>
101
		    <tbody>
102
            [% FOREACH item_loo IN item_loop %] <tr> [% IF ( show ) %][% IF ( item_loo.nomod ) %] <td class="error">Cannot edit</td>[% ELSE %]<td><input type="checkbox" name="itemnumber" value="[% item_loo.itemnumber %]" id="row[% item_loo.itemnumber %]" checked="checked" /></td>[% END %][% END %]
102
            [% FOREACH item_loo IN item_loop %] <tr> [% IF ( show ) %][% IF ( item_loo.nomod ) %] <td class="error">Cannot edit</td>[% ELSE %]<td><input type="checkbox" name="itemnumber" value="[% item_loo.itemnumber %]" id="row[% item_loo.itemnumber %]" checked="checked" /></td>[% END %][% END %]
103
		    <td><label for="row[% item_loo.itemnumber %]"><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item_loo.biblionumber %]">[% item_loo.title %]</a>[% IF ( item_loo.author ) %], by [% item_loo.author %][% END %]</label></td>
103
		    <td><label for="row[% item_loo.itemnumber %]"><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item_loo.biblionumber %]">[% item_loo.title %]</a>[% IF ( item_loo.author ) %], by [% item_loo.author %][% END %]</label></td>
104
			[% FOREACH item_valu IN item_loo.item_value %] <td>[% item_valu.field |html %]</td> 
104
            [% FOREACH item_valu IN item_loo.item_value %] <td>[% item_valu.field %]</td>
105
					[% END %] </tr>
105
					[% END %] </tr>
106
		    [% END %]
106
		    [% END %]
107
		    </tbody>
107
		    </tbody>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt (-3 / +4 lines)
Lines 152-158 $(document).ready(function(){ Link Here
152
                  <td>&nbsp;</td>
152
                  <td>&nbsp;</td>
153
                [% END %]
153
                [% END %]
154
                <td><label for="row[% item_loo.itemnumber %]"><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item_loo.biblionumber %]">[% item_loo.title %]</a>[% IF ( item_loo.author ) %], by [% item_loo.author %][% END %]</label></td>
154
                <td><label for="row[% item_loo.itemnumber %]"><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item_loo.biblionumber %]">[% item_loo.title %]</a>[% IF ( item_loo.author ) %], by [% item_loo.author %][% END %]</label></td>
155
                [% FOREACH item_valu IN item_loo.item_value %] <td>[% item_valu.field |html %]</td> 
155
                [% FOREACH item_valu IN item_loo.item_value %] <td>[% item_valu.field %]</td>
156
        [% END %] </tr>
156
        [% END %] </tr>
157
            [% END %]
157
            [% END %]
158
      </tbody>
158
      </tbody>
Lines 194-206 $(document).ready(function(){ Link Here
194
              [% ELSE %]
194
              [% ELSE %]
195
                <label for="tag_[% ite.tag %]_subfield_[% ite.subfield %]_[% ite.random %]">
195
                <label for="tag_[% ite.tag %]_subfield_[% ite.subfield %]_[% ite.random %]">
196
              [% END %]
196
              [% END %]
197
                [% ite.subfield %] - [% ite.marc_lib %]
197
                [% ite.subfield %] - [% ite.marc_lib.raw %]
198
              </label>
198
              </label>
199
199
200
              [% SET mv = ite.marc_value %]
200
              [% SET mv = ite.marc_value %]
201
              [% IF ( mv.type == 'select' ) -%]
201
              [% IF ( mv.type == 'select' ) -%]
202
                <select name="[%- mv.name -%]" id="[%- mv.id -%]" size="1" tabindex="1" class="input_marceditor">
202
                <select name="[%- mv.name -%]" id="[%- mv.id -%]" size="1" tabindex="1" class="input_marceditor">
203
                  [%- FOREACH aval IN mv.values %]
203
                  [%- FOREACH aval IN mv.values %]
204
              [% ite.subfield %] -
204
                    [% IF aval == mv.default %]
205
                    [% IF aval == mv.default %]
205
                      <option value="[%- aval -%]" selected="selected">[%- mv.labels.$aval -%]</option>
206
                      <option value="[%- aval -%]" selected="selected">[%- mv.labels.$aval -%]</option>
206
                    [% ELSE %]
207
                    [% ELSE %]
Lines 218-224 $(document).ready(function(){ Link Here
218
                [% ELSE %]
219
                [% ELSE %]
219
                  <a href="#" id="buttonDot_[% mv.id %]" class="buttonDot" title="Tag editor">...</a>
220
                  <a href="#" id="buttonDot_[% mv.id %]" class="buttonDot" title="Tag editor">...</a>
220
                [% END %]
221
                [% END %]
221
                [% mv.javascript %]
222
                [% mv.javascript.raw %]
222
              [% ELSIF ( mv.type == 'text' ) %]
223
              [% ELSIF ( mv.type == 'text' ) %]
223
                <input type="text" tabindex="1" id="[%- mv.id -%]" name="field_value" class="input_marceditor" size="50" maxlength="255" value="[%- mv.value -%]" />
224
                <input type="text" tabindex="1" id="[%- mv.id -%]" name="field_value" class="input_marceditor" size="50" maxlength="255" value="[%- mv.value -%]" />
224
              [% ELSIF ( mv.type == 'hidden' ) %]
225
              [% ELSIF ( mv.type == 'hidden' ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt (-1 / +1 lines)
Lines 175-181 $(document).ready(function() { Link Here
175
                <tr>
175
                <tr>
176
                  <td><input type="checkbox" name="record_id" id="record_id_[% biblio.biblionumber %]" value="[% biblio.biblionumber %]" data-items="[% biblio.itemnumbers.size %]" data-issues="[% biblio.issues_count %]" data-reserves="[% biblio.reserves.size %]" /></td>
176
                  <td><input type="checkbox" name="record_id" id="record_id_[% biblio.biblionumber %]" value="[% biblio.biblionumber %]" data-items="[% biblio.itemnumbers.size %]" data-issues="[% biblio.issues_count %]" data-reserves="[% biblio.reserves.size %]" /></td>
177
                  <td><label for="record_id_[% biblio.biblionumber %]">[% biblio.biblionumber %]</label></td>
177
                  <td><label for="record_id_[% biblio.biblionumber %]">[% biblio.biblionumber %]</label></td>
178
                  <td>[% INCLUDE 'biblio-default-view.inc' biblionumber=biblio.biblionumber %][% biblio.title %][% IF ( biblio.subtitle ) %][% FOREACH subtitle IN biblio.subtitle %] [% subtitle.subfield |html %][% END %][% END %]</a></td>
178
                  <td>[% INCLUDE 'biblio-default-view.inc' biblionumber=biblio.biblionumber %][% biblio.title %][% IF ( biblio.subtitle ) %][% FOREACH subtitle IN biblio.subtitle %] [% subtitle.subfield %][% END %][% END %]</a></td>
179
                  <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblio.biblionumber %]">[% biblio.itemnumbers.size %]</a></td>
179
                  <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblio.biblionumber %]">[% biblio.itemnumbers.size %]</a></td>
180
                  <td><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblio.biblionumber %]">[% biblio.reserves.size %]</a></td>
180
                  <td><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblio.biblionumber %]">[% biblio.reserves.size %]</a></td>
181
                  <td><a href="/cgi-bin/koha/catalogue/issuehistory.pl?biblionumber=[% biblio.biblionumber %]">[% biblio.issues_count %]</a></td>
181
                  <td><a href="/cgi-bin/koha/catalogue/issuehistory.pl?biblionumber=[% biblio.biblionumber %]">[% biblio.issues_count %]</a></td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt (-8 / +8 lines)
Lines 261-289 $(document).ready(function(){ Link Here
261
              </td>
261
              </td>
262
            [% END %]
262
            [% END %]
263
            <td>
263
            <td>
264
            [% result.barcode | html %]
264
            [% result.barcode %]
265
            </td>
265
            </td>
266
            <td>
266
            <td>
267
                [% Branches.GetName( result.homebranch ) %]
267
                [% Branches.GetName( result.homebranch ) %]
268
                [% result.location | html %] [% IF ( result.itemcallnumber ) %][[% result.itemcallnumber | html %]][% ELSE %][% END %]
268
                [% result.location %] [% IF ( result.itemcallnumber ) %][[% result.itemcallnumber %]][% ELSE %][% END %]
269
            </td>
269
            </td>
270
            <td>
270
            <td>
271
            <p><a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% result.biblionumber %]" class="openWin">[% result.title | html %]</a></p><p>[% result.author | html %]</p>
271
            <p><a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% result.biblionumber %]" class="openWin">[% result.title %]</a></p><p>[% result.author %]</p>
272
            </td>
272
            </td>
273
            <td>
273
            <td>
274
            [% result.notforloan | html %]
274
            [% result.notforloan %]
275
            </td>
275
            </td>
276
            <td>
276
            <td>
277
            [% result.itemlost | html %]
277
            [% result.itemlost %]
278
            </td>
278
            </td>
279
            <td>
279
            <td>
280
            [% result.damaged | html %]
280
            [% result.damaged %]
281
            </td>
281
            </td>
282
            <td>
282
            <td>
283
            [% result.withdrawn | html %]
283
            [% result.withdrawn %]
284
            </td>
284
            </td>
285
            <td>
285
            <td>
286
            [% result.datelastseen | $KohaDates | html %]
286
            [% result.datelastseen | $KohaDates %]
287
            </td>
287
            </td>
288
            <td>
288
            <td>
289
            [% IF result.problem == 'wrongplace' %]
289
            [% IF result.problem == 'wrongplace' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt (-2 / +2 lines)
Lines 162-168 Edit news item[% ELSE %]Add news item[% END %][% ELSE %]News[% END %]</div> Link Here
162
                [% END %]
162
                [% END %]
163
            </li>
163
            </li>
164
            <li><label for="content">News: </label>
164
            <li><label for="content">News: </label>
165
            <textarea name="content" id="content"  cols="75" rows="10">[% new_detail.content %]</textarea>
165
            <textarea name="content" id="content"  cols="75" rows="10">[% new_detail.content.raw %]</textarea>
166
            </li>
166
            </li>
167
            </ol>
167
            </ol>
168
			</fieldset>
168
			</fieldset>
Lines 254-260 Edit news item[% ELSE %]Add news item[% END %][% ELSE %]News[% END %]</div> Link Here
254
                            <td>[% opac_new.title %]</td>
254
                            <td>[% opac_new.title %]</td>
255
                            <td>[% opac_new.author_title %] [% opac_new.author_firstname %] [% opac_new.author_surname %]</td>
255
                            <td>[% opac_new.author_title %] [% opac_new.author_firstname %] [% opac_new.author_surname %]</td>
256
                           <td>
256
                           <td>
257
                                [% opac_new.content %]
257
                                [% opac_new.content.raw %]
258
                            </td>
258
                            </td>
259
                            <td class="actions">
259
                            <td class="actions">
260
                                <a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form&amp;id=[% opac_new.idnew %]" class="btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
260
                                <a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form&amp;id=[% opac_new.idnew %]" class="btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/picture-upload.tt (-2 / +2 lines)
Lines 67-74 Link Here
67
                        [% IF ( COUNT.TCOUNTS ) %]<li>[% COUNT.TCOUNTS %] image(s) moved into the database:</li>[% END %]
67
                        [% IF ( COUNT.TCOUNTS ) %]<li>[% COUNT.TCOUNTS %] image(s) moved into the database:</li>[% END %]
68
                            [% FOREACH filename IN COUNT.filenames %]
68
                            [% FOREACH filename IN COUNT.filenames %]
69
                                <tr>
69
                                <tr>
70
                                <td>[% filename.source | html %]</td>
70
                                <td>[% filename.source %]</td>
71
                                <td><a href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% filename.cardnumber | url %]">[% filename.cardnumber | html %]</a></td>
71
                                <td><a href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% filename.cardnumber | url %]">[% filename.cardnumber %]</a></td>
72
                                <td>
72
                                <td>
73
                                    [% IF ( filename.filerrors ) %]
73
                                    [% IF ( filename.filerrors ) %]
74
                                    [% FOREACH filerror IN filename.filerrors %]
74
                                    [% FOREACH filerror IN filename.filerrors %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt (-9 / +9 lines)
Lines 84-95 Link Here
84
					[% IF ( do_it ) %]
84
					[% IF ( do_it ) %]
85
						<input type="hidden" name="do_it" value="[% do_it %]" />
85
						<input type="hidden" name="do_it" value="[% do_it %]" />
86
					[% END %]
86
					[% END %]
87
                    <input type="hidden" name="src" value="[% src | html %]" />
87
                    <input type="hidden" name="src" value="[% src %]" />
88
					<fieldset class="rows">
88
					<fieldset class="rows">
89
						<ol>
89
						<ol>
90
							<li>
90
							<li>
91
								<label for="user">Librarian:</label>
91
								<label for="user">Librarian:</label>
92
                                <input type="text" name="user" id="user" value="[% user | html %]" />
92
                                <input type="text" name="user" id="user" value="[% user %]" />
93
							</li>
93
							</li>
94
                        <li>
94
                        <li>
95
                                <label for="modules">Modules:</label>
95
                                <label for="modules">Modules:</label>
Lines 128-138 Link Here
128
                            </li>
128
                            </li>
129
							<li>
129
							<li>
130
								<label for="object">Object: </label>
130
								<label for="object">Object: </label>
131
                                <input type="text" id="object" name="object" value="[% object | html %]" />
131
                                <input type="text" id="object" name="object" value="[% object %]" />
132
							</li>
132
							</li>
133
							<li>
133
							<li>
134
								<label for="info">Info:</label>
134
								<label for="info">Info:</label>
135
                                <input type="text" id="info" name="info" value="[% info | html %]" />
135
                                <input type="text" id="info" name="info" value="[% info %]" />
136
							</li>
136
							</li>
137
                            <li>
137
                            <li>
138
                                <label for="interfaces">Interface:</label>
138
                                <label for="interfaces">Interface:</label>
Lines 153-163 Link Here
153
                                </select>
153
                                </select>
154
                            </li>
154
                            </li>
155
							<li>
155
							<li>
156
                                <label for="from"> Display from: </label> <input type="text" size="10" id="from" name="from" value="[% datefrom | html %]" class="datepickerfrom" />
156
                                <label for="from"> Display from: </label> <input type="text" size="10" id="from" name="from" value="[% datefrom %]" class="datepickerfrom" />
157
				<div class="hint">[% INCLUDE 'date-format.inc' %]</div>
157
				<div class="hint">[% INCLUDE 'date-format.inc' %]</div>
158
							</li>
158
							</li>
159
							<li>
159
							<li>
160
                                <label for="to">Display to: </label> <input size="10" id="to" name="to" type="text" value="[% dateto | html %]" class="datepickerto" />
160
                                <label for="to">Display to: </label> <input size="10" id="to" name="to" type="text" value="[% dateto %]" class="datepickerto" />
161
				<div class="hint">[% INCLUDE 'date-format.inc' %]</div>
161
				<div class="hint">[% INCLUDE 'date-format.inc' %]</div>
162
							</li>
162
							</li>
163
						</ol>
163
						</ol>
Lines 239-247 Link Here
239
                                    </td>
239
                                    </td>
240
                                    <td>
240
                                    <td>
241
                                        [% IF ( loopro.module == 'CIRCULATION' ) %]
241
                                        [% IF ( loopro.module == 'CIRCULATION' ) %]
242
                                            <a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% loopro.info %]&amp;biblionumber=[% loopro.biblionumber %]&amp;bi=[% loopro.biblioitemnumber %]#item[% loopro.info %]" title="Display detail for this item">Item [% loopro.barcode |html %]</a>
242
                                            <a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% loopro.info %]&amp;biblionumber=[% loopro.biblionumber %]&amp;bi=[% loopro.biblioitemnumber %]#item[% loopro.info %]" title="Display detail for this item">Item [% loopro.barcode %]</a>
243
                                        [% ELSE %]
243
                                        [% ELSE %]
244
                                            [% loopro.info |html %]
244
                                            [% loopro.info %]
245
                                        [% END %]
245
                                        [% END %]
246
                                    </td>
246
                                    </td>
247
                                    <td>[% PROCESS translate_log_interface interface=loopro.interface %]</td>
247
                                    <td>[% PROCESS translate_log_interface interface=loopro.interface %]</td>
Lines 253-259 Link Here
253
                        <div class="dialog alert">
253
                        <div class="dialog alert">
254
                            No log found
254
                            No log found
255
                            [% IF ( CATALOGUING ) %]
255
                            [% IF ( CATALOGUING ) %]
256
                                for <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% object | url %]">Bibliographic record [% object | html %]</a>
256
                                for <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% object | url %]">Bibliographic record [% object %]</a>
257
                            [% END %]
257
                            [% END %]
258
                            [% IF ( MEMBERS ) %]
258
                            [% IF ( MEMBERS ) %]
259
                                for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% object | url %]">[% INCLUDE 'patron-title.inc' %]</a>
259
                                for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% object | url %]">[% INCLUDE 'patron-title.inc' %]</a>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/addbybiblionumber.tt (-6 / +6 lines)
Lines 17-29 Link Here
17
<div id="custom-doc" class="yui-t7">
17
<div id="custom-doc" class="yui-t7">
18
   <div id="bd">
18
   <div id="bd">
19
                [% IF ( multiple ) %]
19
                [% IF ( multiple ) %]
20
		    <h1>Add [% total %] items to [% IF ( singleshelf ) %]<em>[% shelfname | html%]</em>: [% ELSE %]a list:[% END %]</h1>
20
                        <h1>Add [% total %] items to [% IF ( singleshelf ) %]<em>[% shelfname%]</em>: [% ELSE %]a list:[% END %]</h1>
21
                [% ELSE %]
21
                [% ELSE %]
22
                        <h1>Add to [% IF ( singleshelf ) %]<em>[% shelfname | html %]</em>[% ELSE %]a list:[% END %]</h1>
22
                        <h1>Add to [% IF ( singleshelf ) %]<em>[% shelfname %]</em>[% ELSE %]a list:[% END %]</h1>
23
                [% END %]
23
                [% END %]
24
		<ul>
24
		<ul>
25
		    [% FOREACH biblio IN biblios %]
25
		    [% FOREACH biblio IN biblios %]
26
			<li> <span class="title">[% biblio.title |html %]</span>
26
            <li> <span class="title">[% biblio.title %]</span>
27
			    [% IF ( biblio.author ) %]<span class="author"> [% biblio.author %] </span>[% END %]
27
			    [% IF ( biblio.author ) %]<span class="author"> [% biblio.author %] </span>[% END %]
28
			</li>
28
			</li>
29
		    [% END %]
29
		    [% END %]
Lines 46-66 Link Here
46
                [% IF private_shelves.count %]
46
                [% IF private_shelves.count %]
47
                    <optgroup label="Private lists">
47
                    <optgroup label="Private lists">
48
                        [% FOREACH private_shelf IN private_shelves %]
48
                        [% FOREACH private_shelf IN private_shelves %]
49
                            <option value="[% private_shelf.shelfnumber %]">[% private_shelf.shelfname | html%]</option>
49
                            <option value="[% private_shelf.shelfnumber %]">[% private_shelf.shelfname %]</option>
50
                        [% END %]
50
                        [% END %]
51
                    </optgroup>
51
                    </optgroup>
52
                [% END %]
52
                [% END %]
53
                [% IF private_shelves_shared_with_me.count %]
53
                [% IF private_shelves_shared_with_me.count %]
54
                    <optgroup label="Private lists shared with me">
54
                    <optgroup label="Private lists shared with me">
55
                        [% FOREACH private_shelf IN private_shelves_shared_with_me %]
55
                        [% FOREACH private_shelf IN private_shelves_shared_with_me %]
56
                            <option value="[% private_shelf.shelfnumber %]">[% private_shelf.shelfname | html%]</option>
56
                            <option value="[% private_shelf.shelfnumber %]">[% private_shelf.shelfname %]</option>
57
                        [% END %]
57
                        [% END %]
58
                    </optgroup>
58
                    </optgroup>
59
                [% END %]
59
                [% END %]
60
                [% IF public_shelves.count %]
60
                [% IF public_shelves.count %]
61
                    <optgroup label="Public lists">
61
                    <optgroup label="Public lists">
62
                        [% FOREACH public_shelf IN public_shelves %]
62
                        [% FOREACH public_shelf IN public_shelves %]
63
                            <option value="[% public_shelf.shelfnumber %]">[% public_shelf.shelfname | html%]</option>
63
                            <option value="[% public_shelf.shelfnumber %]">[% public_shelf.shelfname %]</option>
64
                        [% END %]
64
                        [% END %]
65
                    </optgroup>
65
                    </optgroup>
66
                [% END %]
66
                [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/sendshelf.tt (-25 / +25 lines)
Lines 1-5 Link Here
1
<SUBJECT>
1
<SUBJECT>
2
Your list: [% shelfname %]
2
Your list: [% shelfname.raw %]
3
<END_SUBJECT>
3
<END_SUBJECT>
4
4
5
[% USE HtmlToText %]
5
[% USE HtmlToText %]
Lines 8-14 Your list: [% shelfname %] Link Here
8
[% FILTER html2text %]
8
[% FILTER html2text %]
9
    <p>Hi,</p>
9
    <p>Hi,</p>
10
10
11
    <p>Here is your list called [% shelfname %], sent from our online catalog.</p>
11
    <p>Here is your list called [% shelfname.raw %], sent from our online catalog.</p>
12
12
13
    <p>Please note that the attached file is a MARC bibliographic records file
13
    <p>Please note that the attached file is a MARC bibliographic records file
14
    which can be imported into personal bibliographic software like EndNote,
14
    which can be imported into personal bibliographic software like EndNote,
Lines 22-51 Your list: [% shelfname %] Link Here
22
[% FILTER html2text %]
22
[% FILTER html2text %]
23
23
24
    [% IF comment %]
24
    [% IF comment %]
25
        <p>[% comment %]</p>
25
        <p>[% comment.raw %]</p>
26
        <hr/>
26
        <hr/>
27
    [% END %]
27
    [% END %]
28
    <ol>
28
    <ol>
29
    [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %]
29
    [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %]
30
        <li>
30
        <li>
31
            <span>
31
            <span>
32
                [% BIBLIO_RESULT.title %]
32
                [% BIBLIO_RESULT.title.raw %]
33
                [% IF ( BIBLIO_RESULT.subtitle.size ) %]
33
                [% IF ( BIBLIO_RESULT.subtitle.size ) %]
34
                  [% FOREACH subtitle IN BIBLIO_RESULT.subtitle %]
34
                  [% FOREACH subtitle IN BIBLIO_RESULT.subtitle %]
35
                    [% subtitle.subfield %]
35
                    [% subtitle.subfield.raw %]
36
                  [% END %]
36
                  [% END %]
37
                [% END %]
37
                [% END %]
38
            </span>
38
            </span>
39
39
40
            <p>
40
            <p>
41
            [% IF ( BIBLIO_RESULT.HASAUTHORS ) %]
41
            [% IF ( BIBLIO_RESULT.HASAUTHORS ) %]
42
            <span>Author(s): [% IF ( BIBLIO_RESULT.author ) %][% BIBLIO_RESULT.author %][% END %]
42
            <span>Author(s): [% IF ( BIBLIO_RESULT.author ) %][% BIBLIO_RESULT.author.raw %][% END %]
43
43
44
            [% IF ( BIBLIO_RESULT.MARCAUTHORS ) %]
44
            [% IF ( BIBLIO_RESULT.MARCAUTHORS ) %]
45
                [% IF ( BIBLIO_RESULT.author ) %]; [% END %]
45
                [% IF ( BIBLIO_RESULT.author ) %]; [% END %]
46
                [% FOREACH MARCAUTHOR IN BIBLIO_RESULT.MARCAUTHORS %]
46
                [% FOREACH MARCAUTHOR IN BIBLIO_RESULT.MARCAUTHORS %]
47
                    [% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %]
47
                    [% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %]
48
                        [% MARCAUTHOR_SUBFIELDS_LOO.separator %][% MARCAUTHOR_SUBFIELDS_LOO.value %]
48
                        [% MARCAUTHOR_SUBFIELDS_LOO.separator.raw %][% MARCAUTHOR_SUBFIELDS_LOO.value.raw %]
49
                    [% END %]
49
                    [% END %]
50
                    [% UNLESS ( loop.last ) %];[% END %]
50
                    [% UNLESS ( loop.last ) %];[% END %]
51
                [% END %]
51
                [% END %]
Lines 56-62 Your list: [% shelfname %] Link Here
56
            [% IF ( BIBLIO_RESULT.ISBN ) %]
56
            [% IF ( BIBLIO_RESULT.ISBN ) %]
57
            <span>
57
            <span>
58
                ISBN: [% FOREACH isbn IN BIBLIO_RESULT.ISBN %]
58
                ISBN: [% FOREACH isbn IN BIBLIO_RESULT.ISBN %]
59
                          [% isbn %]
59
                          [% isbn.raw %]
60
                          [% UNLESS ( loop.last ) %]; [% END %]
60
                          [% UNLESS ( loop.last ) %]; [% END %]
61
                      [% END %]
61
                      [% END %]
62
            </span><br/>
62
            </span><br/>
Lines 64-75 Your list: [% shelfname %] Link Here
64
64
65
            [% IF BIBLIO_RESULT.publishercode %]
65
            [% IF BIBLIO_RESULT.publishercode %]
66
            <span>
66
            <span>
67
                Published by: [% BIBLIO_RESULT.publishercode %]
67
                Published by: [% BIBLIO_RESULT.publishercode.raw %]
68
                [% IF ( BIBLIO_RESULT.publicationyear ) %]
68
                [% IF ( BIBLIO_RESULT.publicationyear ) %]
69
                    in [% BIBLIO_RESULT.publicationyear %]
69
                    in [% BIBLIO_RESULT.publicationyear.raw %]
70
                [% END %]
70
                [% END %]
71
                [% IF ( BIBLIO_RESULT.pages ) %]
71
                [% IF ( BIBLIO_RESULT.pages ) %]
72
                    , [% BIBLIO_RESULT.pages %]
72
                    , [% BIBLIO_RESULT.pages.raw %]
73
                [% END %]
73
                [% END %]
74
                [% IF BIBLIO_RESULT.item('size') %]
74
                [% IF BIBLIO_RESULT.item('size') %]
75
                , [% BIBLIO_RESULT.item('size') %]
75
                , [% BIBLIO_RESULT.item('size') %]
Lines 79-133 Your list: [% shelfname %] Link Here
79
79
80
            [% IF BIBLIO_RESULT.collection %]
80
            [% IF BIBLIO_RESULT.collection %]
81
            <span>
81
            <span>
82
                Collection: [% BIBLIO_RESULT.seriestitle %]
82
                Collection: [% BIBLIO_RESULT.seriestitle.raw %]
83
            </span><br/>
83
            </span><br/>
84
            [% END %]
84
            [% END %]
85
85
86
            [% IF ( BIBLIO_RESULT.subject ) %]
86
            [% IF ( BIBLIO_RESULT.subject ) %]
87
            <span>
87
            <span>
88
                Subject: [% BIBLIO_RESULT.subject %]
88
                Subject: [% BIBLIO_RESULT.subject.raw %]
89
            <span><br/>
89
            <span><br/>
90
            [% END %]
90
            [% END %]
91
91
92
            [% IF ( BIBLIO_RESULT.copyrightdate ) %]
92
            [% IF ( BIBLIO_RESULT.copyrightdate ) %]
93
            <span>
93
            <span>
94
                Copyright year: [% BIBLIO_RESULT.copyrightdate %]
94
                Copyright year: [% BIBLIO_RESULT.copyrightdate.raw %]
95
            </span><br/>
95
            </span><br/>
96
            [% END %]
96
            [% END %]
97
97
98
            [% IF ( BIBLIO_RESULT.notes ) %]
98
            [% IF ( BIBLIO_RESULT.notes ) %]
99
            <span>
99
            <span>
100
                Notes : [% BIBLIO_RESULT.notes %]
100
                Notes : [% BIBLIO_RESULT.notes.raw %]
101
            </span><br/>
101
            </span><br/>
102
            [% END %]
102
            [% END %]
103
103
104
            [% IF ( BIBLIO_RESULT.unititle ) %]
104
            [% IF ( BIBLIO_RESULT.unititle ) %]
105
            <span>
105
            <span>
106
                Unified title: [% BIBLIO_RESULT.unititle %]
106
                Unified title: [% BIBLIO_RESULT.unititle.raw %]
107
            </span><br/>
107
            </span><br/>
108
            [% END %]
108
            [% END %]
109
109
110
            [% IF ( BIBLIO_RESULT.serial ) %]
110
            [% IF ( BIBLIO_RESULT.serial ) %]
111
            <span>
111
            <span>
112
                Serial: [% BIBLIO_RESULT.serial %]
112
                Serial: [% BIBLIO_RESULT.serial.raw %]
113
            </span><br/>
113
            </span><br/>
114
            [% END %]
114
            [% END %]
115
115
116
            [% IF ( BIBLIO_RESULT.dewey ) %]
116
            [% IF ( BIBLIO_RESULT.dewey ) %]
117
            <span>
117
            <span>
118
                Dewey: [% BIBLIO_RESULT.dewey %]
118
                Dewey: [% BIBLIO_RESULT.dewey.raw %]
119
            </span><br/>
119
            </span><br/>
120
            [% END %]
120
            [% END %]
121
121
122
            [% IF ( BIBLIO_RESULT.classification ) %]
122
            [% IF ( BIBLIO_RESULT.classification ) %]
123
            <span>
123
            <span>
124
                Classification: [% BIBLIO_RESULT.classification %]
124
                Classification: [% BIBLIO_RESULT.classification.raw %]
125
            </span><br/>
125
            </span><br/>
126
            [% END %]
126
            [% END %]
127
127
128
            [% IF ( BIBLIO_RESULT.lccn ) %]
128
            [% IF ( BIBLIO_RESULT.lccn ) %]
129
            <span>
129
            <span>
130
                LCCN: [% BIBLIO_RESULT.lccn %]
130
                LCCN: [% BIBLIO_RESULT.lccn.raw %]
131
            </span><br/>
131
            </span><br/>
132
            [% END %]
132
            [% END %]
133
            [% IF ( BIBLIO_RESULT.url ) %]
133
            [% IF ( BIBLIO_RESULT.url ) %]
Lines 139-155 Your list: [% shelfname %] Link Here
139
139
140
            [% IF ( OPACBaseURL ) %]
140
            [% IF ( OPACBaseURL ) %]
141
            <p>
141
            <p>
142
                In online catalog: [% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% BIBLIO_RESULT.biblionumber %]
142
                In online catalog: [% OPACBaseURL.raw %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% BIBLIO_RESULT.biblionumber %]
143
            </p>
143
            </p>
144
            [% END %]
144
            [% END %]
145
            [% IF ( BIBLIO_RESULT.ITEM_RESULTS.size ) %]
145
            [% IF ( BIBLIO_RESULT.ITEM_RESULTS.size ) %]
146
            <p>Items:
146
            <p>Items:
147
            <ul>
147
            <ul>
148
                [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]<li>
148
                [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]<li>
149
                    [% ITEM_RESULT.branchname %]
149
                    [% ITEM_RESULT.branchname.raw %]
150
                    [% ITEM_RESULT.location %]
150
                    [% ITEM_RESULT.location.raw %]
151
                    [% IF ITEM_RESULT.itemcallnumber %]([% ITEM_RESULT.itemcallnumber %])[% END %]
151
                    [% IF ITEM_RESULT.itemcallnumber %]([% ITEM_RESULT.itemcallnumber.raw %])[% END %]
152
                    [% ITEM_RESULT.barcode %]
152
                    [% ITEM_RESULT.barcode.raw %]
153
                </li>[% END %]
153
                </li>[% END %]
154
            </ul>
154
            </ul>
155
            </p>
155
            </p>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/sendshelfform.tt (-1 / +1 lines)
Lines 6-12 Link Here
6
6
7
    [% IF ( SENT ) %]
7
    [% IF ( SENT ) %]
8
        <h3>Message sent</h3>
8
        <h3>Message sent</h3>
9
        <p>The list was sent to: [% email | html %]</p>
9
        <p>The list was sent to: [% email %]</p>
10
        <p><a class="close focus" href="#">Close window</a></p>
10
        <p><a class="close focus" href="#">Close window</a></p>
11
    [% END %]
11
    [% END %]
12
    [% IF ( error ) %]
12
    [% IF ( error ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt (-11 / +11 lines)
Lines 3-9 Link Here
3
[% SET PRIVATE = 1 %]
3
[% SET PRIVATE = 1 %]
4
[% SET PUBLIC = 2 %]
4
[% SET PUBLIC = 2 %]
5
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Koha &rsaquo; [% IF op == 'view' %]Lists &rsaquo; Contents of [% shelf.shelfname | html %][% ELSE %]Lists[% END %][% IF op == 'add_form' %] &rsaquo; Create new list[% END %][% IF op == 'edit_form' %] &rsaquo; Edit list [% shelf.shelfname | html %][% END %]</title>
6
<title>Koha &rsaquo; [% IF op == 'view' %]Lists &rsaquo; Contents of [% shelf.shelfname %][% ELSE %]Lists[% END %][% IF op == 'add_form' %] &rsaquo; Create new list[% END %][% IF op == 'edit_form' %] &rsaquo; Edit list [% shelf.shelfname %][% END %]</title>
7
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
8
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
8
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
9
[% INCLUDE 'datatables.inc' %]
9
[% INCLUDE 'datatables.inc' %]
Lines 141-147 $(document).ready(function(){ Link Here
141
            [% SET number_of_private_shelves = 0 %]
141
            [% SET number_of_private_shelves = 0 %]
142
            [% FOREACH s IN add_to_some_private_shelves %]
142
            [% FOREACH s IN add_to_some_private_shelves %]
143
                [% IF shelfnumber != s.shelfnumber %]
143
                [% IF shelfnumber != s.shelfnumber %]
144
                    param1 += "<option id=\"s[% s.shelfnumber %]\" value=\"addtolist\">[% s.shelfname |html %]<\/option>";
144
                    param1 += "<option id=\"s[% s.shelfnumber %]\" value=\"addtolist\">[% s.shelfname %]<\/option>";
145
                    [% SET number_of_private_shelves = number_of_private_shelves + 1 %]
145
                    [% SET number_of_private_shelves = number_of_private_shelves + 1 %]
146
                    [% IF number_of_private_shelves == 10 %][% LAST %][% END %]
146
                    [% IF number_of_private_shelves == 10 %][% LAST %][% END %]
147
                [% END %]
147
                [% END %]
Lines 153-159 $(document).ready(function(){ Link Here
153
            [% SET number_of_public_shelves = 0 %]
153
            [% SET number_of_public_shelves = 0 %]
154
            [% FOREACH s IN add_to_some_public_shelves %]
154
            [% FOREACH s IN add_to_some_public_shelves %]
155
                [% IF shelfnumber != s.shelfnumber %]
155
                [% IF shelfnumber != s.shelfnumber %]
156
                    param1 += "<option id=\"s[% s.shelfnumber %]\" value=\"addtolist\">[% s.shelfname |html %]<\/option>";
156
                    param1 += "<option id=\"s[% s.shelfnumber %]\" value=\"addtolist\">[% s.shelfname %]<\/option>";
157
                    [% SET number_of_public_shelves = number_of_public_shelves + 1 %]
157
                    [% SET number_of_public_shelves = number_of_public_shelves + 1 %]
158
                    [% IF number_of_public_shelves == 10 %][% LAST %][% END %]
158
                    [% IF number_of_public_shelves == 10 %][% LAST %][% END %]
159
                [% END %]
159
                [% END %]
Lines 313-319 function placeHold () { Link Here
313
        [% END %]
313
        [% END %]
314
    [% END %]
314
    [% END %]
315
315
316
[% IF op == 'view' %]&rsaquo; Contents of <i>[% shelf.shelfname | html %]</i>[% END %][% IF op == 'add_form' %] &rsaquo; Create new list[% END %][% IF op == 'edit_form' %] &rsaquo; Edit list <i>[% shelf.shelfname | html %]</i>[% END %]</div>
316
[% IF op == 'view' %]&rsaquo; Contents of <i>[% shelf.shelfname %]</i>[% END %][% IF op == 'add_form' %] &rsaquo; Create new list[% END %][% IF op == 'edit_form' %] &rsaquo; Edit list <i>[% shelf.shelfname %]</i>[% END %]</div>
317
317
318
<div id="doc3" class="yui-t2">
318
<div id="doc3" class="yui-t2">
319
<div id="bd">
319
<div id="bd">
Lines 374-381 function placeHold () { Link Here
374
   <div class="yui-g">
374
   <div class="yui-g">
375
    [% IF itemsloop %]
375
    [% IF itemsloop %]
376
376
377
    <h3>Contents of <i>[% shelf.shelfname | html %]</i></h3>
377
    <h3>Contents of <i>[% shelf.shelfname %]</i></h3>
378
    <div class="pages">[% pagination_bar %]</div>
378
    <div class="pages">[% pagination_bar.raw %]</div>
379
    <form action="/cgi-bin/koha/virtualshelves/shelves.pl" id="listform" method="post" class="checkboxed">
379
    <form action="/cgi-bin/koha/virtualshelves/shelves.pl" id="listform" method="post" class="checkboxed">
380
        <input type="hidden" name="op" value="remove_biblios" />
380
        <input type="hidden" name="op" value="remove_biblios" />
381
        <input type="hidden" name="referer" value="view" />
381
        <input type="hidden" name="referer" value="view" />
Lines 452-458 function placeHold () { Link Here
452
                    [% itemsloo.XSLTBloc %]
452
                    [% itemsloo.XSLTBloc %]
453
                [% ELSE %]
453
                [% ELSE %]
454
                    [% INCLUDE 'biblio-default-view.inc' biblionumber = itemsloo.biblionumber %]
454
                    [% INCLUDE 'biblio-default-view.inc' biblionumber = itemsloo.biblionumber %]
455
                    [% itemsloo.title |html %][% FOREACH subtitl IN itemsloo.subtitle %] [% subtitl.subfield %][% END %]</a>
455
                    [% itemsloo.title %][% FOREACH subtitl IN itemsloo.subtitle %] [% subtitl.subfield %][% END %]</a>
456
                [% END %]
456
                [% END %]
457
                    <p class="hold">
457
                    <p class="hold">
458
                        [% IF ( itemsloo.notforloan ) %]
458
                        [% IF ( itemsloo.notforloan ) %]
Lines 489-495 function placeHold () { Link Here
489
			</tr>
489
			</tr>
490
		[% END %]<!-- /itemsloop -->
490
		[% END %]<!-- /itemsloop -->
491
    </table>
491
    </table>
492
    <div class="pages">[% pagination_bar %]</div>
492
    <div class="pages">[% pagination_bar.raw %]</div>
493
</form>
493
</form>
494
494
495
	[% END %]
495
	[% END %]
Lines 506-519 function placeHold () { Link Here
506
            <legend>Create a new list</legend>
506
            <legend>Create a new list</legend>
507
            <input type="hidden" name="op" value="add" />
507
            <input type="hidden" name="op" value="add" />
508
        [% ELSE %]
508
        [% ELSE %]
509
            <legend>Edit list <i>[% shelf.shelfname | html %]</i></legend>
509
            <legend>Edit list <i>[% shelf.shelfname %]</i></legend>
510
            <input type="hidden" name="op" value="edit" />
510
            <input type="hidden" name="op" value="edit" />
511
        [% END %]
511
        [% END %]
512
        <input type="hidden" name="referer" value="[% referer | html %]" />
512
        <input type="hidden" name="referer" value="[% referer %]" />
513
        <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" />
513
        <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" />
514
        <ol>
514
        <ol>
515
            <li>
515
            <li>
516
                <label for="shelfname" class="required">Name: </label><input type="text" id="shelfname" name="shelfname" size="25" value="[% shelf.shelfname |html %]" required="required" class="required" />
516
                <label for="shelfname" class="required">Name: </label><input type="text" id="shelfname" name="shelfname" size="25" value="[% shelf.shelfname %]" required="required" class="required" />
517
            <span class="required">Required</span>
517
            <span class="required">Required</span>
518
            </li>
518
            </li>
519
            <li>
519
            <li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/tables/shelves_results.tt (-1 / +1 lines)
Lines 10-16 Link Here
10
                "dt_type":
10
                "dt_type":
11
                    "[% data.type %]",
11
                    "[% data.type %]",
12
                "dt_shelfname":
12
                "dt_shelfname":
13
                    "<a href='/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% data.shelfnumber %]'>[% data.shelfname | html%]</a>",
13
                    "<a href='/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% data.shelfnumber %]'>[% data.shelfname %]</a>",
14
                "dt_count":
14
                "dt_count":
15
                    "[% data.count %] item(s)",
15
                    "[% data.count %] item(s)",
16
                "dt_owner":
16
                "dt_owner":
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/authorities-search-results.inc (-11 / +11 lines)
Lines 11-34 Link Here
11
    [% IF marcflavour == 'UNIMARC' %]
11
    [% IF marcflavour == 'UNIMARC' %]
12
        [% SWITCH type %]
12
        [% SWITCH type %]
13
            [% CASE 'broader' %]
13
            [% CASE 'broader' %]
14
              <span class="BT"><abbr title="Broader Term">BT</abbr>: [% heading | html %]</span>
14
              <span class="BT"><abbr title="Broader Term">BT</abbr>: [% heading %]</span>
15
            [% CASE 'narrower' %]
15
            [% CASE 'narrower' %]
16
              <span class="NT"><abbr title="Narrower Term">NT</abbr>: [% heading | html %]</span>
16
              <span class="NT"><abbr title="Narrower Term">NT</abbr>: [% heading %]</span>
17
            [% CASE 'seefrom' %]
17
            [% CASE 'seefrom' %]
18
              <span class="UF"><abbr title="Used For">UF</abbr>: [% heading | html %]</span>
18
              <span class="UF"><abbr title="Used For">UF</abbr>: [% heading %]</span>
19
            [% CASE 'seealso' %]
19
            [% CASE 'seealso' %]
20
              <span class="RT"><abbr title="Related Term">RT</abbr>: [% heading | html %]</span>
20
              <span class="RT"><abbr title="Related Term">RT</abbr>: [% heading %]</span>
21
        [% END %]
21
        [% END %]
22
    [% ELSE %]
22
    [% ELSE %]
23
        <span class="heading">
23
        <span class="heading">
24
        [% IF ( linkType=='seealso' ) %]
24
        [% IF ( linkType=='seealso' ) %]
25
            [% IF ( authid ) %]
25
            [% IF ( authid ) %]
26
            <a href="[% authidurl | url %][% authid | url %]">[% heading | html %]</a>
26
            <a href="[% authidurl | url %][% authid | url %]">[% heading %]</a>
27
            [% ELSE %]
27
            [% ELSE %]
28
            <a href="[% searchurl | url %][% heading | html %]">[% heading | html %]</a>
28
            <a href="[% searchurl | url %][% heading %]">[% heading %]</a>
29
            [% END %]
29
            [% END %]
30
        [% ELSE %]
30
        [% ELSE %]
31
            [% heading | html %]
31
            [% heading %]
32
        [% END %]
32
        [% END %]
33
        </span>
33
        </span>
34
        [% UNLESS ( type=='seefrom' || type=='seealso' ) %]
34
        [% UNLESS ( type=='seefrom' || type=='seealso' ) %]
Lines 42-48 Link Here
42
                    [% CASE 'narrower' %](Narrower heading)
42
                    [% CASE 'narrower' %](Narrower heading)
43
                    [% CASE 'parent' %](Immediate parent body)
43
                    [% CASE 'parent' %](Immediate parent body)
44
                    [% CASE %]
44
                    [% CASE %]
45
                        [% IF type %]([% type | html %])[% END %]
45
                        [% IF type %]([% type %])[% END %]
46
                    [% END %]
46
                    [% END %]
47
                </span>
47
                </span>
48
        [% END # / UNLESS seefrom %]
48
        [% END # / UNLESS seefrom %]
Lines 50-56 Link Here
50
[% END # / BLOCK showreference %]
50
[% END # / BLOCK showreference %]
51
51
52
[% BLOCK authresult %]
52
[% BLOCK authresult %]
53
    [% IF ( summary.label ) %][% summary.label | html %]:[% END %]
53
    [% IF ( summary.label ) %][% summary.label %]:[% END %]
54
    [% IF summary.summary %]
54
    [% IF summary.summary %]
55
        <div class="authority-summary">
55
        <div class="authority-summary">
56
            [% summary.summary %]
56
            [% summary.summary %]
Lines 59-65 Link Here
59
    [% UNLESS ( summary.summaryonly ) %]
59
    [% UNLESS ( summary.summaryonly ) %]
60
        <div class="authorizedheading">
60
        <div class="authorizedheading">
61
            [% FOREACH authorize IN summary.authorized %]
61
            [% FOREACH authorize IN summary.authorized %]
62
                <span class="authorizedheading">[% authorize.heading | html %]</span>
62
                <span class="authorizedheading">[% authorize.heading %]</span>
63
                [% UNLESS loop.last %] | [% END %]
63
                [% UNLESS loop.last %] | [% END %]
64
            [% END %]
64
            [% END %]
65
        </div>
65
        </div>
Lines 67-73 Link Here
67
            [% IF summary.notes %]
67
            [% IF summary.notes %]
68
                <div class="authres_notes">
68
                <div class="authres_notes">
69
                    [% FOREACH note IN summary.notes %]
69
                    [% FOREACH note IN summary.notes %]
70
                        <span>[% note.note | html %]</span>
70
                        <span>[% note.note %]</span>
71
                    [% END %]
71
                    [% END %]
72
                </div>
72
                </div>
73
            [% END %]
73
            [% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/bodytag.inc (-5 / +5 lines)
Lines 1-15 Link Here
1
[% classprop  = 'class="' %]
1
[% classprop  = 'class="' %]
2
[% IF LoginBranchcode.defined %]
2
[% IF LoginBranchcode.defined %]
3
    [% classprop = classprop _ 'branch-' _ LoginBranchcode %]
3
    [% classprop = classprop.raw _ 'branch-' _ LoginBranchcode %]
4
[% ELSE %]
4
[% ELSE %]
5
    [% classprop = classprop _ 'branch-default' %]
5
    [% classprop = classprop.raw _ 'branch-default' %]
6
[% END %]
6
[% END %]
7
[% IF bodyclass.defined %]
7
[% IF bodyclass.defined %]
8
    [% classprop = classprop _ ' ' _ bodyclass %]
8
    [% classprop = classprop.raw _ ' ' _ bodyclass %]
9
[% END %]
9
[% END %]
10
[% classprop = classprop _ '"' %]
10
[% classprop = classprop.raw _ '"' %]
11
11
12
[% IF bodyid.defined %]
12
[% IF bodyid.defined %]
13
    [% idprop = 'ID="' _ bodyid _ '" ' %]
13
    [% idprop = 'ID="' _ bodyid _ '" ' %]
14
[% END %]
14
[% END %]
15
<body [%idprop%][% classprop %] >
15
<body [%idprop%][% classprop.raw %] >
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc (-2 / +2 lines)
Lines 34-44 Link Here
34
[% IF ( bidi ) %]
34
[% IF ( bidi ) %]
35
    <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/right-to-left.css" />
35
    <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/right-to-left.css" />
36
[% END %]
36
[% END %]
37
[% IF ( OPACUserCSS ) %]<style type="text/css">[% OPACUserCSS %]</style>[% END %]
37
[% IF ( OPACUserCSS ) %]<style type="text/css">[% OPACUserCSS.raw %]</style>[% END %]
38
[% IF SCO_login %]
38
[% IF SCO_login %]
39
    [% SET SCOUserCSS = Koha.Preference('SCOUserCSS') %]
39
    [% SET SCOUserCSS = Koha.Preference('SCOUserCSS') %]
40
    [% IF SCOUserCSS %]
40
    [% IF SCOUserCSS %]
41
        <style type="text/css">[% SCOUserCSS %]</style>
41
        <style type="text/css">[% SCOUserCSS.raw %]</style>
42
    [% END %]
42
    [% END %]
43
[% END %]
43
[% END %]
44
<link rel="unapi-server" type="application/xml" title="unAPI" href="[% OPACBaseURL %]/cgi-bin/koha/unapi" />
44
<link rel="unapi-server" type="application/xml" title="unAPI" href="[% OPACBaseURL %]/cgi-bin/koha/unapi" />
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead-sco.inc (-1 / +1 lines)
Lines 27-33 Link Here
27
        <div class="container-fluid">
27
        <div class="container-fluid">
28
            <div class="row-fluid">
28
            <div class="row-fluid">
29
                <div id="opacheader">
29
                <div id="opacheader">
30
                    [% opacheader %]
30
                    [% opacheader.raw %]
31
                </div>
31
                </div>
32
            </div>
32
            </div>
33
        </div>
33
        </div>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc (-6 / +6 lines)
Lines 42-48 Link Here
42
                                    <li role="presentation"><a href="/cgi-bin/koha/opac-shelves.pl?op=list&amp;category=2" tabindex="-1" role="menuitem"><strong>Public lists</strong></a></li>
42
                                    <li role="presentation"><a href="/cgi-bin/koha/opac-shelves.pl?op=list&amp;category=2" tabindex="-1" role="menuitem"><strong>Public lists</strong></a></li>
43
                                    [% SET number_of_public_shelves = 0 %]
43
                                    [% SET number_of_public_shelves = 0 %]
44
                                    [% FOREACH s IN some_public_shelves %]
44
                                    [% FOREACH s IN some_public_shelves %]
45
                                        <li role="presentation"><a href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=[% s.shelfnumber %]&amp;sortfield=[% s.sortfield %]" tabindex="-1" role="menuitem">[% s.shelfname |html %]</a></li>
45
                                        <li role="presentation"><a href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=[% s.shelfnumber %]&amp;sortfield=[% s.sortfield %]" tabindex="-1" role="menuitem">[% s.shelfname %]</a></li>
46
                                        [% SET number_of_public_shelves = number_of_public_shelves + 1 %]
46
                                        [% SET number_of_public_shelves = number_of_public_shelves + 1 %]
47
                                        [% IF number_of_public_shelves >= 10 %][% LAST %][% END %]
47
                                        [% IF number_of_public_shelves >= 10 %][% LAST %][% END %]
48
                                    [% END %]
48
                                    [% END %]
Lines 59-65 Link Here
59
                                        [% IF some_private_shelves.count %]
59
                                        [% IF some_private_shelves.count %]
60
                                            [% SET number_of_private_shelves = 0 %]
60
                                            [% SET number_of_private_shelves = 0 %]
61
                                            [% FOREACH s IN some_private_shelves %]
61
                                            [% FOREACH s IN some_private_shelves %]
62
                                                <li role="presentation"><a href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=[% s.shelfnumber %]&amp;sortfield=[% s.sortfield %]" tabindex="-1" role="menuitem">[% s.shelfname |html %]</a></li>
62
                                                <li role="presentation"><a href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=[% s.shelfnumber %]&amp;sortfield=[% s.sortfield %]" tabindex="-1" role="menuitem">[% s.shelfname %]</a></li>
63
                                                [% SET number_of_private_shelves = number_of_private_shelves + 1 %]
63
                                                [% SET number_of_private_shelves = number_of_private_shelves + 1 %]
64
                                                [% IF number_of_private_shelves >= 10 %][% LAST %][% END %]
64
                                                [% IF number_of_private_shelves >= 10 %][% LAST %][% END %]
65
                                            [% END %]
65
                                            [% END %]
Lines 124-130 Link Here
124
            <div class="container-fluid">
124
            <div class="container-fluid">
125
                <div class="row-fluid">
125
                <div class="row-fluid">
126
                    <div id="opacheader">
126
                    <div id="opacheader">
127
                        [% opacheader %]
127
                        [% opacheader.raw %]
128
                    </div>
128
                    </div>
129
                </div>
129
                </div>
130
            </div>
130
            </div>
Lines 210-216 Link Here
210
                                    <div class="input-append nolibrarypulldown">
210
                                    <div class="input-append nolibrarypulldown">
211
                                [% END %]
211
                                [% END %]
212
                                [% IF ( ms_value ) %]
212
                                [% IF ( ms_value ) %]
213
                                    <input type="text" title="Type search term" class="transl1" id = "translControl1" name="q" value="[% ms_value |html %]" /><span id="translControl"></span>
213
                                    <input type="text" title="Type search term" class="transl1" id = "translControl1" name="q" value="[% ms_value %]" /><span id="translControl"></span>
214
                                [% ELSE %]
214
                                [% ELSE %]
215
                                    <input type="text" title="Type search term" class="transl1" id = "translControl1" name="q" /><span id="translControl"></span>
215
                                    <input type="text" title="Type search term" class="transl1" id = "translControl1" name="q" /><span id="translControl"></span>
216
                                [% END # /ms_value %]
216
                                [% END # /ms_value %]
Lines 261-267 Link Here
261
261
262
                            </form>
262
                            </form>
263
                        [% ELSE # / Koha.Preference('OpacCustomSearch') == '' %]
263
                        [% ELSE # / Koha.Preference('OpacCustomSearch') == '' %]
264
                            [% Koha.Preference('OpacCustomSearch') %]
264
                            [% Koha.Preference('OpacCustomSearch').raw %]
265
                        [% END # / Koha.Preference('OpacCustomSearch') == '' %]
265
                        [% END # / Koha.Preference('OpacCustomSearch') == '' %]
266
                        </div> <!-- / .mastheadsearch -->
266
                        </div> <!-- / .mastheadsearch -->
267
                    [% END # / UNLESS advsearch %]
267
                    [% END # / UNLESS advsearch %]
Lines 325-331 Link Here
325
                    [% END %]
325
                    [% END %]
326
                    [% IF Koha.Preference( 'NoLoginInstructions' ) %]
326
                    [% IF Koha.Preference( 'NoLoginInstructions' ) %]
327
                        <div id="nologininstructions-modal">
327
                        <div id="nologininstructions-modal">
328
                            [% Koha.Preference( 'NoLoginInstructions' ) %]
328
                            [% Koha.Preference( 'NoLoginInstructions' ).raw %]
329
                        </div>
329
                        </div>
330
                    [% END %]
330
                    [% END %]
331
                        [% IF PatronSelfRegistration && PatronSelfRegistrationDefaultCategory %]<div id="mpatronregistration"><p>Don't have an account? <a href="/cgi-bin/koha/opac-memberentry.pl">Register here.</a></p></div>[% END %]
331
                        [% IF PatronSelfRegistration && PatronSelfRegistrationDefaultCategory %]<div id="mpatronregistration"><p>Don't have an account? <a href="/cgi-bin/koha/opac-memberentry.pl">Register here.</a></p></div>[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/navigation.inc (-2 / +2 lines)
Lines 1-5 Link Here
1
<div id="opacnav">[% OpacNav %]</div>
1
<div id="opacnav">[% OpacNav.raw %]</div>
2
[% IF IsPatronPage %]
2
[% IF IsPatronPage %]
3
    <div id="usermenu">[% INCLUDE usermenu.inc %]</div>
3
    <div id="usermenu">[% INCLUDE usermenu.inc %]</div>
4
[% END %]
4
[% END %]
5
<div id="opacnavbottom">[% OpacNavBottom %]</div>
5
<div id="opacnavbottom">[% OpacNavBottom.raw %]</div>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-authorities.inc (-2 / +2 lines)
Lines 9-17 Link Here
9
        [% FOREACH node IN tree %]
9
        [% FOREACH node IN tree %]
10
            <li id="hier[% node.authid %]" class="[% node.class %] authnode">
10
            <li id="hier[% node.authid %]" class="[% node.class %] authnode">
11
            [% IF ( node.current_value ) %]
11
            [% IF ( node.current_value ) %]
12
                <span class="currentauth">[% node.value | html %]</span>
12
                <span class="currentauth">[% node.value %]</span>
13
            [% ELSE %]
13
            [% ELSE %]
14
                <a href="opac-authoritiesdetail.pl?authid=[% node.authid %]" title="Term">[% node.value | html %]</a>
14
                <a href="opac-authoritiesdetail.pl?authid=[% node.authid %]" title="Term">[% node.value %]</a>
15
            [% END %]
15
            [% END %]
16
            [% IF ( node.children && node.children.size > 0 ) %]
16
            [% IF ( node.children && node.children.size > 0 ) %]
17
                [% PROCESS showtree tree = node.children %]
17
                [% PROCESS showtree tree = node.children %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc (-3 / +3 lines)
Lines 5-11 Link Here
5
            <div class="row-fluid">
5
            <div class="row-fluid">
6
                <div class="span12">
6
                <div class="span12">
7
                    <div id="opaccredits" class="noprint">
7
                    <div id="opaccredits" class="noprint">
8
                        [% opaccredits %]
8
                        [% opaccredits.raw %]
9
                    </div>
9
                    </div>
10
                </div>
10
                </div>
11
            </div>
11
            </div>
Lines 250-256 $(document).ready(function() { Link Here
250
[% IF ( OPACUserJS ) %]
250
[% IF ( OPACUserJS ) %]
251
    <script type="text/javascript">
251
    <script type="text/javascript">
252
        //<![CDATA[
252
        //<![CDATA[
253
        [% OPACUserJS %]
253
        [% OPACUserJS.raw %]
254
        //]]>
254
        //]]>
255
    </script>
255
    </script>
256
[% END %]
256
[% END %]
Lines 259-265 $(document).ready(function() { Link Here
259
    [% IF ( SCOUserJS ) %]
259
    [% IF ( SCOUserJS ) %]
260
        <script type="text/javascript">
260
        <script type="text/javascript">
261
            //<![CDATA[
261
            //<![CDATA[
262
            [% SCOUserJS %]
262
            [% SCOUserJS.raw %]
263
            //]]>
263
            //]]>
264
        </script>
264
        </script>
265
    [% END %]
265
    [% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-detail-sidebar.inc (-1 / +1 lines)
Lines 80-86 Link Here
80
                    <a id="furthersearches" class="dropdown-toggle" data-toggle="dropdown" href="#">More searches <b class="caret"></b></a>
80
                    <a id="furthersearches" class="dropdown-toggle" data-toggle="dropdown" href="#">More searches <b class="caret"></b></a>
81
                        <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="furthersearches">
81
                        <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="furthersearches">
82
                            <li><a href="#" class="menu-inactive">Search for this title in:</a></li>
82
                            <li><a href="#" class="menu-inactive">Search for this title in:</a></li>
83
                            [% OPACSearchForTitleIn %]
83
                            [% OPACSearchForTitleIn.raw %]
84
                        </ul>
84
                        </ul>
85
                </div>
85
                </div>
86
            </div>
86
            </div>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc (-3 / +3 lines)
Lines 39-48 Link Here
39
                                  [% IF facet.active %]
39
                                  [% IF facet.active %]
40
                                    [% SET local_url = url _ "&amp;nolimit=" _ facet.type_link_value _ ":" _ facet.facet_link_value %]
40
                                    [% SET local_url = url _ "&amp;nolimit=" _ facet.type_link_value _ ":" _ facet.facet_link_value %]
41
                                    <span class="facet-label">[% facet.facet_label_value %]</span>
41
                                    <span class="facet-label">[% facet.facet_label_value %]</span>
42
                                    [<a href="[% local_url %]" title="Remove facet [% facet.facet_link_value | html %]">x</a>]
42
                                    [<a href="[% local_url %]" title="Remove facet [% facet.facet_link_value %]">x</a>]
43
                                  [% ELSE %]
43
                                  [% ELSE %]
44
                                    [% SET local_url = url _ "&amp;limit=" _ facet.type_link_value _ ":" _ facet.facet_link_value %]
44
                                    [% SET local_url = url _ "&amp;limit=" _ facet.type_link_value _ ":" _ facet.facet_link_value %]
45
                                    <span class="facet-label"><a href="[% local_url %]" title="[% facet.facet_title_value |html %]">[% facet.facet_label_value %]</a></span>
45
                                    <span class="facet-label"><a href="[% local_url %]" title="[% facet.facet_title_value %]">[% facet.facet_label_value %]</a></span>
46
                                    [% IF ( displayFacetCount ) %]
46
                                    [% IF ( displayFacetCount ) %]
47
                                      <span class="facet-count"> ([% facet.facet_count %])</span>
47
                                      <span class="facet-count"> ([% facet.facet_count %])</span>
48
                                    [% END %]
48
                                    [% END %]
Lines 63-69 Link Here
63
63
64
    [% IF ( OPACResultsSidebar ) %]
64
    [% IF ( OPACResultsSidebar ) %]
65
        <div id="opacresultssidebar">
65
        <div id="opacresultssidebar">
66
            [% OPACResultsSidebar %]
66
            [% OPACResultsSidebar.raw %]
67
        </div>
67
        </div>
68
    [% END %]
68
    [% END %]
69
[% END # / IF opacfacets && facets_loop %]
69
[% END # / IF opacfacets && facets_loop %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/page-numbers.inc (-3 / +3 lines)
Lines 2-18 Link Here
2
    <div class="pagination pagination-small noprint">
2
    <div class="pagination pagination-small noprint">
3
        <ul>
3
        <ul>
4
        [% IF ( previous_page_offset.defined ) %]
4
        [% IF ( previous_page_offset.defined ) %]
5
            <li><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&amp;offset=[% previous_page_offset %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |html %][% END %]">&laquo; Previous</a></li>
5
            <li><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]&amp;offset=[% previous_page_offset %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by %][% END %]">&laquo; Previous</a></li>
6
        [% END %]
6
        [% END %]
7
        [% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %]
7
        [% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %]
8
            [% IF ( PAGE_NUMBER.highlight ) %]
8
            [% IF ( PAGE_NUMBER.highlight ) %]
9
                <li class="active"><a href="#">[% PAGE_NUMBER.pg %]</a></li>
9
                <li class="active"><a href="#">[% PAGE_NUMBER.pg %]</a></li>
10
            [% ELSE %]
10
            [% ELSE %]
11
                <li><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&amp;offset=[% PAGE_NUMBER.offset %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |html%][% END %]">[% PAGE_NUMBER.pg %]</a></li>
11
                <li><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]&amp;offset=[% PAGE_NUMBER.offset %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by%][% END %]">[% PAGE_NUMBER.pg %]</a></li>
12
            [% END %]
12
            [% END %]
13
        [% END %]
13
        [% END %]
14
        [% IF ( next_page_offset ) %]
14
        [% IF ( next_page_offset ) %]
15
            <li><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&amp;offset=[% next_page_offset %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |html %][% END %]">Next &raquo;</a></li>
15
            <li><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]&amp;offset=[% next_page_offset %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by %][% END %]">Next &raquo;</a></li>
16
        [% END %]
16
        [% END %]
17
        </ul>
17
        </ul>
18
    </div>
18
    </div>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/shelfbrowser.inc (-3 / +3 lines)
Lines 60-66 Link Here
60
                                [% IF ( BakerTaylorEnabled ) %]
60
                                [% IF ( BakerTaylorEnabled ) %]
61
                                    [% bt_id = ( item.browser_normalized_upc || item.browser_normalized_isbn ) %]
61
                                    [% bt_id = ( item.browser_normalized_upc || item.browser_normalized_isbn ) %]
62
                                    [% IF ( bt_id ) %]
62
                                    [% IF ( bt_id ) %]
63
                                        <img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" />
63
                                        <img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL %][% bt_id %]" />
64
                                    [% ELSE %]
64
                                    [% ELSE %]
65
                                        <span class="no-image">No cover image available</span>
65
                                        <span class="no-image">No cover image available</span>
66
                                    [% END %]
66
                                    [% END %]
Lines 82-91 Link Here
82
                        <td class="top">
82
                        <td class="top">
83
                            [% item.itemcallnumber %]
83
                            [% item.itemcallnumber %]
84
                            <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% item.biblionumber %]&amp;shelfbrowse_itemnumber=[% item.itemnumber %]#shelfbrowser">
84
                            <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% item.biblionumber %]&amp;shelfbrowse_itemnumber=[% item.itemnumber %]#shelfbrowser">
85
                                [% item.title |html %]
85
                                [% item.title %]
86
                                [% FOREACH subtitl IN item.subtitle %]
86
                                [% FOREACH subtitl IN item.subtitle %]
87
                                    [% IF Koha.Preference('marcflavour')=='UNIMARC' %],[% END %]
87
                                    [% IF Koha.Preference('marcflavour')=='UNIMARC' %],[% END %]
88
                                    [% subtitl.subfield |html %]
88
                                    [% subtitl.subfield %]
89
                                [% END %]
89
                                [% END %]
90
                            </a>
90
                            </a>
91
                        </td>
91
                        </td>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/maintenance.tt (-1 / +1 lines)
Lines 21-27 Link Here
21
</head>
21
</head>
22
<body id="opac_maintenance" class="opac">
22
<body id="opac_maintenance" class="opac">
23
    [% IF ( opacheader ) %]
23
    [% IF ( opacheader ) %]
24
        [% opacheader %]
24
        [% opacheader.raw %]
25
    [% END %]
25
    [% END %]
26
    <div class="container-fluid">
26
    <div class="container-fluid">
27
        <div class="row-fluid">
27
        <div class="row-fluid">
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-ISBDdetail.tt (-1 / +1 lines)
Lines 21-27 Link Here
21
                            <div id="views">
21
                            <div id="views">
22
                                <span class="view"><a id="Normalview" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]">Normal view</a></span> <span class="view"><a id="MARCview" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% biblionumber %]">MARC view</a></span> <span class="view current-view"><span id="ISBDview">ISBD view</span></span></div>
22
                                <span class="view"><a id="Normalview" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]">Normal view</a></span> <span class="view"><a id="MARCview" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% biblionumber %]">MARC view</a></span> <span class="view current-view"><span id="ISBDview">ISBD view</span></span></div>
23
23
24
                                <div id="isbdcontents">[% ISBD %]</div>
24
                                <div id="isbdcontents">[% ISBD.raw %]</div>
25
25
26
                        </div> <!-- / #catalogue_detail_biblio -->
26
                        </div> <!-- / #catalogue_detail_biblio -->
27
                    </div> <!-- / #usermarcdetail -->
27
                    </div> <!-- / #usermarcdetail -->
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-MARCdetail.tt (-10 / +10 lines)
Lines 37-43 Link Here
37
                                    <tr><th colspan="2">[% tab0X.tag %]</th></tr>
37
                                    <tr><th colspan="2">[% tab0X.tag %]</th></tr>
38
                                    [% FOREACH subfiel IN tab0X.subfield %]
38
                                    [% FOREACH subfiel IN tab0X.subfield %]
39
                                            <tr>
39
                                            <tr>
40
                                                <td>[% subfiel.marc_lib %]</td>
40
                                                <td>[% subfiel.marc_lib.raw %]</td>
41
                                                <td>[% subfiel.marc_value %]</td>
41
                                                <td>[% subfiel.marc_value %]</td>
42
                                            </tr>
42
                                            </tr>
43
                                        [% END %]
43
                                        [% END %]
Lines 46-52 Link Here
46
                                    <tr><th colspan="2">[% tab1X.tag %]</th></tr>
46
                                    <tr><th colspan="2">[% tab1X.tag %]</th></tr>
47
                                    [% FOREACH subfiel IN tab1X.subfield %]
47
                                    [% FOREACH subfiel IN tab1X.subfield %]
48
                                            <tr>
48
                                            <tr>
49
                                                <td  >[% subfiel.marc_lib %]</td>
49
                                                <td  >[% subfiel.marc_lib.raw %]</td>
50
                                                <td  >[% subfiel.marc_value %]</td>
50
                                                <td  >[% subfiel.marc_value %]</td>
51
                                            </tr>
51
                                            </tr>
52
                                        [% END %]
52
                                        [% END %]
Lines 56-62 Link Here
56
                                    <tr><th colspan="2">[% tab2X.tag %]</th></tr>
56
                                    <tr><th colspan="2">[% tab2X.tag %]</th></tr>
57
                                    [% FOREACH subfiel IN tab2X.subfield %]
57
                                    [% FOREACH subfiel IN tab2X.subfield %]
58
                                            <tr>
58
                                            <tr>
59
                                                <td>[% subfiel.marc_lib %]</td>
59
                                                <td>[% subfiel.marc_lib.raw %]</td>
60
                                                <td>[% subfiel.marc_value %]</td>
60
                                                <td>[% subfiel.marc_value %]</td>
61
                                            </tr>
61
                                            </tr>
62
                                        [% END %]
62
                                        [% END %]
Lines 66-72 Link Here
66
                                    <tr><th colspan="2">[% tab3X.tag %]</th></tr>
66
                                    <tr><th colspan="2">[% tab3X.tag %]</th></tr>
67
                                    [% FOREACH subfiel IN tab3X.subfield %]
67
                                    [% FOREACH subfiel IN tab3X.subfield %]
68
                                            <tr>
68
                                            <tr>
69
                                                <td>[% subfiel.marc_lib %]</td>
69
                                                <td>[% subfiel.marc_lib.raw %]</td>
70
                                                <td>[% subfiel.marc_value %]</td>
70
                                                <td>[% subfiel.marc_value %]</td>
71
                                            </tr>
71
                                            </tr>
72
                                        [% END %]
72
                                        [% END %]
Lines 76-82 Link Here
76
                                    <tr><th colspan="2" >[% tab4X.tag %]</th></tr>
76
                                    <tr><th colspan="2" >[% tab4X.tag %]</th></tr>
77
                                    [% FOREACH subfiel IN tab4X.subfield %]
77
                                    [% FOREACH subfiel IN tab4X.subfield %]
78
                                            <tr>
78
                                            <tr>
79
                                                <td>[% subfiel.marc_lib %]</td>
79
                                                <td>[% subfiel.marc_lib.raw %]</td>
80
                                                <td>[% subfiel.marc_value %]</td>
80
                                                <td>[% subfiel.marc_value %]</td>
81
                                            </tr>
81
                                            </tr>
82
                                        [% END %]
82
                                        [% END %]
Lines 86-92 Link Here
86
                                    <tr><th colspan="2">[% tab5X.tag %]</th></tr>
86
                                    <tr><th colspan="2">[% tab5X.tag %]</th></tr>
87
                                    [% FOREACH subfiel IN tab5X.subfield %]
87
                                    [% FOREACH subfiel IN tab5X.subfield %]
88
                                            <tr>
88
                                            <tr>
89
                                                <td>[% subfiel.marc_lib %]</td>
89
                                                <td>[% subfiel.marc_lib.raw %]</td>
90
                                                <td>[% subfiel.marc_value %]</td>
90
                                                <td>[% subfiel.marc_value %]</td>
91
                                            </tr>
91
                                            </tr>
92
                                        [% END %]
92
                                        [% END %]
Lines 96-102 Link Here
96
                                    <tr><th colspan="2">[% tab6X.tag %]</th></tr>
96
                                    <tr><th colspan="2">[% tab6X.tag %]</th></tr>
97
                                    [% FOREACH subfiel IN tab6X.subfield %]
97
                                    [% FOREACH subfiel IN tab6X.subfield %]
98
                                            <tr>
98
                                            <tr>
99
                                                <td>[% subfiel.marc_lib %]</td>
99
                                                <td>[% subfiel.marc_lib.raw %]</td>
100
                                                <td>[% subfiel.marc_value %]</td>
100
                                                <td>[% subfiel.marc_value %]</td>
101
                                            </tr>
101
                                            </tr>
102
                                        [% END %]
102
                                        [% END %]
Lines 106-112 Link Here
106
                                    <tr><th colspan="2">[% tab7X.tag %]</th></tr>
106
                                    <tr><th colspan="2">[% tab7X.tag %]</th></tr>
107
                                    [% FOREACH subfiel IN tab7X.subfield %]
107
                                    [% FOREACH subfiel IN tab7X.subfield %]
108
                                            <tr>
108
                                            <tr>
109
                                                <td>[% subfiel.marc_lib %]</td>
109
                                                <td>[% subfiel.marc_lib.raw %]</td>
110
                                                <td>[% subfiel.marc_value %]</td>
110
                                                <td>[% subfiel.marc_value %]</td>
111
                                            </tr>
111
                                            </tr>
112
                                        [% END %]
112
                                        [% END %]
Lines 116-122 Link Here
116
                                    <tr><th colspan="2">[% tab8X.tag %]</th></tr>
116
                                    <tr><th colspan="2">[% tab8X.tag %]</th></tr>
117
                                    [% FOREACH subfiel IN tab8X.subfield %]
117
                                    [% FOREACH subfiel IN tab8X.subfield %]
118
                                            <tr>
118
                                            <tr>
119
                                                <td>[% subfiel.marc_lib %]</td>
119
                                                <td>[% subfiel.marc_lib.raw %]</td>
120
                                                <td>[% subfiel.marc_value %]</td>
120
                                                <td>[% subfiel.marc_value %]</td>
121
                                            </tr>
121
                                            </tr>
122
                                        [% END %]
122
                                        [% END %]
Lines 126-132 Link Here
126
                                    <tr><th colspan="2">[% tab9X.tag %]</th></tr>
126
                                    <tr><th colspan="2">[% tab9X.tag %]</th></tr>
127
                                    [% FOREACH subfiel IN tab9X.subfield %]
127
                                    [% FOREACH subfiel IN tab9X.subfield %]
128
                                            <tr>
128
                                            <tr>
129
                                                <td>[% subfiel.marc_lib %]</td>
129
                                                <td>[% subfiel.marc_lib.raw %]</td>
130
                                                <td>[% subfiel.marc_value %]</td>
130
                                                <td>[% subfiel.marc_value %]</td>
131
                                            </tr>
131
                                            </tr>
132
                                        [% END %]
132
                                        [% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-addbybiblionumber.tt (-7 / +7 lines)
Lines 12-24 Link Here
12
                        [% IF ( authorized ) %]
12
                        [% IF ( authorized ) %]
13
                            [% UNLESS ( newshelf ) %]
13
                            [% UNLESS ( newshelf ) %]
14
                                [% IF ( multiple ) %]
14
                                [% IF ( multiple ) %]
15
                                    <h1>Add [% total %] items to [% IF ( singleshelf ) %]<em>[% shelfname | html %]</em>: [% ELSE %]a list:[% END %]</h1>
15
                                    <h1>Add [% total %] items to [% IF ( singleshelf ) %]<em>[% shelfname %]</em>: [% ELSE %]a list:[% END %]</h1>
16
                                [% ELSE %]
16
                                [% ELSE %]
17
                                    <h1>Add to [% IF ( singleshelf ) %]<em>[% shelfname | html %]</em>[% ELSE %]a list:[% END %]</h1>
17
                                    <h1>Add to [% IF ( singleshelf ) %]<em>[% shelfname %]</em>[% ELSE %]a list:[% END %]</h1>
18
                                [% END %]
18
                                [% END %]
19
                                <ul>
19
                                <ul>
20
                                    [% FOREACH biblio IN biblios %]
20
                                    [% FOREACH biblio IN biblios %]
21
                                        <li> <span class="title">[% biblio.title |html %]</span>
21
                                        <li> <span class="title">[% biblio.title %]</span>
22
                                            [% IF ( biblio.author ) %]<span class="author"> [% biblio.author %] </span>[% END %]
22
                                            [% IF ( biblio.author ) %]<span class="author"> [% biblio.author %] </span>[% END %]
23
                                        </li>
23
                                        </li>
24
                                    [% END %]
24
                                    [% END %]
Lines 30-46 Link Here
30
                                            <label for="shelfnumber">Add to list:</label> <select name="shelfnumber" id="shelfnumber">
30
                                            <label for="shelfnumber">Add to list:</label> <select name="shelfnumber" id="shelfnumber">
31
                                                [% IF private_shelves.count %]<optgroup label="Private lists">
31
                                                [% IF private_shelves.count %]<optgroup label="Private lists">
32
                                                    [% FOREACH private_shelf IN private_shelves %]
32
                                                    [% FOREACH private_shelf IN private_shelves %]
33
                                                    <option value="[% private_shelf.shelfnumber %]">[% private_shelf.shelfname | html%]</option>
33
                                                    <option value="[% private_shelf.shelfnumber %]">[% private_shelf.shelfname %]</option>
34
                                                    [% END %]
34
                                                    [% END %]
35
                                                </optgroup>[% END %]
35
                                                </optgroup>[% END %]
36
                                                [% IF private_shelves_shared_with_me.count %]<optgroup label="Private lists shared with me">
36
                                                [% IF private_shelves_shared_with_me.count %]<optgroup label="Private lists shared with me">
37
                                                    [% FOREACH private_shelf IN private_shelves_shared_with_me %]
37
                                                    [% FOREACH private_shelf IN private_shelves_shared_with_me %]
38
                                                    <option value="[% private_shelf.shelfnumber %]">[% private_shelf.shelfname | html%]</option>
38
                                                    <option value="[% private_shelf.shelfnumber %]">[% private_shelf.shelfname %]</option>
39
                                                    [% END %]
39
                                                    [% END %]
40
                                                </optgroup>[% END %]
40
                                                </optgroup>[% END %]
41
                                                [% IF public_shelves.count %]<optgroup label="Public lists">
41
                                                [% IF public_shelves.count %]<optgroup label="Public lists">
42
                                                    [% FOREACH public_shelf IN public_shelves %]
42
                                                    [% FOREACH public_shelf IN public_shelves %]
43
                                                    <option value="[% public_shelf.shelfnumber %]">[% public_shelf.shelfname |html%]</option>
43
                                                    <option value="[% public_shelf.shelfnumber %]">[% public_shelf.shelfname %]</option>
44
                                                    [% END %]
44
                                                    [% END %]
45
                                                </optgroup>[% END %]
45
                                                </optgroup>[% END %]
46
                                            </select>
46
                                            </select>
Lines 87-93 Link Here
87
                                            </select>
87
                                            </select>
88
                                    </fieldset>
88
                                    </fieldset>
89
                                    [% FOREACH biblio IN biblios %]
89
                                    [% FOREACH biblio IN biblios %]
90
                                        <input type="hidden" name="biblionumber" value="[% biblio.biblionumber | html%]" />
90
                                        <input type="hidden" name="biblionumber" value="[% biblio.biblionumber%]" />
91
                                    [% END %]
91
                                    [% END %]
92
                                    <fieldset class="action">
92
                                    <fieldset class="action">
93
                                        <input type="hidden" name="sortfield" value="title" />
93
                                        <input type="hidden" name="sortfield" value="title" />
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-MARCdetail.tt (-1 / +1 lines)
Lines 49-55 Link Here
49
                                <p><b>[% Tag0X.tag %]</b></p>
49
                                <p><b>[% Tag0X.tag %]</b></p>
50
                                <ul>
50
                                <ul>
51
                                [% FOREACH subfiel IN Tag0X.subfield %]
51
                                [% FOREACH subfiel IN Tag0X.subfield %]
52
                                    <li><b>[% subfiel.marc_lib %]:</b>
52
                                    <li><b>[% subfiel.marc_lib.raw %]:</b>
53
                                    [% IF subfiel.isurl %]<a href="[% subfiel.marc_value %]">[% subfiel.marc_value %]</a>
53
                                    [% IF subfiel.isurl %]<a href="[% subfiel.marc_value %]">[% subfiel.marc_value %]</a>
54
                                    [% ELSE %][% subfiel.marc_value %][% END %]</li>
54
                                    [% ELSE %][% subfiel.marc_value %][% END %]</li>
55
                                [% END %]
55
                                [% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt (-2 / +2 lines)
Lines 154-160 Link Here
154
                            <input type="hidden" name="koha_login_context" value="opac" />
154
                            <input type="hidden" name="koha_login_context" value="opac" />
155
                            <fieldset class="brief">
155
                            <fieldset class="brief">
156
                            [% FOREACH INPUT IN INPUTS %]
156
                            [% FOREACH INPUT IN INPUTS %]
157
                                <input type="hidden" name="[% INPUT.name |html %]" value="[% INPUT.value |html %]" />
157
                                <input type="hidden" name="[% INPUT.name %]" value="[% INPUT.value %]" />
158
                            [% END %]
158
                            [% END %]
159
                            <label for="userid">Login</label>
159
                            <label for="userid">Login</label>
160
                            <input type="text"  size="25" id="userid"  name="userid" />
160
                            <input type="text"  size="25" id="userid"  name="userid" />
Lines 169-175 Link Here
169
                            [% END %]
169
                            [% END %]
170
                            <div id="nologininstructions">
170
                            <div id="nologininstructions">
171
                            [% IF Koha.Preference('NoLoginInstructions') %]
171
                            [% IF Koha.Preference('NoLoginInstructions') %]
172
                                [% Koha.Preference('NoLoginInstructions') %]
172
                                [% Koha.Preference('NoLoginInstructions').raw %]
173
                            [% ELSE %]
173
                            [% ELSE %]
174
                                <h5>Don't have a password yet?</h5>
174
                                <h5>Don't have a password yet?</h5>
175
                                <p>If you don't have a password yet, stop by the circulation desk the next time you're in the library. We'll happily set one up for you.</p>
175
                                <p>If you don't have a password yet, stop by the circulation desk the next time you're in the library. We'll happily set one up for you.</p>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt (-2 / +27 lines)
Lines 1-6 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% PROCESS 'opac-authorities.inc' %]
2
[% PROCESS 'opac-authorities.inc' %]
3
[% PROCESS 'authorities-search-results.inc' %]
3
[% PROCESS 'authorities-search-results.inc' %]
4
[% BLOCK pagination %]
5
    <div class="pagination">
6
        <ul>
7
            [% IF ( displayprev ) %]
8
                <li>
9
                    <a href="opac-authorities-home.pl?startfrom=[% startfromprev %]&amp;[% FOREACH searchdat IN searchdata %][% searchdat.term %]=[% searchdat.val |url %]&amp;[% END %]resultsperpage=[% resultsperpage %]&amp;type=opac&amp;op=do_search&amp;authtypecode=[% authtypecode %]&amp;orderby=[% orderby %]">
10
                        &laquo;
11
                    </a>
12
                </li>
13
            [% END %]
14
            [% FOREACH number IN numbers %]
15
                [% IF ( number.highlight ) %]
16
                    <li class="active"><a href="#">[% number.number %]</a></li>
17
                [% ELSE %]
18
                    <li><a href="opac-authorities-home.pl?startfrom=[% number.startfrom %]&amp;[% FOREACH searchdat IN number.searchdata %][% searchdat.term %]=[% searchdat.val |url %]&amp;[% END %]resultsperpage=[% resultsperpage %]&amp;type=opac&amp;op=do_search&amp;authtypecode=[% authtypecode %]&amp;orderby=[% orderby %]">[% number.number %]</a></li>
19
                [% END %]
20
            [% END %]
21
            [% IF ( displaynext ) %]
22
                <li>
23
                    <a href="opac-authorities-home.pl?startfrom=[% startfromnext %]&amp;[% FOREACH searchdat IN searchdata %][% searchdat.term %]=[% searchdat.val |url %]&amp;[% END %]&amp;resultsperpage=[% resultsperpage %]&amp;type=opac&amp;op=do_search&amp;authtypecode=[% authtypecode %]&amp;orderby=[% orderby %]">&raquo;</a>
24
                </li>
25
            [% END %]
26
        </ul>
27
    </div> <!-- / #pages -->
28
[% END %]
4
[% INCLUDE 'doc-head-open.inc' %]
29
[% INCLUDE 'doc-head-open.inc' %]
5
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; [% IF ( total ) %]Authority search result[% ELSE %]No results found[% END %]</title>
30
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; [% IF ( total ) %]Authority search result[% ELSE %]No results found[% END %]</title>
6
[% INCLUDE 'doc-head-close.inc' %]
31
[% INCLUDE 'doc-head-close.inc' %]
Lines 32-38 Link Here
32
                        <h1>Authority search results</h1>
57
                        <h1>Authority search results</h1>
33
58
34
                        [% IF total %]
59
                        [% IF total %]
35
                            <div class="pages">[% pagination_bar %]</div>
60
                            <div class="pages">[% pagination_bar.raw %]</div>
36
                        [% END %]
61
                        [% END %]
37
                        <div id="results">
62
                        <div id="results">
38
                            [% IF ( total ) %]
63
                            [% IF ( total ) %]
Lines 75-81 Link Here
75
                                </table>
100
                                </table>
76
                            </div> <!-- / .searchresults -->
101
                            </div> <!-- / .searchresults -->
77
102
78
                            <div class="pages">[% pagination_bar %]</div>
103
                            <div class="pages">[% pagination_bar.raw %]</div>
79
104
80
                        [% END # / IF total %]
105
                        [% END # / IF total %]
81
                    </div> <!-- / #userauthsearchresults -->
106
                    </div> <!-- / #userauthsearchresults -->
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt (-7 / +7 lines)
Lines 66-79 Link Here
66
                                [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %]
66
                                [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %]
67
                                    <h3>
67
                                    <h3>
68
                                        [% IF ( print_basket ) %]
68
                                        [% IF ( print_basket ) %]
69
                                            [% BIBLIO_RESULT.title |html %]
69
                                            [% BIBLIO_RESULT.title %]
70
                                                [% IF ( BIBLIO_RESULT.subtitle ) %] [% FOREACH subtitl IN BIBLIO_RESULT.subtitle %] [% subtitl.subfield |html %] [% END %][% END %]
70
                                                [% IF ( BIBLIO_RESULT.subtitle ) %] [% FOREACH subtitl IN BIBLIO_RESULT.subtitle %] [% subtitl.subfield %] [% END %][% END %]
71
                                                [% IF ( BIBLIO_RESULT.author ) %] [% BIBLIO_RESULT.author |html %][% END %]
71
                                                [% IF ( BIBLIO_RESULT.author ) %] [% BIBLIO_RESULT.author %][% END %]
72
                                        [% ELSE %]
72
                                        [% ELSE %]
73
                                                <input type="checkbox" class="cb" value="[% BIBLIO_RESULT.biblionumber %]" name="bib[% BIBLIO_RESULT.biblionumber %]" id="bib[% BIBLIO_RESULT.biblionumber %]" onclick="selRecord(value,checked)" />
73
                                                <input type="checkbox" class="cb" value="[% BIBLIO_RESULT.biblionumber %]" name="bib[% BIBLIO_RESULT.biblionumber %]" id="bib[% BIBLIO_RESULT.biblionumber %]" onclick="selRecord(value,checked)" />
74
                                                [% BIBLIO_RESULT.title |html %]
74
                                                [% BIBLIO_RESULT.title %]
75
                                                [% IF ( BIBLIO_RESULT.subtitle ) %] [% FOREACH subtitl IN BIBLIO_RESULT.subtitle %] [% subtitl.subfield |html %] [% END %][% END %]
75
                                                [% IF ( BIBLIO_RESULT.subtitle ) %] [% FOREACH subtitl IN BIBLIO_RESULT.subtitle %] [% subtitl.subfield %] [% END %][% END %]
76
                                                [% IF ( BIBLIO_RESULT.author ) %] [% BIBLIO_RESULT.author |html %][% END %]
76
                                                [% IF ( BIBLIO_RESULT.author ) %] [% BIBLIO_RESULT.author %][% END %]
77
                                        [% END # / IF print_basket %]
77
                                        [% END # / IF print_basket %]
78
                                    </h3>
78
                                    </h3>
79
                                    <!-- COinS / Openurl -->
79
                                    <!-- COinS / Openurl -->
Lines 263-269 Link Here
263
                                                </td>
263
                                                </td>
264
                                            [% END %]
264
                                            [% END %]
265
                                            <td>
265
                                            <td>
266
                                                <a href="#" onclick="openBiblio('[% BIBLIO_RESULT.dest %]',[% BIBLIO_RESULT.biblionumber %])">[% BIBLIO_RESULT.title |html %][% IF ( BIBLIO_RESULT.subtitle ) %] [% FOREACH subtitl IN BIBLIO_RESULT.subtitle %][% subtitl.subfield |html %][% END %][% END %]</a>
266
                                                <a href="#" onclick="openBiblio('[% BIBLIO_RESULT.dest %]',[% BIBLIO_RESULT.biblionumber %])">[% BIBLIO_RESULT.title %][% IF ( BIBLIO_RESULT.subtitle ) %] [% FOREACH subtitl IN BIBLIO_RESULT.subtitle %][% subtitl.subfield %][% END %][% END %]</a>
267
                                                <!-- COinS / Openurl -->
267
                                                <!-- COinS / Openurl -->
268
                                                <span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.au=[% BIBLIO_RESULT.author %]&amp;rft.btitle=[% BIBLIO_RESULT.title |url %]&amp;rft.date=[% BIBLIO_RESULT.publicationyear %]&amp;rft.tpages=[% BIBLIO_RESULT.item('size') %]&amp;rft.isbn=[% BIBLIO_RESULT.isbn |url %]&amp;rft.aucorp=&amp;rft.place=[% BIBLIO_RESULT.place %]&amp;rft.pub=[% BIBLIO_RESULT.publisher |url %]&amp;rft.edition=[% BIBLIO_RESULT.edition %]&amp;rft.series=[% BIBLIO_RESULT.series %]&amp;rft.genre="></span>
268
                                                <span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.au=[% BIBLIO_RESULT.author %]&amp;rft.btitle=[% BIBLIO_RESULT.title |url %]&amp;rft.date=[% BIBLIO_RESULT.publicationyear %]&amp;rft.tpages=[% BIBLIO_RESULT.item('size') %]&amp;rft.isbn=[% BIBLIO_RESULT.isbn |url %]&amp;rft.aucorp=&amp;rft.place=[% BIBLIO_RESULT.place %]&amp;rft.pub=[% BIBLIO_RESULT.publisher |url %]&amp;rft.edition=[% BIBLIO_RESULT.edition %]&amp;rft.series=[% BIBLIO_RESULT.series %]&amp;rft.genre="></span>
269
                                                [% IF ( TagsInputEnabled && loggedinusername ) %]
269
                                                [% IF ( TagsInputEnabled && loggedinusername ) %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-blocked.tt (-1 / +1 lines)
Lines 19-25 Link Here
19
                    <p>You are not authorized to view this record.</p>
19
                    <p>You are not authorized to view this record.</p>
20
                    [% IF ( OpacSuppressionMessage ) %]
20
                    [% IF ( OpacSuppressionMessage ) %]
21
                        <div id="opacsuppressionmessage">
21
                        <div id="opacsuppressionmessage">
22
                            [% OpacSuppressionMessage %]
22
                            [% OpacSuppressionMessage.raw %]
23
                        </div>
23
                        </div>
24
                    [% END %]
24
                    [% END %]
25
                </div>
25
                </div>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-browser.tt (-3 / +3 lines)
Lines 32-38 Link Here
32
                                <ul>
32
                                <ul>
33
                                    [% FOREACH HIERARCHY_LOO IN HIERARCHY_LOOP %]
33
                                    [% FOREACH HIERARCHY_LOO IN HIERARCHY_LOOP %]
34
                                        <li>
34
                                        <li>
35
                                            <a href="opac-browser.pl?level=[% HIERARCHY_LOO.level %]&amp;filter=[% HIERARCHY_LOO.classification |uri %]">[% HIERARCHY_LOO.description |html %]</a>
35
                                            <a href="opac-browser.pl?level=[% HIERARCHY_LOO.level %]&amp;filter=[% HIERARCHY_LOO.classification |uri %]">[% HIERARCHY_LOO.description %]</a>
36
                                        </li>
36
                                        </li>
37
                                        <li style="list-style-type: none;">
37
                                        <li style="list-style-type: none;">
38
                                    [% END %]
38
                                    [% END %]
Lines 43-51 Link Here
43
                                                    <td>
43
                                                    <td>
44
                                                        <p>
44
                                                        <p>
45
                                                            [% IF ( LEVEL_LOO.endnode ) %]
45
                                                            [% IF ( LEVEL_LOO.endnode ) %]
46
                                                                <a href="opac-search.pl?q=Dewey-classification:[% LEVEL_LOO.classification |uri %]">[% LEVEL_LOO.description |html %]</a>
46
                                                                <a href="opac-search.pl?q=Dewey-classification:[% LEVEL_LOO.classification |uri %]">[% LEVEL_LOO.description %]</a>
47
                                                            [% ELSE %]
47
                                                            [% ELSE %]
48
                                                                <a href="opac-browser.pl?level=[% LEVEL_LOO.level %]&amp;filter=[% LEVEL_LOO.classification |uri %]">[% LEVEL_LOO.description |html %]</a>
48
                                                                <a href="opac-browser.pl?level=[% LEVEL_LOO.level %]&amp;filter=[% LEVEL_LOO.classification |uri %]">[% LEVEL_LOO.description %]</a>
49
                                                            [% END %]
49
                                                            [% END %]
50
                                                        </p>
50
                                                        </p>
51
                                                        <p style="font-size:0.75em"><i>([% LEVEL_LOO.number %] biblios)</i></p>
51
                                                        <p style="font-size:0.75em"><i>([% LEVEL_LOO.number %] biblios)</i></p>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-21 / +21 lines)
Lines 25-31 Link Here
25
    [% SET protocol = "http://" %]
25
    [% SET protocol = "http://" %]
26
[% END %]
26
[% END %]
27
[% INCLUDE 'doc-head-open.inc' %]
27
[% INCLUDE 'doc-head-open.inc' %]
28
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Details for: [% title |html %][% FOREACH subtitl IN subtitle %][% IF Koha.Preference('marcflavour')=='UNIMARC' %],[% END %] [% subtitl.subfield |html %][% END %]</title>
28
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Details for: [% title %][% FOREACH subtitl IN subtitle %][% IF Koha.Preference('marcflavour')=='UNIMARC' %],[% END %] [% subtitl.subfield %][% END %]</title>
29
[% INCLUDE 'doc-head-close.inc' %]
29
[% INCLUDE 'doc-head-close.inc' %]
30
[% IF ( bidi ) %]
30
[% IF ( bidi ) %]
31
  [% BLOCK cssinclude %]<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/right-to-left.css" />[% END %]
31
  [% BLOCK cssinclude %]<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/right-to-left.css" />[% END %]
Lines 41-47 Link Here
41
<div class="main">
41
<div class="main">
42
    <ul class="breadcrumb">
42
    <ul class="breadcrumb">
43
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
43
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
44
        <li><a href="#">Details for: [% title |html %][% FOREACH subtitl IN subtitle %][% IF Koha.Preference('marcflavour')=='UNIMARC' %],[% END %] [% subtitl.subfield |html %][% END %]</a></li>
44
        <li><a href="#">Details for: [% title %][% FOREACH subtitl IN subtitle %][% IF Koha.Preference('marcflavour')=='UNIMARC' %],[% END %] [% subtitl.subfield %][% END %]</a></li>
45
    </ul>
45
    </ul>
46
46
47
    <div class="container-fluid">
47
    <div class="container-fluid">
Lines 89-100 Link Here
89
                    [% IF ( BakerTaylorEnabled && bt_id ) %]
89
                    [% IF ( BakerTaylorEnabled && bt_id ) %]
90
                        [% IF BakerTaylorBookstoreURL %]
90
                        [% IF BakerTaylorBookstoreURL %]
91
                            [% IF ( OPACURLOpenInNewWindow ) %]
91
                            [% IF ( OPACURLOpenInNewWindow ) %]
92
                                <a href="https://[% BakerTaylorBookstoreURL |html %][% bt_id %]" target="_blank" rel="noreferrer"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" /></a>
92
                                <a href="https://[% BakerTaylorBookstoreURL %][% bt_id %]" target="_blank" rel="noreferrer"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL %][% bt_id %]" /></a>
93
                            [% ELSE %]
93
                            [% ELSE %]
94
                                <a href="https://[% BakerTaylorBookstoreURL |html %][% bt_id %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" /></a>
94
                                <a href="https://[% BakerTaylorBookstoreURL %][% bt_id %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL %][% bt_id %]" /></a>
95
                            [% END %]
95
                            [% END %]
96
                        [% ELSE %]
96
                        [% ELSE %]
97
                            <img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" />
97
                            <img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL %][% bt_id %]" />
98
                        [% END %]
98
                        [% END %]
99
                    [% END %]
99
                    [% END %]
100
                    </div><!-- / #bookcover -->
100
                    </div><!-- / #bookcover -->
Lines 110-119 Link Here
110
                        [% IF ( ISBD ) %]<span class="view"><a id="ISBDview" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% biblionumber %]">ISBD view</a></span>[% END %]
110
                        [% IF ( ISBD ) %]<span class="view"><a id="ISBDview" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% biblionumber %]">ISBD view</a></span>[% END %]
111
                    </div>
111
                    </div>
112
                    [% IF ( OPACXSLTDetailsDisplay ) %]
112
                    [% IF ( OPACXSLTDetailsDisplay ) %]
113
                        [% XSLTBloc %]
113
                        [% XSLTBloc.raw %]
114
                    [% ELSE %]
114
                    [% ELSE %]
115
                        <h1 class="title">[% title |html %][% IF ( subtitle ) %] <span class="subtitle">[% FOREACH subtitl IN subtitle %][% subtitl.subfield |html %] [% END %]</span>[% END %]</h1>
115
                        <h1 class="title">[% title %][% IF ( subtitle ) %] <span class="subtitle">[% FOREACH subtitl IN subtitle %][% subtitl.subfield %] [% END %]</span>[% END %]</h1>
116
                        [% IF ( author ) %]<h5 class="author">by <a href="/cgi-bin/koha/opac-search.pl?q=au:[% author |url %]">[% author |html %]</a></h5>[% END %]
116
                        [% IF ( author ) %]<h5 class="author">by <a href="/cgi-bin/koha/opac-search.pl?q=au:[% author |url %]">[% author %]</a></h5>[% END %]
117
117
118
                        <span class="results_summary">[% UNLESS ( item_level_itypes ) %]
118
                        <span class="results_summary">[% UNLESS ( item_level_itypes ) %]
119
                            [
119
                            [
Lines 214-220 Link Here
214
                        [% IF ( publishercode ) %]
214
                        [% IF ( publishercode ) %]
215
                            <span class="results_summary publisher"><span class="label">Published by :</span>
215
                            <span class="results_summary publisher"><span class="label">Published by :</span>
216
                                <a href="/cgi-bin/koha/opac-search.pl?q=pb:[% publishercode |url %] ">
216
                                <a href="/cgi-bin/koha/opac-search.pl?q=pb:[% publishercode |url %] ">
217
                                    [% publishercode |html %]
217
                                    [% publishercode %]
218
                                </a> [% IF ( place ) %]([% place %])[% END %] [% IF ( publicationyear ) %], [% publicationyear %][% END %]
218
                                </a> [% IF ( place ) %]([% place %])[% END %] [% IF ( publicationyear ) %], [% publicationyear %][% END %]
219
                            </span>
219
                            </span>
220
                        [% END %]
220
                        [% END %]
Lines 393-399 Link Here
393
                                <span class="label">Tags from this library:</span>
393
                                <span class="label">Tags from this library:</span>
394
                                <ul id="tagslist">
394
                                <ul id="tagslist">
395
                                    [% FOREACH TagLoo IN TagLoop %]
395
                                    [% FOREACH TagLoo IN TagLoop %]
396
                                        <li><a href="/cgi-bin/koha/opac-search.pl?tag=[% TagLoo.term |url %]&amp;q=[% TagLoo.term |url %]">[% TagLoo.term |html %]</a> <span class="weight">([% TagLoo.weight_total %])</span>
396
                                        <li><a href="/cgi-bin/koha/opac-search.pl?tag=[% TagLoo.term |url %]&amp;q=[% TagLoo.term |url %]">[% TagLoo.term %]</a> <span class="weight">([% TagLoo.weight_total %])</span>
397
                                        [% IF ( loop.last ) %][% ELSE %], [% END %]
397
                                        [% IF ( loop.last ) %][% ELSE %], [% END %]
398
                                        </li>
398
                                        </li>
399
                                    [% END %]
399
                                    [% END %]
Lines 504-510 Link Here
504
                    [% IF ( BakerTaylorContentURL ) %]
504
                    [% IF ( BakerTaylorContentURL ) %]
505
                        <span class="results_summary">
505
                        <span class="results_summary">
506
                        <span class="label">Enhanced content: </span>
506
                        <span class="label">Enhanced content: </span>
507
                              [% IF ( OPACURLOpenInNewWindow ) %]<a href="[% BakerTaylorContentURL |html %]" target="_blank" rel="noreferrer">Content Cafe</a>[% ELSE %]<a href="[% BakerTaylorContentURL |html %]">Content Cafe</a>[% END %]
507
                              [% IF ( OPACURLOpenInNewWindow ) %]<a href="[% BakerTaylorContentURL %]" target="_blank" rel="noreferrer">Content Cafe</a>[% ELSE %]<a href="[% BakerTaylorContentURL %]">Content Cafe</a>[% END %]
508
                        </span>
508
                        </span>
509
                    [% END # / IF BakerTaylorContentURL %]
509
                    [% END # / IF BakerTaylorContentURL %]
510
510
Lines 895-901 Link Here
895
                                                <small>[% review.datereviewed | $KohaDates %]</small>
895
                                                <small>[% review.datereviewed | $KohaDates %]</small>
896
                                                <p>
896
                                                <p>
897
                                                    [% FILTER html_break %]
897
                                                    [% FILTER html_break %]
898
                                                        [% review.review |html %]
898
                                                        [% review.review %]
899
                                                    [% END %]
899
                                                    [% END %]
900
                                                    <a href="#" onclick="Dopop('/cgi-bin/koha/opac-review.pl?biblionumber=[% review.biblionumber %]&amp;reviewid=[% review.reviewid %]');">Edit</a>
900
                                                    <a href="#" onclick="Dopop('/cgi-bin/koha/opac-review.pl?biblionumber=[% review.biblionumber %]&amp;reviewid=[% review.reviewid %]');">Edit</a>
901
                                                </p>
901
                                                </p>
Lines 924-930 Link Here
924
                                                [% END # / IF ShowReviewer != "none"%]
924
                                                [% END # / IF ShowReviewer != "none"%]
925
                                                <p>
925
                                                <p>
926
                                                  [% FILTER html_break %]
926
                                                  [% FILTER html_break %]
927
                                                  [% review.review |html %]
927
                                                  [% review.review %]
928
                                                  [% END %]
928
                                                  [% END %]
929
                                                </p>
929
                                                </p>
930
                                            </div> <!-- / .commentline -->
930
                                            </div> <!-- / .commentline -->
Lines 973-983 Link Here
973
                                            [% UNLESS ( item_level_itypes ) %]
973
                                            [% UNLESS ( item_level_itypes ) %]
974
                                                <td>[% XISBN.description %]</td>
974
                                                <td>[% XISBN.description %]</td>
975
                                            [% END %]
975
                                            [% END %]
976
                                            <td><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% XISBN.biblionumber %]">[% XISBN.title |html %]</a>
976
                                            <td><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% XISBN.biblionumber %]">[% XISBN.title %]</a>
977
                                                [% IF ( XISBN.author ) %] by [% XISBN.author |html %][% END %]
977
                                                [% IF ( XISBN.author ) %] by [% XISBN.author %][% END %]
978
                                                [% IF ( XISBN.copyrightdate ) %] &copy;[% XISBN.copyrightdate %][% END %]
978
                                                [% IF ( XISBN.copyrightdate ) %] &copy;[% XISBN.copyrightdate %][% END %]
979
                                                [% IF ( XISBN.publishercode ) %]
979
                                                [% IF ( XISBN.publishercode ) %]
980
                                                    <p>[% XISBN.publishercode |html %]
980
                                                    <p>[% XISBN.publishercode %]
981
                                                        [% IF ( XISBN.place ) %]([% XISBN.place %])[% END %]
981
                                                        [% IF ( XISBN.place ) %]([% XISBN.place %])[% END %]
982
                                                        [% IF ( XISBN.publicationyear ) %], [% XISBN.publicationyear %][% END %]
982
                                                        [% IF ( XISBN.publicationyear ) %], [% XISBN.publicationyear %][% END %]
983
                                                        [% IF ( XISBN.pages ) %][% XISBN.pages %] [% XISBN.illus %] [% XISBN.size %][% END %]
983
                                                        [% IF ( XISBN.pages ) %][% XISBN.pages %] [% XISBN.illus %] [% XISBN.size %][% END %]
Lines 1067-1073 Link Here
1067
                        <ul class="pg_menu clearfix">
1067
                        <ul class="pg_menu clearfix">
1068
                            <li class="left_results">
1068
                            <li class="left_results">
1069
                                [% IF ( previousBiblionumber ) %]
1069
                                [% IF ( previousBiblionumber ) %]
1070
                                    <a href="opac-detail.pl?biblionumber=[% previousBiblionumber %][% IF ( query_desc && OpacHighlightedWords ) %]&query_desc=[% query_desc |uri %][% END %]" title="See: [% IF ( previousTitle ) %][% previousTitle |html %][% ELSE %]previous biblio[% END %]">&laquo; Previous</a>
1070
                                    <a href="opac-detail.pl?biblionumber=[% previousBiblionumber %][% IF ( query_desc && OpacHighlightedWords ) %]&query_desc=[% query_desc |uri %][% END %]" title="See: [% IF ( previousTitle ) %][% previousTitle %][% ELSE %]previous biblio[% END %]">&laquo; Previous</a>
1071
                                [% ELSE %]
1071
                                [% ELSE %]
1072
                                    <span>Previous</span>
1072
                                    <span>Previous</span>
1073
                                [% END %]
1073
                                [% END %]
Lines 1076-1082 Link Here
1076
                            <li class="back_results"><a href="opac-search.pl?[% busc %]" title="Back to the results search list">Back to results</a></li>
1076
                            <li class="back_results"><a href="opac-search.pl?[% busc %]" title="Back to the results search list">Back to results</a></li>
1077
                            <li class="right_results">
1077
                            <li class="right_results">
1078
                                [% IF ( nextBiblionumber ) %]
1078
                                [% IF ( nextBiblionumber ) %]
1079
                                    <a href="opac-detail.pl?biblionumber=[% nextBiblionumber %][% IF ( query_desc && OpacHighlightedWords ) %]&query_desc=[% query_desc |uri %][% END %]" title="See: [% IF ( nextTitle ) %][% nextTitle |html %][% ELSE %]next biblio[% END %]">Next &raquo;</a>
1079
                                    <a href="opac-detail.pl?biblionumber=[% nextBiblionumber %][% IF ( query_desc && OpacHighlightedWords ) %]&query_desc=[% query_desc |uri %][% END %]" title="See: [% IF ( nextTitle ) %][% nextTitle %][% ELSE %]next biblio[% END %]">Next &raquo;</a>
1080
                                [% ELSE %]
1080
                                [% ELSE %]
1081
                                    <span>Next</span>
1081
                                    <span>Next</span>
1082
                                [% END %]
1082
                                [% END %]
Lines 1355-1362 Link Here
1355
            [% FOREACH listResult IN listResults %]
1355
            [% FOREACH listResult IN listResults %]
1356
                arrPagination[[% listResult.index %]] = {
1356
                arrPagination[[% listResult.index %]] = {
1357
                    url:"[% listResult.url %][% IF ( listResult.url && query_desc && OpacHighlightedWords ) %]&query_desc=[% query_desc |uri %][% END %]",
1357
                    url:"[% listResult.url %][% IF ( listResult.url && query_desc && OpacHighlightedWords ) %]&query_desc=[% query_desc |uri %][% END %]",
1358
                    title:"[% listResult.title|remove('\n')|html %]",
1358
                    title:"[% listResult.title|remove('\n') %]",
1359
                    author:"[% listResult.author|html %]",
1359
                    author:"[% listResult.author %]",
1360
                    biblionumber:[% listResult.biblionumber %]
1360
                    biblionumber:[% listResult.biblionumber %]
1361
                };
1361
                };
1362
           [% END %]
1362
           [% END %]
Lines 1467-1473 Link Here
1467
            "aaSorting": [[ default_order_index, 'asc' ]]
1467
            "aaSorting": [[ default_order_index, 'asc' ]]
1468
        }));
1468
        }));
1469
1469
1470
        [% IF ( query_desc ) %][% IF ( OpacHighlightedWords ) %]var query_desc = "[% query_desc |replace("'", "\'") |replace('\n', '\\n') |replace('\r', '\\r') |html %]";
1470
        [% IF ( query_desc ) %][% IF ( OpacHighlightedWords ) %]var query_desc = "[% query_desc |replace("'", "\'") |replace('\n', '\\n') |replace('\r', '\\r') %]";
1471
            q_array = query_desc.split(" ");
1471
            q_array = query_desc.split(" ");
1472
            q_array = q_array.filter(function(n){ return n }); // Remove empty strings
1472
            q_array = q_array.filter(function(n){ return n }); // Remove empty strings
1473
            highlightOn();
1473
            highlightOn();
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-downloadcart.tt (-1 / +1 lines)
Lines 22-28 Link Here
22
                                [% END %]
22
                                [% END %]
23
                            </select>
23
                            </select>
24
                            <fieldset class="action">
24
                            <fieldset class="action">
25
                                <input type="hidden" name="bib_list" value="[% bib_list | html %]" />
25
                                <input type="hidden" name="bib_list" value="[% bib_list %]" />
26
                                <input type="submit" name="save" value="Go" />
26
                                <input type="submit" name="save" value="Go" />
27
                                    <a class="cancel close" href="#">Cancel</a>
27
                                    <a class="cancel close" href="#">Cancel</a>
28
                            </fieldset>
28
                            </fieldset>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-downloadshelf.tt (-6 / +6 lines)
Lines 1-7 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% IF ( fullpage ) %]
2
[% IF ( fullpage ) %]
3
    [% INCLUDE 'doc-head-open.inc' %]
3
    [% INCLUDE 'doc-head-open.inc' %]
4
    <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Download list [% shelf.shelfname | html %]</title>[% INCLUDE 'doc-head-close.inc' %]
4
    <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Download list [% shelf.shelfname %]</title>[% INCLUDE 'doc-head-close.inc' %]
5
    [% BLOCK cssinclude %][% END %]
5
    [% BLOCK cssinclude %][% END %]
6
    </head>
6
    </head>
7
    [% INCLUDE 'bodytag.inc' bodyid='opac-downloadlist' %]
7
    [% INCLUDE 'bodytag.inc' bodyid='opac-downloadlist' %]
Lines 20-26 Link Here
20
                    [% END %]
20
                    [% END %]
21
                    <span class="divider">&rsaquo;</span>
21
                    <span class="divider">&rsaquo;</span>
22
                </li>
22
                </li>
23
                <li>Download list <i>[% shelf.shelfname | html %]</i></li>
23
                <li>Download list <i>[% shelf.shelfname %]</i></li>
24
            </ul>
24
            </ul>
25
            <div class="container-fluid">
25
            <div class="container-fluid">
26
                <div class="row-fluid">
26
                <div class="row-fluid">
Lines 47-53 Link Here
47
                                    <p>Your download should begin automatically.</p>
47
                                    <p>Your download should begin automatically.</p>
48
                                </div>
48
                                </div>
49
                            [% ELSE %]
49
                            [% ELSE %]
50
                                <h1>Download list <i>[% shelf.shelfname | html %]</i></h1>
50
                                <h1>Download list <i>[% shelf.shelfname %]</i></h1>
51
                                <form method="post" action="/cgi-bin/koha/opac-downloadshelf.pl">
51
                                <form method="post" action="/cgi-bin/koha/opac-downloadshelf.pl">
52
                                    <fieldset>
52
                                    <fieldset>
53
                                        <select name="format" id="dlformat" required="required">
53
                                        <select name="format" id="dlformat" required="required">
Lines 57-72 Link Here
57
                                            <option value="isbd">ISBD</option>
57
                                            <option value="isbd">ISBD</option>
58
                                            <option value="iso2709">MARC</option>
58
                                            <option value="iso2709">MARC</option>
59
                                            [% FOREACH csv_profile IN csv_profiles %]
59
                                            [% FOREACH csv_profile IN csv_profiles %]
60
                                            <option value="[% csv_profile.export_format_id |html %]">CSV - [% csv_profile.profile |html %]</option>
60
                                            <option value="[% csv_profile.export_format_id %]">CSV - [% csv_profile.profile %]</option>
61
                                            [% END %]
61
                                            [% END %]
62
                                        </select>
62
                                        </select>
63
                                        <span class="required">Required</span>
63
                                        <span class="required">Required</span>
64
                                    </fieldset>
64
                                    </fieldset>
65
65
66
                                    <fieldset class="action">
66
                                    <fieldset class="action">
67
                                        <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" />
67
                                        <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" />
68
                                        <input type="submit" name="save" class="btn" value="Go" />
68
                                        <input type="submit" name="save" class="btn" value="Go" />
69
                                        <a href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=[% shelf.shelfnumber | html %]" class="cancel close" data-dismiss="modal">Cancel</a>
69
                                        <a href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=[% shelf.shelfnumber %]" class="cancel close" data-dismiss="modal">Cancel</a>
70
                                    </fieldset>
70
                                    </fieldset>
71
                                </form>
71
                                </form>
72
                                [% IF ( modal ) %]
72
                                [% IF ( modal ) %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-imageviewer.tt (-2 / +2 lines)
Lines 1-6 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Images for: [% biblio.title |html %]</title>
3
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Images for: [% biblio.title %]</title>
4
[% INCLUDE 'doc-head-close.inc' %]
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% BLOCK cssinclude %]
5
[% BLOCK cssinclude %]
6
    <style type="text/css">
6
    <style type="text/css">
Lines 120-126 Link Here
120
    //<![CDATA[
120
    //<![CDATA[
121
        $(document).ready(function(){
121
        $(document).ready(function(){
122
            $("#largeCoverImg").attr("src","[% interface %]/[% theme %]/images/loading.gif");
122
            $("#largeCoverImg").attr("src","[% interface %]/[% theme %]/images/loading.gif");
123
            showCover([% imagenumber | html %]);
123
            showCover([% imagenumber %]);
124
        });
124
        });
125
125
126
        function showCover(img) {
126
        function showCover(img) {
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt (-4 / +4 lines)
Lines 44-50 Link Here
44
                [% FOREACH koha_new IN koha_news %]
44
                [% FOREACH koha_new IN koha_news %]
45
                    <div class="newsitem">
45
                    <div class="newsitem">
46
                        <a name="newsitem[% koha_new.idnew %]"></a><h4 class="newsheader">[% koha_new.title %]</h4>
46
                        <a name="newsitem[% koha_new.idnew %]"></a><h4 class="newsheader">[% koha_new.title %]</h4>
47
                        <div class="newsbody">[% koha_new.content %]</div>
47
                        <div class="newsbody">[% koha_new.content.raw %]</div>
48
                        <div class="newsfooter">(published on [% koha_new.newdate %][% IF ( (newsdisp == 'opac' || newsdisp == 'both') && koha_new.borrowernumber ) %] by <span class="newsauthor_title">[% koha_new.author_title %] </span>[% koha_new.author_firstname %] [% koha_new.author_surname %][% END %])</div>
48
                        <div class="newsfooter">(published on [% koha_new.newdate %][% IF ( (newsdisp == 'opac' || newsdisp == 'both') && koha_new.borrowernumber ) %] by <span class="newsauthor_title">[% koha_new.author_title %] </span>[% koha_new.author_firstname %] [% koha_new.author_surname %][% END %])</div>
49
                    </div>
49
                    </div>
50
                [% END %]
50
                [% END %]
Lines 65-71 Link Here
65
            </div>
65
            </div>
66
        [% END %]
66
        [% END %]
67
67
68
        [% IF ( OpacMainUserBlock ) %]<div id="opacmainuserblock">[% OpacMainUserBlock %]</div>[% END %]
68
        [% IF ( OpacMainUserBlock ) %]<div id="opacmainuserblock">[% OpacMainUserBlock.raw %]</div>[% END %]
69
        </div> <!-- / .span 7/9 -->
69
        </div> <!-- / .span 7/9 -->
70
70
71
        [% IF ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) || OpacNavRight ) %]
71
        [% IF ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) || OpacNavRight ) %]
Lines 92-98 Link Here
92
                                [% END %]
92
                                [% END %]
93
                                [% IF Koha.Preference( 'NoLoginInstructions' ) %]
93
                                [% IF Koha.Preference( 'NoLoginInstructions' ) %]
94
                                    <div id="nologininstructions-main">
94
                                    <div id="nologininstructions-main">
95
                                        [% Koha.Preference( 'NoLoginInstructions' ) %]
95
                                        [% Koha.Preference( 'NoLoginInstructions' ).raw %]
96
                                    </div>
96
                                    </div>
97
                                [% END %]
97
                                [% END %]
98
                                </form>
98
                                </form>
Lines 102-108 Link Here
102
                [% END # /opacuserlogin %]
102
                [% END # /opacuserlogin %]
103
                [% IF ( OpacNavRight ) %]
103
                [% IF ( OpacNavRight ) %]
104
                    <div id="opacnavright">
104
                    <div id="opacnavright">
105
                        [% OpacNavRight %]
105
                        [% OpacNavRight.raw %]
106
                    </div>
106
                    </div>
107
                [% END # /OpacNavRight %]
107
                [% END # /OpacNavRight %]
108
            </div> <!-- / .span3 -->
108
            </div> <!-- / .span3 -->
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt (-2 / +2 lines)
Lines 177-185 Link Here
177
                                        <select id="borrower_branchcode" name="borrower_branchcode">
177
                                        <select id="borrower_branchcode" name="borrower_branchcode">
178
                                            [% FOREACH l IN libraries %]
178
                                            [% FOREACH l IN libraries %]
179
                                                [% IF l.branchcode == borrower.branchcode %]
179
                                                [% IF l.branchcode == borrower.branchcode %]
180
                                                    <option value="[% l.branchcode | html %]" selected="selected">[% l.branchname %]</option>
180
                                                    <option value="[% l.branchcode %]" selected="selected">[% l.branchname %]</option>
181
                                                [% ELSE %]
181
                                                [% ELSE %]
182
                                                    <option value="[% l.branchcode | html %]">[% l.branchname %]</option>
182
                                                    <option value="[% l.branchcode %]">[% l.branchname %]</option>
183
                                                [% END %]
183
                                                [% END %]
184
                                            [% END %]
184
                                            [% END %]
185
                                        </select>
185
                                        </select>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-mymessages.tt (-5 / +5 lines)
Lines 13-23 Link Here
13
      <webMaster></webMaster>
13
      <webMaster></webMaster>
14
      [% FOREACH message_lis IN message_list %]
14
      [% FOREACH message_lis IN message_list %]
15
      <item>
15
      <item>
16
        <title>[% message_lis.subject |html %]</title>
16
        <title>[% message_lis.subject %]</title>
17
        <link>[% message_lis.title |html %]</link>
17
        <link>[% message_lis.title %]</link>
18
        <description>[% message_lis.content |html %]</description>
18
        <description>[% message_lis.content %]</description>
19
        <pubDate>[% message_lis.time_queued |html %]</pubDate>
19
        <pubDate>[% message_lis.time_queued %]</pubDate>
20
        <guid>[% message_lis.title |html %]</guid>
20
        <guid>[% message_lis.title %]</guid>
21
      </item>
21
      </item>
22
      [% END %]
22
      [% END %]
23
   </channel>
23
   </channel>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-news-rss.tt (-3 / +3 lines)
Lines 7-15 Link Here
7
      <description></description>
7
      <description></description>
8
      [% FOREACH newsitem IN koha_news %]
8
      [% FOREACH newsitem IN koha_news %]
9
      <item>
9
      <item>
10
        <title>[% newsitem.title |html %]</title>
10
        <title>[% newsitem.title %]</title>
11
        <description>[% newsitem.content |html %]</description>
11
        <description>[% newsitem.content.raw %]</description>
12
        <guid>[% OPACBaseURL %]/cgi-bin/koha/opac-main.pl#newsitem[% newsitem.idnew |html %]</guid>
12
        <guid>[% OPACBaseURL %]/cgi-bin/koha/opac-main.pl#newsitem[% newsitem.idnew %]</guid>
13
      </item>
13
      </item>
14
      [% END %]
14
      [% END %]
15
   </channel>
15
   </channel>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-opensearch.tt (-26 / +26 lines)
Lines 2-11 Link Here
2
[% USE Koha %]
2
[% USE Koha %]
3
[% IF ( opensearchdescription ) %]
3
[% IF ( opensearchdescription ) %]
4
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
4
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
5
   <ShortName>[% LibraryName |html %] Search</ShortName>
5
   <ShortName>[% LibraryName %] Search</ShortName>
6
   <Description>Search the [% LibraryName |html %]</Description>
6
   <Description>Search the [% LibraryName %]</Description>
7
   <Tags>koha opac [% LibraryName |html %]</Tags>
7
   <Tags>koha opac [% LibraryName %]</Tags>
8
   <Contact>[% KohaAdminEmailAddress |html %]</Contact>
8
   <Contact>[% KohaAdminEmailAddress %]</Contact>
9
   <Url type="application/rss+xml"
9
   <Url type="application/rss+xml"
10
        template="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?q={searchTerms}&amp;pw={startPage?}&amp;format=rss2"/>
10
        template="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?q={searchTerms}&amp;pw={startPage?}&amp;format=rss2"/>
11
</OpenSearchDescription>
11
</OpenSearchDescription>
Lines 18-40 Link Here
18
      xmlns:dc="http://purl.org/dc/elements/1.1/"
18
      xmlns:dc="http://purl.org/dc/elements/1.1/"
19
      xmlns:atom="http://www.w3.org/2005/Atom">
19
      xmlns:atom="http://www.w3.org/2005/Atom">
20
   <channel>
20
   <channel>
21
     <title><![CDATA[[% LibraryName |html %] Search [% IF ( query_desc ) %]for '[% query_desc |html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc |html %]'[% END %]]]></title>
21
     <title><![CDATA[[% LibraryName %] Search [% IF ( query_desc ) %]for '[% query_desc %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc %]'[% END %]]]></title>
22
     <link>[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&amp;format=rss2</link>
22
     <link>[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]&amp;format=rss2</link>
23
     <atom:link rel="self" type="application/rss+xml" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&amp;sort_by=[% sort_by |html %]&amp;format=rss2"/>
23
     <atom:link rel="self" type="application/rss+xml" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]&amp;sort_by=[% sort_by %]&amp;format=rss2"/>
24
     <description><![CDATA[ Search results [% IF ( query_desc ) %]for '[% query_desc |html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc |html %]'[% END %] at [% LibraryName |html %]]]></description>
24
     <description><![CDATA[ Search results [% IF ( query_desc ) %]for '[% query_desc %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc %]'[% END %] at [% LibraryName %]]]></description>
25
     <opensearch:totalResults>[% total %]</opensearch:totalResults>
25
     <opensearch:totalResults>[% total %]</opensearch:totalResults>
26
     <opensearch:startIndex>[% offset %]</opensearch:startIndex>
26
     <opensearch:startIndex>[% offset %]</opensearch:startIndex>
27
     [% IF ( results_per_page ) %]
27
     [% IF ( results_per_page ) %]
28
       <opensearch:itemsPerPage>[% results_per_page |html%]</opensearch:itemsPerPage>
28
       <opensearch:itemsPerPage>[% results_per_page%]</opensearch:itemsPerPage>
29
     [% ELSE %]
29
     [% ELSE %]
30
       <opensearch:itemsPerPage>20</opensearch:itemsPerPage>
30
       <opensearch:itemsPerPage>20</opensearch:itemsPerPage>
31
     [% END %]
31
     [% END %]
32
	 [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
32
	 [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
33
     <atom:link rel="search" type="application/opensearchdescription+xml" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% SEARCH_RESULT.query_cgi |html %][% SEARCH_RESULT.limit_cgi |html %]&amp;sort_by=[% SEARCH_RESULT.sort_by |html %]&amp;format=opensearchdescription"/>
33
     <atom:link rel="search" type="application/opensearchdescription+xml" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% SEARCH_RESULT.query_cgi %][% SEARCH_RESULT.limit_cgi %]&amp;sort_by=[% SEARCH_RESULT.sort_by %]&amp;format=opensearchdescription"/>
34
     <opensearch:Query role="request" searchTerms="[% SEARCH_RESULT.query_desc |url %][% SEARCH_RESULT.limit_desc |url %]" startPage="[% SEARCH_RESULT.page %]" />
34
     <opensearch:Query role="request" searchTerms="[% SEARCH_RESULT.query_desc |url %][% SEARCH_RESULT.limit_desc |url %]" startPage="[% SEARCH_RESULT.page %]" />
35
     <item>
35
     <item>
36
       <title>[% SEARCH_RESULT.title |html %] [% FOREACH subtitl IN SEARCH_RESULT.subtitle %], [% subtitl.subfield |html %][% END %]</title>
36
       <title>[% SEARCH_RESULT.title %] [% FOREACH subtitl IN SEARCH_RESULT.subtitle %], [% subtitl.subfield %][% END %]</title>
37
       <dc:identifier>ISBN [% SEARCH_RESULT.isbn |html %]</dc:identifier>
37
       <dc:identifier>ISBN [% SEARCH_RESULT.isbn %]</dc:identifier>
38
       <link>[% IF ( SEARCH_RESULT.BiblioDefaultViewmarc ) %][% OPACBaseURL %]/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %][% ELSE %][% IF ( SEARCH_RESULT.BiblioDefaultViewisbd ) %][% OPACBaseURL %]/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %][% ELSE %][% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %][% END %][% END %]</link>
38
       <link>[% IF ( SEARCH_RESULT.BiblioDefaultViewmarc ) %][% OPACBaseURL %]/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %][% ELSE %][% IF ( SEARCH_RESULT.BiblioDefaultViewisbd ) %][% OPACBaseURL %]/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %][% ELSE %][% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %][% END %][% END %]</link>
39
       <description><![CDATA[
39
       <description><![CDATA[
40
[% IF ( OPACAmazonCoverImages ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %]<img src="https://images-na.ssl-images-amazon.com/images/P/[% SEARCH_RESULT.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" />[% END %][% END %]
40
[% IF ( OPACAmazonCoverImages ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %]<img src="https://images-na.ssl-images-amazon.com/images/P/[% SEARCH_RESULT.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" />[% END %][% END %]
Lines 44-57 Link Here
44
[% END %][% END %][% END %]
44
[% END %][% END %][% END %]
45
45
46
[% bt_id = ( SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_isbn ) %]
46
[% bt_id = ( SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_isbn ) %]
47
[% IF ( BakerTaylorEnabled ) %][% IF bt_id %]<a href="https://[% BakerTaylorBookstoreURL |html %][% bt_id %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" /></a>[% END %][% END %]
47
[% IF ( BakerTaylorEnabled ) %][% IF bt_id %]<a href="https://[% BakerTaylorBookstoreURL %][% bt_id %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL %][% bt_id %]" /></a>[% END %][% END %]
48
	   <p>[% IF ( SEARCH_RESULT.author ) %]By [% SEARCH_RESULT.author |html %]. [% END %]
48
        <p>[% IF ( SEARCH_RESULT.author ) %]By [% SEARCH_RESULT.author %]. [% END %]
49
	   [% IF ( SEARCH_RESULT.place ) %][% SEARCH_RESULT.place |html %] [% END %][% IF ( SEARCH_RESULT.publishercode ) %][% SEARCH_RESULT.publishercode |html %][% END %][% IF ( SEARCH_RESULT.publicationyear ) %] [% SEARCH_RESULT.publicationyear |html %]
49
        [% IF ( SEARCH_RESULT.place ) %][% SEARCH_RESULT.place %] [% END %][% IF ( SEARCH_RESULT.publishercode ) %][% SEARCH_RESULT.publishercode %][% END %][% IF ( SEARCH_RESULT.publicationyear ) %] [% SEARCH_RESULT.publicationyear %]
50
                    [% ELSE %][% IF ( SEARCH_RESULT.copyrightdate ) %] [% SEARCH_RESULT.copyrightdate |html %][% END %][% END %]
50
                    [% ELSE %][% IF ( SEARCH_RESULT.copyrightdate ) %] [% SEARCH_RESULT.copyrightdate %][% END %][% END %]
51
                        [% IF ( SEARCH_RESULT.pages ) %]. [% SEARCH_RESULT.pages |html %][% END %]
51
                        [% IF ( SEARCH_RESULT.pages ) %]. [% SEARCH_RESULT.pages %][% END %]
52
                        [% IF ( SEARCH_RESULT.notes ) %], [% SEARCH_RESULT.notes |html %][% END %]
52
                        [% IF ( SEARCH_RESULT.notes ) %], [% SEARCH_RESULT.notes %][% END %]
53
                        [% IF ( SEARCH_RESULT.size ) %] [% SEARCH_RESULT.size |html %]. [% END %]
53
                        [% IF ( SEARCH_RESULT.size ) %] [% SEARCH_RESULT.size %]. [% END %]
54
                        [% IF ( SEARCH_RESULT.isbn ) %] [% SEARCH_RESULT.isbn |html %][% END %]
54
                        [% IF ( SEARCH_RESULT.isbn ) %] [% SEARCH_RESULT.isbn %][% END %]
55
       </p>
55
       </p>
56
[% IF Koha.Preference( 'RequestOnOpac' ) == 1 %]
56
[% IF Koha.Preference( 'RequestOnOpac' ) == 1 %]
57
<p><a href="[% OPACBaseURL %]/cgi-bin/koha/opac-reserve.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">Place Hold on <i>[% SEARCH_RESULT.title %]</i></a></p>
57
<p><a href="[% OPACBaseURL %]/cgi-bin/koha/opac-reserve.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">Place Hold on <i>[% SEARCH_RESULT.title %]</i></a></p>
Lines 67-78 Link Here
67
[% IF ( atom ) %]
67
[% IF ( atom ) %]
68
<feed xmlns="http://www.w3.org/2005/Atom"
68
<feed xmlns="http://www.w3.org/2005/Atom"
69
       xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/">
69
       xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/">
70
   <id>[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&amp;format=atom</id>
70
   <id>[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]&amp;format=atom</id>
71
   <title>[% LibraryName |html %] Search [% IF ( query_desc ) %]for '[% query_desc |html %]'[% END %][% IF ( limit_desc ) %]&nbsp;with limit(s):&nbsp;'[% limit_desc |html %]'[% END %]</title>
71
   <title>[% LibraryName %] Search [% IF ( query_desc ) %]for '[% query_desc %]'[% END %][% IF ( limit_desc ) %]&nbsp;with limit(s):&nbsp;'[% limit_desc %]'[% END %]</title>
72
    <link href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&amp;format=rss2"/>
72
    <link href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]&amp;format=rss2"/>
73
   <updated>[% timestamp %]</updated>
73
   <updated>[% timestamp %]</updated>
74
   <author>
74
   <author>
75
     <name>[% LibraryName |html %]</name>
75
     <name>[% LibraryName %]</name>
76
   </author>
76
   </author>
77
   <!-- <id>urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6</id> -->
77
   <!-- <id>urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6</id> -->
78
   <opensearch:totalResults>[% total %]</opensearch:totalResults>
78
   <opensearch:totalResults>[% total %]</opensearch:totalResults>
Lines 82-88 Link Here
82
   [% ELSE %]
82
   [% ELSE %]
83
     <opensearch:itemsPerPage>20</opensearch:itemsPerPage>
83
     <opensearch:itemsPerPage>20</opensearch:itemsPerPage>
84
   [% END %]
84
   [% END %]
85
   <opensearch:Query role="request" searchTerms="[% query_desc |html %] [% limit_desc |html %]" startPage="[% page |html %]" />
85
   <opensearch:Query role="request" searchTerms="[% query_desc %] [% limit_desc %]" startPage="[% page %]" />
86
   <link rel="alternate" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]pw=[% page %]&amp;format=atom" type="application/atom+xml"/>
86
   <link rel="alternate" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]pw=[% page %]&amp;format=atom" type="application/atom+xml"/>
87
   <link rel="self" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]&amp;format=atom" type="application/atom+xml"/>
87
   <link rel="self" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]&amp;format=atom" type="application/atom+xml"/>
88
   <link rel="first" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]pw=1&amp;format=atom" type="application/atom+xml"/>
88
   <link rel="first" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]pw=1&amp;format=atom" type="application/atom+xml"/>
Lines 93-99 Link Here
93
93
94
   [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
94
   [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
95
   <entry>
95
   <entry>
96
     <title>[% SEARCH_RESULT.title |html %]</title>
96
     <title>[% SEARCH_RESULT.title %]</title>
97
     <link href="[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]"/>
97
     <link href="[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]"/>
98
     <!-- <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id> -->
98
     <!-- <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id> -->
99
     <updated>[% SEARCH_RESULT.timestamp %]</updated>
99
     <updated>[% SEARCH_RESULT.timestamp %]</updated>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-overdrive-search.tt (-4 / +4 lines)
Lines 1-6 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; OverDrive search for '[% q | html %]'</title>
3
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; OverDrive search for '[% q %]'</title>
4
[% INCLUDE 'doc-head-close.inc' %]
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% BLOCK cssinclude %]
5
[% BLOCK cssinclude %]
6
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/jquery.rating.css" />
6
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/jquery.rating.css" />
Lines 17-23 Link Here
17
    <div class="main">
17
    <div class="main">
18
        <ul class="breadcrumb">
18
        <ul class="breadcrumb">
19
            <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
19
            <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
20
            <li><a href="#">OverDrive search for '[% q | html %]'</a></li>
20
            <li><a href="#">OverDrive search for '[% q %]'</a></li>
21
        </ul>
21
        </ul>
22
22
23
        <div class="container-fluid">
23
        <div class="container-fluid">
Lines 29-35 Link Here
29
                </div>
29
                </div>
30
                <div class="span10">
30
                <div class="span10">
31
                    <div id="overdrive-results-content" class="maincontent searchresults">
31
                    <div id="overdrive-results-content" class="maincontent searchresults">
32
                        <h1>OverDrive search for '[% q | html %]'</h1>
32
                        <h1>OverDrive search for '[% q %]'</h1>
33
                            <div id="breadcrumbs">
33
                            <div id="breadcrumbs">
34
                                <p></p>
34
                                <p></p>
35
                            </div>
35
                            </div>
Lines 60-66 Link Here
60
<script type="text/javascript" src="[% interface %]/[% theme %]/js/overdrive.js"></script>
60
<script type="text/javascript" src="[% interface %]/[% theme %]/js/overdrive.js"></script>
61
<script type="text/javascript" src="[% interface %]/[% theme %]/lib/jquery/plugins/jquery.rating.js"></script>
61
<script type="text/javascript" src="[% interface %]/[% theme %]/lib/jquery/plugins/jquery.rating.js"></script>
62
<script type="text/javascript">
62
<script type="text/javascript">
63
var querystring = "[% q |replace( "'", "\'" ) |replace( '\n', '\\n' ) |replace( '\r', '\\r' ) |html %]";
63
var querystring = "[% q |replace( "'", "\'" ) |replace( '\n', '\\n' ) |replace( '\r', '\\r' ) %]";
64
var results_per_page = [% OPACnumSearchResults %];
64
var results_per_page = [% OPACnumSearchResults %];
65
65
66
function fetch_availability( prod, $tr ) {
66
function fetch_availability( prod, $tr ) {
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt (-5 / +5 lines)
Lines 105-111 Link Here
105
                                                [% IF BakerTaylorEnabled %]
105
                                                [% IF BakerTaylorEnabled %]
106
                                                    [% bt_id = ( issue.normalized_upc || issue.normalized_isbn ) %]
106
                                                    [% bt_id = ( issue.normalized_upc || issue.normalized_isbn ) %]
107
                                                    [% IF ( bt_id ) %]
107
                                                    [% IF ( bt_id ) %]
108
                                                       <a href="https://[% BakerTaylorBookstoreURL |html %][% bt_id %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" /></a>
108
                                                       <a href="https://[% BakerTaylorBookstoreURL %][% bt_id %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL %][% bt_id %]" /></a>
109
                                                    [% ELSE %]
109
                                                    [% ELSE %]
110
                                                       <span class="no-image">No cover image available</span>
110
                                                       <span class="no-image">No cover image available</span>
111
                                                    [% END %]
111
                                                    [% END %]
Lines 121-131 Link Here
121
                                                </td>
121
                                                </td>
122
                                                <td>
122
                                                <td>
123
                                                [% IF  issue.BiblioDefaultViewmarc %]
123
                                                [% IF  issue.BiblioDefaultViewmarc %]
124
                                                     <a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% issue.biblionumber |url %]">[% issue.title |html %] [% IF  issue.subtitle  %][% FOREACH subtitl IN issue.subtitle %][% subtitl.subfield %][% END %][% END %]</a>
124
                                                     <a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% issue.biblionumber |url %]">[% issue.title %] [% IF  issue.subtitle  %][% FOREACH subtitl IN issue.subtitle %][% subtitl.subfield %][% END %][% END %]</a>
125
                                                [% ELSIF issue.BiblioDefaultViewisbd %]
125
                                                [% ELSIF issue.BiblioDefaultViewisbd %]
126
                                                     <a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% issue.biblionumber |url %]">[% issue.title |html %] [% IF issue.subtitle %][% FOREACH subtitl IN issue.subtitle %][% subtitl.subfield %][% END %][% END %]</a>
126
                                                     <a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% issue.biblionumber |url %]">[% issue.title %] [% IF issue.subtitle %][% FOREACH subtitl IN issue.subtitle %][% subtitl.subfield %][% END %][% END %]</a>
127
                                                [% ELSE %]
127
                                                [% ELSE %]
128
                                                     <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% issue.biblionumber |url %]">[% issue.title |html %] [% IF issue.subtitle %][% FOREACH subtitl IN issue.subtitle %][% subtitl.subfield %][% END %][% END %]</a>
128
                                                     <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% issue.biblionumber |url %]">[% issue.title %] [% IF issue.subtitle %][% FOREACH subtitl IN issue.subtitle %][% subtitl.subfield %][% END %][% END %]</a>
129
                                                [% END %]
129
                                                [% END %]
130
                                                <span class="item-details">[% issue.author %]</span>
130
                                                <span class="item-details">[% issue.author %]</span>
131
                                                </td>
131
                                                </td>
Lines 150-156 Link Here
150
                                                    [% END %]
150
                                                    [% END %]
151
                                                </td>
151
                                                </td>
152
                                                [% IF OPACMySummaryHTML %]
152
                                                [% IF OPACMySummaryHTML %]
153
                                                    <td>[% issue.MySummaryHTML %]</td>
153
                                                    <td>[% issue.MySummaryHTML.raw %]</td>
154
                                                [% END %]
154
                                                [% END %]
155
                                                </tr>
155
                                                </tr>
156
                                            [% END # / FOREACH issue %]
156
                                            [% END # / FOREACH issue %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-confirmation.tt (-2 / +2 lines)
Lines 55-61 Link Here
55
                            <p id="patron-instructions">For your convenience, the login box on this page has been pre-filled with this data. Please log in[% IF OpacPasswordChange %] and change your password[% END %].</p>
55
                            <p id="patron-instructions">For your convenience, the login box on this page has been pre-filled with this data. Please log in[% IF OpacPasswordChange %] and change your password[% END %].</p>
56
                        [% END %]
56
                        [% END %]
57
57
58
                        <div id="PatronSelfRegistrationAdditionalInstructions">[% PatronSelfRegistrationAdditionalInstructions %]</div>
58
                        <div id="PatronSelfRegistrationAdditionalInstructions">[% PatronSelfRegistrationAdditionalInstructions.raw %]</div>
59
                    </div>
59
                    </div>
60
60
61
                </div> <!-- / .span7/9 -->
61
                </div> <!-- / .span7/9 -->
Lines 94-100 Link Here
94
                            [% END # /opacuserlogin %]
94
                            [% END # /opacuserlogin %]
95
                            [% IF ( OpacNavRight ) %]
95
                            [% IF ( OpacNavRight ) %]
96
                                <div id="opacnavright">
96
                                <div id="opacnavright">
97
                                    [% OpacNavRight %]
97
                                    [% OpacNavRight.raw %]
98
                                </div>
98
                                </div>
99
                            [% END # /OpacNavRight %]
99
                            [% END # /OpacNavRight %]
100
                        </div> <!-- / .span3 -->
100
                        </div> <!-- / .span3 -->
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt (-1 / +1 lines)
Lines 152-158 Link Here
152
                                            [% END # / bibitemloo.holdable %]
152
                                            [% END # / bibitemloo.holdable %]
153
153
154
                                            <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% bibitemloo.biblionumber %]">
154
                                            <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% bibitemloo.biblionumber %]">
155
                                                [% bibitemloo.title |html %]
155
                                                [% bibitemloo.title %]
156
                                                [% IF ( bibitemloo.subtitle ) %]
156
                                                [% IF ( bibitemloo.subtitle ) %]
157
                                                    [% FOREACH subtitl IN bibitemloo.subtitle %]
157
                                                    [% FOREACH subtitl IN bibitemloo.subtitle %]
158
                                                        [% subtitl.subfield %]
158
                                                        [% subtitl.subfield %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-restrictedpage.tt (-1 / +1 lines)
Lines 38-44 Link Here
38
                    [% IF Koha.Preference('RestrictedPageTitle') %]
38
                    [% IF Koha.Preference('RestrictedPageTitle') %]
39
                        <h1>[% Koha.Preference('RestrictedPageTitle') %]</h1>
39
                        <h1>[% Koha.Preference('RestrictedPageTitle') %]</h1>
40
                    [% END %]
40
                    [% END %]
41
                    [% Koha.Preference('RestrictedPageContent') %]
41
                    [% Koha.Preference('RestrictedPageContent').raw %]
42
                </div>
42
                </div>
43
            </div> <!-- / .span10 -->
43
            </div> <!-- / .span10 -->
44
        </div> <!-- / .row-fluid -->
44
        </div> <!-- / .row-fluid -->
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results-grouped.tt (-8 / +8 lines)
Lines 2-15 Link Here
2
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo;
3
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo;
4
[% IF ( searchdesc ) %]
4
[% IF ( searchdesc ) %]
5
    Results of search [% IF ( query_desc ) %]for '[% query_desc | html %]'[% END %][% IF ( limit_desc ) %]&nbsp;with limit(s):&nbsp;'[% limit_desc | html %]'[% END %]
5
    Results of search [% IF ( query_desc ) %]for '[% query_desc %]'[% END %][% IF ( limit_desc ) %]&nbsp;with limit(s):&nbsp;'[% limit_desc %]'[% END %]
6
[% ELSE %]
6
[% ELSE %]
7
    You did not specify any search criteria.
7
    You did not specify any search criteria.
8
[% END %]</title>
8
[% END %]</title>
9
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
10
[% BLOCK cssinclude %][% END %]
10
[% BLOCK cssinclude %][% END %]
11
<link rel="alternate" type="application/rss+xml" title="Koha - RSS"
11
<link rel="alternate" type="application/rss+xml" title="Koha - RSS"
12
href="/cgi-bin/koha/opac-rss.pl?[% query_cgi %][% limit_cgi |html %]" />
12
href="/cgi-bin/koha/opac-rss.pl?[% query_cgi %][% limit_cgi %]" />
13
13
14
</head>
14
</head>
15
[% INCLUDE 'bodytag.inc' bodyid='results-grouped' %]
15
[% INCLUDE 'bodytag.inc' bodyid='results-grouped' %]
Lines 20-26 href="/cgi-bin/koha/opac-rss.pl?[% query_cgi %][% limit_cgi |html %]" /> Link Here
20
            <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
20
            <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
21
            <li>
21
            <li>
22
                [% IF ( searchdesc ) %]
22
                [% IF ( searchdesc ) %]
23
                    <a href="#">Results of search [% IF ( query_desc ) %]for '[% query_desc | html %]'[% END %][% IF ( limit_desc ) %]&nbsp;with limit(s):&nbsp;'[% limit_desc | html %]'[% END %]</a>
23
                    <a href="#">Results of search [% IF ( query_desc ) %]for '[% query_desc %]'[% END %][% IF ( limit_desc ) %]&nbsp;with limit(s):&nbsp;'[% limit_desc %]'[% END %]</a>
24
                [% ELSE %]
24
                [% ELSE %]
25
                    <a href="#">You did not specify any search criteria.</a>
25
                    <a href="#">You did not specify any search criteria.</a>
26
                [% END %]
26
                [% END %]
Lines 104-110 href="/cgi-bin/koha/opac-rss.pl?[% query_cgi %][% limit_cgi |html %]" /> Link Here
104
                                                [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
104
                                                [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
105
                                                <tr>
105
                                                <tr>
106
                                                    <td>
106
                                                    <td>
107
                                                        <a href="/cgi-bin/koha/opac-search.pl?q=[% SEARCH_RESULT.scan_use |url %]&quot;[% SEARCH_RESULT.title |url %]&quot;">[% SEARCH_RESULT.title |html %]</a>
107
                                                        <a href="/cgi-bin/koha/opac-search.pl?q=[% SEARCH_RESULT.scan_use |url %]&quot;[% SEARCH_RESULT.title |url %]&quot;">[% SEARCH_RESULT.title %]</a>
108
                                                    </td>
108
                                                    </td>
109
                                                    <td>
109
                                                    <td>
110
                                                        [% FOREACH subtitl IN SEARCH_RESULT.subtitle %]
110
                                                        [% FOREACH subtitl IN SEARCH_RESULT.subtitle %]
Lines 122-131 href="/cgi-bin/koha/opac-rss.pl?[% query_cgi %][% limit_cgi |html %]" /> Link Here
122
                                    <form action="/cgi-bin/koha/opac-search.pl" method="get" name="bookbag_form" id="bookbag_form">
122
                                    <form action="/cgi-bin/koha/opac-search.pl" method="get" name="bookbag_form" id="bookbag_form">
123
                                        [% IF ( searchdesc ) %]
123
                                        [% IF ( searchdesc ) %]
124
                                            [% FOREACH QUERY_INPUT IN QUERY_INPUTS %]
124
                                            [% FOREACH QUERY_INPUT IN QUERY_INPUTS %]
125
                                                <input type="hidden" name="[% QUERY_INPUT.input_name |html %]" value="[% QUERY_INPUT.input_value |html %]"/>
125
                                                <input type="hidden" name="[% QUERY_INPUT.input_name %]" value="[% QUERY_INPUT.input_value %]"/>
126
                                            [% END %]
126
                                            [% END %]
127
                                            [% FOREACH LIMIT_INPUT IN LIMIT_INPUTS %]
127
                                            [% FOREACH LIMIT_INPUT IN LIMIT_INPUTS %]
128
                                                <input type="hidden" name="[% LIMIT_INPUT.input_name |html %]" value="[% LIMIT_INPUT.input_value |html %]"/>
128
                                                <input type="hidden" name="[% LIMIT_INPUT.input_name %]" value="[% LIMIT_INPUT.input_value %]"/>
129
                                            [% END %]
129
                                            [% END %]
130
                                        [% END %]
130
                                        [% END %]
131
131
Lines 288-294 $(document).ready(function(){ Link Here
288
    });
288
    });
289
    $("span.clearall").html("<a id=\"CheckNone\" href=\"#\">Clear all</a>");
289
    $("span.clearall").html("<a id=\"CheckNone\" href=\"#\">Clear all</a>");
290
    $("span.checkall").html("<a id=\"CheckAll\" href=\"#\">Select all</a>");
290
    $("span.checkall").html("<a id=\"CheckAll\" href=\"#\">Select all</a>");
291
    $("span.addto").html("<label for=\"addto\">Add to: </label><select name=\"addto\" id=\"addto\"><option value=\"\"></option>[% IF Koha.Preference( 'opacbookbag' ) == 1 %]<option value=\"addtocart\">Cart</option>[% END %][% IF Koha.Preference( 'virtualshelves' ) == 1 %][% IF ( loggedinusername ) %]<optgroup label=\"Lists:\">[% IF ( barshelves ) %][% FOREACH barshelvesloo IN barshelvesloop %][% IF ( category == 1 ) %]<option id=\"s[% barshelvesloo.shelfnumber %]\" value=\"addtolist\">[% barshelvesloo.shelfname | html %]</option>[% END %][% END %][% END %]<option value=\"newlist\">[ New list ]</option></optgroup>[% ELSE %]<option value=\"newlist\">List</option>[% END %][% END %]</select> <input type=\"submit\" class=\"submit\" value=\"Save\" />");
291
    $("span.addto").html("<label for=\"addto\">Add to: </label><select name=\"addto\" id=\"addto\"><option value=\"\"></option>[% IF Koha.Preference( 'opacbookbag' ) == 1 %]<option value=\"addtocart\">Cart</option>[% END %][% IF Koha.Preference( 'virtualshelves' ) == 1 %][% IF ( loggedinusername ) %]<optgroup label=\"Lists:\">[% IF ( barshelves ) %][% FOREACH barshelvesloo IN barshelvesloop %][% IF ( category == 1 ) %]<option id=\"s[% barshelvesloo.shelfnumber %]\" value=\"addtolist\">[% barshelvesloo.shelfname %]</option>[% END %][% END %][% END %]<option value=\"newlist\">[ New list ]</option></optgroup>[% ELSE %]<option value=\"newlist\">List</option>[% END %][% END %]</select> <input type=\"submit\" class=\"submit\" value=\"Save\" />");
292
    $("#addto").change(function(){
292
    $("#addto").change(function(){
293
        cartList();
293
        cartList();
294
    });
294
    });
Lines 323-329 $(document).ready(function(){ Link Here
323
        return false;
323
        return false;
324
    });
324
    });
325
    [% IF ( query_desc ) %]
325
    [% IF ( query_desc ) %]
326
    var query_desc = "[% query_desc |replace("'", "\'") |replace('\n', '\\n') |replace('\r', '\\r') |html %]";
326
    var query_desc = "[% query_desc |replace("'", "\'") |replace('\n', '\\n') |replace('\r', '\\r') %]";
327
    q_array = query_desc.split(" ");
327
    q_array = query_desc.split(" ");
328
    // ensure that we don't have "" at the end of the array, which can
328
    // ensure that we don't have "" at the end of the array, which can
329
    // break the highlighter
329
    // break the highlighter
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt (-20 / +20 lines)
Lines 5-11 Link Here
5
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
6
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo;
6
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo;
7
[% IF ( searchdesc ) %]
7
[% IF ( searchdesc ) %]
8
    Results of search [% IF ( query_desc ) %]for '[% query_desc | html%]'[% END %][% IF ( limit_desc ) %]&nbsp;with limit(s):&nbsp;'[% limit_desc | html %]'[% END %]
8
    Results of search [% IF ( query_desc ) %]for '[% query_desc%]'[% END %][% IF ( limit_desc ) %]&nbsp;with limit(s):&nbsp;'[% limit_desc %]'[% END %]
9
[% ELSE %]
9
[% ELSE %]
10
    You did not specify any search criteria.
10
    You did not specify any search criteria.
11
[% END %]</title>
11
[% END %]</title>
Lines 16-22 Link Here
16
    [% END %]
16
    [% END %]
17
[% END %]
17
[% END %]
18
18
19
<link rel="alternate" type="application/rss+xml" title="[% LibraryName |html %] Search RSS feed" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi | url %][% limit_cgi |uri %]&amp;count=[% countrss |uri %]&amp;sort_by=acqdate_dsc&amp;format=rss2" />
19
<link rel="alternate" type="application/rss+xml" title="[% LibraryName %] Search RSS feed" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi | url %][% limit_cgi |uri %]&amp;count=[% countrss |uri %]&amp;sort_by=acqdate_dsc&amp;format=rss2" />
20
</head>
20
</head>
21
21
22
[% INCLUDE 'bodytag.inc' bodyid='results' bodyclass='scrollto' %]
22
[% INCLUDE 'bodytag.inc' bodyid='results' bodyclass='scrollto' %]
Lines 27-33 Link Here
27
            <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
27
            <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
28
            <li>
28
            <li>
29
                [% IF ( searchdesc ) %]
29
                [% IF ( searchdesc ) %]
30
                    <a href="#">Results of search [% IF ( query_desc ) %]for '[% query_desc | html%]'[% END %][% IF ( limit_desc ) %]&nbsp;with limit(s):&nbsp;'[% limit_desc | html %]'[% END %]</a>
30
                    <a href="#">Results of search [% IF ( query_desc ) %]for '[% query_desc%]'[% END %][% IF ( limit_desc ) %]&nbsp;with limit(s):&nbsp;'[% limit_desc %]'[% END %]</a>
31
                [% ELSE %]
31
                [% ELSE %]
32
                    <a href="#">You did not specify any search criteria</a>
32
                    <a href="#">You did not specify any search criteria</a>
33
                [% END %]
33
                [% END %]
Lines 53-59 Link Here
53
                        [% END %]
53
                        [% END %]
54
                        [% IF ( OPACNoResultsFound ) %]
54
                        [% IF ( OPACNoResultsFound ) %]
55
                            <div id="noresultsfound">
55
                            <div id="noresultsfound">
56
                                [% OPACNoResultsFound %]
56
                                [% OPACNoResultsFound.raw %]
57
                            </div>
57
                            </div>
58
                        [% END %]
58
                        [% END %]
59
                    </div> <!-- / .span12 -->
59
                    </div> <!-- / .span12 -->
Lines 77-83 Link Here
77
77
78
                [% IF ( searchdesc ) %]
78
                [% IF ( searchdesc ) %]
79
                    <p id="numresults">
79
                    <p id="numresults">
80
                    [% IF ( total ) %]<strong>Your search returned [% total |html %] results.</strong>
80
                    [% IF ( total ) %]<strong>Your search returned [% total %] results.</strong>
81
                        [% IF ( related ) %]
81
                        [% IF ( related ) %]
82
                            (related searches:
82
                            (related searches:
83
                                [% FOREACH relate IN related %]
83
                                [% FOREACH relate IN related %]
Lines 85-91 Link Here
85
                                [% END %]
85
                                [% END %]
86
                            ).
86
                            ).
87
                        [% END %]
87
                        [% END %]
88
                        <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi | url %][% limit_cgi |html | url %]&amp;count=[% countrss |html %]&amp;sort_by=acqdate_dsc&amp;format=rss2" class="rsssearchlink noprint"><img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png" alt="Subscribe to this search" title="Subscribe to this search" class="rsssearchicon"/></a>
88
                        <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi | url %][% limit_cgi |html | url %]&amp;count=[% countrss %]&amp;sort_by=acqdate_dsc&amp;format=rss2" class="rsssearchlink noprint"><img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png" alt="Subscribe to this search" title="Subscribe to this search" class="rsssearchicon"/></a>
89
                    [% END # / IF total %]
89
                    [% END # / IF total %]
90
                    </p>
90
                    </p>
91
                [% END # / IF searchdesc %]
91
                [% END # / IF searchdesc %]
Lines 128-137 Link Here
128
                            <form action="/cgi-bin/koha/opac-search.pl" method="get" name="bookbag_form" id="bookbag_form" class="checkboxed">
128
                            <form action="/cgi-bin/koha/opac-search.pl" method="get" name="bookbag_form" id="bookbag_form" class="checkboxed">
129
                                [% IF ( searchdesc ) %]
129
                                [% IF ( searchdesc ) %]
130
                                    [% FOREACH QUERY_INPUT IN QUERY_INPUTS %]
130
                                    [% FOREACH QUERY_INPUT IN QUERY_INPUTS %]
131
                                        <input type="hidden" name="[% QUERY_INPUT.input_name |html %]" value="[% QUERY_INPUT.input_value |html %]"/>
131
                                        <input type="hidden" name="[% QUERY_INPUT.input_name %]" value="[% QUERY_INPUT.input_value %]"/>
132
                                    [% END %]
132
                                    [% END %]
133
                                    [% FOREACH LIMIT_INPUT IN LIMIT_INPUTS %]
133
                                    [% FOREACH LIMIT_INPUT IN LIMIT_INPUTS %]
134
                                        <input type="hidden" name="[% LIMIT_INPUT.input_name |html %]" value="[% LIMIT_INPUT.input_value |html %]"/>
134
                                        <input type="hidden" name="[% LIMIT_INPUT.input_name %]" value="[% LIMIT_INPUT.input_value %]"/>
135
                                    [% END %]
135
                                    [% END %]
136
                                [% END # IF /searchdesc %]
136
                                [% END # IF /searchdesc %]
137
137
Lines 275-281 Link Here
275
                                                        [% IF ( BakerTaylorEnabled && !BakerTaylorBookstoreURL ) %]
275
                                                        [% IF ( BakerTaylorEnabled && !BakerTaylorBookstoreURL ) %]
276
                                                            [% bt_id = ( SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_isbn ) %]
276
                                                            [% bt_id = ( SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_isbn ) %]
277
                                                            [% IF ( bt_id ) %]
277
                                                            [% IF ( bt_id ) %]
278
                                                                <img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" />
278
                                                                <img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL %][% bt_id %]" />
279
                                                            [% ELSE %]
279
                                                            [% ELSE %]
280
                                                                <span class="no-image">No cover image available</span>
280
                                                                <span class="no-image">No cover image available</span>
281
                                                            [% END %]
281
                                                            [% END %]
Lines 285-292 Link Here
285
                                                    [% IF ( BakerTaylorEnabled && BakerTaylorBookstoreURL ) %]
285
                                                    [% IF ( BakerTaylorEnabled && BakerTaylorBookstoreURL ) %]
286
                                                        [% bt_id = ( SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_isbn ) %]
286
                                                        [% bt_id = ( SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_isbn ) %]
287
                                                        [% IF ( bt_id ) %]
287
                                                        [% IF ( bt_id ) %]
288
                                                            <a href="https://[% BakerTaylorBookstoreURL |html %][% bt_id %]">
288
                                                            <a href="https://[% BakerTaylorBookstoreURL %][% bt_id %]">
289
                                                                <img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" />
289
                                                                <img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL %][% bt_id %]" />
290
                                                            </a>
290
                                                            </a>
291
                                                        [% ELSE %]
291
                                                        [% ELSE %]
292
                                                            <span class="no-image">No cover image available</span>
292
                                                            <span class="no-image">No cover image available</span>
Lines 310-316 Link Here
310
                                                [% END %]
310
                                                [% END %]
311
311
312
                                                [% IF ( OPACXSLTResultsDisplay ) %]
312
                                                [% IF ( OPACXSLTResultsDisplay ) %]
313
                                                    [% SEARCH_RESULT.XSLTResultsRecord %]
313
                                                    [% SEARCH_RESULT.XSLTResultsRecord.raw %]
314
                                                [% ELSE %]
314
                                                [% ELSE %]
315
                                                    [% IF ( BiblioDefaultViewmarc ) %]
315
                                                    [% IF ( BiblioDefaultViewmarc ) %]
316
                                                        <a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber |url %]" title="View details for this title">
316
                                                        <a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber |url %]" title="View details for this title">
Lines 323-335 Link Here
323
                                                    [% END %]
323
                                                    [% END %]
324
324
325
                                                    [% IF ( SEARCH_RESULT.title ) %]
325
                                                    [% IF ( SEARCH_RESULT.title ) %]
326
                                                        [% SEARCH_RESULT.title |html %]
326
                                                        [% SEARCH_RESULT.title %]
327
                                                    [% ELSE %]
327
                                                    [% ELSE %]
328
                                                        No title
328
                                                        No title
329
                                                    [% END %]
329
                                                    [% END %]
330
330
331
                                                    [% FOREACH subtitl IN SEARCH_RESULT.subtitle %]
331
                                                    [% FOREACH subtitl IN SEARCH_RESULT.subtitle %]
332
                                                        , [% subtitl.subfield|html %]
332
                                                        , [% subtitl.subfield %]
333
                                                    [% END %]</a>
333
                                                    [% END %]</a>
334
334
335
                                                    [% IF ( SEARCH_RESULT.author ) %]
335
                                                    [% IF ( SEARCH_RESULT.author ) %]
Lines 341-347 Link Here
341
                                                    <span class="results_summary publisher">
341
                                                    <span class="results_summary publisher">
342
                                                        <span class="label">Publication:</span>
342
                                                        <span class="label">Publication:</span>
343
                                                            [% IF ( SEARCH_RESULT.place ) %][% SEARCH_RESULT.place %] [% END %]
343
                                                            [% IF ( SEARCH_RESULT.place ) %][% SEARCH_RESULT.place %] [% END %]
344
                                                            [% IF ( SEARCH_RESULT.publishercode ) %][% SEARCH_RESULT.publishercode|html %][% END %]
344
                                                            [% IF ( SEARCH_RESULT.publishercode ) %][% SEARCH_RESULT.publishercode %][% END %]
345
                                                            [% IF ( SEARCH_RESULT.publicationyear ) %]
345
                                                            [% IF ( SEARCH_RESULT.publicationyear ) %]
346
                                                                [% SEARCH_RESULT.publicationyear %]
346
                                                                [% SEARCH_RESULT.publicationyear %]
347
                                                            [% ELSE %]
347
                                                            [% ELSE %]
Lines 350-356 Link Here
350
                                                                [% END %]
350
                                                                [% END %]
351
                                                            [% END %]
351
                                                            [% END %]
352
                                                            [% IF ( SEARCH_RESULT.pages ) %]. [% SEARCH_RESULT.pages %][% END %]
352
                                                            [% IF ( SEARCH_RESULT.pages ) %]. [% SEARCH_RESULT.pages %][% END %]
353
                                                            [% IF ( SEARCH_RESULT.notes ) %], [% SEARCH_RESULT.notes|html %][% END %]
353
                                                            [% IF ( SEARCH_RESULT.notes ) %], [% SEARCH_RESULT.notes %][% END %]
354
                                                            [% IF ( SEARCH_RESULT.size ) %] [% SEARCH_RESULT.size %][% END %]
354
                                                            [% IF ( SEARCH_RESULT.size ) %] [% SEARCH_RESULT.size %][% END %]
355
                                                            [% IF ( SEARCH_RESULT.timestamp ) %] <i>(modified on [% SEARCH_RESULT.timestamp %])</i>[% END %]
355
                                                            [% IF ( SEARCH_RESULT.timestamp ) %] <i>(modified on [% SEARCH_RESULT.timestamp %])</i>[% END %]
356
                                                    </span>
356
                                                    </span>
Lines 761-767 $(document).ready(function(){ Link Here
761
            [% SET number_of_private_shelves = 0 %]
761
            [% SET number_of_private_shelves = 0 %]
762
            [% FOREACH s IN add_to_some_private_shelves %]
762
            [% FOREACH s IN add_to_some_private_shelves %]
763
                [% IF shelfnumber != s.shelfnumber %]
763
                [% IF shelfnumber != s.shelfnumber %]
764
                    param1 += "<option id=\"s[% s.shelfnumber %]\" value=\"addtolist\">[% s.shelfname |html %]<\/option>";
764
                    param1 += "<option id=\"s[% s.shelfnumber %]\" value=\"addtolist\">[% s.shelfname %]<\/option>";
765
                    [% SET number_of_private_shelves = number_of_private_shelves + 1 %]
765
                    [% SET number_of_private_shelves = number_of_private_shelves + 1 %]
766
                    [% IF number_of_private_shelves == 10 %][% LAST %][% END %]
766
                    [% IF number_of_private_shelves == 10 %][% LAST %][% END %]
767
                [% END %]
767
                [% END %]
Lines 773-779 $(document).ready(function(){ Link Here
773
            [% SET number_of_public_shelves = 0 %]
773
            [% SET number_of_public_shelves = 0 %]
774
            [% FOREACH s IN add_to_some_public_shelves %]
774
            [% FOREACH s IN add_to_some_public_shelves %]
775
                [% IF shelfnumber != s.shelfnumber %]
775
                [% IF shelfnumber != s.shelfnumber %]
776
                    param1 += "<option id=\"s[% s.shelfnumber %]\" value=\"addtolist\">[% s.shelfname |html %]<\/option>";
776
                    param1 += "<option id=\"s[% s.shelfnumber %]\" value=\"addtolist\">[% s.shelfname %]<\/option>";
777
                    [% SET number_of_public_shelves = number_of_public_shelves + 1 %]
777
                    [% SET number_of_public_shelves = number_of_public_shelves + 1 %]
778
                    [% IF number_of_public_shelves == 10 %][% LAST %][% END %]
778
                    [% IF number_of_public_shelves == 10 %][% LAST %][% END %]
779
                [% END %]
779
                [% END %]
Lines 871-878 $(document).ready(function(){ Link Here
871
[% END %]
871
[% END %]
872
872
873
[% IF ( query_desc ) %]
873
[% IF ( query_desc ) %]
874
    var query_desc = "[% query_desc |replace("'", "\'") |replace('\n', '\\n') |replace('\r', '\\r') |html %]";
874
    var query_desc = "[% query_desc |replace("'", "\'") |replace('\n', '\\n') |replace('\r', '\\r') %]";
875
    var querystring = "[% querystring |replace("'", "\'") |replace('\n', '\\n') |replace('\r', '\\r') |html %]";
875
    var querystring = "[% querystring |replace("'", "\'") |replace('\n', '\\n') |replace('\r', '\\r') %]";
876
    [% IF ( OpacHighlightedWords ) %]
876
    [% IF ( OpacHighlightedWords ) %]
877
        q_array = query_desc.split(" ");
877
        q_array = query_desc.split(" ");
878
        // ensure that we don't have "" at the end of the array, which can
878
        // ensure that we don't have "" at the end of the array, which can
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-review.tt (-5 / +5 lines)
Lines 1-5 Link Here
1
[% INCLUDE 'doc-head-open.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Comments on [% title |html %]</title>
2
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Comments on [% title %]</title>
3
<style type="text/css">
3
<style type="text/css">
4
  #custom-doc { width:37.08em;*width:36.16em;min-width:485px; margin:1em auto; text-align:left; }
4
  #custom-doc { width:37.08em;*width:36.16em;min-width:485px; margin:1em auto; text-align:left; }
5
</style>
5
</style>
Lines 42-52 Link Here
42
                            </div>
42
                            </div>
43
                        [% END # / ERRORs %]
43
                        [% END # / ERRORs %]
44
44
45
                        <h1>Comments on <i>[% title |html %] [% subtitle %]</i></h1>
45
                        <h1>Comments on <i>[% title %] [% subtitle %]</i></h1>
46
                        [% IF ( author ) %]<h3>[% author |html %]</h3>[% END %]
46
                        [% IF ( author ) %]<h3>[% author %]</h3>[% END %]
47
                        <form id="reviewf" action="/cgi-bin/koha/opac-review.pl[% IF ( cgi_debug ) %]?debug=1[% END %]" method="post">
47
                        <form id="reviewf" action="/cgi-bin/koha/opac-review.pl[% IF ( cgi_debug ) %]?debug=1[% END %]" method="post">
48
                            <input type="hidden" name="biblionumber" value="[% biblionumber | html%]" />
48
                            <input type="hidden" name="biblionumber" value="[% biblionumber%]" />
49
                            [% IF ( reviewid ) %]<input type="hidden" name="reviewid" value="[% reviewid | html%]" />[% END %]
49
                            [% IF ( reviewid ) %]<input type="hidden" name="reviewid" value="[% reviewid%]" />[% END %]
50
                            <fieldset>
50
                            <fieldset>
51
                                <textarea id="review" name="review" cols="60" rows="8">[% review %]</textarea>
51
                                <textarea id="review" name="review" cols="60" rows="8">[% review %]</textarea>
52
                            </fieldset>
52
                            </fieldset>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt (-4 / +4 lines)
Lines 68-74 Link Here
68
                                                    <tr>
68
                                                    <tr>
69
                                                        <td><input type="checkbox" name="id" value="[% s.id %]" /></td>
69
                                                        <td><input type="checkbox" name="id" value="[% s.id %]" /></td>
70
                                                        <td><span title="[% s.time %]">[% s.time |$KohaDates with_hours => 1 %]</span></td>
70
                                                        <td><span title="[% s.time %]">[% s.time |$KohaDates with_hours => 1 %]</span></td>
71
                                                        <td><a href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html |url %][% limit_cgi |html | url %]&amp;[% s.query_cgi |html %]&amp;count=[% countrss |html %]&amp;sort_by=acqdate_dsc&amp;format=rss2" class="rsssearchlink"><img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png" alt="Subscribe to this search" title="Subscribe to this search" class="rsssearchicon"/></a> <a href="/cgi-bin/koha/opac-search.pl?[% s.query_cgi |html %]">[% s.query_desc |html %]</a></td>
71
                                                        <td><a href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html |url %][% limit_cgi |html | url %]&amp;[% s.query_cgi %]&amp;count=[% countrss %]&amp;sort_by=acqdate_dsc&amp;format=rss2" class="rsssearchlink"><img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png" alt="Subscribe to this search" title="Subscribe to this search" class="rsssearchicon"/></a> <a href="/cgi-bin/koha/opac-search.pl?[% s.query_cgi %]">[% s.query_desc %]</a></td>
72
                                                        <td>[% s.total %]</td>
72
                                                        <td>[% s.total %]</td>
73
                                                    </tr>
73
                                                    </tr>
74
                                                [% END %]
74
                                                [% END %]
Lines 108-114 Link Here
108
                                                <tr>
108
                                                <tr>
109
                                                    <td><input type="checkbox" name="id" value="[% s.id %]" /></td>
109
                                                    <td><input type="checkbox" name="id" value="[% s.id %]" /></td>
110
                                                    <td><span title="[% s.time %]">[% s.time |$KohaDates with_hours => 1 %]</span></td>
110
                                                    <td><span title="[% s.time %]">[% s.time |$KohaDates with_hours => 1 %]</span></td>
111
                                                    <td><a href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html |url %][% limit_cgi |html | url %]&amp;[% s.query_cgi |html %]&amp;count=[% countrss |html %]&amp;sort_by=acqdate_dsc&amp;format=rss2" class="rsssearchlink"><img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png" alt="Subscribe to this search" title="Subscribe to this search" class="rsssearchicon"/></a> <a href="/cgi-bin/koha/opac-search.pl?[% s.query_cgi |html %]">[% s.query_desc |html %]</a></td>
111
                                                    <td><a href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html |url %][% limit_cgi |html | url %]&amp;[% s.query_cgi %]&amp;count=[% countrss %]&amp;sort_by=acqdate_dsc&amp;format=rss2" class="rsssearchlink"><img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png" alt="Subscribe to this search" title="Subscribe to this search" class="rsssearchicon"/></a> <a href="/cgi-bin/koha/opac-search.pl?[% s.query_cgi %]">[% s.query_desc %]</a></td>
112
                                                    <td>[% s.total %]</td>
112
                                                    <td>[% s.total %]</td>
113
                                                </tr>
113
                                                </tr>
114
                                            [% END %]
114
                                            [% END %]
Lines 153-159 Link Here
153
                                                    <tr>
153
                                                    <tr>
154
                                                        <td><input type="checkbox" name="id" value="[% s.id %]" /></td>
154
                                                        <td><input type="checkbox" name="id" value="[% s.id %]" /></td>
155
                                                        <td><span title="[% s.time %]">[% s.time |$KohaDates with_hours => 1 %]</span></td>
155
                                                        <td><span title="[% s.time %]">[% s.time |$KohaDates with_hours => 1 %]</span></td>
156
                                                        <td><a href="/cgi-bin/koha/opac-authorities-home.pl?[% s.query_cgi |html %]">[% s.query_desc |html %]</a></td>
156
                                                        <td><a href="/cgi-bin/koha/opac-authorities-home.pl?[% s.query_cgi %]">[% s.query_desc %]</a></td>
157
                                                        <td>[% s.total %]</td>
157
                                                        <td>[% s.total %]</td>
158
                                                    </tr>
158
                                                    </tr>
159
                                                [% END %]
159
                                                [% END %]
Lines 190-196 Link Here
190
                                                    <tr>
190
                                                    <tr>
191
                                                        <td><input type="checkbox" name="id" value="[% s.id %]" /></td>
191
                                                        <td><input type="checkbox" name="id" value="[% s.id %]" /></td>
192
                                                        <td><span title="[% s.time %]">[% s.time |$KohaDates with_hours => 1 %]</span></td>
192
                                                        <td><span title="[% s.time %]">[% s.time |$KohaDates with_hours => 1 %]</span></td>
193
                                                        <td><a href="/cgi-bin/koha/opac-authorities-home.pl?[% s.query_cgi |html %]">[% s.query_desc |html %]</a></td>
193
                                                        <td><a href="/cgi-bin/koha/opac-authorities-home.pl?[% s.query_cgi %]">[% s.query_desc %]</a></td>
194
                                                        <td>[% s.total %]</td>
194
                                                        <td>[% s.total %]</td>
195
                                                    </tr>
195
                                                    </tr>
196
                                                [% END %]
196
                                                [% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasket.tt (-26 / +26 lines)
Lines 10-16 Your cart Link Here
10
[% FILTER html2text %]
10
[% FILTER html2text %]
11
    <p>Hi,</p>
11
    <p>Hi,</p>
12
12
13
    <p>[% firstname %] [% surname %] sent you a cart from our online catalog.</p>
13
    <p>[% firstname.raw %] [% surname.raw %] sent you a cart from our online catalog.</p>
14
14
15
    <p>Please note that the attached file is a MARC bibliographic records file
15
    <p>Please note that the attached file is a MARC bibliographic records file
16
    which can be imported into personal bibliographic software like EndNote,
16
    which can be imported into personal bibliographic software like EndNote,
Lines 23-48 Your cart Link Here
23
[% FILTER html2text %]
23
[% FILTER html2text %]
24
24
25
    [% IF comment %]
25
    [% IF comment %]
26
        <p>[% comment %]</p>
26
        <p>[% comment.raw %]</p>
27
        <hr/>
27
        <hr/>
28
    [% END %]
28
    [% END %]
29
    <ol>
29
    <ol>
30
    [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %]
30
    [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %]
31
        <li>
31
        <li>
32
            <span>
32
            <span>
33
                [% BIBLIO_RESULT.title %]
33
                [% BIBLIO_RESULT.title.raw %]
34
                [% IF ( BIBLIO_RESULT.subtitle ) %] [% BIBLIO_RESULT.subtitle %][% END %]
34
                [% IF ( BIBLIO_RESULT.subtitle ) %] [% BIBLIO_RESULT.subtitle.raw %][% END %]
35
            </span>
35
            </span>
36
36
37
            <p>
37
            <p>
38
            [% IF ( BIBLIO_RESULT.HASAUTHORS ) %]
38
            [% IF ( BIBLIO_RESULT.HASAUTHORS ) %]
39
            <span>Author(s): [% IF ( BIBLIO_RESULT.author ) %][% BIBLIO_RESULT.author %][% END %]
39
            <span>Author(s): [% IF ( BIBLIO_RESULT.author ) %][% BIBLIO_RESULT.author.raw %][% END %]
40
40
41
            [% IF ( BIBLIO_RESULT.MARCAUTHORS ) %]
41
            [% IF ( BIBLIO_RESULT.MARCAUTHORS ) %]
42
                [% IF ( BIBLIO_RESULT.author ) %]; [% END %]
42
                [% IF ( BIBLIO_RESULT.author.raw ) %]; [% END %]
43
                [% FOREACH MARCAUTHOR IN BIBLIO_RESULT.MARCAUTHORS %]
43
                [% FOREACH MARCAUTHOR IN BIBLIO_RESULT.MARCAUTHORS %]
44
                    [% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %]
44
                    [% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %]
45
                        [% MARCAUTHOR_SUBFIELDS_LOO.separator %][% MARCAUTHOR_SUBFIELDS_LOO.value %]
45
                        [% MARCAUTHOR_SUBFIELDS_LOO.separator.raw %][% MARCAUTHOR_SUBFIELDS_LOO.value.raw %]
46
                    [% END %]
46
                    [% END %]
47
                    [% UNLESS ( loop.last ) %];[% END %]
47
                    [% UNLESS ( loop.last ) %];[% END %]
48
                [% END %]
48
                [% END %]
Lines 52-127 Your cart Link Here
52
52
53
            [% IF ( BIBLIO_RESULT.ISBN ) %]
53
            [% IF ( BIBLIO_RESULT.ISBN ) %]
54
            <span>
54
            <span>
55
                ISBN: [% BIBLIO_RESULT.ISBN %]
55
                ISBN: [% BIBLIO_RESULT.ISBN.raw %]
56
            </span><br/>
56
            </span><br/>
57
            [% END %]
57
            [% END %]
58
58
59
            [% IF BIBLIO_RESULT.publishercode %]
59
            [% IF BIBLIO_RESULT.publishercode %]
60
            <span>
60
            <span>
61
                Published by: [% BIBLIO_RESULT.publishercode %]
61
                Published by: [% BIBLIO_RESULT.publishercode.raw %]
62
                [% IF ( BIBLIO_RESULT.publicationyear ) %]
62
                [% IF ( BIBLIO_RESULT.publicationyear ) %]
63
                    in [% BIBLIO_RESULT.publicationyear %]
63
                    in [% BIBLIO_RESULT.publicationyear.raw %]
64
                [% END %]
64
                [% END %]
65
                [% IF ( BIBLIO_RESULT.pages ) %]
65
                [% IF ( BIBLIO_RESULT.pages ) %]
66
                    , [% BIBLIO_RESULT.pages %]
66
                    , [% BIBLIO_RESULT.pages.raw %]
67
                [% END %]
67
                [% END %]
68
                [% IF BIBLIO_RESULT.item('size') %]
68
                [% IF BIBLIO_RESULT.item('size') %]
69
                , [% BIBLIO_RESULT.item('size') %]
69
                , [% BIBLIO_RESULT.item('size').raw %]
70
                [% END %]
70
                [% END %]
71
            </span><br/>
71
            </span><br/>
72
            [% END %]
72
            [% END %]
73
73
74
            [% IF BIBLIO_RESULT.collection %]
74
            [% IF BIBLIO_RESULT.collection %]
75
            <span>
75
            <span>
76
                Collection: [% BIBLIO_RESULT.seriestitle %]
76
                Collection: [% BIBLIO_RESULT.seriestitle.raw %]
77
            </span><br/>
77
            </span><br/>
78
            [% END %]
78
            [% END %]
79
79
80
            [% IF ( BIBLIO_RESULT.subject ) %]
80
            [% IF ( BIBLIO_RESULT.subject ) %]
81
            <span>
81
            <span>
82
                Subject: [% BIBLIO_RESULT.subject %]
82
                Subject: [% BIBLIO_RESULT.subject.raw %]
83
            <span><br/>
83
            <span><br/>
84
            [% END %]
84
            [% END %]
85
85
86
            [% IF ( BIBLIO_RESULT.copyrightdate ) %]
86
            [% IF ( BIBLIO_RESULT.copyrightdate ) %]
87
            <span>
87
            <span>
88
                Copyright year: [% BIBLIO_RESULT.copyrightdate %]
88
                Copyright year: [% BIBLIO_RESULT.copyrightdate.raw %]
89
            </span><br/>
89
            </span><br/>
90
            [% END %]
90
            [% END %]
91
91
92
            [% IF ( BIBLIO_RESULT.notes ) %]
92
            [% IF ( BIBLIO_RESULT.notes ) %]
93
            <span>
93
            <span>
94
                Notes : [% BIBLIO_RESULT.notes %]
94
                Notes : [% BIBLIO_RESULT.notes.raw %]
95
            </span><br/>
95
            </span><br/>
96
            [% END %]
96
            [% END %]
97
97
98
            [% IF ( BIBLIO_RESULT.unititle ) %]
98
            [% IF ( BIBLIO_RESULT.unititle ) %]
99
            <span>
99
            <span>
100
                Unified title: [% BIBLIO_RESULT.unititle %]
100
                Unified title: [% BIBLIO_RESULT.unititle.raw %]
101
            </span><br/>
101
            </span><br/>
102
            [% END %]
102
            [% END %]
103
103
104
            [% IF ( BIBLIO_RESULT.serial ) %]
104
            [% IF ( BIBLIO_RESULT.serial ) %]
105
            <span>
105
            <span>
106
                Serial: [% BIBLIO_RESULT.serial %]
106
                Serial: [% BIBLIO_RESULT.serial.raw %]
107
            </span><br/>
107
            </span><br/>
108
            [% END %]
108
            [% END %]
109
109
110
            [% IF ( BIBLIO_RESULT.dewey ) %]
110
            [% IF ( BIBLIO_RESULT.dewey ) %]
111
            <span>
111
            <span>
112
                Dewey: [% BIBLIO_RESULT.dewey %]
112
                Dewey: [% BIBLIO_RESULT.dewey.raw %]
113
            </span><br/>
113
            </span><br/>
114
            [% END %]
114
            [% END %]
115
115
116
            [% IF ( BIBLIO_RESULT.classification ) %]
116
            [% IF ( BIBLIO_RESULT.classification ) %]
117
            <span>
117
            <span>
118
                Classification: [% BIBLIO_RESULT.classification %]
118
                Classification: [% BIBLIO_RESULT.classification.raw %]
119
            </span><br/>
119
            </span><br/>
120
            [% END %]
120
            [% END %]
121
121
122
            [% IF ( BIBLIO_RESULT.lccn ) %]
122
            [% IF ( BIBLIO_RESULT.lccn ) %]
123
            <span>
123
            <span>
124
                LCCN: [% BIBLIO_RESULT.lccn %]
124
                LCCN: [% BIBLIO_RESULT.lccn.raw %]
125
            </span><br/>
125
            </span><br/>
126
            [% END %]
126
            [% END %]
127
            [% IF ( BIBLIO_RESULT.url ) %]
127
            [% IF ( BIBLIO_RESULT.url ) %]
Lines 134-150 Your cart Link Here
134
            [% SET OPACBaseURL = Koha.Preference('OPACBaseURL') %]
134
            [% SET OPACBaseURL = Koha.Preference('OPACBaseURL') %]
135
            [% IF ( OPACBaseURL ) %]
135
            [% IF ( OPACBaseURL ) %]
136
            <p>
136
            <p>
137
                In online catalog: [% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% BIBLIO_RESULT.biblionumber %]
137
                In online catalog: [% OPACBaseURL.raw %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% BIBLIO_RESULT.biblionumber %]
138
            </p>
138
            </p>
139
            [% END %]
139
            [% END %]
140
            [% IF ( BIBLIO_RESULT.ITEM_RESULTS.size ) %]
140
            [% IF ( BIBLIO_RESULT.ITEM_RESULTS.size ) %]
141
            <p>Items:
141
            <p>Items:
142
            <ul>
142
            <ul>
143
                [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]<li>
143
                [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]<li>
144
                    [% ITEM_RESULT.branchname %]
144
                    [% ITEM_RESULT.branchname.raw %]
145
                    [% ITEM_RESULT.location %]
145
                    [% ITEM_RESULT.location.raw %]
146
                    [% IF ITEM_RESULT.itemcallnumber %]([% ITEM_RESULT.itemcallnumber %])[% END %]
146
                    [% IF ITEM_RESULT.itemcallnumber %]([% ITEM_RESULT.itemcallnumber.raw %])[% END %]
147
                    [% ITEM_RESULT.barcode %]
147
                    [% ITEM_RESULT.barcode.raw %]
148
                </li>[% END %]
148
                </li>[% END %]
149
            </ul>
149
            </ul>
150
            </p>
150
            </p>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasketform.tt (-1 / +1 lines)
Lines 14-20 Link Here
14
                            [% IF ( SENT ) %]
14
                            [% IF ( SENT ) %]
15
                                <h1>Message sent</h1>
15
                                <h1>Message sent</h1>
16
                                <div class="dialog dialog-success">
16
                                <div class="dialog dialog-success">
17
                                    <p>The cart was sent to: [% email_add | html %]</p>
17
                                    <p>The cart was sent to: [% email_add %]</p>
18
                                </div>
18
                                </div>
19
                                <p><a class="focus close" href="#">Close window</a></p>
19
                                <p><a class="focus close" href="#">Close window</a></p>
20
                            [% END %]
20
                            [% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelf.tt (-26 / +26 lines)
Lines 1-5 Link Here
1
<SUBJECT>
1
<SUBJECT>
2
Your list : [% shelfname %]
2
Your list : [% shelfname.raw %]
3
<END_SUBJECT>
3
<END_SUBJECT>
4
4
5
[% USE HtmlToText %]
5
[% USE HtmlToText %]
Lines 8-15 Your list : [% shelfname %] Link Here
8
[% FILTER html2text %]
8
[% FILTER html2text %]
9
    <p>Hi,</p>
9
    <p>Hi,</p>
10
10
11
    <p>[% firstname %] [% surname %] sent you from our online catalog, the
11
    <p>[% firstname.raw %] [% surname.raw %] sent you from our online catalog, the
12
    virtual shelf called : [% shelfname %].</p>
12
    virtual shelf called : [% shelfname.raw %].</p>
13
13
14
    <p>Please note that the attached file is a MARC bibliographic records file
14
    <p>Please note that the attached file is a MARC bibliographic records file
15
    which can be imported into personal bibliographic software like EndNote,
15
    which can be imported into personal bibliographic software like EndNote,
Lines 23-52 Your list : [% shelfname %] Link Here
23
[% FILTER html2text %]
23
[% FILTER html2text %]
24
24
25
    [% IF comment %]
25
    [% IF comment %]
26
        <p>[% comment %]</p>
26
        <p>[% comment.raw %]</p>
27
        <hr/>
27
        <hr/>
28
    [% END %]
28
    [% END %]
29
    <ol>
29
    <ol>
30
    [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %]
30
    [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %]
31
        <li>
31
        <li>
32
            <span>
32
            <span>
33
                [% BIBLIO_RESULT.title %]
33
                [% BIBLIO_RESULT.title.raw %]
34
                [% IF ( BIBLIO_RESULT.subtitle.size ) %]
34
                [% IF ( BIBLIO_RESULT.subtitle.size ) %]
35
                  [% FOREACH subtitle IN BIBLIO_RESULT.subtitle %]
35
                  [% FOREACH subtitle IN BIBLIO_RESULT.subtitle %]
36
                    [% subtitle.subfield %]
36
                    [% subtitle.subfield.raw %]
37
                  [% END %]
37
                  [% END %]
38
                [% END %]
38
                [% END %]
39
            </span>
39
            </span>
40
40
41
            <p>
41
            <p>
42
            [% IF ( BIBLIO_RESULT.HASAUTHORS ) %]
42
            [% IF ( BIBLIO_RESULT.HASAUTHORS ) %]
43
            <span>Author(s): [% IF ( BIBLIO_RESULT.author ) %][% BIBLIO_RESULT.author %][% END %]
43
            <span>Author(s): [% IF ( BIBLIO_RESULT.author ) %][% BIBLIO_RESULT.author.raw %][% END %]
44
44
45
            [% IF ( BIBLIO_RESULT.MARCAUTHORS ) %]
45
            [% IF ( BIBLIO_RESULT.MARCAUTHORS ) %]
46
                [% IF ( BIBLIO_RESULT.author ) %]; [% END %]
46
                [% IF ( BIBLIO_RESULT.author ) %]; [% END %]
47
                [% FOREACH MARCAUTHOR IN BIBLIO_RESULT.MARCAUTHORS %]
47
                [% FOREACH MARCAUTHOR IN BIBLIO_RESULT.MARCAUTHORS %]
48
                    [% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %]
48
                    [% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %]
49
                        [% MARCAUTHOR_SUBFIELDS_LOO.separator %][% MARCAUTHOR_SUBFIELDS_LOO.value %]
49
                        [% MARCAUTHOR_SUBFIELDS_LOO.separator.raw %][% MARCAUTHOR_SUBFIELDS_LOO.value.raw %]
50
                    [% END %]
50
                    [% END %]
51
                    [% UNLESS ( loop.last ) %];[% END %]
51
                    [% UNLESS ( loop.last ) %];[% END %]
52
                [% END %]
52
                [% END %]
Lines 57-63 Your list : [% shelfname %] Link Here
57
            [% IF ( BIBLIO_RESULT.ISBN ) %]
57
            [% IF ( BIBLIO_RESULT.ISBN ) %]
58
            <span>
58
            <span>
59
                ISBN: [% FOREACH isbn IN BIBLIO_RESULT.ISBN %]
59
                ISBN: [% FOREACH isbn IN BIBLIO_RESULT.ISBN %]
60
                          [% isbn %]
60
                          [% isbn.raw %]
61
                          [% UNLESS ( loop.last ) %]; [% END %]
61
                          [% UNLESS ( loop.last ) %]; [% END %]
62
                      [% END %]
62
                      [% END %]
63
            </span><br/>
63
            </span><br/>
Lines 65-76 Your list : [% shelfname %] Link Here
65
65
66
            [% IF BIBLIO_RESULT.publishercode %]
66
            [% IF BIBLIO_RESULT.publishercode %]
67
            <span>
67
            <span>
68
                Published by: [% BIBLIO_RESULT.publishercode %]
68
                Published by: [% BIBLIO_RESULT.publishercode.raw %]
69
                [% IF ( BIBLIO_RESULT.publicationyear ) %]
69
                [% IF ( BIBLIO_RESULT.publicationyear ) %]
70
                    in [% BIBLIO_RESULT.publicationyear %]
70
                    in [% BIBLIO_RESULT.publicationyear.raw %]
71
                [% END %]
71
                [% END %]
72
                [% IF ( BIBLIO_RESULT.pages ) %]
72
                [% IF ( BIBLIO_RESULT.pages ) %]
73
                    , [% BIBLIO_RESULT.pages %]
73
                    , [% BIBLIO_RESULT.pages.raw %]
74
                [% END %]
74
                [% END %]
75
                [% IF BIBLIO_RESULT.item('size') %]
75
                [% IF BIBLIO_RESULT.item('size') %]
76
                , [% BIBLIO_RESULT.item('size') %]
76
                , [% BIBLIO_RESULT.item('size') %]
Lines 80-134 Your list : [% shelfname %] Link Here
80
80
81
            [% IF BIBLIO_RESULT.collection %]
81
            [% IF BIBLIO_RESULT.collection %]
82
            <span>
82
            <span>
83
                Collection: [% BIBLIO_RESULT.seriestitle %]
83
                Collection: [% BIBLIO_RESULT.seriestitle.raw %]
84
            </span><br/>
84
            </span><br/>
85
            [% END %]
85
            [% END %]
86
86
87
            [% IF ( BIBLIO_RESULT.subject ) %]
87
            [% IF ( BIBLIO_RESULT.subject ) %]
88
            <span>
88
            <span>
89
                Subject: [% BIBLIO_RESULT.subject %]
89
                Subject: [% BIBLIO_RESULT.subject.raw %]
90
            <span><br/>
90
            <span><br/>
91
            [% END %]
91
            [% END %]
92
92
93
            [% IF ( BIBLIO_RESULT.copyrightdate ) %]
93
            [% IF ( BIBLIO_RESULT.copyrightdate ) %]
94
            <span>
94
            <span>
95
                Copyright year: [% BIBLIO_RESULT.copyrightdate %]
95
                Copyright year: [% BIBLIO_RESULT.copyrightdate.raw %]
96
            </span><br/>
96
            </span><br/>
97
            [% END %]
97
            [% END %]
98
98
99
            [% IF ( BIBLIO_RESULT.notes ) %]
99
            [% IF ( BIBLIO_RESULT.notes ) %]
100
            <span>
100
            <span>
101
                Notes : [% BIBLIO_RESULT.notes %]
101
                Notes : [% BIBLIO_RESULT.notes.raw %]
102
            </span><br/>
102
            </span><br/>
103
            [% END %]
103
            [% END %]
104
104
105
            [% IF ( BIBLIO_RESULT.unititle ) %]
105
            [% IF ( BIBLIO_RESULT.unititle ) %]
106
            <span>
106
            <span>
107
                Unified title: [% BIBLIO_RESULT.unititle %]
107
                Unified title: [% BIBLIO_RESULT.unititle.raw %]
108
            </span><br/>
108
            </span><br/>
109
            [% END %]
109
            [% END %]
110
110
111
            [% IF ( BIBLIO_RESULT.serial ) %]
111
            [% IF ( BIBLIO_RESULT.serial ) %]
112
            <span>
112
            <span>
113
                Serial: [% BIBLIO_RESULT.serial %]
113
                Serial: [% BIBLIO_RESULT.serial.raw %]
114
            </span><br/>
114
            </span><br/>
115
            [% END %]
115
            [% END %]
116
116
117
            [% IF ( BIBLIO_RESULT.dewey ) %]
117
            [% IF ( BIBLIO_RESULT.dewey ) %]
118
            <span>
118
            <span>
119
                Dewey: [% BIBLIO_RESULT.dewey %]
119
                Dewey: [% BIBLIO_RESULT.dewey.raw %]
120
            </span><br/>
120
            </span><br/>
121
            [% END %]
121
            [% END %]
122
122
123
            [% IF ( BIBLIO_RESULT.classification ) %]
123
            [% IF ( BIBLIO_RESULT.classification ) %]
124
            <span>
124
            <span>
125
                Classification: [% BIBLIO_RESULT.classification %]
125
                Classification: [% BIBLIO_RESULT.classification.raw %]
126
            </span><br/>
126
            </span><br/>
127
            [% END %]
127
            [% END %]
128
128
129
            [% IF ( BIBLIO_RESULT.lccn ) %]
129
            [% IF ( BIBLIO_RESULT.lccn ) %]
130
            <span>
130
            <span>
131
                LCCN: [% BIBLIO_RESULT.lccn %]
131
                LCCN: [% BIBLIO_RESULT.lccn.raw %]
132
            </span><br/>
132
            </span><br/>
133
            [% END %]
133
            [% END %]
134
            [% IF ( BIBLIO_RESULT.url ) %]
134
            [% IF ( BIBLIO_RESULT.url ) %]
Lines 140-156 Your list : [% shelfname %] Link Here
140
140
141
            [% IF ( OPACBaseURL ) %]
141
            [% IF ( OPACBaseURL ) %]
142
            <p>
142
            <p>
143
                In online catalog: [% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% BIBLIO_RESULT.biblionumber %]
143
                In online catalog: [% OPACBaseURL.raw %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% BIBLIO_RESULT.biblionumber %]
144
            </p>
144
            </p>
145
            [% END %]
145
            [% END %]
146
            [% IF ( BIBLIO_RESULT.ITEM_RESULTS.size ) %]
146
            [% IF ( BIBLIO_RESULT.ITEM_RESULTS.size ) %]
147
            <p>Items:
147
            <p>Items:
148
            <ul>
148
            <ul>
149
                [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]<li>
149
                [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]<li>
150
                    [% ITEM_RESULT.branchname %]
150
                    [% ITEM_RESULT.branchname.raw %]
151
                    [% ITEM_RESULT.location %]
151
                    [% ITEM_RESULT.location.raw %]
152
                    [% IF ITEM_RESULT.itemcallnumber %]([% ITEM_RESULT.itemcallnumber %])[% END %]
152
                    [% IF ITEM_RESULT.itemcallnumber %]([% ITEM_RESULT.itemcallnumber.raw %])[% END %]
153
                    [% ITEM_RESULT.barcode %]
153
                    [% ITEM_RESULT.barcode.raw %]
154
                </li>[% END %]
154
                </li>[% END %]
155
            </ul>
155
            </ul>
156
            </p>
156
            </p>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelfform.tt (-1 / +1 lines)
Lines 13-19 Link Here
13
                            [% IF ( SENT ) %]
13
                            [% IF ( SENT ) %]
14
                                <h1>Message sent</h1>
14
                                <h1>Message sent</h1>
15
                                <div class="alert alert-success">
15
                                <div class="alert alert-success">
16
                                    <p>The list was sent to: [% email | html %]</p>
16
                                    <p>The list was sent to: [% email %]</p>
17
                                </div>
17
                                </div>
18
                                <p><a class="focus close" href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=[% shelfid %]">Back to lists</a></p>
18
                                <p><a class="focus close" href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=[% shelfid %]">Back to lists</a></p>
19
                            [% END %]
19
                            [% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-serial-issues.tt (-2 / +2 lines)
Lines 30-39 Link Here
30
                        <h2>Issues for a subscription</h2>
30
                        <h2>Issues for a subscription</h2>
31
                        <div id="views">
31
                        <div id="views">
32
                            <span class="view">
32
                            <span class="view">
33
                                <a id="Normalview" href="opac-detail.pl?biblionumber=[% biblionumber | html %]" class="button">Normal view</a>
33
                                <a id="Normalview" href="opac-detail.pl?biblionumber=[% biblionumber %]" class="button">Normal view</a>
34
                            </span>
34
                            </span>
35
                            <span class="view"><span id="Briefhistory">Brief history</span></span>
35
                            <span class="view"><span id="Briefhistory">Brief history</span></span>
36
                            <span class="view"><a id="Fullhistory" href="opac-serial-issues.pl?selectview=full&amp;biblionumber=[% biblionumber | html%]" class="button">Full history</a></span>
36
                            <span class="view"><a id="Fullhistory" href="opac-serial-issues.pl?selectview=full&amp;biblionumber=[% biblionumber%]" class="button">Full history</a></span>
37
                        </div>
37
                        </div>
38
                        <form method="post" name="f">
38
                        <form method="post" name="f">
39
                            [% FOREACH subscription_LOO IN subscription_LOOP %]
39
                            [% FOREACH subscription_LOO IN subscription_LOOP %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shareshelf.tt (-3 / +3 lines)
Lines 32-38 Link Here
32
        <div id="shareshelf" class="maincontent">
32
        <div id="shareshelf" class="maincontent">
33
33
34
    [% IF errcode %]
34
    [% IF errcode %]
35
        [% IF errcode==1 && op %]<div class="alert">The operation [% op | html %] is not supported.</div>[% END %]
35
        [% IF errcode==1 && op %]<div class="alert">The operation [% op %] is not supported.</div>[% END %]
36
        [% IF errcode==1 && !op %]<div class="alert">No operation parameter has been passed.</div>[% END %]
36
        [% IF errcode==1 && !op %]<div class="alert">No operation parameter has been passed.</div>[% END %]
37
        [% IF errcode==2 %]<div class="alert">Invalid shelf number.</div>[% END %]
37
        [% IF errcode==2 %]<div class="alert">Invalid shelf number.</div>[% END %]
38
        [% IF errcode==3 %]<div class="alert">The feature of sharing lists is not in use in this library.</div>[% END %]
38
        [% IF errcode==3 %]<div class="alert">The feature of sharing lists is not in use in this library.</div>[% END %]
Lines 50-56 Link Here
50
            <ol>
50
            <ol>
51
            <input type="hidden" name="op" value="conf_invite"/>
51
            <input type="hidden" name="op" value="conf_invite"/>
52
            <input type="hidden" name="shelfnumber" value="[% shelfnumber %]"/>
52
            <input type="hidden" name="shelfnumber" value="[% shelfnumber %]"/>
53
            <li><label for="name">List name:</label> [% shelfname | html %]</li>
53
            <li><label for="name">List name:</label> [% shelfname %]</li>
54
            <li>
54
            <li>
55
                <label for="invite_address">Email address:</label>
55
                <label for="invite_address">Email address:</label>
56
                <input id="invite_address" name="invite_address" size="40" />
56
                <input id="invite_address" name="invite_address" size="40" />
Lines 67-73 Link Here
67
    [% ELSIF op=='conf_invite' %]
67
    [% ELSIF op=='conf_invite' %]
68
        <div id="conf_invite">
68
        <div id="conf_invite">
69
        [% IF approvedaddress %]
69
        [% IF approvedaddress %]
70
        <p>An invitation to share list <i>[% shelfname | html %]</i> will be sent shortly to [% approvedaddress %].</p>
70
        <p>An invitation to share list <i>[% shelfname %]</i> will be sent shortly to [% approvedaddress %].</p>
71
        [% END %]
71
        [% END %]
72
        [% IF failaddress %]
72
        [% IF failaddress %]
73
            <p>Something went wrong while processing the following addresses. Please check them. These are: [% failaddress %]</p>
73
            <p>Something went wrong while processing the following addresses. Please check them. These are: [% failaddress %]</p>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves-rss.tt (-4 / +4 lines)
Lines 3-18 Link Here
3
<rss version="2.0">
3
<rss version="2.0">
4
4
5
<channel>
5
<channel>
6
 <title>[% shelf.shelfname | html %]</title>
6
 <title>[% shelf.shelfname %]</title>
7
 <link>[% OPACBaseURL %]/cgi-bin/koha/opac-shelves.pl?rss=1&amp;viewshelf=[% shelf.shelfnumber %]</link>
7
 <link>[% OPACBaseURL %]/cgi-bin/koha/opac-shelves.pl?rss=1&amp;viewshelf=[% shelf.shelfnumber %]</link>
8
 <description>RSS feed for public list [% shelf.shelfname | html %]</description>
8
 <description>RSS feed for public list [% shelf.shelfname %]</description>
9
9
10
[% FOREACH i IN itemsloop %]
10
[% FOREACH i IN itemsloop %]
11
 <item>
11
 <item>
12
  <title>
12
  <title>
13
    [% i.title | html %]
13
    [% i.title %]
14
    [% IF i.author %]
14
    [% IF i.author %]
15
        by [% i.author | html %]
15
        by [% i.author %]
16
    [% END %]
16
    [% END %]
17
  </title>
17
  </title>
18
  <link>[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% i.biblionumber %]</link>
18
  <link>[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% i.biblionumber %]</link>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt (-38 / +37 lines)
Lines 5-11 Link Here
5
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && Koha.Preference('TagsInputOnList') ) %]
5
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && Koha.Preference('TagsInputOnList') ) %]
6
6
7
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
8
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo;   [% IF op == 'view' %]Contents of [% shelf.shelfname |html %][% ELSE %]Your lists[% END %]</title>[% INCLUDE 'doc-head-close.inc' %]
8
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo;   [% IF op == 'view' %]Contents of [% shelf.shelfname %][% ELSE %]Your lists[% END %]</title>[% INCLUDE 'doc-head-close.inc' %]
9
[% BLOCK cssinclude %][% END %]
9
[% BLOCK cssinclude %][% END %]
10
</head>
10
</head>
11
[% IF ( loggedinusername ) %][% INCLUDE 'bodytag.inc' bodyid='opac-userlists' bodyclass='scrollto' %][% ELSE %][% INCLUDE 'bodytag.inc' bodyid='opac-lists' bodyclass='scrollto' %][% END %]
11
[% IF ( loggedinusername ) %][% INCLUDE 'bodytag.inc' bodyid='opac-userlists' bodyclass='scrollto' %][% ELSE %][% INCLUDE 'bodytag.inc' bodyid='opac-lists' bodyclass='scrollto' %][% END %]
Lines 66-72 Link Here
66
        [% END %]
66
        [% END %]
67
67
68
        [% IF op == 'view' %]
68
        [% IF op == 'view' %]
69
            <li><span class="divider">&rsaquo;</span> Contents of <i>[% shelf.shelfname | html %]</i></li>
69
            <li><span class="divider">&rsaquo;</span> Contents of <i>[% shelf.shelfname %]</i></li>
70
        [% END %]
70
        [% END %]
71
71
72
        [% IF op == 'add_form' %]
72
        [% IF op == 'add_form' %]
Lines 74-80 Link Here
74
        [% END %]
74
        [% END %]
75
75
76
        [% IF op == 'edit_form' %]
76
        [% IF op == 'edit_form' %]
77
            <li><span class="divider">&rsaquo;</span> Edit list <i>[% shelf.shelfname | html %]</i></li>
77
            <li><span class="divider">&rsaquo;</span> Edit list <i>[% shelf.shelfname %]</i></li>
78
        [% END %]
78
        [% END %]
79
79
80
    </ul> <!-- / .breadcrumb -->
80
    </ul> <!-- / .breadcrumb -->
Lines 155-174 Link Here
155
155
156
                    [% IF shelf AND op == 'view' %]
156
                    [% IF shelf AND op == 'view' %]
157
                        <h3>
157
                        <h3>
158
                            [% shelf.shelfname |html %]
158
                            [% shelf.shelfname %]
159
                            <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-shelves.pl?rss=1&amp;op=view&amp;shelfnumber=[% shelf.shelfnumber %]" class="rss-list-link noprint">
159
                            <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-shelves.pl?rss=1&amp;op=view&amp;shelfnumber=[% shelf.shelfnumber %]" class="rss-list-link noprint">
160
                                <img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png" alt="Subscribe to this list" title="Subscribe to this list" border="0" class="rsssearchicon"/>
160
                                <img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png" alt="Subscribe to this list" title="Subscribe to this list" border="0" class="rsssearchicon"/>
161
                            </a>
161
                            </a>
162
                        </h3>
162
                        </h3>
163
163
164
                        [% IF ( itemsloop ) %]
164
                         [% IF ( itemsloop ) %]
165
                            <div id="toolbar" class="toolbar clearfix">
165
                             <div id="toolbar" class="toolbar clearfix">
166
                                <div class="list-actions">
166
                                 <div class="list-actions">
167
                                    <a class="newshelf" href="/cgi-bin/koha/opac-shelves.pl?op=add_form">New list</a> <span class="sep">|</span>
167
                                    <a class="newshelf" href="/cgi-bin/koha/opac-shelves.pl?op=add_form">New list</a> <span class="sep">|</span>
168
                                    <a href="/cgi-bin/koha/opac-downloadshelf.pl?shelfnumber=[% shelf.shelfnumber | html %]" class="download" data-toggle="modal" data-target="#modalWin">Download list</a>
168
                                    <a href="/cgi-bin/koha/opac-downloadshelf.pl?shelfnumber=[% shelf.shelfnumber %]" class="download" data-toggle="modal" data-target="#modalWin">Download list</a>
169
169
170
                                    [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
170
                                    [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
171
                                        <span class="sendlist"><a href="/cgi-bin/koha/opac-sendshelf.pl?shelfid=[% shelf.shelfnumber | html %]" class="send" onclick="open('/cgi-bin/koha/opac-sendshelf.pl?shelfid=[% shelf.shelfnumber | html %]','win_form','scrollbars=no,resizable=no,height=300,width=450,top=50,left=100'); return false; ">Send list</a></span>
171
                                        <span class="sendlist"><a href="/cgi-bin/koha/opac-sendshelf.pl?shelfid=[% shelf.shelfnumber %]" class="send" onclick="open('/cgi-bin/koha/opac-sendshelf.pl?shelfid=[% shelf.shelfnumber %]','win_form','scrollbars=no,resizable=no,height=300,width=450,top=50,left=100'); return false; ">Send list</a></span>
172
                                    [% END %]
172
                                    [% END %]
173
173
174
                                    <a class="print-small" target="_blank" href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=[% shelf.shelfnumber %]&sortfield=[% sortfield %]&direction=[% direction |uri %]&print=1">Print list</a>
174
                                    <a class="print-small" target="_blank" href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=[% shelf.shelfnumber %]&sortfield=[% sortfield %]&direction=[% direction |uri %]&print=1">Print list</a>
Lines 179-185 Link Here
179
                                            <input type="hidden" name="op" value="edit_form" />
179
                                            <input type="hidden" name="op" value="edit_form" />
180
                                            <input type="hidden" name="referer" value="view" />
180
                                            <input type="hidden" name="referer" value="view" />
181
                                            <input type='hidden' name='category' value='[% category %]' />
181
                                            <input type='hidden' name='category' value='[% category %]' />
182
                                            <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" />
182
                                            <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" />
183
                                            <input type="submit" class="editshelf" value="Edit list" />
183
                                            <input type="submit" class="editshelf" value="Edit list" />
184
                                        </form>
184
                                        </form>
185
185
Lines 187-204 Link Here
187
                                            <input type="hidden" name="op" value="delete" />
187
                                            <input type="hidden" name="op" value="delete" />
188
                                            <input type="hidden" name="referer" value="list" />
188
                                            <input type="hidden" name="referer" value="list" />
189
                                            <input type='hidden' name='category' value='[% category %]' />
189
                                            <input type='hidden' name='category' value='[% category %]' />
190
                                            <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" />
190
                                            <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" />
191
                                            <input type="submit" class="deleteshelf" value="Delete list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);"/>
191
                                            <input type="submit" class="deleteshelf" value="Delete list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);"/>
192
                                        </form>
192
                                        </form>
193
                                        [% IF category == PRIVATE && Koha.Preference('OpacAllowSharingPrivateLists') %]
193
                                        [% IF category == PRIVATE && Koha.Preference('OpacAllowSharingPrivateLists') %]
194
                                            <a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% shelf.shelfnumber | html %]" class="">Share list</a>
194
                                            <a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% shelf.shelfnumber %]" class="">Share list</a>
195
                                        [% END %]
195
                                        [% END %]
196
                                    [% ELSIF category == PRIVATE # not manageshelf and private means shared %]
196
                                    [% ELSIF category == PRIVATE # not manageshelf and private means shared %]
197
                                        <form action="/cgi-bin/koha/opac-shelves.pl" method="post" class="form-inline">
197
                                        <form action="/cgi-bin/koha/opac-shelves.pl" method="post" class="form-inline">
198
                                            <input type="hidden" name="op" value="remove_share" />
198
                                            <input type="hidden" name="op" value="remove_share" />
199
                                            <input type="hidden" name="referer" value="list" />
199
                                            <input type="hidden" name="referer" value="list" />
200
                                            <input type='hidden' name='category' value='[% category %]' />
200
                                            <input type='hidden' name='category' value='[% category %]' />
201
                                            <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" />
201
                                            <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" />
202
                                            <input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_REMOVE_SHARE);" value="Remove share" />
202
                                            <input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_REMOVE_SHARE);" value="Remove share" />
203
                                        </form>
203
                                        </form>
204
                                    [% END %]
204
                                    [% END %]
Lines 206-212 Link Here
206
206
207
                                <form action="/cgi-bin/koha/opac-shelves.pl" id="sorting-form" class="form-inline sort_by pull-right">
207
                                <form action="/cgi-bin/koha/opac-shelves.pl" id="sorting-form" class="form-inline sort_by pull-right">
208
                                    <input type="hidden" name="op" value="view" />
208
                                    <input type="hidden" name="op" value="view" />
209
                                    <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" />
209
                                    <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" />
210
210
211
                                    <label for="sortfield">Sort by: </label>
211
                                    <label for="sortfield">Sort by: </label>
212
                                    <select name="sortfield" id="sortfield" class="resort" onchange="$('#sorting-form').submit()">
212
                                    <select name="sortfield" id="sortfield" class="resort" onchange="$('#sorting-form').submit()">
Lines 283-289 Link Here
283
                            <form action="/cgi-bin/koha/opac-shelves.pl" method="post" id="myform" name="myform" class="checkboxed">
283
                            <form action="/cgi-bin/koha/opac-shelves.pl" method="post" id="myform" name="myform" class="checkboxed">
284
                                [% IF can_manage_shelf %]
284
                                [% IF can_manage_shelf %]
285
                                    <input type="hidden" name="op" value="remove_biblios" />
285
                                    <input type="hidden" name="op" value="remove_biblios" />
286
                                    <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" />
286
                                    <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" />
287
                                [% END %]
287
                                [% END %]
288
                                <div class="searchresults">
288
                                <div class="searchresults">
289
                                    <table id="listcontents" class="table">
289
                                    <table id="listcontents" class="table">
Lines 342-355 Link Here
342
                                                        [% IF ( BakerTaylorEnabled ) %]
342
                                                        [% IF ( BakerTaylorEnabled ) %]
343
                                                            [% bt_id = ( itemsloo.normalized_upc || itemsloo.normalized_isbn ) %]
343
                                                            [% bt_id = ( itemsloo.normalized_upc || itemsloo.normalized_isbn ) %]
344
                                                            [% IF ( bt_id ) %]
344
                                                            [% IF ( bt_id ) %]
345
                                                                <a href="https://[% BakerTaylorBookstoreURL |html %][% bt_id %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" /></a>
345
                                                                <a href="https://[% BakerTaylorBookstoreURL %][% bt_id %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL %][% bt_id %]" /></a>
346
                                                            [% ELSE %]
346
                                                            [% ELSE %]
347
                                                                <span class="no-image">No cover image available</span>
347
                                                                <span class="no-image">No cover image available</span>
348
                                                            [% END %]
348
                                                            [% END %]
349
                                                        [% END %]
349
                                                        [% END %]
350
                                                    </div>
350
                                                    </div>
351
                                                    [% IF ( itemsloo.XSLTBloc ) %]
351
                                                    [% IF ( itemsloo.XSLTBloc ) %]
352
                                                        [% itemsloo.XSLTBloc %]
352
                                                        [% itemsloo.XSLTBloc.raw %]
353
                                                    [% ELSE %]
353
                                                    [% ELSE %]
354
354
355
                                                        [% IF ( itemsloo.BiblioDefaultViewmarc ) %]
355
                                                        [% IF ( itemsloo.BiblioDefaultViewmarc ) %]
Lines 363-375 Link Here
363
                                                        [% END %]
363
                                                        [% END %]
364
364
365
                                                        [% IF ( itemsloo.title ) %]
365
                                                        [% IF ( itemsloo.title ) %]
366
                                                            [% itemsloo.title |html %]
366
                                                            [% itemsloo.title %]
367
                                                        [% ELSE %]
367
                                                        [% ELSE %]
368
                                                            No title
368
                                                            No title
369
                                                        [% END %]
369
                                                        [% END %]
370
370
371
                                                        [% FOREACH subtitl IN itemsloo.subtitle %]
371
                                                        [% FOREACH subtitl IN itemsloo.subtitle %]
372
                                                            [% subtitl.subfield|html %]
372
                                                            [% subtitl.subfield %]
373
                                                        [% END %]
373
                                                        [% END %]
374
                                                        </a>
374
                                                        </a>
375
375
Lines 385-391 Link Here
385
                                                                [% itemsloo.place %]
385
                                                                [% itemsloo.place %]
386
                                                            [% END %]
386
                                                            [% END %]
387
                                                            [% IF ( itemsloo.publishercode ) %]
387
                                                            [% IF ( itemsloo.publishercode ) %]
388
                                                                [% itemsloo.publishercode|html %]
388
                                                                [% itemsloo.publishercode %]
389
                                                            [% END %]
389
                                                            [% END %]
390
                                                            [% IF ( itemsloo.publicationyear ) %]
390
                                                            [% IF ( itemsloo.publicationyear ) %]
391
                                                                [% itemsloo.publicationyear %]
391
                                                                [% itemsloo.publicationyear %]
Lines 395-401 Link Here
395
                                                                [% END %]
395
                                                                [% END %]
396
                                                            [% END %]
396
                                                            [% END %]
397
                                                            [% IF ( itemsloo.pages ) %]. [% itemsloo.pages %][% END %]
397
                                                            [% IF ( itemsloo.pages ) %]. [% itemsloo.pages %][% END %]
398
                                                            [% IF ( itemsloo.notes ) %], [% itemsloo.notes|html %][% END %]
398
                                                            [% IF ( itemsloo.notes ) %], [% itemsloo.notes %][% END %]
399
                                                            [% IF ( itemsloo.item('size') ) %] [% itemsloo.item('size') %][% END %]
399
                                                            [% IF ( itemsloo.item('size') ) %] [% itemsloo.item('size') %][% END %]
400
                                                        </span>
400
                                                        </span>
401
                                                        <span class="results_summary">
401
                                                        <span class="results_summary">
Lines 488-494 Link Here
488
                                </div><!-- / .searchresults -->
488
                                </div><!-- / .searchresults -->
489
489
490
                            [% IF ( pagination_bar ) %]
490
                            [% IF ( pagination_bar ) %]
491
                                <div class="pages">[% pagination_bar %]</div>
491
                                <div class="pages">[% pagination_bar.raw %]</div>
492
                            [% END %]
492
                            [% END %]
493
493
494
                        [% ELSE %]
494
                        [% ELSE %]
Lines 501-513 Link Here
501
                                            <input type="hidden" name="op" value="edit_form" />
501
                                            <input type="hidden" name="op" value="edit_form" />
502
                                            <input type="hidden" name="referer" value="view" />
502
                                            <input type="hidden" name="referer" value="view" />
503
                                            <input type="hidden" name="category" value="category" />
503
                                            <input type="hidden" name="category" value="category" />
504
                                            <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" />
504
                                            <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" />
505
                                            <input type="submit" class="editshelf" value="Edit list" />
505
                                            <input type="submit" class="editshelf" value="Edit list" />
506
                                        </form>
506
                                        </form>
507
507
508
                                        <form method="post" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline">
508
                                        <form method="post" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline">
509
                                            <input type="hidden" name="op" value="delete" />
509
                                            <input type="hidden" name="op" value="delete" />
510
                                            <input type="hidden" name="shelfnumber" value="[% shelfnumber | html  %]"/>
510
                                            <input type="hidden" name="shelfnumber" value="[% shelfnumber %]"/>
511
                                            <input type="hidden" name="category" value="category" />
511
                                            <input type="hidden" name="category" value="category" />
512
                                            <input type="submit" class="deleteshelf" value="Delete list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);"/>
512
                                            <input type="submit" class="deleteshelf" value="Delete list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);"/>
513
                                        </form>
513
                                        </form>
Lines 522-532 Link Here
522
                                [% END %]
522
                                [% END %]
523
                            </div>
523
                            </div>
524
                        [% END # / IF itemsloop %]
524
                        [% END # / IF itemsloop %]
525
                    [% END %]
525
                      [% END %]
526
527
                    [% IF itemsloop && can_remove_biblios %]
526
                    [% IF itemsloop && can_remove_biblios %]
528
                        <input type="hidden" name="op" value="remove_biblios" />
527
                        <input type="hidden" name="op" value="remove_biblios" />
529
                        <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" />
528
                        <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" />
530
                        <input type="hidden" name="modifyshelfcontents" value="1" />
529
                        <input type="hidden" name="modifyshelfcontents" value="1" />
531
                        <input type="submit" value="Remove selected items" id="remove-selected" class="btn btn-danger"/>
530
                        <input type="submit" value="Remove selected items" id="remove-selected" class="btn btn-danger"/>
532
                        </form>
531
                        </form>
Lines 534-540 Link Here
534
                        <form method="post" action="opac-shelves.pl">
533
                        <form method="post" action="opac-shelves.pl">
535
                        <input type="hidden" name="op" value="delete" />
534
                        <input type="hidden" name="op" value="delete" />
536
                        <input type="hidden" name="referer" value="list" />
535
                        <input type="hidden" name="referer" value="list" />
537
                        <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html  %]"/>
536
                        <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]"/>
538
                        <input type="submit" class="btn btn-danger" value="Delete this list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST)" />
537
                        <input type="submit" class="btn btn-danger" value="Delete this list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST)" />
539
                        </form>
538
                        </form>
540
                    [% END %]
539
                    [% END %]
Lines 547-562 Link Here
547
                                    <legend>Create a new list</legend>
546
                                    <legend>Create a new list</legend>
548
                                    <input type="hidden" name="op" value="add" />
547
                                    <input type="hidden" name="op" value="add" />
549
                                [% ELSE %]
548
                                [% ELSE %]
550
                                    <legend>Editing <em>[% shelf.shelfname |html %]</em></legend>
549
                                    <legend>Editing <em>[% shelf.shelfname %]</em></legend>
551
                                    <input type="hidden" name="op" value="edit" />
550
                                    <input type="hidden" name="op" value="edit" />
552
                                    <input type="hidden" name="referer" value="[% referer | html %]" />
551
                                    <input type="hidden" name="referer" value="[% referer %]" />
553
                                    <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" />
552
                                    <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" />
554
                                [% END %]
553
                                [% END %]
555
                                <input type="hidden" name="owner" id="owner" value="[% loggedinusernumber %]" />
554
                                <input type="hidden" name="owner" id="owner" value="[% loggedinusernumber %]" />
556
                                <ol>
555
                                <ol>
557
                                    <li>
556
                                    <li>
558
                                        <label class="required" for="shelfname">List name: </label>
557
                                        <label class="required" for="shelfname">List name: </label>
559
                                        <input type="text" id="shelfname" name="shelfname" maxlength="255" value="[% shelf.shelfname |html %]" /></li>
558
                                        <input type="text" id="shelfname" name="shelfname" maxlength="255" value="[% shelf.shelfname %]" /></li>
560
                                    <li>
559
                                    <li>
561
                                        <label for="sortfield" >Sort this list by: </label>
560
                                        <label for="sortfield" >Sort this list by: </label>
562
                                        <select name="sortfield" id="sortfield">
561
                                        <select name="sortfield" id="sortfield">
Lines 666-672 Link Here
666
                                        [% FOREACH s IN shelves %]
665
                                        [% FOREACH s IN shelves %]
667
                                            [% SET contents = s.get_contents %]
666
                                            [% SET contents = s.get_contents %]
668
                                            <tr>
667
                                            <tr>
669
                                                <td><a href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=[% s.shelfnumber %]">[% s.shelfname |html %]</a></td>
668
                                                <td><a href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=[% s.shelfnumber %]">[% s.shelfname %]</a></td>
670
                                                <td>[% IF contents.count %][% contents.count %] [% IF contents.count == 1 %]item[% ELSE %]items[% END %][% ELSE %]Empty[% END %]</td>
669
                                                <td>[% IF contents.count %][% contents.count %] [% IF contents.count == 1 %]item[% ELSE %]items[% END %][% ELSE %]Empty[% END %]</td>
671
                                                <td>
670
                                                <td>
672
                                                    [% IF s.category == PRIVATE %]
671
                                                    [% IF s.category == PRIVATE %]
Lines 678-684 Link Here
678
                                                <td>
677
                                                <td>
679
                                                    [% IF s.can_be_managed( loggedinusernumber ) %]
678
                                                    [% IF s.can_be_managed( loggedinusernumber ) %]
680
                                                        <form action="/cgi-bin/koha/opac-shelves.pl" method="get" class="form-inline">
679
                                                        <form action="/cgi-bin/koha/opac-shelves.pl" method="get" class="form-inline">
681
                                                            <input type="hidden" name="shelfnumber" value="[% s.shelfnumber |html %]" />
680
                                                            <input type="hidden" name="shelfnumber" value="[% s.shelfnumber %]" />
682
                                                            <input type="hidden" name="category" value="[% s.category %]" />
681
                                                            <input type="hidden" name="category" value="[% s.category %]" />
683
                                                            <input type="hidden" name="op" value="edit_form" />
682
                                                            <input type="hidden" name="op" value="edit_form" />
684
                                                            <input type="hidden" name="referer" value="list" />
683
                                                            <input type="hidden" name="referer" value="list" />
Lines 690-708 Link Here
690
                                                            <input type="hidden" name="op" value="delete" />
689
                                                            <input type="hidden" name="op" value="delete" />
691
                                                            <input type="hidden" name="referer" value="list" />
690
                                                            <input type="hidden" name="referer" value="list" />
692
                                                            <input type='hidden' name='category' value='[% category %]' />
691
                                                            <input type='hidden' name='category' value='[% category %]' />
693
                                                            <input type="hidden" name="shelfnumber" value="[% s.shelfnumber | html %]" />
692
                                                            <input type="hidden" name="shelfnumber" value="[% s.shelfnumber %]" />
694
                                                            <input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);" value="Delete" />
693
                                                            <input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);" value="Delete" />
695
                                                        </form>
694
                                                        </form>
696
                                                    [% END %]
695
                                                    [% END %]
697
                                                    [% IF s.category == PRIVATE AND s.can_be_managed( loggedinusernumber ) AND Koha.Preference('OpacAllowSharingPrivateLists') %]
696
                                                    [% IF s.category == PRIVATE AND s.can_be_managed( loggedinusernumber ) AND Koha.Preference('OpacAllowSharingPrivateLists') %]
698
                                                        <a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% s.shelfnumber |html %]" class="">Share</a>
697
                                                        <a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% s.shelfnumber %]" class="">Share</a>
699
                                                    [% END %]
698
                                                    [% END %]
700
                                                    [% IF s.is_shared_with( loggedinusernumber ) %]
699
                                                    [% IF s.is_shared_with( loggedinusernumber ) %]
701
                                                        <form action="opac-shelves.pl" method="post" class="form-inline">
700
                                                        <form action="opac-shelves.pl" method="post" class="form-inline">
702
                                                            <input type="hidden" name="op" value="remove_share" />
701
                                                            <input type="hidden" name="op" value="remove_share" />
703
                                                            <input type="hidden" name="referer" value="list" />
702
                                                            <input type="hidden" name="referer" value="list" />
704
                                                            <input type='hidden' name='category' value='[% category %]' />
703
                                                            <input type='hidden' name='category' value='[% category %]' />
705
                                                            <input type="hidden" name="shelfnumber" value="[% s.shelfnumber | html %]" />
704
                                                            <input type="hidden" name="shelfnumber" value="[% s.shelfnumber %]" />
706
                                                            <input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_REMOVE_SHARE);" value="Remove share" />
705
                                                            <input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_REMOVE_SHARE);" value="Remove share" />
707
                                                        </form>
706
                                                        </form>
708
                                                    [% END %]&nbsp;
707
                                                    [% END %]&nbsp;
Lines 711-717 Link Here
711
                                        [% END %]
710
                                        [% END %]
712
                                    </tbody>
711
                                    </tbody>
713
                                </table>
712
                                </table>
714
                                <div class="pages">[% pagination_bar %]</div>
713
                                <div class="pages">[% pagination_bar.raw %]</div>
715
                            [% ELSE %]
714
                            [% ELSE %]
716
                                [% IF category == PUBLIC %]
715
                                [% IF category == PUBLIC %]
717
                                    <p>No public lists.</p>
716
                                    <p>No public lists.</p>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews-rss.tt (-10 / +10 lines)
Lines 8-14 Link Here
8
     <lastBuildDate>[% timestamp %]</lastBuildDate>
8
     <lastBuildDate>[% timestamp %]</lastBuildDate>
9
	 [% FOREACH review IN reviews %]
9
	 [% FOREACH review IN reviews %]
10
     <item>
10
     <item>
11
       <title>New comment on [% review.title |html %] [% FOREACH subtitl IN review.subtitle %], [% subtitl.subfield |html %][% END %]</title>
11
       <title>New comment on [% review.title %] [% FOREACH subtitl IN review.subtitle %], [% subtitl.subfield %][% END %]</title>
12
       <link>[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber %]#comments</link>
12
       <link>[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber %]#comments</link>
13
       <description><![CDATA[
13
       <description><![CDATA[
14
[% IF ( OPACAmazonCoverImages ) %][% IF ( review.normalized_isbn ) %]<img src="https://images-na.ssl-images-amazon.com/images/P/[% review.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" />[% END %][% END %]
14
[% IF ( OPACAmazonCoverImages ) %][% IF ( review.normalized_isbn ) %]<img src="https://images-na.ssl-images-amazon.com/images/P/[% review.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" />[% END %][% END %]
Lines 19-33 Link Here
19
[% END %][% END %][% END %][% END %]
19
[% END %][% END %][% END %][% END %]
20
20
21
[% bt_id = ( review.normalized_upc || review.normalized_isbn ) %]
21
[% bt_id = ( review.normalized_upc || review.normalized_isbn ) %]
22
[% IF ( BakerTaylorEnabled && bt_id ) %]<a href="https://[% BakerTaylorBookstoreURL |html %][% bt_id %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" /></a>[% END %]
22
[% IF ( BakerTaylorEnabled && bt_id ) %]<a href="https://[% BakerTaylorBookstoreURL %][% bt_id %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL %][% bt_id %]" /></a>[% END %]
23
	   [% IF ( review.author ) %]<p>By [% review.author |html %].</p> [% END %]
23
        [% IF ( review.author ) %]<p>By [% review.author %].</p> [% END %]
24
	   <p>[% IF ( review.place ) %][% review.place |html %] [% END %][% IF ( review.publishercode ) %][% review.publishercode |html %][% END %][% IF ( review.publicationyear ) %] [% review.publicationyear |html %]
24
        <p>[% IF ( review.place ) %][% review.place %] [% END %][% IF ( review.publishercode ) %][% review.publishercode %][% END %][% IF ( review.publicationyear ) %] [% review.publicationyear %]
25
                    [% ELSE %][% IF ( review.copyrightdate ) %] [% review.copyrightdate |html %][% END %][% END %]
25
                    [% ELSE %][% IF ( review.copyrightdate ) %] [% review.copyrightdate %][% END %][% END %]
26
                        [% IF ( review.pages ) %]. [% review.pages |html %][% END %]
26
                        [% IF ( review.pages ) %]. [% review.pages %][% END %]
27
                        [% IF ( review.notes ) %], [% review.notes |html %][% END %]
27
                        [% IF ( review.notes ) %], [% review.notes %][% END %]
28
                        [% IF ( review.size ) %] [% review.size |html %]. [% END %]
28
                        [% IF ( review.size ) %] [% review.size %]. [% END %]
29
                        [% IF ( review.isbn ) %] [% review.isbn |html %][% END %] </p>
29
                        [% IF ( review.isbn ) %] [% review.isbn %][% END %] </p>
30
<p>[% IF ( review.borrowernumber && ShowReviewer ) %][% review.firstname %] [% review.surname %] commented[% ELSE %]Comment[% END %] on [% review.datereviewed | $KohaDates %]: [% review.review |html %]</p>
30
<p>[% IF ( review.borrowernumber && ShowReviewer ) %][% review.firstname %] [% review.surname %] commented[% ELSE %]Comment[% END %] on [% review.datereviewed | $KohaDates %]: [% review.review %]</p>
31
						]]></description>
31
						]]></description>
32
       <guid>[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber %]&amp;reviewid=[% review.reviewid %]</guid>
32
       <guid>[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber %]&amp;reviewid=[% review.reviewid %]</guid>
33
       <pubDate>[% review.timestamp %]</pubDate>
33
       <pubDate>[% review.timestamp %]</pubDate>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews.tt (-3 / +3 lines)
Lines 45-51 Link Here
45
                                                [% END %]
45
                                                [% END %]
46
                                            [% END %]
46
                                            [% END %]
47
                                            [% IF ( review.title ) %][% review.title %][% ELSE %]No title[% END %]
47
                                            [% IF ( review.title ) %][% review.title %][% ELSE %]No title[% END %]
48
                                            [% FOREACH subtitl IN review.subtitle %] [% subtitl.subfield |html %][% END %]
48
                                            [% FOREACH subtitl IN review.subtitle %] [% subtitl.subfield %][% END %]
49
                                            </a>
49
                                            </a>
50
                                            [% IF ( review.author ) %]
50
                                            [% IF ( review.author ) %]
51
                                                by <a href="/cgi-bin/koha/opac-search.pl?q=au:[% review.author |url %]" title="Search for works by this author" class="author">[% review.author %]</a>
51
                                                by <a href="/cgi-bin/koha/opac-search.pl?q=au:[% review.author |url %]" title="Search for works by this author" class="author">[% review.author %]</a>
Lines 84-90 Link Here
84
                                                <img class="avatar" src="[% review.avatarurl %]" height="40" width="40" alt="" />
84
                                                <img class="avatar" src="[% review.avatarurl %]" height="40" width="40" alt="" />
85
                                            [% END %]
85
                                            [% END %]
86
                                            [% FILTER html_break %]
86
                                            [% FILTER html_break %]
87
                                                [% review.review |html %]
87
                                                [% review.review %]
88
                                            [% END %]
88
                                            [% END %]
89
                                        <span style="font-size:87%;font-color:#CCC;">Added [% review.datereviewed | $KohaDates %] [% IF ( review.your_comment ) %] by <strong>you</strong>[% ELSE %]
89
                                        <span style="font-size:87%;font-color:#CCC;">Added [% review.datereviewed | $KohaDates %] [% IF ( review.your_comment ) %] by <strong>you</strong>[% ELSE %]
90
                                        [% IF ( review.borrowernumber && ShowReviewer != "none" ) %] by
90
                                        [% IF ( review.borrowernumber && ShowReviewer != "none" ) %] by
Lines 140-146 Link Here
140
                                        [% bt_id = ( review.normalized_upc || review.normalized_isbn ) %]
140
                                        [% bt_id = ( review.normalized_upc || review.normalized_isbn ) %]
141
                                        [% IF ( BakerTaylorEnabled ) %]
141
                                        [% IF ( BakerTaylorEnabled ) %]
142
                                            [% IF ( bt_id ) %]
142
                                            [% IF ( bt_id ) %]
143
                                                <a href="https://[% review.BakerTaylorBookstoreURL |html %][% bt_id %]"><img alt="See Baker &amp; Taylor" src="[% review.BakerTaylorImageURL |html %][% bt_id %]" /></a>
143
                                                <a href="https://[% review.BakerTaylorBookstoreURL %][% bt_id %]"><img alt="See Baker &amp; Taylor" src="[% review.BakerTaylorImageURL %][% bt_id %]" /></a>
144
                                            [% ELSE %]
144
                                            [% ELSE %]
145
                                                <span class="no-image">No cover image available</span>
145
                                                <span class="no-image">No cover image available</span>
146
                                            [% END %]
146
                                            [% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt (-9 / +9 lines)
Lines 127-133 Link Here
127
                                <form action="/cgi-bin/koha/opac-suggestions.pl" class="form-inline" method="get">
127
                                <form action="/cgi-bin/koha/opac-suggestions.pl" class="form-inline" method="get">
128
                                    <fieldset>
128
                                    <fieldset>
129
                                        <label for="title">Search for:</label>
129
                                        <label for="title">Search for:</label>
130
                                        <input type="text" name="title" id="title" value="[% title |html %]" />
130
                                        <input type="text" name="title" id="title" value="[% title %]" />
131
                                        [% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %]
131
                                        [% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %]
132
                                            [% IF loggedinusername %]
132
                                            [% IF loggedinusername %]
133
                                                <label for="suggested_by_anyone">Suggested by:</label>
133
                                                <label for="suggested_by_anyone">Suggested by:</label>
Lines 190-201 Link Here
190
                                                        </td>
190
                                                        </td>
191
                                                    [% END %]
191
                                                    [% END %]
192
                                                    <td>
192
                                                    <td>
193
                                                        <p><strong>[% suggestions_loo.title |html %]</strong></p>
193
                                                        <p><strong>[% suggestions_loo.title %]</strong></p>
194
                                                            <p>[% IF ( suggestions_loo.author ) %][% suggestions_loo.author |html %],[% END %]
194
                                                            <p>[% IF ( suggestions_loo.author ) %][% suggestions_loo.author %],[% END %]
195
                                                                [% IF ( suggestions_loo.copyrightdate ) %] - [% suggestions_loo.copyrightdate |html %],[% END %]
195
                                                                [% IF ( suggestions_loo.copyrightdate ) %] - [% suggestions_loo.copyrightdate %],[% END %]
196
                                                                [% IF ( suggestions_loo.publishercode ) %] - [% suggestions_loo.publishercode |html %][% END %]
196
                                                                [% IF ( suggestions_loo.publishercode ) %] - [% suggestions_loo.publishercode %][% END %]
197
                                                                [% IF ( suggestions_loo.place ) %]([% suggestions_loo.place |html %])[% END %]
197
                                                                [% IF ( suggestions_loo.place ) %]([% suggestions_loo.place %])[% END %]
198
                                                                [% IF ( suggestions_loo.collectiontitle ) %] , [% suggestions_loo.collectiontitle |html %][% END %]
198
                                                                [% IF ( suggestions_loo.collectiontitle ) %] , [% suggestions_loo.collectiontitle %][% END %]
199
                                                                [% IF ( suggestions_loo.itemtype ) %] - [% AuthorisedValues.GetByCode( 'SUGGEST_FORMAT', suggestions_loo.itemtype, 1 ) %][% END %]
199
                                                                [% IF ( suggestions_loo.itemtype ) %] - [% AuthorisedValues.GetByCode( 'SUGGEST_FORMAT', suggestions_loo.itemtype, 1 ) %][% END %]
200
                                                        </p>
200
                                                        </p>
201
                                                    </td>
201
                                                    </td>
Lines 205-211 Link Here
205
                                                    <td>
205
                                                    <td>
206
                                                        [% IF ( suggestions_loo.note ) %]
206
                                                        [% IF ( suggestions_loo.note ) %]
207
                                                            <span class="tdlabel">Note: </span>
207
                                                            <span class="tdlabel">Note: </span>
208
                                                            [% suggestions_loo.note |html %]
208
                                                            [% suggestions_loo.note %]
209
                                                        [% END %]
209
                                                        [% END %]
210
                                                    </td>
210
                                                    </td>
211
                                                    [% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %]
211
                                                    [% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %]
Lines 235-241 Link Here
235
                                                        [% ELSIF ( suggestions_loo.REJECTED ) %]Suggestion declined
235
                                                        [% ELSIF ( suggestions_loo.REJECTED ) %]Suggestion declined
236
                                                        [% ELSIF ( suggestions_loo.AVAILABLE ) %]Available in the library
236
                                                        [% ELSIF ( suggestions_loo.AVAILABLE ) %]Available in the library
237
                                                        [% ELSE %] [% AuthorisedValues.GetByCode( 'SUGGEST_STATUS', suggestions_loo.STATUS, 1 ) %] [% END %]
237
                                                        [% ELSE %] [% AuthorisedValues.GetByCode( 'SUGGEST_STATUS', suggestions_loo.STATUS, 1 ) %] [% END %]
238
                                                        [% IF ( suggestions_loo.reason ) %]([% suggestions_loo.reason |html %])[% END %]
238
                                                        [% IF ( suggestions_loo.reason ) %]([% suggestions_loo.reason %])[% END %]
239
                                                    </td>
239
                                                    </td>
240
                                                </tr>
240
                                                </tr>
241
                                            [% END # / FOREACH suggestions_loo %]
241
                                            [% END # / FOREACH suggestions_loo %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-tags.tt (-7 / +6 lines)
Lines 97-103 Link Here
97
                            <div id="tagcloud">
97
                            <div id="tagcloud">
98
                                [% FOREACH TAGLOO IN TAGLOOP %]
98
                                [% FOREACH TAGLOO IN TAGLOOP %]
99
                                    <span class="tag tagweight[% TAGLOO.stratum %]" id="tag[% loop.count %]" style="display:inline;">
99
                                    <span class="tag tagweight[% TAGLOO.stratum %]" id="tag[% loop.count %]" style="display:inline;">
100
                                    <a href="/cgi-bin/koha/opac-search.pl?tag=[% TAGLOO.term |url %]&amp;q=[% TAGLOO.term |url %]">[% TAGLOO.term |html %]</a>
100
                                    <a href="/cgi-bin/koha/opac-search.pl?tag=[% TAGLOO.term |url %]&amp;q=[% TAGLOO.term |url %]">[% TAGLOO.term %]</a>
101
                                    <span class="tagweight">[% TAGLOO.weight_total %]</span>
101
                                    <span class="tagweight">[% TAGLOO.weight_total %]</span>
102
                                    </span>
102
                                    </span>
103
                                [% END %]
103
                                [% END %]
Lines 123-144 Link Here
123
                                            <td class="tagterm">
123
                                            <td class="tagterm">
124
                                                <span class="tdlabel">Tag:</span>
124
                                                <span class="tdlabel">Tag:</span>
125
                                                [% IF MY_TAG.approved == 1 %]
125
                                                [% IF MY_TAG.approved == 1 %]
126
                                                    <a href="/cgi-bin/koha/opac-search.pl?tag=[% MY_TAG.term |url %]&amp;q=[% MY_TAG.term |url %]">[% MY_TAG.term |html %]</a>
126
                                                    <a href="/cgi-bin/koha/opac-search.pl?tag=[% MY_TAG.term |url %]&amp;q=[% MY_TAG.term |url %]">[% MY_TAG.term %]</a>
127
                                                [% ELSE %]
127
                                                [% ELSE %]
128
                                                    [% MY_TAG.term |html %] (not approved)
128
                                                    [% MY_TAG.term %] (not approved)
129
                                                [% END %]
129
                                                [% END %]
130
                                            </td>
130
                                            </td>
131
132
                                            <td>
131
                                            <td>
133
                                                [% IF ( MY_TAG.XSLTBloc ) %]
132
                                                [% IF ( MY_TAG.XSLTBloc ) %]
134
                                                    [% MY_TAG.XSLTBloc %]
133
                                                    [% MY_TAG.XSLTBloc.raw %]
135
                                                [% ELSE %]
134
                                                [% ELSE %]
136
                                                    <span class="tdlabel">Title:</span>
135
                                                    <span class="tdlabel">Title:</span>
137
                                                    <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% MY_TAG.biblionumber %]">
136
                                                    <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% MY_TAG.biblionumber %]">
138
                                                        [% MY_TAG.title |html %]
137
                                                        [% MY_TAG.title %]
139
                                                        [% IF ( MY_TAG.subtitle ) %]
138
                                                        [% IF ( MY_TAG.subtitle ) %]
140
                                                            [% FOREACH subtitle IN MY_TAG.subtitle %]
139
                                                            [% FOREACH subtitle IN MY_TAG.subtitle %]
141
                                                                [% subtitle.subfield |html %]
140
                                                                [% subtitle.subfield %]
142
                                                            [% END %]
141
                                                            [% END %]
143
                                                        [% END %]
142
                                                        [% END %]
144
                                                    </a>
143
                                                    </a>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-tags_subject.tt (-1 / +1 lines)
Lines 41-47 Link Here
41
                                    </fieldset>
41
                                    </fieldset>
42
42
43
                                    [% FOREACH LOO IN LOOP %]
43
                                    [% FOREACH LOO IN LOOP %]
44
                                        <a href="/cgi-bin/koha/opac-search.pl?idx=su&amp;q=&quot;[% LOO.entry |html %]&quot;" style="font-size:[% LOO.weight %]px;">[% LOO.entry %]</a>
44
                                        <a href="/cgi-bin/koha/opac-search.pl?idx=su&amp;q=&quot;[% LOO.entry %]&quot;" style="font-size:[% LOO.weight %]px;">[% LOO.entry %]</a>
45
                                    [% END %]
45
                                    [% END %]
46
                                [% ELSE %]
46
                                [% ELSE %]
47
                                    <p>Note: This feature only available to French catalogs where ISBD subjects have been populated, and an index built by separate script.</p>
47
                                    <p>Note: This feature only available to French catalogs where ISBD subjects have been populated, and an index built by separate script.</p>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-topissues.tt (-2 / +2 lines)
Lines 45-51 Link Here
45
                                    [% Branches.GetName( branch ) %]
45
                                    [% Branches.GetName( branch ) %]
46
                                    [% END %]
46
                                    [% END %]
47
                                    [% IF ( timeLimit != 999 ) %]
47
                                    [% IF ( timeLimit != 999 ) %]
48
                                    in the past [% timeLimit |html %] months
48
                                    in the past [% timeLimitFinite %] months
49
                                    [% ELSE %] of all time[% END %]
49
                                    [% ELSE %] of all time[% END %]
50
                                </caption>
50
                                </caption>
51
                                <thead>
51
                                <thead>
Lines 59-65 Link Here
59
                                <tbody>
59
                                <tbody>
60
                                    [% FOREACH result IN results %]
60
                                    [% FOREACH result IN results %]
61
                                        <tr>
61
                                        <tr>
62
                                            <td><a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% result.biblionumber %]">[% result.title |html %]</a><p>[% result.author %]
62
                                            <td><a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% result.biblionumber %]">[% result.title %]</a><p>[% result.author %]
63
                                            [% IF ( result.publishercode ) %]- [% result.publishercode %][% END %]
63
                                            [% IF ( result.publishercode ) %]- [% result.publishercode %][% END %]
64
                                            [% IF ( result.place ) %][% result.place %][% END %]
64
                                            [% IF ( result.place ) %][% result.place %][% END %]
65
                                            [% IF ( result.publicationyear ) %]
65
                                            [% IF ( result.publicationyear ) %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt (-8 / +7 lines)
Lines 99-105 Using this account is not recommended because some parts of Koha will not functi Link Here
99
                                        </li>
99
                                        </li>
100
                                    [% ELSE %]
100
                                    [% ELSE %]
101
                                        <li id="userdebarred"><strong>Please note:</strong> Your account has been frozen.
101
                                        <li id="userdebarred"><strong>Please note:</strong> Your account has been frozen.
102
                                        [% IF ( BORROWER_INFO.debarredcomment ) %] Comment: <span id="userdebarred_comment">"[% BORROWER_INFO.debarredcomment %]"</span>[% END %]
102
                                        [% IF ( BORROWER_INFO.debarredcomment ) %] Comment: <span id="userdebarred_comment">"[% BORROWER_INFO.debarredcomment.raw %]"</span>[% END %]
103
                                        [% IF ( BORROWER_INFO.userdebarreddate ) %] End date: <span id="userdebarred_date">[% BORROWER_INFO.userdebarreddate | $KohaDates %]</span>[% END %]
103
                                        [% IF ( BORROWER_INFO.userdebarreddate ) %] End date: <span id="userdebarred_date">[% BORROWER_INFO.userdebarreddate | $KohaDates %]</span>[% END %]
104
                                        <em>Usually the reason for freezing an account is old overdues or damage fees. If your account shows to be clear, please contact the library.</em> <a href="/cgi-bin/koha/opac-account.pl">Go to your account page</a></li>
104
                                        <em>Usually the reason for freezing an account is old overdues or damage fees. If your account shows to be clear, please contact the library.</em> <a href="/cgi-bin/koha/opac-account.pl">Go to your account page</a></li>
105
                                    [% END %]
105
                                    [% END %]
Lines 120-127 Using this account is not recommended because some parts of Koha will not functi Link Here
120
                        </div>
120
                        </div>
121
                    [% END # / IF patron_flagged %]
121
                    [% END # / IF patron_flagged %]
122
122
123
                    [% SET OPACMySummaryNote = Koha.Preference('OPACMySummaryNote') %]
123
                    [% IF OPACMySummaryNote %][% Koha.Preference('OPACMySummaryNote').raw %][% END %]
124
                    [% IF OPACMySummaryNote %][% OPACMySummaryNote %][% END %]
125
124
126
                    <div id="opac-user-views" class="toptabs">
125
                    <div id="opac-user-views" class="toptabs">
127
                        <ul>
126
                        <ul>
Lines 191-197 Using this account is not recommended because some parts of Koha will not functi Link Here
191
                                                    [% IF ( BakerTaylorEnabled ) %]
190
                                                    [% IF ( BakerTaylorEnabled ) %]
192
                                                        [% bt_id = ( ISSUE.normalized_upc || ISSUE.normalized_isbn ) %]
191
                                                        [% bt_id = ( ISSUE.normalized_upc || ISSUE.normalized_isbn ) %]
193
                                                        [% IF ( bt_id ) %]
192
                                                        [% IF ( bt_id ) %]
194
                                                            <a href="https://[% BakerTaylorBookstoreURL |html %][% bt_id %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" /></a>
193
                                                            <a href="https://[% BakerTaylorBookstoreURL %][% bt_id %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL %][% bt_id %]" /></a>
195
                                                        [% ELSE %]
194
                                                        [% ELSE %]
196
                                                            <span class="no-image">No cover image available</span><!-- BakerTaylor needs normalized_upc or normalized_isbn! -->
195
                                                            <span class="no-image">No cover image available</span><!-- BakerTaylor needs normalized_upc or normalized_isbn! -->
197
                                                        [% END %]
196
                                                        [% END %]
Lines 208-214 Using this account is not recommended because some parts of Koha will not functi Link Here
208
                                                </td>[% END # / IF JacketImages %]
207
                                                </td>[% END # / IF JacketImages %]
209
208
210
                                                <td class="title">
209
                                                <td class="title">
211
                                                    <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ISSUE.biblionumber %]">[% ISSUE.title |html %] [% FOREACH subtitl IN ISSUE.subtitle %] [% subtitl.subfield %][% END %]</a>
210
                                                    <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ISSUE.biblionumber %]">[% ISSUE.title %] [% FOREACH subtitl IN ISSUE.subtitle %] [% subtitl.subfield %][% END %]</a>
212
                                                    [% IF ( ISSUE.enumchron ) %] [% ISSUE.enumchron %][% END %]
211
                                                    [% IF ( ISSUE.enumchron ) %] [% ISSUE.enumchron %][% END %]
213
                                                    <span class="item-details">[% ISSUE.author %]</span>
212
                                                    <span class="item-details">[% ISSUE.author %]</span>
214
                                                </td>
213
                                                </td>
Lines 281-287 Using this account is not recommended because some parts of Koha will not functi Link Here
281
                                                    </td>
280
                                                    </td>
282
                                                [% END %]
281
                                                [% END %]
283
                                                [% IF ( OPACMySummaryHTML ) %]
282
                                                [% IF ( OPACMySummaryHTML ) %]
284
                                                    <td class="links">[% ISSUE.MySummaryHTML %]</td>
283
                                                    <td class="links">[% ISSUE.MySummaryHTML.raw %]</td>
285
                                                [% END %]
284
                                                [% END %]
286
                                            </tr>
285
                                            </tr>
287
                                        [% END # /FOREACH ISSUES %]
286
                                        [% END # /FOREACH ISSUES %]
Lines 445-451 Using this account is not recommended because some parts of Koha will not functi Link Here
445
                                                    [% IF ( BakerTaylorEnabled ) %]
444
                                                    [% IF ( BakerTaylorEnabled ) %]
446
                                                        [% bt_id = ( OVERDUE.normalized_upc || OVERDUE.normalized_isbn ) %]
445
                                                        [% bt_id = ( OVERDUE.normalized_upc || OVERDUE.normalized_isbn ) %]
447
                                                        [% IF ( bt_id ) %]
446
                                                        [% IF ( bt_id ) %]
448
                                                            <a href="https://[% BakerTaylorBookstoreURL |html %][% bt_id %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" /></a>
447
                                                            <a href="https://[% BakerTaylorBookstoreURL %][% bt_id %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL %][% bt_id %]" /></a>
449
                                                        [% ELSE %]
448
                                                        [% ELSE %]
450
                                                            <span class="no-image">No cover image available</span><!-- BakerTaylor needs normalized_upc or normalized_isbn! -->
449
                                                            <span class="no-image">No cover image available</span><!-- BakerTaylor needs normalized_upc or normalized_isbn! -->
451
                                                        [% END %]
450
                                                        [% END %]
Lines 462-468 Using this account is not recommended because some parts of Koha will not functi Link Here
462
                                                [% END # /IF jacketcell %]
461
                                                [% END # /IF jacketcell %]
463
462
464
                                                <td>
463
                                                <td>
465
                                                    <a class="title" href="/cgi-bin/koha/opac-detail.pl?bib=[% OVERDUE.biblionumber %]">[% OVERDUE.title |html %] [% FOREACH subtitl IN OVERDUE.subtitle %] [% subtitl.subfield %][% END %]
464
                                                    <a class="title" href="/cgi-bin/koha/opac-detail.pl?bib=[% OVERDUE.biblionumber %]">[% OVERDUE.title %] [% FOREACH subtitl IN OVERDUE.subtitle %] [% subtitl.subfield %][% END %]
466
                                                    </a>
465
                                                    </a>
467
                                                    <span class="item-details">[% OVERDUE.author %]</span></td>
466
                                                    <span class="item-details">[% OVERDUE.author %]</span></td>
468
467
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/help.tt (-4 / +4 lines)
Lines 7-14 Link Here
7
 <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/lib/bootstrap/css/bootstrap.min.css" />
7
 <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/lib/bootstrap/css/bootstrap.min.css" />
8
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/lib/jquery/jquery-ui.css" />
8
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/lib/jquery/jquery-ui.css" />
9
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/sco.css" />
9
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/sco.css" />
10
[% IF ( OPACUserCSS ) %]<style type="text/css">[% OPACUserCSS %]</style>[% END %]
10
[% IF ( OPACUserCSS ) %]<style type="text/css">[% OPACUserCSS.raw %]</style>[% END %]
11
[% IF ( SCOUserCSS ) %]<style type="text/css">[% SCOUserCSS %]</style>[% END %]
11
[% IF ( SCOUserCSS ) %]<style type="text/css">[% SCOUserCSS.raw %]</style>[% END %]
12
<!--[if lt IE 9]>
12
<!--[if lt IE 9]>
13
    <script src="[% interface %]/[% theme %]/lib/respond.min.js"></script>
13
    <script src="[% interface %]/[% theme %]/lib/respond.min.js"></script>
14
<![endif]-->
14
<![endif]-->
Lines 28-34 Link Here
28
28
29
[% IF ( SelfCheckHelpMessage ) %]
29
[% IF ( SelfCheckHelpMessage ) %]
30
<div id="selfcheckhelpmessage">
30
<div id="selfcheckhelpmessage">
31
[% SelfCheckHelpMessage %]
31
[% SelfCheckHelpMessage.raw %]
32
</div>
32
</div>
33
[% END %]
33
[% END %]
34
34
Lines 61-65 The Submit button only needs to be clicked if you enter the barcode manually.</p Link Here
61
61
62
[% INCLUDE 'opac-bottom.inc' %]
62
[% INCLUDE 'opac-bottom.inc' %]
63
[% BLOCK jsinclude %]
63
[% BLOCK jsinclude %]
64
[% IF ( SCOUserJS ) %]<script type="text/javascript">[% SCOUserJS %]</script>[% END %]
64
[% IF ( SCOUserJS ) %]<script type="text/javascript">[% SCOUserJS.raw %]</script>[% END %]
65
[% END %]
65
[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt (-7 / +7 lines)
Lines 9-16 Link Here
9
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/lib/bootstrap/css/bootstrap.min.css" />
9
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/lib/bootstrap/css/bootstrap.min.css" />
10
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/lib/jquery/jquery-ui.css" />
10
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/lib/jquery/jquery-ui.css" />
11
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/sco.css" />
11
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/sco.css" />
12
[% IF ( OPACUserCSS ) %]<style type="text/css">[% OPACUserCSS %]</style>[% END %]
12
[% IF ( OPACUserCSS ) %]<style type="text/css">[% OPACUserCSS.raw %]</style>[% END %]
13
[% IF ( SCOUserCSS ) %]<style type="text/css">[% SCOUserCSS %]</style>[% END %]
13
[% IF ( SCOUserCSS ) %]<style type="text/css">[% SCOUserCSS.raw %]</style>[% END %]
14
<!--[if lt IE 9]>
14
<!--[if lt IE 9]>
15
    <script src="[% interface %]/[% theme %]/lib/respond.min.js"></script>
15
    <script src="[% interface %]/[% theme %]/lib/respond.min.js"></script>
16
<![endif]-->
16
<![endif]-->
Lines 38-44 Link Here
38
                            <h3>Item cannot be checked out.</h3>
38
                            <h3>Item cannot be checked out.</h3>
39
                            <p>Sorry, this item cannot be checked out at this station.</p>
39
                            <p>Sorry, this item cannot be checked out at this station.</p>
40
                            [% IF ( title ) %]
40
                            [% IF ( title ) %]
41
                                <p>Title: <em>[% title |html %]</em> </p>
41
                                <p>Title: <em>[% title %]</em> </p>
42
                            [% END %]
42
                            [% END %]
43
43
44
                            <p>
44
                            <p>
Lines 233-241 Link Here
233
                                                <td>[% ISSUE.issuedate %]</td>
233
                                                <td>[% ISSUE.issuedate %]</td>
234
                                                <td>
234
                                                <td>
235
                                                    [% UNLESS ( noitemlinks ) %]
235
                                                    [% UNLESS ( noitemlinks ) %]
236
                                                        <a href="/cgi-bin/koha/opac-detail.pl?bib=[% ISSUE.  biblionumber %]">[% ISSUE.title |html %]</a>
236
                                                        <a href="/cgi-bin/koha/opac-detail.pl?bib=[% ISSUE.  biblionumber %]">[% ISSUE.title %]</a>
237
                                                    [% ELSE %]
237
                                                    [% ELSE %]
238
                                                        <strong>[% ISSUE.title |html %]</strong>
238
                                                        <strong>[% ISSUE.title %]</strong>
239
                                                    [% END %]
239
                                                    [% END %]
240
                                                    <span class="item-details">[% ISSUE.author %]</span>
240
                                                    <span class="item-details">[% ISSUE.author %]</span>
241
                                                    ([% ISSUE.barcode %])
241
                                                    ([% ISSUE.barcode %])
Lines 309-315 Link Here
309
                                        [% END # / IF authbylogin %]
309
                                        [% END # / IF authbylogin %]
310
310
311
                                        [% FOREACH INPUT IN INPUTS %]
311
                                        [% FOREACH INPUT IN INPUTS %]
312
                                            <input type="hidden" name="[% INPUT.name |html %]" value="[% INPUT.value |html %]">
312
                                            <input type="hidden" name="[% INPUT.name %]" value="[% INPUT.value %]">
313
                                        [% END %]
313
                                        [% END %]
314
                                        <input type="hidden" name="op" value="login" />
314
                                        <input type="hidden" name="op" value="login" />
315
                                    </fieldset>
315
                                    </fieldset>
Lines 415-419 Link Here
415
    //]]>
415
    //]]>
416
    </script>
416
    </script>
417
417
418
    [% IF ( SCOUserJS ) %]<script type="text/javascript">[% SCOUserJS %]</script>[% END %]
418
    [% IF ( SCOUserJS ) %]<script type="text/javascript">[% SCOUserJS.raw %]</script>[% END %]
419
[% END %]
419
[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/svc/suggestion.tt (-2 / +1 lines)
Lines 34-40 Link Here
34
    <div>
34
    <div>
35
        <span class="suggestionlabel">Did you mean:</span>
35
        <span class="suggestionlabel">Did you mean:</span>
36
        [% FOREACH suggestion IN suggestions %]
36
        [% FOREACH suggestion IN suggestions %]
37
            <span class="searchsuggestion"><a href="/cgi-bin/koha/opac-search.pl?q=[% suggestion.search |uri %]">[% suggestion.label |html %]</a></span>
37
            <span class="searchsuggestion"><a href="/cgi-bin/koha/opac-search.pl?q=[% suggestion.search |uri %]">[% suggestion.label %]</a></span>
38
        [% END %]
38
        [% END %]
39
    </div>
39
    </div>
40
[% ELSE %]
40
[% ELSE %]
41
- 

Return to bug 13618