diff --git a/C4/VirtualShelves/Page.pm b/C4/VirtualShelves/Page.pm index 9e618c5b16..d80c72c38b 100644 --- a/C4/VirtualShelves/Page.pm +++ b/C4/VirtualShelves/Page.pm @@ -33,6 +33,7 @@ use C4::Output; use C4::Dates qw/format_date/; use Exporter; use Data::Dumper; +use C4::Csv; use vars qw($debug @EXPORT @ISA $VERSION); @@ -317,6 +318,7 @@ $template->param( shelvesloopall => [(@shelvesloop, @shelveslooppriv)], numberCanManage => $numberCanManage, "BiblioDefaultView".C4::Context->preference("BiblioDefaultView") => 1, + csv_profiles => GetCsvProfilesLoop() ); if ($template->param('viewshelf') or $template->param( 'shelves' ) or diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc index 5ad8bb9688..f05764da7a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc @@ -5,32 +5,95 @@ // prepare DOM for YUI Toolbar $(document).ready(function() { - $("#deleteshelfc").empty(); + $("#editlistc").empty(); + $("#deletelistc").remove(); + $("#sendlistc").empty(); + $("#downloadlistc").empty(); + $("#printlistc").empty(); + $("#sendlistc").before("