Merge branch 'bug_9765' into 3.12-master

This commit is contained in:
Jared Camins-Esakov 2013-03-15 19:20:04 -04:00
commit b845731c0e

View file

@ -1,37 +0,0 @@
<div id="toolbar"><script type="text/javascript">
//<![CDATA[
// prepare DOM for YUI Toolbar
$(document).ready(function() {
$("#periods_menuc").empty();
$("#budgets_menuc").empty();
$("#planning_menuc").empty();
yuiToolbar();
});
// YUI Toolbar Functions
function yuiToolbar() {
var periods_menu = [
{ text: _("Display all root budgets"), url: "/cgi-bin/koha/admin/aqbudgetperiods.pl" },
{ text: _("New root budget"), url: "/cgi-bin/koha/admin/aqbudgetperiods.pl?op=add_form" },
{ text: _("Duplicate root budget"), },
]
new YAHOO.widget.Button({
type: "menu",
label: _("Root budgets"),
name: "periods_button",
menu: periods_menu,
container: "periods_menuc"
});
}
//]]>
</script>
<ul class="toolbar">
<li id="periods_menuc"><a id="periods_menu" href="/cgi-bin/koha/admin/aqbudgetperiods.pl?op=add_form">Budgets</a></li>
<li id="budgets_menuc"><a id="budgets_menu" href="/cgi-bin/koha/cataloguing/aqbudgets.pl">Funds</a></li>
<li id="planning_menuc"><a id="planning_menu" href="/cgi-bin/koha/admin/aqplan.pl?budget_period_id=[% budget_period_id %]">Budget planning</a></li>
</ul>
</div>