Koha/koha-tmpl/intranet-tmpl/prog/en/includes/budgetperiods-admin.inc
Nicole Engard 2616faf132 follow-up to bug 3854: resolve budget period language issues
top level: "Root Budget" becomes "Budget"
second level: "Budget" becomes "Fund"
third level and below: "Sub-Budget" is also a "Fund", but for things
like the "create sub-budget" link, they'll be changed to "create child
fund".

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-03 15:11:19 -05:00

37 lines
1.4 KiB
HTML

<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=<!-- TMPL_VAR NAME="budget_period_id" -->">Budget planning</a></li>
</ul>
</div>