Owen Leonard
1eb4513d43
Signed-off-by: Chris Cormack <crc@liblime.com> Signed-off-by: Joshua Ferraro <jmf@liblime.com>
32 lines
No EOL
1.2 KiB
HTML
32 lines
No EOL
1.2 KiB
HTML
<div id="toolbar"><script type="text/javascript">
|
|
//<![CDATA[
|
|
|
|
// prepare DOM for YUI Toolbar
|
|
|
|
$(document).ready(function() {
|
|
yuiToolbar();
|
|
});
|
|
|
|
// YUI Toolbar Functions
|
|
|
|
function yuiToolbar() {
|
|
|
|
new YAHOO.widget.Button("newsupplier");
|
|
<!-- TMPL_IF NAME="id" -->new YAHOO.widget.Button("neworder");
|
|
new YAHOO.widget.Button("editsupplier");
|
|
new YAHOO.widget.Button("manageorders");
|
|
new YAHOO.widget.Button("receive");<!-- /TMPL_IF -->
|
|
}
|
|
|
|
//]]>
|
|
</script>
|
|
<ul class="toolbar">
|
|
<li><a id="newsupplier" href="/cgi-bin/koha/acqui/supplier.pl?op=enter">New Supplier</a></li>
|
|
<!-- TMPL_IF NAME="id" -->
|
|
<li><a id="neworder" href="/cgi-bin/koha/acqui/basket.pl?supplierid=<!-- TMPL_VAR NAME="id" -->">New Order</a></li>
|
|
<li><a id="editsupplier" href="/cgi-bin/koha/acqui/supplier.pl?supplierid=<!--TMPL_VAR Name="id"-->&op=enter">Edit Supplier</a></li>
|
|
<li><a id="manageorders" href="/cgi-bin/koha/acqui/booksellers.pl?supplier=<!--TMPL_VAR Name="id"-->">Manage Orders</a></li>
|
|
<li><a id="receive" href="/cgi-bin/koha/acqui/parcels.pl?supplierid=<!--TMPL_VAR Name="id"-->">Receive Parcel</a></li>
|
|
<!-- /TMPL_IF -->
|
|
</ul>
|
|
</div> |