Koha/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc
Paul POULAIN a710ca99c5 adding some strings to be parsed by translator tool
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-02-29 09:05:38 -06:00

36 lines
1.4 KiB
HTML

<div id="toolbar">
<script type="text/javascript">
//<![CDATA[
// prepare DOM for YUI Toolbar
$(document).ready(function() {
$("#deleteshelfc").empty();
yuiToolbar();
});
// YUI Toolbar Functions
function yuiToolbar() {
newshelfButton = new YAHOO.widget.Button("newshelf");
editshelfButton = new YAHOO.widget.Button("editshelf");
deleteshelfButton = new YAHOO.widget.Button({
id: "deleteshelf",
type: "button",
label: _("Delete List"),
container: "deleteshelfc",
onclick: {fn:function(){confirmDelete(_("Are you sure you want to delete this shelf?"))}}
});
}
//]]>
</script>
<ul class="toolbar">
<li><a id="newshelf" href="/cgi-bin/koha/virtualshelves/shelves.pl?shelves=1">New List</a></li>
<!-- TMPL_IF NAME="viewshelf" --><!-- TMPL_IF name="manageshelf" -->
<li><a id="editshelf" href="/cgi-bin/koha/virtualshelves/shelves.pl?op=modif&amp;shelf=<!-- TMPL_VAR NAME="shelfnumber" -->">Edit List</a></li>
<li id="deleteshelfc"><a id="deleteshelf" href="/cgi-bin/koha/virtualshelves/shelves.pl?shelves=1&amp;DEL-<!-- TMPL_VAR NAME="shelfnumber" -->=1">Delete List</a></li>
<!-- /TMPL_IF --><!-- /TMPL_IF -->
</ul>
</div>