Dutch and Polish opac updates
[koha.git] / admin / systempreferences.pl
index 2433798..904fb4b 100755 (executable)
@@ -70,7 +70,6 @@ my %tabsysprefs;
 $tabsysprefs{acquisitions}              = "Acquisitions";
 $tabsysprefs{gist}                      = "Acquisitions";
 $tabsysprefs{emailPurchaseSuggestions}  = "Acquisitions";
-$tabsysprefs{RenewSerialAddsSuggestion} = "Acquisitions";
 
 # Admin
 $tabsysprefs{singleBranchMode}      = "Admin";
@@ -101,27 +100,27 @@ $tabsysprefs{dontmerge}             = "Authorities";
 $tabsysprefs{BiblioAddsAuthorities} = "Authorities";
 
 # Cataloguing
-$tabsysprefs{advancedMARCEditor}          = "Cataloguing";
-$tabsysprefs{autoBarcode}                 = "Cataloguing";
-$tabsysprefs{hide_marc}                   = "Cataloguing";
-$tabsysprefs{IntranetBiblioDefaultView}   = "Cataloguing";
-$tabsysprefs{ISBD}                        = "Cataloguing";
-$tabsysprefs{itemcallnumber}              = "Cataloguing";
-$tabsysprefs{LabelMARCView}               = "Cataloguing";
-$tabsysprefs{marc}                        = "Cataloguing";
-$tabsysprefs{marcflavour}                 = "Cataloguing";
-$tabsysprefs{MARCOrgCode}                 = "Cataloguing";
-$tabsysprefs{z3950AuthorAuthFields}       = "Cataloguing";
-$tabsysprefs{z3950NormalizeAuthor}        = "Cataloguing";
-$tabsysprefs{Stemming}                    = "Cataloguing";
-$tabsysprefs{WeightFields}                = "Cataloguing";
-$tabsysprefs{NoZebra}                     = "Cataloguing";
-$tabsysprefs{NoZebraIndexes}              = "Cataloguing";
-$tabsysprefs{ReceiveBackIssues}           = "Cataloguing";
-$tabsysprefs{DefaultClassificationSource} = "Cataloguing";
-$tabsysprefs{RoutingSerials}              = "Cataloguing";
-$tabsysprefs{'item-level_itypes'}         = "Cataloguing";
-$tabsysprefs{OpacSuppression}             = "Cataloguing";
+$tabsysprefs{advancedMARCeditor}          = "Cataloging";
+$tabsysprefs{autoBarcode}                 = "Cataloging";
+$tabsysprefs{hide_marc}                   = "Cataloging";
+$tabsysprefs{IntranetBiblioDefaultView}   = "Cataloging";
+$tabsysprefs{ISBD}                        = "Cataloging";
+$tabsysprefs{itemcallnumber}              = "Cataloging";
+$tabsysprefs{LabelMARCView}               = "Cataloging";
+$tabsysprefs{marc}                        = "Cataloging";
+$tabsysprefs{marcflavour}                 = "Cataloging";
+$tabsysprefs{MARCOrgCode}                 = "Cataloging";
+$tabsysprefs{z3950AuthorAuthFields}       = "Cataloging";
+$tabsysprefs{z3950NormalizeAuthor}        = "Cataloging";
+$tabsysprefs{Stemming}                    = "Cataloging";
+$tabsysprefs{WeightFields}                = "Cataloging";
+$tabsysprefs{NoZebra}                     = "Cataloging";
+$tabsysprefs{NoZebraIndexes}              = "Cataloging";
+$tabsysprefs{ReceiveBackIssues}           = "Cataloging";
+$tabsysprefs{DefaultClassificationSource} = "Cataloging";
+$tabsysprefs{RoutingSerials}              = "Cataloging";
+$tabsysprefs{'item-level_itypes'}         = "Cataloging";
+$tabsysprefs{OpacSuppression}             = "Cataloging";
 
 # Circulation
 $tabsysprefs{maxoutstanding}                 = "Circulation";
@@ -177,9 +176,8 @@ $tabsysprefs{BorrowerMandatoryField}       = "Patrons";
 $tabsysprefs{borrowerRelationship}         = "Patrons";
 $tabsysprefs{BorrowersTitles}              = "Patrons";
 $tabsysprefs{patronimages}                 = "Patrons";
-$tabsysprefs{MinPasswordLength}            = "Patrons";
+$tabsysprefs{minPasswordLength}            = "Patrons";
 $tabsysprefs{uppercasesurnames}            = "Patrons";
-$tabsysprefs{NoReturnSetLost}              = "Patrons";
 $tabsysprefs{MaxFine}                      = "Patrons";
 $tabsysprefs{NotifyBorrowerDeparture}      = "Patrons";
 $tabsysprefs{AddPatronLists}               = "Patrons";
@@ -216,6 +214,7 @@ $tabsysprefs{AdvancedSearchTypes}     = "Searching";
 # EnhancedContent
 $tabsysprefs{AmazonContent}          = "EnhancedContent";
 $tabsysprefs{AWSAccessKeyID}         = "EnhancedContent";
+$tabsysprefs{AWSPrivateKey}          = "EnhancedContent";
 $tabsysprefs{AmazonLocale}           = "EnhancedContent";
 $tabsysprefs{AmazonAssocTag}         = "EnhancedContent";
 $tabsysprefs{AmazonSimilarItems}     = "EnhancedContent";
@@ -259,13 +258,9 @@ $tabsysprefs{opacsmallimage}             = "OPAC";
 $tabsysprefs{opacstylesheet}             = "OPAC";
 $tabsysprefs{opacthemes}                 = "OPAC";
 $tabsysprefs{opacuserjs}                 = "OPAC";
-$tabsysprefs{SubscriptionHistory}        = "OPAC";
 $tabsysprefs{opacheader}                 = "OPAC";
-$tabsysprefs{noOPACUserLogin}            = "OPAC";
 $tabsysprefs{hideBiblioNumber}           = "OPAC";
-$tabsysprefs{OPACDisplayExtendedSubInfo} = "OPAC";
 $tabsysprefs{OpacMainUserBlock}          = "OPAC";
-$tabsysprefs{OPACSubscriptionDisplay}    = "OPAC";
 $tabsysprefs{OPACURLOpenInNewWindow}     = "OPAC";
 $tabsysprefs{OPACUserCSS}                = "OPAC";
 $tabsysprefs{OPACHighlightedWords}       = "OPAC";
@@ -298,6 +293,14 @@ $tabsysprefs{OPACGroupResults}     = "OPAC";
 $tabsysprefs{XSLTDetailsDisplay}   = "OPAC";
 $tabsysprefs{XSLTResultsDisplay}   = "OPAC";
 
+# Serials
+$tabsysprefs{OPACSerialIssueDisplayCount}  = "Serials";
+$tabsysprefs{StaffSerialIssueDisplayCount} = "Serials";
+$tabsysprefs{OPACDisplayExtendedSubInfo}   = "Serials";
+$tabsysprefs{OPACSubscriptionDisplay}      = "Serials";
+$tabsysprefs{RenewSerialAddsSuggestion}    = "Serials";
+$tabsysprefs{SubscriptionHistory}          = "Serials";
+
 # LOGFeatures
 $tabsysprefs{CataloguingLog}  = "Logs";
 $tabsysprefs{BorrowersLog}    = "Logs";
@@ -671,18 +674,11 @@ if ( $op eq 'add_form' ) {
     my $tab = $input->param('tab');
     $template->param( $tab => 1 );
     my ( $count, $results ) = StringSearch( $searchfield, $tab );
-    my $toggle    = 0;
     my @loop_data = ();
     for ( my $i = $offset ; $i < ( $offset + $pagesize < $count ? $offset + $pagesize : $count ) ; $i++ ) {
-        if ( $toggle == 0 ) {
-            $toggle = 1;
-        } else {
-            $toggle = 0;
-        }
         my $row_data = $results->[$i];
         $row_data->{'lang'} = $template->param('lang');
         $row_data           = GetPrefParams($row_data);                                                         # get a fresh hash for the row data
-        $row_data->{toggle} = $toggle;
         $row_data->{edit}   = "$script_name?op=add_form&amp;searchfield=" . $results->[$i]{'variable'};
         $row_data->{delete} = "$script_name?op=delete_confirm&amp;searchfield=" . $results->[$i]{'variable'};
         push( @loop_data, $row_data );