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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt (-15 / +22 lines)
Lines 7-13 Link Here
7
    [% INCLUDE 'datatables.inc' %]
7
    [% INCLUDE 'datatables.inc' %]
8
    <script type="text/javascript">
8
    <script type="text/javascript">
9
    //<![CDATA[
9
    //<![CDATA[
10
        var MSG_CONFIRM_DELETE = _("Are you sure you want to delete this?");
11
        function DeleteConfirm() {
10
        function DeleteConfirm() {
12
            var msg = _("Are you sure you want to delete batch %s?").format("[% batch_id %]");
11
            var msg = _("Are you sure you want to delete batch %s?").format("[% batch_id %]");
13
            var answer = confirm(msg);
12
            var answer = confirm(msg);
Lines 159-164 Link Here
159
                Xport('batch');
158
                Xport('batch');
160
                return false;
159
                return false;
161
            });
160
            });
161
            $(".delete").on("click", function(){
162
                return confirmDelete( _("Are you sure you want to delete this?") );
163
            });
164
            $(".export").on("click", function(e){
165
                e.preventDefault();
166
                var label_id = $(this).data("label-id");
167
                var batch_id = $(this).data("batch-id");
168
                GB_showCenter(_("Export labels"),"/cgi-bin/koha/labels/label-print.pl?batch_id=" + batch_id + "&label_id=" + label_id, 400, 800);
169
            });
162
         });
170
         });
163
    //]]>
171
    //]]>
164
    </script>
172
    </script>
Lines 218-229 Link Here
218
                                </div>
226
                                </div>
219
                            </form>
227
                            </form>
220
                            <div id="batch-manage" class="btn-toolbar">
228
                            <div id="batch-manage" class="btn-toolbar">
221
                                <a class="btn btn-small" id="additems" href="#"><icon class="fa fa-plus"></icon> Add item(s)</a>[% IF ( table_loop ) %]
229
                                <a class="btn btn-small" id="additems" href="#"><i class="fa fa-plus"></i> Add item(s)</a>[% IF ( table_loop ) %]
222
                                <a class="btn btn-small" id="removeitems" href="#"><icon class="fa fa-trash"></icon> Remove selected items</a>
230
                                <a class="btn btn-small" id="removeitems" href="#"><i class="fa fa-trash"></i> Remove selected items</a>
223
				<a class="btn btn-small" id="deletebatch" href="#"><icon class="fa fa-minus-square"></icon> Delete batch</a>
231
                                <a class="btn btn-small" id="deletebatch" href="#"><i class="fa fa-minus-square"></i> Delete batch</a>
224
                                <a class="btn btn-small" id="deduplicate" href="#"><icon class="fa fa-minus"></icon> Remove duplicates</a>
232
                                <a class="btn btn-small" id="deduplicate" href="#"><i class="fa fa-minus"></i> Remove duplicates</a>
225
                                <a class="btn btn-small" id="exportitems" href="#"><icon class="fa fa-share-square-o"></icon> Export selected items</a>
233
                                <a class="btn btn-small" id="exportitems" href="#"><i class="fa fa-share-square-o"></i> Export selected items</a>
226
                                <a class="btn btn-small" id="exportbatch" href="#"><icon class="fa fa-share-square-o"></icon> Export full batch</a>[% END %]
234
                                <a class="btn btn-small" id="exportbatch" href="#"><i class="fa fa-share-square-o"></i> Export full batch</a>[% END %]
227
                            </div>
235
                            </div>
228
                            [% IF ( table_loop ) %]
236
                            [% IF ( table_loop ) %]
229
                                <form name="items" class="checkboxed">
237
                                <form name="items" class="checkboxed">
Lines 235-245 Link Here
235
                                                    <tr>
243
                                                    <tr>
236
                                                        [% FOREACH header_field IN table_loo.header_fields %]
244
                                                        [% FOREACH header_field IN table_loo.header_fields %]
237
                                                            [% SWITCH header_field.field_label -%]
245
                                                            [% SWITCH header_field.field_label -%]
238
                                                                [% CASE "Label Number" -%]
246
                                                                [% CASE "Label number" -%]
239
                                                                    <th>Label number</th>
247
                                                                    <th>Label number</th>
240
                                                                [% CASE "Summary" -%]
248
                                                                [% CASE "Summary" -%]
241
                                                                    <th class="anti-the">Summary</th>
249
                                                                    <th class="anti-the">Summary</th>
242
                                                                [% CASE "Item Type" %]
250
                                                                [% CASE "Item type" %]
243
                                                                    <th>Item type</th>
251
                                                                    <th>Item type</th>
244
                                                                [% CASE "Barcode" %]
252
                                                                [% CASE "Barcode" %]
245
                                                                    <th>Barcode</th>
253
                                                                    <th>Barcode</th>
Lines 256-263 Link Here
256
                                                    <tr>
264
                                                    <tr>
257
                                                        [% FOREACH text_field IN table_loo.text_fields %]
265
                                                        [% FOREACH text_field IN table_loo.text_fields %]
258
                                                            [% IF ( text_field.select_field ) %]
266
                                                            [% IF ( text_field.select_field ) %]
259
                                                                <td><a class="btn btn-mini" onclick="return confirm(MSG_CONFIRM_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 %]"><icon class="fa fa-trash"></icon> Delete</a><a class="btn btn-mini" href="#" onclick="GB_showCenter('Export labels','/cgi-bin/koha/labels/label-print.pl?batch_id=[% batch_id %]&amp;label_id=[% text_field.field_value |url %]', 400, 800)"><icon class="fa fa-share-square-o"></icon> Export</a></td>
267
                                                                <td>
260
                                                                <td><center><input type="checkbox" name="action" value="[% text_field.field_value %]"></center></td>
268
                                                                    <a class="btn btn-mini 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-mini 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>
270
                                                                </td>
271
                                                                <td><input type="checkbox" name="action" value="[% text_field.field_value %]"></td>
261
                                                            [% ELSE %]
272
                                                            [% ELSE %]
262
                                                                <td>
273
                                                                <td>
263
                                                                    [% IF ( text_field.field_name == '_item_type_tbl' ) %]
274
                                                                    [% IF ( text_field.field_name == '_item_type_tbl' ) %]
Lines 275-288 Link Here
275
                                    </table>
286
                                    </table>
276
                                </form>
287
                                </form>
277
                                [% ELSE %]
288
                                [% ELSE %]
278
                                <fieldset class="rows" style="border-bottom: 0px; border: 0px;">
279
                                <ol><li>
280
                                    <div class="dialog message">
289
                                    <div class="dialog message">
281
                                        <h4>There are no items in this batch yet</h4>
290
                                        <h4>There are no items in this batch yet</h4>
282
                                        <p>Add items by using the text area above or leave empty to add via item search.</p>
291
                                        <p>Add items by using the text area above or leave empty to add via item search.</p>
283
                                    </div>
292
                                    </div>
284
                                </li></ol>
285
                                </fieldset>
286
                                [% END %]
293
                                [% END %]
287
                            </div>
294
                            </div>
288
                        </div>
295
                        </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt (-4 / +15 lines)
Lines 16-22 Link Here
16
    [% INCLUDE 'greybox.inc' %]
16
    [% INCLUDE 'greybox.inc' %]
17
    <script type="text/javascript">
17
    <script type="text/javascript">
18
        //<![CDATA[
18
        //<![CDATA[
19
            var MSG_CONFIRM_DELETE = _("Are you sure you want to delete this?");
20
            function Xport() {
19
            function Xport() {
21
                batches= new Array;
20
                batches= new Array;
22
                if(document.layouts.action.length > 0) {
21
                if(document.layouts.action.length > 0) {
Lines 64-69 Link Here
64
                alert(_("Please select a %s.").format("[% label_element %]"));
63
                alert(_("Please select a %s.").format("[% label_element %]"));
65
                return (-1);
64
                return (-1);
66
            };
65
            };
66
            $(document).ready(function(){
67
                $("#print").click(function(e){
68
                    e.preventDefault();
69
                    Xport();
70
                });
71
                $(".delete").on("click", function(){
72
                    return confirmDelete( _("Are you sure you want to delete this?") );
73
                });
74
            });
67
        //]]>
75
        //]]>
68
    </script>
76
    </script>
69
77
Lines 139-146 Link Here
139
                                        <tr>
147
                                        <tr>
140
                                        [% FOREACH text_field IN table_loo.text_fields %]
148
                                        [% FOREACH text_field IN table_loo.text_fields %]
141
                                            [% IF ( text_field.select_field ) %]
149
                                            [% IF ( text_field.select_field ) %]
142
                                                <td align="center" class="actions"><a class="btn btn-mini" href="/cgi-bin/koha/labels/label-edit-[% label_element |url %].pl?op=edit&amp;element_id=[% text_field.field_value |url %]"><icon class="fa fa-edit"></icon> Edit</a>  <a class="btn btn-mini" href="/cgi-bin/koha/labels/label-manage.pl?op=delete&amp;label_element=[% label_element %]&amp;element_id=[% text_field.field_value |url %]" onclick="return confirm(MSG_CONFIRM_DELETE);"><icon class="fa fa-trash"></icon> Delete</a></td>
150
                                                <td class="actions">
143
                                                [% IF label_element == 'batch' %] <td align="center"><input type="checkbox" name="action" value="[% text_field.field_value %]" /></td>[% END %]
151
                                                    <a class="btn btn-mini" href="/cgi-bin/koha/labels/label-edit-[% label_element |url %].pl?op=edit&amp;element_id=[% text_field.field_value |url %]"><i class="fa fa-edit"></i> Edit</a>
152
                                                    <a class="btn btn-mini delete" href="/cgi-bin/koha/labels/label-manage.pl?op=delete&amp;label_element=[% label_element %]&amp;element_id=[% text_field.field_value |url %]"><i class="fa fa-trash"></i> Delete</a>
153
                                                </td>
154
                                                [% IF label_element == 'batch' %] <td><input type="checkbox" name="action" value="[% text_field.field_value %]" /></td>[% END %]
144
                                            [% ELSIF ( text_field.field_value ) %]
155
                                            [% ELSIF ( text_field.field_value ) %]
145
                                                <td>[% text_field.field_value %]</td>
156
                                                <td>[% text_field.field_value %]</td>
146
                                            [% ELSE %]
157
                                            [% ELSE %]
Lines 151-157 Link Here
151
                                    [% END %]
162
                                    [% END %]
152
                                [% END %]
163
                                [% END %]
153
                            </table>
164
                            </table>
154
                                [% IF ( print ) %]<input type="button" class="btn btn-sm" id="print" onclick="Xport()" value="Export selected" />[% END %]
165
                            [% IF ( print ) %]<button type="button" class="btn btn-sm" id="print">Export selected</button>[% END %]
155
                            </fieldset>
166
                            </fieldset>
156
                            </form>
167
                            </form>
157
                            [% ELSE %]
168
                            [% ELSE %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tt (-3 / +8 lines)
Lines 6-11 Link Here
6
            function Done() {
6
            function Done() {
7
                window.location = "[% referer %]";
7
                window.location = "[% referer %]";
8
            };
8
            };
9
            $(document).ready(function(){
10
                $(".gb-close").on("click",function(){
11
                    parent.parent.GB_hide();
12
                });
13
            });
9
        //]]>
14
        //]]>
10
    </script>
15
    </script>
11
    <style type="text/css">#custom-doc {width:47.23em; *width:46.04em; min-width:610px; margin:auto; margin-top:0.4em;}</style>
16
    <style type="text/css">#custom-doc {width:47.23em; *width:46.04em; min-width:610px; margin:auto; margin-top:0.4em;}</style>
Lines 46-52 Link Here
46
                        </fieldset>
51
                        </fieldset>
47
                        [% END %]
52
                        [% END %]
48
                <fieldset class="action">
53
                <fieldset class="action">
49
                    <input type="button" id="done" onclick="parent.parent.GB_hide();" class="submit" value="Done" />
54
                    <input type="button" class="gb-close" value="Done" />
50
                </fieldset>
55
                </fieldset>
51
            </form>
56
            </form>
52
            [% ELSE %]
57
            [% ELSE %]
Lines 96-103 Link Here
96
                    </ol>
101
                    </ol>
97
                </fieldset>
102
                </fieldset>
98
                <fieldset class="action">
103
                <fieldset class="action">
99
                    <input type="submit" class="submit" value="Export" />
104
                    <input type="submit" value="Export" />
100
                    <a href="#" class="cancel" id="done" onclick="parent.parent.GB_hide();return false;">Cancel</a>
105
                    <a href="#" class="cancel gb-close">Cancel</a>
101
                </fieldset>
106
                </fieldset>
102
            </form>
107
            </form>
103
            [% END %]
108
            [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt (-33 / +60 lines)
Lines 2-18 Link Here
2
    <title>Koha &rsaquo; Barcodes and labels &rsaquo; Search results</title>
2
    <title>Koha &rsaquo; Barcodes and labels &rsaquo; Search results</title>
3
    [% INCLUDE 'doc-head-close.inc' %]
3
    [% INCLUDE 'doc-head-close.inc' %]
4
    <style type="text/css">#custom-doc { width:46.23em;*width:45.04em;min-width:700px; margin:auto;margin-top: .4em; text-align:left; }</style>
4
    <style type="text/css">#custom-doc { width:46.23em;*width:45.04em;min-width:700px; margin:auto;margin-top: .4em; text-align:left; }</style>
5
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
5
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.fixFloat.js"></script>
6
    <script type="text/javascript">
6
    <script type="text/javascript">
7
        //<![CDATA[
7
        //<![CDATA[
8
            $(document).ready(function(){
8
            $(document).ready(function(){
9
                $("#CheckAll").click(function(){
9
                $("#toolbar").fixFloat();
10
                    $(".checkboxed").checkCheckboxes();
10
                $("#CheckAll").click(function(e){
11
                    return false;
11
                    e.preventDefault();
12
                    $("input[type='checkbox']").prop("checked",true);
12
                });
13
                });
13
                $("#CheckNone").click(function(){
14
                $("#CheckNone").click(function(e){
14
                    $(".checkboxed").unCheckCheckboxes();
15
                    e.preventDefault();
15
                    return false;
16
                    $("input[type='checkbox']").prop("checked",false);
17
                });
18
                $("#add_items").on("click",function(){
19
                    add_item('checked',[% batch_id %],'[% type %]');
20
                });
21
                $(".select_item").on("click",function(e){
22
                    e.preventDefault();
23
                    var batch_id = $(this).data("batch-id");
24
                    var itemnumber = $(this).data("item-number");
25
                    var type = $(this).data("field-type");
26
                    add_item(itemnumber, batch_id, type);
16
                });
27
                });
17
            });
28
            });
18
            function add_item(item_number,batch_id,type_id){
29
            function add_item(item_number,batch_id,type_id){
Lines 40-48 Link Here
40
    <div id="custom-doc" class="yui-t7">
51
    <div id="custom-doc" class="yui-t7">
41
        <div id="bd">
52
        <div id="bd">
42
            <h1>Search results</h1>
53
            <h1>Search results</h1>
43
	    <div class="results">
54
        <div class="results">
44
                [% IF ( displayprev || displaynext ) %]
55
                [% IF ( displayprev || displaynext ) %]
45
                <p>
56
            <p>
46
                    [% IF ( displayprev ) %]
57
                    [% IF ( displayprev ) %]
47
                    <a href="label-item-search.pl?startfrom=[% startfromprev %]&amp;ccl_query=[% ccl_query %]&amp;resultsperpage=[% resultsperpage %]&amp;op=do_search&amp;batch_id=[% batch_id %]">&lt;&lt;</a>
58
                    <a href="label-item-search.pl?startfrom=[% startfromprev %]&amp;ccl_query=[% ccl_query %]&amp;resultsperpage=[% resultsperpage %]&amp;op=do_search&amp;batch_id=[% batch_id %]">&lt;&lt;</a>
48
                    [% END %]
59
                    [% END %]
Lines 52-97 Link Here
52
                    [% IF ( displaynext ) %]
63
                    [% IF ( displaynext ) %]
53
                    <a href="label-item-search.pl?startfrom=[% startfromnext %]&amp;ccl_query=[% ccl_query %]&amp;resultsperpage=[% resultsperpage %]&amp;op=do_search&amp;batch_id=[% batch_id %]">&gt;&gt;</a>
64
                    <a href="label-item-search.pl?startfrom=[% startfromnext %]&amp;ccl_query=[% ccl_query %]&amp;resultsperpage=[% resultsperpage %]&amp;op=do_search&amp;batch_id=[% batch_id %]">&gt;&gt;</a>
54
                    [% END %]
65
                    [% END %]
55
		</p>
66
        </p>
56
                [% END %]
67
                [% END %]
57
                [% IF ( results ) %]
68
                [% IF ( results ) %]
58
                <strong>Results [% from %] through [% to %] [% IF ( total ) %] of [% total %][% END %]</strong>
69
                <strong>Results [% from %] through [% to %] [% IF ( total ) %] of [% total %][% END %]</strong>
59
                [% ELSE %]
70
                [% ELSE %]
60
                No results found
71
                No results found
61
                [% END %]
72
                [% END %]
62
            </div>
63
73
64
            <form name="resultform" class="checkboxed" action="">
74
            <form name="resultform" action="">
65
            <p><a id="CheckAll" href="#">Select all</a> <a id="CheckNone" href="#">Clear all</a> | <input type="button" value="Add checked" onclick="add_item('checked',[% batch_id %],'[% type %]'); return false;" />
75
            <div id="toolbar" class="btn-toolbar">
66
                    <input type="button" class="close" value="Done" /></p>
76
                <div class="btn-group"><button type="button" class="btn btn-small" id="add_items"><i class="fa fa-plus"></i> Add checked</button></div>
77
                <div class="btn-group"><a href="#" class="btn btn-small close"><i class="fa fa-times-circle"></i> Done</a></div>
78
            </div>
79
                <div><a id="CheckAll" href="#"><i class="fa fa-check"></i> Select all</a> <a id="CheckNone" href="#"><i class="fa fa-remove"></i> Clear all</a></div>
67
80
68
                <div id="label-search-results">
81
                <div id="label-search-results">
69
                <input type="hidden" name="ccl_query" value="[% ccl_query %]" />
82
                <input type="hidden" name="ccl_query" value="[% ccl_query %]" />
70
            [% FOREACH result_se IN result_set %]
83
            [% FOREACH result_se IN result_set %]
71
            <div style="border-bottom:1px solid #CCC;margin: .5em 0;">
84
            <div style="border-bottom:1px solid #CCC;padding:1em 0;">
72
		            <h4>[% result_se.title |html %]</h4>
85
                    <h4>[% result_se.title |html %]</h4>
73
                            <p>[% IF ( result_se.author ) %]by [% result_se.author %][% END %]
86
                            <p>[% IF ( result_se.author ) %]by [% result_se.author %][% END %]
74
                            [[% 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>
75
88
76
                    <table style="margin-bottom:1em;">
89
                    <table>
77
                    [% FOREACH item_tabl IN result_se.item_table %]
90
                    [% FOREACH item_tabl IN result_se.item_table %]
78
                    [% IF ( item_tabl.header_fields ) %]
91
                    [% IF ( item_tabl.header_fields ) %]
79
                    <tr>
92
                        <thead>
80
                    [% FOREACH header_field IN item_tabl.header_fields %]
93
                            <tr>
81
                        <th>[% header_field.field_label %]</th>
94
                                [% FOREACH header_field IN item_tabl.header_fields %]
82
                    [% END %]
95
                                    [% SWITCH header_field.field_label -%]
83
                    </tr>
96
                                        [% CASE "Add Item" -%]
97
                                            <th>Add item</th>
98
                                        [% CASE "Call Number" -%]
99
                                            <th>Call number</th>
100
                                        [% CASE "Accession Date" %]
101
                                            <th>Accession date</th>
102
                                        [% CASE "Barcode" %]
103
                                            <th>Barcode</th>
104
                                        [% CASE "Select" -%]
105
                                            <th>Select</th>
106
                                        [% CASE %]
107
                                            <th>[% header_field.field_label %]</th>
108
z                                    [% END -%]
109
                                [% END %]
110
                            </tr>
111
                        </thead>
84
                    [% ELSE %]
112
                    [% ELSE %]
85
                    <tr>
113
                    <tr>
86
                    [% FOREACH text_field IN item_tabl.text_fields %]
114
                    [% FOREACH text_field IN item_tabl.text_fields %]
87
                    [% IF ( text_field.select_field ) %]
115
                    [% IF ( text_field.select_field ) %]
88
                        <td align="center"><input type="checkbox" name="action" value="[% text_field.field_value %]"></td>
116
                        <td><input type="checkbox" name="action" value="[% text_field.field_value %]"></td>
89
                    [% ELSIF ( text_field.link_field ) %]
117
                    [% ELSIF ( text_field.link_field ) %]
90
                        <td align="center">
118
                        <td>
91
			    <a onclick="add_item('[% text_field.field_value %]',[% batch_id %], '[% text_field.type %]'); return false" href="/cgi-bin/koha/barcodes/label-edit-batch.pl?op=add&amp;batch_id=[% batch_id %]&amp;item_number=[% text_field.field_value %]">Add</a>
119
                            <a class="btn btn-mini select_item" data-item-number="[% text_field.field_value %]" data-batch-id="[% batch_id %]" data-field-type="[% text_field.type %]"><i class="fa fa-plus"></i> Add</a>
92
                        </td>
120
                        </td>
93
                    [% ELSE %]
121
                    [% ELSE %]
94
                        <td align="center">[% text_field.field_value %]</td>
122
                        <td>[% text_field.field_value %]</td>
95
                    [% END %]
123
                    [% END %]
96
                    [% END %]
124
                    [% END %]
97
                    </tr>
125
                    </tr>
Lines 99-110 Link Here
99
                    [% END %]
127
                    [% END %]
100
                    </table>
128
                    </table>
101
                    </div>
129
                    </div>
102
	        [% END %]
130
            [% END %]
103
                </div>
131
                </div>
104
            </form>
132
            </form>
105
        </div>
133
        </div>
106
	<div class="results">
134
        [% IF ( displayprev || displaynext ) %]
107
	    [% IF ( displayprev || displaynext ) %]
108
            <p>
135
            <p>
109
                [% IF ( displayprev ) %]
136
                [% IF ( displayprev ) %]
110
                <a href="label-item-search.pl?startfrom=[% startfromnext %]&amp;ccl_query=[% ccl_query %]&amp;resultsperpage=[% resultsperpage %]&amp;op=do_search&amp;batch_id=[% batch_id %]">&lt;&lt;</a>
137
                <a href="label-item-search.pl?startfrom=[% startfromnext %]&amp;ccl_query=[% ccl_query %]&amp;resultsperpage=[% resultsperpage %]&amp;op=do_search&amp;batch_id=[% batch_id %]">&lt;&lt;</a>
Lines 115-125 Link Here
115
                [% ELSE %]
142
                [% ELSE %]
116
                <a href="label-item-search.pl?startfrom=[% number.startfrom %]&amp;ccl_query=[% number.ccl_query %]&amp;resultsperpage=[% number.resultsperpage %]&amp;op=do_search&amp;batch_id=[% number.batch_id %]">[% number.number %]</a>
143
                <a href="label-item-search.pl?startfrom=[% number.startfrom %]&amp;ccl_query=[% number.ccl_query %]&amp;resultsperpage=[% number.resultsperpage %]&amp;op=do_search&amp;batch_id=[% number.batch_id %]">[% number.number %]</a>
117
                [% END %]
144
                [% END %]
118
                [% END %]
145
        [% END %]
119
                [% IF ( displaynext ) %]
146
                [% IF ( displaynext ) %]
120
                <a href="label-item-search.pl?startfrom=[% startfromnext %]&amp;ccl_query=[% ccl_query %]&amp;resultsperpage=[% resultsperpage %]&amp;op=do_search&amp;batch_id=[% batch_id %]">&gt;&gt;</a>
147
                <a href="label-item-search.pl?startfrom=[% startfromnext %]&amp;ccl_query=[% ccl_query %]&amp;resultsperpage=[% resultsperpage %]&amp;op=do_search&amp;batch_id=[% batch_id %]">&gt;&gt;</a>
121
                [% END %]
148
                [% END %]
122
	    </p>
149
        </p>
150
        <div id="closewindow"><a href="#" class="btn btn-default close">Close</a></div>
123
            [% END %]
151
            [% END %]
124
	</div>
152
    </div>
125
    [% INCLUDE 'popup-bottom.inc' %]
153
    [% INCLUDE 'popup-bottom.inc' %]
126
- 

Return to bug 16576