Lines 5-10
Link Here
|
5 |
[% IF ( add_validate ) %]Z39.50 servers › Z39.50 server added[% END %] |
5 |
[% IF ( add_validate ) %]Z39.50 servers › Z39.50 server added[% END %] |
6 |
[% IF ( delete_confirmed ) %]Z39.50 servers › Z39.50 server deleted[% END %]</title> |
6 |
[% IF ( delete_confirmed ) %]Z39.50 servers › Z39.50 server deleted[% END %]</title> |
7 |
[% INCLUDE 'doc-head-close.inc' %] |
7 |
[% INCLUDE 'doc-head-close.inc' %] |
|
|
8 |
[% IF ( else ) %] |
9 |
<link rel="stylesheet" type="text/css" href="/intranet-tmpl/prog/en/css/datatables.css" /> |
10 |
<script type="text/javascript" src="/intranet-tmpl/prog/en/lib/jquery/plugins/jquery.dataTables.min.js"></script> |
11 |
[% INCLUDE 'datatables-strings.inc' %] |
12 |
<script type="text/javascript" src="/intranet-tmpl/prog/en/js/datatables.js"></script> |
13 |
<script type="text/javascript"> |
14 |
//<![CDATA[ |
15 |
// prepare DOM for YUI Toolbar |
16 |
$(document).ready(function() { |
17 |
yuiToolbar(); |
18 |
[% IF ( loop ) %]$("#serverst").dataTable($.extend(true, {}, dataTablesDefaults, { |
19 |
"aoColumnDefs": [ |
20 |
{ "aTargets": [ 2,3,4,7,8,9,10,11 ], "bSortable": false, "bSearchable": false }, |
21 |
], |
22 |
"iDisplayLength": 20, |
23 |
"sPaginationType": "four_button" |
24 |
}));[% END %] |
25 |
}); |
26 |
// YUI Toolbar Functions |
27 |
function yuiToolbar() { |
28 |
new YAHOO.widget.Button("newserver"); |
29 |
} //]]> |
30 |
</script> |
31 |
[% END %] |
8 |
|
32 |
|
9 |
[% IF ( add_form ) %] |
33 |
[% IF ( add_form ) %] |
10 |
<script type="text/javascript"> |
34 |
<script type="text/javascript"> |
Lines 278-300
Link Here
|
278 |
[% IF ( else ) %] |
302 |
[% IF ( else ) %] |
279 |
|
303 |
|
280 |
<div id="toolbar"> |
304 |
<div id="toolbar"> |
281 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script> |
|
|
282 |
<script type="text/javascript"> |
283 |
//<![CDATA[ |
284 |
// prepare DOM for YUI Toolbar |
285 |
$(document).ready(function() { |
286 |
yuiToolbar(); |
287 |
[% IF ( loop ) %]$.tablesorter.defaults.widgets = ['zebra']; |
288 |
$("#serverst").tablesorter({ |
289 |
sortList: [[0,0]], |
290 |
headers: { 2: {sorter:false},3: { sorter: false },4: { sorter: false },7: { sorter: false },8: { sorter: false },9: { sorter: false },10: { sorter: false }} |
291 |
});[% END %] |
292 |
}); |
293 |
// YUI Toolbar Functions |
294 |
function yuiToolbar() { |
295 |
new YAHOO.widget.Button("newserver"); |
296 |
} //]]> |
297 |
</script> |
298 |
<ul class="toolbar"> |
305 |
<ul class="toolbar"> |
299 |
<li><a id="newserver" href="/cgi-bin/koha/admin/z3950servers.pl?op=add_form">New Z39.50 server</a></li> |
306 |
<li><a id="newserver" href="/cgi-bin/koha/admin/z3950servers.pl?op=add_form">New Z39.50 server</a></li> |
300 |
</ul></div> |
307 |
</ul></div> |
Lines 305-311
Link Here
|
305 |
You searched for [% searchfield %] |
312 |
You searched for [% searchfield %] |
306 |
[% END %] |
313 |
[% END %] |
307 |
<table id="serverst"> |
314 |
<table id="serverst"> |
308 |
<thead><tr><th>Target</th><th>Hostname/Port</th><th>Database</th><th>Userid</th><th>Password</th><th>Checked</th><th>Rank</th> <th>Syntax</th><th>Encoding</th><th>Timeout</th><th colspan="2"> </th> |
315 |
<thead><tr><th>Target</th><th>Hostname/Port</th><th>Database</th><th>Userid</th><th>Password</th><th>Checked</th><th>Rank</th> <th>Syntax</th><th>Encoding</th><th>Timeout</th><th> </th><th> </th> |
309 |
</tr></thead> |
316 |
</tr></thead> |
310 |
<tbody>[% FOREACH loo IN loop %] |
317 |
<tbody>[% FOREACH loo IN loop %] |
311 |
[% UNLESS ( loop.odd ) %] |
318 |
[% UNLESS ( loop.odd ) %] |
312 |
- |
|
|