View | Details | Raw Unified | Return to bug 4849
Collapse All | Expand All

(-)a/catalogue/labeledMARCdetail.pl (-1 / +5 lines)
Lines 25-30 use C4::Auth; Link Here
25
use C4::Context;
25
use C4::Context;
26
use C4::Output;
26
use C4::Output;
27
use C4::Biblio;
27
use C4::Biblio;
28
use C4::Items;
28
use C4::Search;		# enabled_staff_search_views
29
use C4::Search;		# enabled_staff_search_views
29
30
30
my $query        = new CGI;
31
my $query        = new CGI;
Lines 51-57 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
51
    }
52
    }
52
);
53
);
53
54
54
$template->param( count => 1, bibliotitle => $biblio->{title} );
55
#count of item linked
56
my $itemcount = GetItemsCount($biblionumber);
57
$template->param( count => $itemcount,
58
					bibliotitle => $biblio->{title}, );
55
59
56
#Getting the list of all frameworks
60
#Getting the list of all frameworks
57
my $queryfwk =
61
my $queryfwk =
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc (-2 / +1 lines)
Lines 87-93 function confirm_items_deletion() { Link Here
87
	        { text: _("Attach Item"), url: "/cgi-bin/koha/cataloguing/moveitem.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" },
87
	        { text: _("Attach Item"), url: "/cgi-bin/koha/cataloguing/moveitem.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" },
88
	        { text: _("Edit as New (Duplicate)"), url: "/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&amp;frameworkcode=&amp;op=duplicate" },
88
	        { text: _("Edit as New (Duplicate)"), url: "/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&amp;frameworkcode=&amp;op=duplicate" },
89
			{ text: _("Delete Record"), onclick: {fn: confirm_deletion }<!-- TMPL_IF NAME="count" -->,id:'disabled'<!-- /TMPL_IF --> },
89
			{ text: _("Delete Record"), onclick: {fn: confirm_deletion }<!-- TMPL_IF NAME="count" -->,id:'disabled'<!-- /TMPL_IF --> },
90
            { text: _("Delete all Items"), onclick: {fn: confirm_items_deletion } }
90
            { text: _("Delete all Items"), onclick: {fn: confirm_items_deletion }<!-- TMPL_UNLESS NAME="count" -->,id:'disabled'<!-- /TMPL_UNLESS --> }
91
	    ];
91
	    ];
92
		
92
		
93
		var savemenu = [
93
		var savemenu = [
94
- 

Return to bug 4849