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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt (-16 / +15 lines)
Lines 1-20 Link Here
1
[% INCLUDE 'doc-head-open.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Acquisitions &rsaquo; [% IF ( opsearch ) %]Order from external source[% ELSE %]Order from external source &rsaquo; Search results[% END %]</title>
2
<title>Koha &rsaquo; Acquisitions &rsaquo; [% IF ( opsearch ) %]Order from external source[% ELSE %]Order from external source &rsaquo; Search results[% END %]</title>
3
[% INCLUDE 'greybox.inc' %]
3
[% INCLUDE 'greybox.inc' %]
4
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
6
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script>
7
[% INCLUDE 'datatables-strings.inc' %]
8
<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script>
9
5
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
10
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
6
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
7
<script type="text/javascript">
11
<script type="text/javascript">
8
//<![CDATA[
12
//<![CDATA[
9
$.tablesorter.addParser({
13
    $(document).ready(function(){
10
    id: 'articles',
14
11
    is: function(s) {return false;  },
15
    var resultst = $("#resultst").dataTable($.extend(true, {}, dataTablesDefaults, {
12
    format: function(s) { return s.toLowerCase().replace(/^(the|an|a) /,''); },
16
        "aoColumnDefs": [
13
    type: 'text'
17
            { "aTargets": [ -1, -2 ], "bSortable": false, "bSearchable": false },
14
});
18
        ],
19
        "sPaginationType": "four_button"
20
    } ) );
15
21
16
	$(document).ready(function(){
17
    $.tablesorter.defaults.widgets = ['zebra'];
18
    $("#CheckAll").click(function(){
22
    $("#CheckAll").click(function(){
19
        $(".checkboxed").checkCheckboxes();
23
        $(".checkboxed").checkCheckboxes();
20
        return false;
24
        return false;
Lines 29-38 $.tablesorter.addParser({ Link Here
29
        $("tr").removeClass("selected");
33
        $("tr").removeClass("selected");
30
    });
34
    });
31
35
32
	$("#resultst").tablesorter({
33
		sortList: [[1,0]],
34
		headers: { 1: { sorter: 'articles' },5: { sorter: false },6: { sorter: false }}
35
	});
36
        /* Inline edit/delete links */
36
        /* Inline edit/delete links */
37
        $("td").click(function(event){
37
        $("td").click(function(event){
38
            var $tgt = $(event.target);
38
            var $tgt = $(event.target);
Lines 136-142 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
136
        <th>Author</th>
136
        <th>Author</th>
137
        <th>ISBN</th>
137
        <th>ISBN</th>
138
        <th>LCCN</th>
138
        <th>LCCN</th>
139
        <th colspan="2">Preview</th>
139
        <th>Preview</th>
140
		<th>&nbsp;</th>
140
		<th>&nbsp;</th>
141
    </tr></thead>
141
    </tr></thead>
142
    <tbody>[% FOREACH breeding_loo IN breeding_loop %]
142
    <tbody>[% FOREACH breeding_loo IN breeding_loop %]
Lines 148-154 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
148
            <td>[% breeding_loo.author %]</td>
148
            <td>[% breeding_loo.author %]</td>
149
            <td>[% breeding_loo.isbn %]</td>
149
            <td>[% breeding_loo.isbn %]</td>
150
            <td>[% breeding_loo.lccn %]</td>
150
            <td>[% breeding_loo.lccn %]</td>
151
            <td><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.breedingid %]" title="MARC" rel="gb_page_center[600,500]">MARC</a></td><td><a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&amp;importid=[% breeding_loo.breedingid %]" title="MARC" rel="gb_page_center[600,500]">Card</a></td>
151
            <td><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.breedingid %]" title="MARC" rel="gb_page_center[600,500]">MARC</a> | <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&amp;importid=[% breeding_loo.breedingid %]" title="MARC" rel="gb_page_center[600,500]">Card</a></td>
152
			<td><a href="/cgi-bin/koha/acqui/neworderempty.pl?frameworkcode=[% frameworkcode %]&amp;breedingid=[% breeding_loo.breedingid %]&amp;booksellerid=[% booksellerid %]&amp;basketno=[% basketno %]">Order</a></td>
152
			<td><a href="/cgi-bin/koha/acqui/neworderempty.pl?frameworkcode=[% frameworkcode %]&amp;breedingid=[% breeding_loo.breedingid %]&amp;booksellerid=[% booksellerid %]&amp;basketno=[% basketno %]">Order</a></td>
153
153
154
        </tr>
154
        </tr>
155
- 

Return to bug 5345