#use Smart::Comments '####';
-my $query = new CGI;
+my $query = CGI->new;
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
{
template_name => "about.tt",
my @xml_config_warnings;
-my $context = new C4::Context;
+my $context = C4::Context->new;
if ( C4::Context->config('zebra_bib_index_mode')
and C4::Context->config('zebra_bib_index_mode') eq 'grs1' )
);
}
+if ( C4::Context->preference('EnablePayPalOpacPayments') ) {
+ $template->param( paypal_enabled => 1 );
+}
+
# Test YAML system preferences
# FIXME: This is list of current YAML formatted prefs, should by type of preference
my @yaml_prefs = (