koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] CVS: koha/admin branches.pl,1.26,1.27


From: Owen Leonard
Subject: [Koha-cvs] CVS: koha/admin branches.pl,1.26,1.27
Date: Tue, 30 Nov 2004 09:40:49 -0800

Update of /cvsroot/koha/koha/admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13442/admin

Modified Files:
        branches.pl 
Log Message:
Adding branchname to output for deletion confirmation screen (Bug 552)

Index: branches.pl
===================================================================
RCS file: /cvsroot/koha/koha/admin/branches.pl,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -r1.26 -r1.27
*** branches.pl 11 Mar 2004 05:42:56 -0000      1.26
--- branches.pl 30 Nov 2004 17:40:46 -0000      1.27
***************
*** 65,68 ****
--- 65,69 ----
  my $input = new CGI;
  my $branchcode=$input->param('branchcode');
+ my $branchname=$input->param('branchname');
  my $categorycode = $input->param('categorycode');
  my $op = $input->param('op');
***************
*** 115,118 ****
--- 116,120 ----
                default($message);
        } else {
+               $template->param(branchname => $branchname);
                $template->param(delete_confirm => 1);
                $template->param(branchcode => $branchcode);
***************
*** 122,126 ****
        deletebranch($branchcode);
        $template->param(else => 1);
!       default("The branch with code $branchcode has been deleted.");
  } elsif ($op eq 'editcategory') {
        # If the user has pressed the "add new category" or "modify" buttons.
--- 124,128 ----
        deletebranch($branchcode);
        $template->param(else => 1);
!       default("The branch \"$branchname\" ($branchcode) has been deleted.");
  } elsif ($op eq 'editcategory') {
        # If the user has pressed the "add new category" or "modify" buttons.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]