Owen Leonard
e6896addb0
Signed-off-by: Chris Cormack <crc@liblime.com> Signed-off-by: Joshua Ferraro <jmf@liblime.com>
35 lines
1.3 KiB
HTML
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&subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->">Edit</a></li>
|
|
<li><a id="duplicate" href="subscription-add.pl?op=dup&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" -->&serstatus=1,3">Receive</a></li>
|
|
<li><a id="delete" href="javascript:confirm_deletion()">Delete</a></li>
|
|
<!-- /TMPL_IF -->
|
|
</ul>
|
|
</div>
|