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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt (-23 / +19 lines)
Lines 63-69 Link Here
63
        }
63
        }
64
        //]]>
64
        //]]>
65
</script>
65
</script>
66
        [% END %]
66
[% END %]
67
[% IF ( else ) %]
68
    <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
69
    <script type="text/javascript">
70
    //<![CDATA[
71
     $(document).ready(function() {
72
        [% IF ( loop ) %]$.tablesorter.defaults.widgets = ['zebra'];
73
        $("#serverst").tablesorter({
74
            sortList: [[0,0]],
75
            headers: { 2: {sorter:false},3: { sorter: false },4: { sorter: false },7: { sorter: false },8: { sorter: false },9: { sorter: false },10: { sorter: false }}
76
        });[% END %]
77
     });
78
    //]]>
79
    </script>
80
[% END %]
81
67
</head>
82
</head>
68
<body id="admin_z3950servers" class="admin">
83
<body id="admin_z3950servers" class="admin">
69
[% INCLUDE 'header.inc' %]
84
[% INCLUDE 'header.inc' %]
Lines 259-285 Link Here
259
274
260
[% IF ( else ) %]
275
[% IF ( else ) %]
261
276
262
<div id="toolbar">
277
<div id="toolbar" class="btn-toolbar">
263
		<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
278
    <a id="newserver" class="btn btn-small" href="/cgi-bin/koha/admin/z3950servers.pl?op=add_form"><i class="icon-plus"></i> New Z39.50 server</a>
264
	<script type="text/javascript">
279
</div>
265
	//<![CDATA[
266
	// prepare DOM for YUI Toolbar
267
	 $(document).ready(function() {
268
	    yuiToolbar();
269
		[% IF ( loop ) %]$.tablesorter.defaults.widgets = ['zebra'];
270
		$("#serverst").tablesorter({
271
			sortList: [[0,0]],
272
			headers: { 2: {sorter:false},3: { sorter: false },4: { sorter: false },7: { sorter: false },8: { sorter: false },9: { sorter: false },10: { sorter: false }}
273
		});[% END %]
274
	 });
275
	// YUI Toolbar Functions
276
	function yuiToolbar() {
277
	    new YAHOO.widget.Button("newserver");
278
	}	//]]>
279
	</script>
280
	<ul class="toolbar">
281
    <li><a id="newserver" href="/cgi-bin/koha/admin/z3950servers.pl?op=add_form">New Z39.50 server</a></li>
282
</ul></div>
283
280
284
<h3>Z39.50 servers administration</h3>
281
<h3>Z39.50 servers administration</h3>
285
282
286
- 

Return to bug 9647