[Koha-cvs] CVS: koha/acqui.simple addbiblio-nomarc.pl,1.2,1.2.4.1 addbiblio.pl,1.52.2.4,1.52.2.5 addbooks.pl,1.22,1.22.2.1 additem-nomarc.pl,1.4,1.4.2.1 additem.pl,1.27.2.1,1.27.2.2 isbnsearch.pl,1.14.2.2,1.14.2.3

Paul POULAIN tipaul at users.sourceforge.net
Fri Mar 25 13:52:48 CET 2005


Update of /cvsroot/koha/koha/acqui.simple
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16127/acqui.simple

Modified Files:
      Tag: rel_2_2
	addbiblio-nomarc.pl addbiblio.pl addbooks.pl additem-nomarc.pl 
	additem.pl isbnsearch.pl 
Log Message:
needs "editcatalogue" flag, not "catalogue"

Index: addbiblio-nomarc.pl
===================================================================
RCS file: /cvsroot/koha/koha/acqui.simple/addbiblio-nomarc.pl,v
retrieving revision 1.2
retrieving revision 1.2.4.1
diff -C2 -r1.2 -r1.2.4.1
*** addbiblio-nomarc.pl	9 May 2003 23:47:22 -0000	1.2
--- addbiblio-nomarc.pl	25 Mar 2005 12:52:42 -0000	1.2.4.1
***************
*** 27,30 ****
--- 27,33 ----
  
  # $Log$
+ # Revision 1.2.4.1  2005/03/25 12:52:42  tipaul
+ # needs "editcatalogue" flag, not "catalogue"
+ #
  # Revision 1.2  2003/05/09 23:47:22  rangi
  # This script is now templated
***************
*** 46,50 ****
          type            => "intranet",
          authnotrequired => 0,
!         flagsrequired   => { catalogue => 1 },
          debug           => 1,
      }
--- 49,53 ----
          type            => "intranet",
          authnotrequired => 0,
!         flagsrequired   => { editcatalogue => 1 },
          debug           => 1,
      }

Index: addbiblio.pl
===================================================================
RCS file: /cvsroot/koha/koha/acqui.simple/addbiblio.pl,v
retrieving revision 1.52.2.4
retrieving revision 1.52.2.5
diff -C2 -r1.52.2.4 -r1.52.2.5
*** addbiblio.pl	8 Mar 2005 12:46:31 -0000	1.52.2.4
--- addbiblio.pl	25 Mar 2005 12:52:42 -0000	1.52.2.5
***************
*** 198,202 ****
  	# it's a standard field
  	} else {
! 		$subfield_data{marc_value}="<input type=\"text\" name=\"field_value\" value=\"$value\" size=\"50\" maxlength=\"255\">"; #"
  	}
  	return \%subfield_data;
--- 198,206 ----
  	# it's a standard field
  	} else {
! 		if (length($value) >200) {
! 			$subfield_data{marc_value}="<textarea name=\"fieldvalue\" cols=\"50\" rows=\"5\" >$value</textarea>";
! 		} else {
! 			$subfield_data{marc_value}="<input type=\"text\" name=\"field_value\" value=\"$value\" size=\"50\">"; #"
! 		}
  	}
  	return \%subfield_data;
***************
*** 205,209 ****
  sub build_tabs ($$$$) {
      my($template, $record, $dbh,$encoding) = @_;
- 
      # fill arrays
      my @loop_data =();
--- 209,212 ----
***************
*** 261,265 ****
  					}
  # If there is more than 1 field, add an empty hidden field as separator.
! 					if ($#fields >=1) {
  						my @subfields_data;
  						my %tag_data;
--- 264,268 ----
  					}
  # If there is more than 1 field, add an empty hidden field as separator.
! 					if ($#fields >1) {
  						my @subfields_data;
  						my %tag_data;

Index: addbooks.pl
===================================================================
RCS file: /cvsroot/koha/koha/acqui.simple/addbooks.pl,v
retrieving revision 1.22
retrieving revision 1.22.2.1
diff -C2 -r1.22 -r1.22.2.1
*** addbooks.pl	13 Aug 2004 16:37:25 -0000	1.22
--- addbooks.pl	25 Mar 2005 12:52:43 -0000	1.22.2.1
***************
*** 53,57 ****
          type            => "intranet",
          authnotrequired => 0,
!         flagsrequired   => { catalogue => 1 },
          debug           => 1,
      }
--- 53,57 ----
          type            => "intranet",
          authnotrequired => 0,
!         flagsrequired   => { editcatalogue => 1 },
          debug           => 1,
      }

Index: additem-nomarc.pl
===================================================================
RCS file: /cvsroot/koha/koha/acqui.simple/additem-nomarc.pl,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -C2 -r1.4 -r1.4.2.1
*** additem-nomarc.pl	19 Nov 2004 16:41:49 -0000	1.4
--- additem-nomarc.pl	25 Mar 2005 12:52:44 -0000	1.4.2.1
***************
*** 21,24 ****
--- 21,27 ----
  
  # $Log$
+ # Revision 1.4.2.1  2005/03/25 12:52:44  tipaul
+ # needs "editcatalogue" flag, not "catalogue"
+ #
  # Revision 1.4  2004/11/19 16:41:49  tipaul
  # improving behaviour when MARC=OFF
***************
*** 96,100 ****
                  type            => "intranet",
                  authnotrequired => 0,
!                 flagsrequired   => { catalogue => 1 },
                  debug           => 1,
              }
--- 99,103 ----
                  type            => "intranet",
                  authnotrequired => 0,
!                 flagsrequired   => { editcatalogue => 1 },
                  debug           => 1,
              }

Index: additem.pl
===================================================================
RCS file: /cvsroot/koha/koha/acqui.simple/additem.pl,v
retrieving revision 1.27.2.1
retrieving revision 1.27.2.2
diff -C2 -r1.27.2.1 -r1.27.2.2
*** additem.pl	8 Mar 2005 14:07:47 -0000	1.27.2.1
--- additem.pl	25 Mar 2005 12:52:44 -0000	1.27.2.2
***************
*** 271,275 ****
  			     type => "intranet",
  			     authnotrequired => 0,
! 			     flagsrequired => {parameters => 1},
  			     debug => 1,
  			     });
--- 271,275 ----
  			     type => "intranet",
  			     authnotrequired => 0,
! 			     flagsrequired => {editcatalogue => 1},
  			     debug => 1,
  			     });

Index: isbnsearch.pl
===================================================================
RCS file: /cvsroot/koha/koha/acqui.simple/isbnsearch.pl,v
retrieving revision 1.14.2.2
retrieving revision 1.14.2.3
diff -C2 -r1.14.2.2 -r1.14.2.3
*** isbnsearch.pl	18 Mar 2005 08:53:38 -0000	1.14.2.2
--- isbnsearch.pl	25 Mar 2005 12:52:44 -0000	1.14.2.3
***************
*** 45,49 ****
              type            => "intranet",
              authnotrequired => 0,
!             flagsrequired   => { catalogue => 1 },
              debug           => 1,
          }
--- 45,49 ----
              type            => "intranet",
              authnotrequired => 0,
!             flagsrequired   => { editcatalogue => 1 },
              debug           => 1,
          }





More information about the Koha-cvs mailing list