[Koha-cvs] koha admin/admin-home.pl admin/aqbookfund.pl ad... [rel_3_0]

paul poulain paul at koha-fr.org
Fri Dec 22 18:13:49 CET 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	paul poulain <tipaul>	06/12/22 17:13:49

Modified files:
	admin          : admin-home.pl aqbookfund.pl 
	                 authorised_values.pl branches.pl categorie.pl 
	                 cities.pl currency.pl issuingrules.pl 
	                 itemtypecategory.pl itemtypes.pl 
	                 itemtypesubcategory.pl mediatype.pl roadtype.pl 
	                 systempreferences.pl 
	export         : marc.pl 
	tools          : breeding.pl export.pl import.pl koha-news.pl 

Log message:
	removing "management" permission, that is useless (replaced by tools & admin)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/admin/admin-home.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.2.2.3&r2=1.2.2.4
http://cvs.savannah.gnu.org/viewcvs/koha/admin/aqbookfund.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.29.2.3&r2=1.29.2.4
http://cvs.savannah.gnu.org/viewcvs/koha/admin/authorised_values.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.17.2.4&r2=1.17.2.5
http://cvs.savannah.gnu.org/viewcvs/koha/admin/branches.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.34.2.3&r2=1.34.2.4
http://cvs.savannah.gnu.org/viewcvs/koha/admin/categorie.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.23.2.3&r2=1.23.2.4
http://cvs.savannah.gnu.org/viewcvs/koha/admin/cities.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.1.2.2&r2=1.1.2.3
http://cvs.savannah.gnu.org/viewcvs/koha/admin/currency.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.13.2.2&r2=1.13.2.3
http://cvs.savannah.gnu.org/viewcvs/koha/admin/issuingrules.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.9.2.2&r2=1.9.2.3
http://cvs.savannah.gnu.org/viewcvs/koha/admin/itemtypecategory.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.2.2.2&r2=1.2.2.3
http://cvs.savannah.gnu.org/viewcvs/koha/admin/itemtypes.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.24.2.4&r2=1.24.2.5
http://cvs.savannah.gnu.org/viewcvs/koha/admin/itemtypesubcategory.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.2.2.2&r2=1.2.2.3
http://cvs.savannah.gnu.org/viewcvs/koha/admin/mediatype.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.2.2.2&r2=1.2.2.3
http://cvs.savannah.gnu.org/viewcvs/koha/admin/roadtype.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.1.2.2&r2=1.1.2.3
http://cvs.savannah.gnu.org/viewcvs/koha/admin/systempreferences.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.34.2.11&r2=1.34.2.12
http://cvs.savannah.gnu.org/viewcvs/koha/export/marc.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.7.2.5&r2=1.7.2.6
http://cvs.savannah.gnu.org/viewcvs/koha/tools/breeding.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.1.2.2&r2=1.1.2.3
http://cvs.savannah.gnu.org/viewcvs/koha/tools/export.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.1.2.7&r2=1.1.2.8
http://cvs.savannah.gnu.org/viewcvs/koha/tools/import.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.1.2.3&r2=1.1.2.4
http://cvs.savannah.gnu.org/viewcvs/koha/tools/koha-news.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.1.2.2&r2=1.1.2.3

Patches:
Index: admin/admin-home.pl
===================================================================
RCS file: /sources/koha/koha/admin/admin-home.pl,v
retrieving revision 1.2.2.3
retrieving revision 1.2.2.4
diff -u -b -r1.2.2.3 -r1.2.2.4
--- admin/admin-home.pl	22 Dec 2006 15:02:56 -0000	1.2.2.3
+++ admin/admin-home.pl	22 Dec 2006 17:13:48 -0000	1.2.2.4
@@ -29,7 +29,7 @@
 			     query => $query,
 			     type => "intranet",
 			     authnotrequired => 0,
-			     flagsrequired => {parameters => 1, management => 1, tools => 1},
+			     flagsrequired => {parameters => 1},
 			     debug => 1,
 			     });
 

Index: admin/aqbookfund.pl
===================================================================
RCS file: /sources/koha/koha/admin/aqbookfund.pl,v
retrieving revision 1.29.2.3
retrieving revision 1.29.2.4
diff -u -b -r1.29.2.3 -r1.29.2.4
--- admin/aqbookfund.pl	14 Dec 2006 15:41:54 -0000	1.29.2.3
+++ admin/aqbookfund.pl	22 Dec 2006 17:13:48 -0000	1.29.2.4
@@ -76,7 +76,7 @@
          query => $input,
          type => "intranet",
          authnotrequired => 0,
-         flagsrequired => {parameters => 1, management => 1},
+         flagsrequired => {parameters => 1},
          debug => 1,
         }
     );

Index: admin/authorised_values.pl
===================================================================
RCS file: /sources/koha/koha/admin/authorised_values.pl,v
retrieving revision 1.17.2.4
retrieving revision 1.17.2.5
diff -u -b -r1.17.2.4 -r1.17.2.5
--- admin/authorised_values.pl	18 Dec 2006 16:35:17 -0000	1.17.2.4
+++ admin/authorised_values.pl	22 Dec 2006 17:13:48 -0000	1.17.2.5
@@ -58,7 +58,7 @@
 			     query => $input,
 			     type => "intranet",
 			     authnotrequired => 0,
-			     flagsrequired => {parameters => 1, management => 1},
+			     flagsrequired => {parameters => 1},
 			     debug => 1,
 			     });
 my $pagesize=20;

Index: admin/branches.pl
===================================================================
RCS file: /sources/koha/koha/admin/branches.pl,v
retrieving revision 1.34.2.3
retrieving revision 1.34.2.4
diff -u -b -r1.34.2.3 -r1.34.2.4
--- admin/branches.pl	14 Dec 2006 15:41:54 -0000	1.34.2.3
+++ admin/branches.pl	22 Dec 2006 17:13:48 -0000	1.34.2.4
@@ -70,7 +70,7 @@
         query           => $input,
         type            => "intranet",
         authnotrequired => 0,
-        flagsrequired   => { parameters => 1, management => 1 },
+        flagsrequired   => { parameters => 1},
         debug           => 1,
     }
 );

Index: admin/categorie.pl
===================================================================
RCS file: /sources/koha/koha/admin/categorie.pl,v
retrieving revision 1.23.2.3
retrieving revision 1.23.2.4
diff -u -b -r1.23.2.3 -r1.23.2.4
--- admin/categorie.pl	18 Dec 2006 16:35:17 -0000	1.23.2.3
+++ admin/categorie.pl	22 Dec 2006 17:13:48 -0000	1.23.2.4
@@ -72,7 +72,7 @@
 			     query => $input,
 			     type => "intranet",
 			     authnotrequired => 0,
-			     flagsrequired => {parameters => 1, management => 1},
+			     flagsrequired => {parameters => 1},
 			     debug => 1,
 			     });
 

Index: admin/cities.pl
===================================================================
RCS file: /sources/koha/koha/admin/cities.pl,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -b -r1.1.2.2 -r1.1.2.3
--- admin/cities.pl	18 Dec 2006 16:35:17 -0000	1.1.2.2
+++ admin/cities.pl	22 Dec 2006 17:13:48 -0000	1.1.2.3
@@ -53,7 +53,7 @@
 			     query => $input,
 			     type => "intranet",
 			     authnotrequired => 0,
-			     flagsrequired => {parameters => 1, management => 1},
+			     flagsrequired => {parameters => 1},
 			     debug => 1,
 			     });
 

Index: admin/currency.pl
===================================================================
RCS file: /sources/koha/koha/admin/currency.pl,v
retrieving revision 1.13.2.2
retrieving revision 1.13.2.3
diff -u -b -r1.13.2.2 -r1.13.2.3
--- admin/currency.pl	18 Dec 2006 16:35:17 -0000	1.13.2.2
+++ admin/currency.pl	22 Dec 2006 17:13:48 -0000	1.13.2.3
@@ -79,7 +79,7 @@
     = get_template_and_user({template_name => "admin/currency.tmpl",
                              query => $input,
                              type => "intranet",
-			     flagsrequired => {parameters => 1, management => 1},
+			     flagsrequired => {parameters => 1},
 			     authnotrequired => 0,
                              debug => 1,
                              });

Index: admin/issuingrules.pl
===================================================================
RCS file: /sources/koha/koha/admin/issuingrules.pl,v
retrieving revision 1.9.2.2
retrieving revision 1.9.2.3
diff -u -b -r1.9.2.2 -r1.9.2.3
--- admin/issuingrules.pl	22 Dec 2006 15:02:56 -0000	1.9.2.2
+++ admin/issuingrules.pl	22 Dec 2006 17:13:48 -0000	1.9.2.3
@@ -43,7 +43,7 @@
                              query => $input,
                              type => "intranet",
                              authnotrequired => 0,
- 			     flagsrequired => {parameters => 1, management => 1},
+ 			     flagsrequired => {parameters => 1},
 			      debug => 1,
                              });
 # save the values entered

Index: admin/itemtypecategory.pl
===================================================================
RCS file: /sources/koha/koha/admin/itemtypecategory.pl,v
retrieving revision 1.2.2.2
retrieving revision 1.2.2.3
diff -u -b -r1.2.2.2 -r1.2.2.3
--- admin/itemtypecategory.pl	18 Dec 2006 16:35:17 -0000	1.2.2.2
+++ admin/itemtypecategory.pl	22 Dec 2006 17:13:48 -0000	1.2.2.3
@@ -77,7 +77,7 @@
 			     query => $input,
 			     type => "intranet",
 			     authnotrequired => 0,
-			     flagsrequired => {parameters => 1, management => 1},
+			     flagsrequired => {parameters => 1},
 			     debug => 1,
 			     });
 

Index: admin/itemtypes.pl
===================================================================
RCS file: /sources/koha/koha/admin/itemtypes.pl,v
retrieving revision 1.24.2.4
retrieving revision 1.24.2.5
diff -u -b -r1.24.2.4 -r1.24.2.5
--- admin/itemtypes.pl	18 Dec 2006 16:35:17 -0000	1.24.2.4
+++ admin/itemtypes.pl	22 Dec 2006 17:13:48 -0000	1.24.2.5
@@ -78,7 +78,7 @@
 			     query => $input,
 			     type => "intranet",
 			     authnotrequired => 0,
-			     flagsrequired => {parameters => 1, management => 1},
+			     flagsrequired => {parameters => 1},
 			     debug => 1,
 			     });
 

Index: admin/itemtypesubcategory.pl
===================================================================
RCS file: /sources/koha/koha/admin/itemtypesubcategory.pl,v
retrieving revision 1.2.2.2
retrieving revision 1.2.2.3
diff -u -b -r1.2.2.2 -r1.2.2.3
--- admin/itemtypesubcategory.pl	18 Dec 2006 16:35:17 -0000	1.2.2.2
+++ admin/itemtypesubcategory.pl	22 Dec 2006 17:13:48 -0000	1.2.2.3
@@ -77,7 +77,7 @@
 			     query => $input,
 			     type => "intranet",
 			     authnotrequired => 0,
-			     flagsrequired => {parameters => 1, management => 1},
+			     flagsrequired => {parameters => 1},
 			     debug => 1,
 			     });
 

Index: admin/mediatype.pl
===================================================================
RCS file: /sources/koha/koha/admin/mediatype.pl,v
retrieving revision 1.2.2.2
retrieving revision 1.2.2.3
diff -u -b -r1.2.2.2 -r1.2.2.3
--- admin/mediatype.pl	18 Dec 2006 16:35:17 -0000	1.2.2.2
+++ admin/mediatype.pl	22 Dec 2006 17:13:48 -0000	1.2.2.3
@@ -78,7 +78,7 @@
 			     query => $input,
 			     type => "intranet",
 			     authnotrequired => 0,
-			     flagsrequired => {parameters => 1, management => 1},
+			     flagsrequired => {parameters => 1},
 			     debug => 1,
 			     });
 

Index: admin/roadtype.pl
===================================================================
RCS file: /sources/koha/koha/admin/roadtype.pl,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -b -r1.1.2.2 -r1.1.2.3
--- admin/roadtype.pl	18 Dec 2006 16:35:17 -0000	1.1.2.2
+++ admin/roadtype.pl	22 Dec 2006 17:13:48 -0000	1.1.2.3
@@ -53,7 +53,7 @@
 			     query => $input,
 			     type => "intranet",
 			     authnotrequired => 0,
-			     flagsrequired => {parameters => 1, management => 1},
+			     flagsrequired => {parameters => 1},
 			     debug => 1,
 			     });
 

Index: admin/systempreferences.pl
===================================================================
RCS file: /sources/koha/koha/admin/systempreferences.pl,v
retrieving revision 1.34.2.11
retrieving revision 1.34.2.12
diff -u -b -r1.34.2.11 -r1.34.2.12
--- admin/systempreferences.pl	19 Dec 2006 16:24:02 -0000	1.34.2.11
+++ admin/systempreferences.pl	22 Dec 2006 17:13:48 -0000	1.34.2.12
@@ -128,32 +128,36 @@
     $tabsysprefs{AmazonAssocTag}="OPAC";
     $tabsysprefs{AmazonContent}="OPAC";
     $tabsysprefs{AmazonDevKey}="OPAC";
-    $tabsysprefs{AnonSuggestions}="OPAC";
     $tabsysprefs{BiblioDefaultView}="OPAC";
-    $tabsysprefs{Disable_Dictionary}="OPAC";
-    $tabsysprefs{hidelostitems}="OPAC";
     $tabsysprefs{LibraryName}="OPAC";
-    $tabsysprefs{opacbookbag}="OPAC";
     $tabsysprefs{opaccolorstylesheet}="OPAC";
     $tabsysprefs{opaccredits}="OPAC";
     $tabsysprefs{opaclanguages}="OPAC";
-    $tabsysprefs{opaclanguagesdisplay}="OPAC";
     $tabsysprefs{opaclargeimage}="OPAC";
     $tabsysprefs{opaclayoutstylesheet}="OPAC";
     $tabsysprefs{OpacNav}="OPAC";
-    $tabsysprefs{OpacPasswordChange}="OPAC";
-    $tabsysprefs{opacreadinghistory}="OPAC";
     $tabsysprefs{opacsmallimage}="OPAC";
     $tabsysprefs{opacstylesheet}="OPAC";
     $tabsysprefs{opacthemes}="OPAC";
     $tabsysprefs{opacuserjs}="OPAC";
-    $tabsysprefs{opacuserlogin}="OPAC";
     $tabsysprefs{SubscriptionHistory}="OPAC";
-    $tabsysprefs{suggestion}="OPAC";
-    $tabsysprefs{virtualshelves}="OPAC";
     $tabsysprefs{opacheader}="OPAC";
-    $tabsysprefs{reviewson}="OPAC";
-    $tabsysprefs{RequestOnOpac}="OPAC";	
+# OPACFeatures
+    $tabsysprefs{Disable_Dictionary}="OPACFeatures";
+    $tabsysprefs{hidelostitems}="OPACFeatures";
+    $tabsysprefs{opacbookbag}="OPACFeatures";
+    $tabsysprefs{opaclanguagesdisplay}="OPACFeatures";
+    $tabsysprefs{OpacPasswordChange}="OPACFeatures";
+    $tabsysprefs{opacreadinghistory}="OPACFeatures";
+    $tabsysprefs{virtualshelves}="OPACFeatures";
+    $tabsysprefs{RequestOnOpac}="OPACFeatures";
+    $tabsysprefs{reviewson}="OPACFeatures";
+    $tabsysprefs{OpacTopissues}="OPACFeatures";
+    $tabsysprefs{OpacAuthorities}="OPACFeatures";
+    $tabsysprefs{OpacCloud}="OPACFeatures";
+    $tabsysprefs{opacuserlogin}="OPACFeatures";
+    $tabsysprefs{AnonSuggestions}="OPACFeatures";
+    $tabsysprefs{suggestion}="OPACFeatures";
 
 sub StringSearch  {
 	my ($env,$searchstring,$type)=@_;

Index: export/marc.pl
===================================================================
RCS file: /sources/koha/koha/export/Attic/marc.pl,v
retrieving revision 1.7.2.5
retrieving revision 1.7.2.6
diff -u -b -r1.7.2.5 -r1.7.2.6
--- export/marc.pl	22 Dec 2006 15:02:56 -0000	1.7.2.5
+++ export/marc.pl	22 Dec 2006 17:13:49 -0000	1.7.2.6
@@ -17,7 +17,7 @@
 # Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
 # Suite 330, Boston, MA  02111-1307 USA
 
-# $Id: marc.pl,v 1.7.2.5 2006/12/22 15:02:56 toins Exp $
+# $Id: marc.pl,v 1.7.2.6 2006/12/22 17:13:49 tipaul Exp $
 
 use C4::Branch; # GetBranches
 use strict;
@@ -122,7 +122,7 @@
                     query => $query,
                     type => "intranet",
                     authnotrequired => 0,
-                    flagsrequired => {parameters => 1, management => 1, tools => 1},
+                    flagsrequired => {tools => 1},
                     debug => 1,
                     });
     $template->param(branchloop=>\@branchloop,

Index: tools/breeding.pl
===================================================================
RCS file: /sources/koha/koha/tools/Attic/breeding.pl,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -b -r1.1.2.2 -r1.1.2.3
--- tools/breeding.pl	18 Dec 2006 16:35:20 -0000	1.1.2.2
+++ tools/breeding.pl	22 Dec 2006 17:13:49 -0000	1.1.2.3
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: breeding.pl,v 1.1.2.2 2006/12/18 16:35:20 toins Exp $
+# $Id: breeding.pl,v 1.1.2.3 2006/12/22 17:13:49 tipaul Exp $
 
 # Script for handling import of MARC data into Koha db
 #   and Z39.50 lookups
@@ -73,7 +73,7 @@
 					query => $input,
 					type => "intranet",
 					authnotrequired => 0,
-					flagsrequired => {parameters => 1, management => 1, tools => 1},
+					flagsrequired => {tools => 1},
 					debug => 1,
 					});
 
@@ -103,6 +103,9 @@
 #---------------
 # log cleared, as marcimport is (almost) rewritten from scratch.
 # $Log: breeding.pl,v $
+# Revision 1.1.2.3  2006/12/22 17:13:49  tipaul
+# removing "management" permission, that is useless (replaced by tools & admin)
+#
 # Revision 1.1.2.2  2006/12/18 16:35:20  toins
 # removing use HTML::Template from *.pl.
 #

Index: tools/export.pl
===================================================================
RCS file: /sources/koha/koha/tools/export.pl,v
retrieving revision 1.1.2.7
retrieving revision 1.1.2.8
diff -u -b -r1.1.2.7 -r1.1.2.8
--- tools/export.pl	21 Dec 2006 09:11:17 -0000	1.1.2.7
+++ tools/export.pl	22 Dec 2006 17:13:49 -0000	1.1.2.8
@@ -16,7 +16,7 @@
 # Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
 # Suite 330, Boston, MA  02111-1307 USA
 
-# $Id: export.pl,v 1.1.2.7 2006/12/21 09:11:17 toins Exp $
+# $Id: export.pl,v 1.1.2.8 2006/12/22 17:13:49 tipaul Exp $
 
 use strict;
 require Exporter;
@@ -156,7 +156,7 @@
             query => $query,
             type => "intranet",
             authnotrequired => 0,
-            flagsrequired => {parameters => 1, management => 1, tools => 1},
+            flagsrequired => {tools => 1},
             debug => 1,
          }
     );

Index: tools/import.pl
===================================================================
RCS file: /sources/koha/koha/tools/import.pl,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -u -b -r1.1.2.3 -r1.1.2.4
--- tools/import.pl	18 Dec 2006 16:35:20 -0000	1.1.2.3
+++ tools/import.pl	22 Dec 2006 17:13:49 -0000	1.1.2.4
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: import.pl,v 1.1.2.3 2006/12/18 16:35:20 toins Exp $
+# $Id: import.pl,v 1.1.2.4 2006/12/22 17:13:49 tipaul Exp $
 
 # Script for handling import of MARC data into Koha db
 #   and Z39.50 lookups
@@ -73,7 +73,7 @@
 					query => $input,
 					type => "intranet",
 					authnotrequired => 0,
-					flagsrequired => {parameters => 1, management => 1, tools => 1},
+					flagsrequired => {tools => 1},
 					debug => 1,
 					});
 
@@ -101,6 +101,9 @@
 #---------------
 # log cleared, as marcimport is (almost) rewritten from scratch.
 # $Log: import.pl,v $
+# Revision 1.1.2.4  2006/12/22 17:13:49  tipaul
+# removing "management" permission, that is useless (replaced by tools & admin)
+#
 # Revision 1.1.2.3  2006/12/18 16:35:20  toins
 # removing use HTML::Template from *.pl.
 #

Index: tools/koha-news.pl
===================================================================
RCS file: /sources/koha/koha/tools/koha-news.pl,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -b -r1.1.2.2 -r1.1.2.3
--- tools/koha-news.pl	18 Dec 2006 16:35:20 -0000	1.1.2.2
+++ tools/koha-news.pl	22 Dec 2006 17:13:49 -0000	1.1.2.3
@@ -45,7 +45,7 @@
 			     query => $cgi,
 			     type => "intranet",
 			     authnotrequired => 0,
-			     flagsrequired => {management => 1},
+			     flagsrequired => {tools => 1},
 			     debug => 1,
 			     });
 





More information about the Koha-cvs mailing list