|
Lines 3-20
Link Here
|
| 3 |
<title>Koha › Course reserves</title> |
3 |
<title>Koha › Course reserves</title> |
| 4 |
[% INCLUDE 'doc-head-close.inc' %] |
4 |
[% INCLUDE 'doc-head-close.inc' %] |
| 5 |
|
5 |
|
| 6 |
<link rel="stylesheet" type="text/css" href="/intranet-tmpl/prog/en/css/datatables.css" /> |
6 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> |
| 7 |
<script type="text/javascript" src="/intranet-tmpl/prog/en/lib/jquery/plugins/jquery.dataTables.min.js"></script> |
7 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script> |
| 8 |
[% INCLUDE 'datatables-strings.inc' %] |
8 |
[% INCLUDE 'datatables-strings.inc' %] |
| 9 |
<script type="text/javascript" src="/intranet-tmpl/prog/en/js/datatables.js"></script> |
9 |
<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script> |
| 10 |
<script type="text/javascript" id="js">$(document).ready(function() { |
10 |
<script type="text/javascript" id="js"> |
| 11 |
$(document).ready(function() { |
11 |
$(document).ready(function() { |
| 12 |
$("#course_reserves_table").dataTable($.extend(true, {}, dataTablesDefaults, { |
12 |
$("#course_reserves_table").dataTable($.extend(true, {}, dataTablesDefaults, { |
| 13 |
"sPaginationType": "four_button", |
13 |
"sPaginationType": "four_button", |
| 14 |
"aLengthMenu": [[10, 20, 50, 100, -1], [10, 20, 50, 100, "All"]], |
14 |
"aLengthMenu": [[10, 20, 50, 100, -1], [10, 20, 50, 100, "All"]], |
| 15 |
"iDisplayLength": 20 |
15 |
"iDisplayLength": 20 |
| 16 |
})); |
16 |
})); |
| 17 |
}); |
|
|
| 18 |
}); |
17 |
}); |
| 19 |
</script> |
18 |
</script> |
| 20 |
|
19 |
|
|
Lines 96-104
Link Here
|
| 96 |
<td>[% c.students_count %]</td> |
95 |
<td>[% c.students_count %]</td> |
| 97 |
<td> |
96 |
<td> |
| 98 |
[% IF c.enabled == 'yes' %] |
97 |
[% IF c.enabled == 'yes' %] |
| 99 |
<img src="/intranet-tmpl/prog/img/approve.gif" /> |
98 |
<img src="[% interface %]/[% theme %]/img/approve.gif" /> |
| 100 |
[% ELSE %] |
99 |
[% ELSE %] |
| 101 |
<img src="http://kohadev:8080/intranet-tmpl/prog/img/deny.gif" /> |
100 |
<img src="[% interface %]/[% theme %]/img/deny.gif" /> |
| 102 |
[% END %] |
101 |
[% END %] |
| 103 |
</td> |
102 |
</td> |
| 104 |
[% END %] |
103 |
[% END %] |