Lines 58-90
tinyMCE.init({
Link Here
|
58 |
<div id="yui-main"> |
58 |
<div id="yui-main"> |
59 |
<div class="yui-b"> |
59 |
<div class="yui-b"> |
60 |
[% IF ( else ) %] |
60 |
[% IF ( else ) %] |
61 |
<div id="toolbar"> |
61 |
<div id="toolbar" class="btn-toolbar"> |
62 |
<script type="text/javascript"> |
62 |
<a class="btn btn-small" id="newbranch" href="/cgi-bin/koha/admin/branches.pl?op=add"><i class="icon-plus"></i> New library</a> |
63 |
//<![CDATA[ |
63 |
<a class="btn btn-small" id="newcategory" href="/cgi-bin/koha/admin/branches.pl?op=editcategory"><i class="icon-plus"></i> New group</a> |
64 |
|
64 |
</div> |
65 |
// prepare DOM for YUI Toolbar |
|
|
66 |
|
67 |
$(document).ready(function() { |
68 |
yuiToolbar(); |
69 |
$.tablesorter.defaults.widgets = ['zebra']; |
70 |
$("#branchest").tablesorter({ |
71 |
sortList: [[0,0]], |
72 |
headers: { 3:{sorter:false},4:{sorter:false},5:{sorter:false},6:{sorter:false}} |
73 |
}).tablesorterPager({container: $("#pagerbranchest"),positionFixed: false,size: 10}); |
74 |
}); |
75 |
// YUI Toolbar Functions |
76 |
|
77 |
function yuiToolbar() { |
78 |
new YAHOO.widget.Button("newbranch"); |
79 |
new YAHOO.widget.Button("newcategory"); |
80 |
} |
81 |
|
82 |
//]]> |
83 |
</script> |
84 |
<ul class="toolbar"> |
85 |
<li><a id="newbranch" href="/cgi-bin/koha/admin/branches.pl?op=add">New library</a></li> |
86 |
<li><a id="newcategory" href="/cgi-bin/koha/admin/branches.pl?op=editcategory">New group</a></li> |
87 |
</ul></div> |
88 |
[% END %] |
65 |
[% END %] |
89 |
|
66 |
|
90 |
[% IF ( add ) %] |
67 |
[% IF ( add ) %] |
91 |
- |
|
|