Adds support for Syndetics Excerpts and Editions
[koha.git] / admin / systempreferences.pl
index 01c088d..29dbcec 100755 (executable)
@@ -155,6 +155,9 @@ $tabsysprefs{RandomizeHoldsQueueWeight}      = "Circulation";
 $tabsysprefs{StaticHoldsQueueWeight}         = "Circulation";
 $tabsysprefs{AllowOnShelfHolds}              = "Circulation";
 $tabsysprefs{AllowHoldsOnDamagedItems}       = "Circulation";
+$tabsysprefs{UseBranchTransferLimits}        = "Circulation";
+$tabsysprefs{AllowHoldPolicyOverride}        = "Circulation";
+$tabsysprefs{BranchTransferLimitsType}       = "Circulation";
 
 # Staff Client
 $tabsysprefs{TemplateEncoding}        = "StaffClient";
@@ -193,7 +196,7 @@ $tabsysprefs{'SMSSendDriver'}              = 'Patrons';
 # I18N/L10N
 $tabsysprefs{dateformat}    = "I18N/L10N";
 $tabsysprefs{opaclanguages} = "I18N/L10N";
-$tabsysprefs{opacthemes}    = "I18N/L10N";
+$tabsysprefs{opaclanguagesdisplay} = "I18N/L10N";
 $tabsysprefs{language}      = "I18N/L10N";
 
 # Searching
@@ -228,6 +231,15 @@ $tabsysprefs{BakerTaylorEnabled}      = 'EnhancedContent';
 $tabsysprefs{BakerTaylorPassword}     = 'EnhancedContent';
 $tabsysprefs{BakerTaylorUsername}     = 'EnhancedContent';
 
+# Syndetics
+$tabsysprefs{SyndeticsClientCode}     = 'EnhancedContent';
+$tabsysprefs{SyndeticsEnabled}        = 'EnhancedContent';
+$tabsysprefs{SyndeticsCoverImages}    = 'EnhancedContent';
+$tabsysprefs{SyndeticsTOC}            = 'EnhancedContent';
+$tabsysprefs{SyndeticsSummary}        = 'EnhancedContent';
+$tabsysprefs{SyndeticsEditions}       = 'EnhancedContent';
+$tabsysprefs{SyndeticsExcerpt}       = 'EnhancedContent';
+
 # FRBR
 $tabsysprefs{FRBRizeEditions}     = "EnhancedContent";
 $tabsysprefs{XISBN}               = "EnhancedContent";
@@ -278,7 +290,6 @@ $tabsysprefs{OPACDisplayRequestPriority} = "OPAC";
 $tabsysprefs{SearchMyLibraryFirst} = "OPAC";
 $tabsysprefs{hidelostitems}        = "OPAC";
 $tabsysprefs{opacbookbag}          = "OPAC";
-$tabsysprefs{opaclanguagesdisplay} = "OPAC";
 $tabsysprefs{OpacPasswordChange}   = "OPAC";
 $tabsysprefs{opacreadinghistory}   = "OPAC";
 $tabsysprefs{virtualshelves}       = "OPAC";
@@ -672,18 +683,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 );