Koha/koha-tmpl/intranet-tmpl/prog/en/includes/serials-toolbar.inc
Owen Leonard e6896addb0 Various tweaks to menus and labels, including adding virtual shelves link to global nav under "More"
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-20 17:05:18 -05:00

35 lines
1.3 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("newsubscription");
<!-- TMPL_IF NAME="subscriptionid" -->
new YAHOO.widget.Button("edit");
new YAHOO.widget.Button("duplicate");
new YAHOO.widget.Button("renew");
new YAHOO.widget.Button("receive");
new YAHOO.widget.Button("delete");
<!-- /TMPL_IF -->
}
//]]>
</script>
<ul class="toolbar">
<li><a id="newsubscription" href="/cgi-bin/koha/serials/subscription-add.pl">New Subscription</a></li>
<!-- TMPL_IF NAME="subscriptionid" --><li><a id="edit" href="subscription-add.pl?op=mod&amp;subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->">Edit</a></li>
<li><a id="duplicate" href="subscription-add.pl?op=dup&amp;subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->">Duplicate </a></li>
<li><a id="renew" href="#" onclick="popup(<!--TMPL_VAR Name="subscriptionid"-->)">Renew </a></li>
<li><a id="receive" href="serials-edit.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->&amp;serstatus=1,3">Receive</a></li>
<li><a id="delete" href="javascript:confirm_deletion()">Delete</a></li>
<!-- /TMPL_IF -->
</ul>
</div>