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.4,1.5


From: Andrew Arensburger
Subject: [Koha-cvs] CVS: koha/admin branches.pl,1.4,1.5
Date: Sun, 13 Oct 2002 02:36:29 -0700

Update of /cvsroot/koha/koha/admin
In directory usw-pr-cvs1:/tmp/cvs-serv28084

Modified Files:
        branches.pl 
Log Message:
Removed trailing whitespace.


Index: branches.pl
===================================================================
RCS file: /cvsroot/koha/koha/admin/branches.pl,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** branches.pl 5 Oct 2002 10:02:08 -0000       1.4
--- branches.pl 13 Oct 2002 09:36:27 -0000      1.5
***************
*** 50,54 ****
  
  if ($op eq 'add') {
! # If the user has pressed the "add new branch" button. 
      print heading("Branches: Add Branch");
      print editbranchform();
--- 50,54 ----
  
  if ($op eq 'add') {
! # If the user has pressed the "add new branch" button.
      print heading("Branches: Add Branch");
      print editbranchform();
***************
*** 145,151 ****
  <tr><td>Fax</td><td><input type=text name=branchfax 
value='$data->{'branchfax'}'></td></tr>
  <tr><td>E-mail</td><td><input type=text name=branchemail 
value='$data->{'branchemail'}'></td></tr>
! <tr><td>&nbsp;</td><td><input type=submit value='Submit'></td></tr> 
  </table>
! </form> 
  EOF
      return $form;
--- 145,151 ----
  <tr><td>Fax</td><td><input type=text name=branchfax 
value='$data->{'branchfax'}'></td></tr>
  <tr><td>E-mail</td><td><input type=text name=branchemail 
value='$data->{'branchemail'}'></td></tr>
! <tr><td>&nbsp;</td><td><input type=submit value='Submit'></td></tr>
  </table>
! </form>
  EOF
      return $form;
***************
*** 153,160 ****
  
  sub deleteconfirm {
! # message to print if the 
      my ($branchcode) = @_;
      my $output = <<EOF;
! Confirm delete: 
  <form action='$script_name' method=post><input type='hidden' name='op' 
value='delete_confirmed'>
  <input type='hidden' name='branchcode' value=$branchcode>
--- 153,160 ----
  
  sub deleteconfirm {
! # message to print if the
      my ($branchcode) = @_;
      my $output = <<EOF;
! Confirm delete:
  <form action='$script_name' method=post><input type='hidden' name='op' 
value='delete_confirmed'>
  <input type='hidden' name='branchcode' value=$branchcode>
***************
*** 180,187 ****
  <table border='1' cellpadding='5' cellspacing='0' width='550'>
  <tr> <th colspan='5' align='left' bgcolor='#99cc33' 
background=$backgroundimage>
! <font size='5'><b>Branches</b></font></th> </tr> 
! <tr bgcolor='#889999'> 
! <td width='175'><b>Name</b></td> 
! <td width='25'><b>Code</b></td> 
  <td width='175'><b>Address</b></td>
  <td width='175'><b>Categories</b></td>
--- 180,187 ----
  <table border='1' cellpadding='5' cellspacing='0' width='550'>
  <tr> <th colspan='5' align='left' bgcolor='#99cc33' 
background=$backgroundimage>
! <font size='5'><b>Branches</b></font></th> </tr>
! <tr bgcolor='#889999'>
! <td width='175'><b>Name</b></td>
! <td width='25'><b>Code</b></td>
  <td width='175'><b>Address</b></td>
  <td width='175'><b>Categories</b></td>
***************
*** 213,217 ****
      <td align='left' valign='top'>$address</td>
      <td align='left' valign='top'>$categories</td>
!     <td align='left' valign='top'> 
  <form action='$script_name' method=post>
  <input type='hidden' name='op' value='edit'>
--- 213,217 ----
      <td align='left' valign='top'>$address</td>
      <td align='left' valign='top'>$categories</td>
!     <td align='left' valign='top'>
  <form action='$script_name' method=post>
  <input type='hidden' name='op' value='edit'>
***************
*** 237,244 ****
  <table border='1' cellpadding='5' cellspacing='0'>
  <tr> <th colspan='5' align='left' bgcolor='#99cc33' 
background=$backgroundimage>
! <font size='5'><b>Branches Categories</b></font></th> </tr> 
! <tr bgcolor='#889999'> 
! <td width='175'><b>Name</b></td> 
! <td width='25'><b>Code</b></td> 
  <td width='200'><b>Description</b></td>
  </tr>
--- 237,244 ----
  <table border='1' cellpadding='5' cellspacing='0'>
  <tr> <th colspan='5' align='left' bgcolor='#99cc33' 
background=$backgroundimage>
! <font size='5'><b>Branches Categories</b></font></th> </tr>
! <tr bgcolor='#889999'>
! <td width='175'><b>Name</b></td>
! <td width='25'><b>Code</b></td>
  <td width='200'><b>Description</b></td>
  </tr>
***************
*** 277,281 ****
      $sth->execute;
      my @results;
!     while (my $data = $sth->fetchrow_hashref) { 
        my $tmp = $data->{'branchcode'}; my $brc = $dbh->quote($tmp);
        $query = "select categorycode from branchrelations where branchcode = 
$brc";
--- 277,281 ----
      $sth->execute;
      my @results;
!     while (my $data = $sth->fetchrow_hashref) {
        my $tmp = $data->{'branchcode'}; my $brc = $dbh->quote($tmp);
        $query = "select categorycode from branchrelations where branchcode = 
$brc";
***************
*** 308,312 ****
      $sth->execute;
      my @results;
!     while (my $data = $sth->fetchrow_hashref) { 
        push(@results, $data);
      }
--- 308,312 ----
      $sth->execute;
      my @results;
!     while (my $data = $sth->fetchrow_hashref) {
        push(@results, $data);
      }
***************
*** 356,360 ****
            push(@addcats, $ccat);
        }
!     } 
      # FIXME - There's already a $dbh in this scope.
      my $dbh = C4::Context->dbh;
--- 356,360 ----
            push(@addcats, $ccat);
        }
!     }
      # FIXME - There's already a $dbh in this scope.
      my $dbh = C4::Context->dbh;
***************
*** 394,398 ****
      if ($total) {
        $message = "Branch cannot be deleted because there are $total items 
using that branch.";
!     } 
      return $message;
  }
--- 394,398 ----
      if ($total) {
        $message = "Branch cannot be deleted because there are $total items 
using that branch.";
!     }
      return $message;
  }




reply via email to

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