Lines 95-101
$tabsysprefs{AutoLocation} = "Admin";
Link Here
|
95 |
$tabsysprefs{DebugLevel} = "Admin"; |
95 |
$tabsysprefs{DebugLevel} = "Admin"; |
96 |
$tabsysprefs{SessionStorage} = "Admin"; |
96 |
$tabsysprefs{SessionStorage} = "Admin"; |
97 |
|
97 |
|
98 |
# This script is depricated so all of these prefs are lumped here to avoid their being displayed in the local use prefs tab |
98 |
# This script is deprecated so all of these prefs are lumped here to avoid their being displayed in the local use prefs tab |
99 |
|
99 |
|
100 |
$tabsysprefs{noItemTypeImages} = "Admin"; |
100 |
$tabsysprefs{noItemTypeImages} = "Admin"; |
101 |
$tabsysprefs{OPACBaseURL} = "Admin"; |
101 |
$tabsysprefs{OPACBaseURL} = "Admin"; |
Lines 693-701
if ( $op eq 'add_form' ) {
Link Here
|
693 |
} |
693 |
} |
694 |
|
694 |
|
695 |
$data->{'lang'} = $template->param('lang'); |
695 |
$data->{'lang'} = $template->param('lang'); |
696 |
|
696 |
my $prefparams = GetPrefParams($data); |
697 |
$template->param( GetPrefParams($data) ); |
697 |
$template->param( %$prefparams ); |
698 |
|
|
|
699 |
$template->param( searchfield => $searchfield ); |
698 |
$template->param( searchfield => $searchfield ); |
700 |
|
699 |
|
701 |
################## ADD_VALIDATE ################################## |
700 |
################## ADD_VALIDATE ################################## |
Lines 746-752
if ( $op eq 'add_form' ) {
Link Here
|
746 |
} |
745 |
} |
747 |
} |
746 |
} |
748 |
$sth->finish; |
747 |
$sth->finish; |
749 |
print "Content-Type: text/html\n\n<META HTTP-EQUIV=Refresh CONTENT=\"0; URL=systempreferences.pl?tab=" . $tabsysprefs{ $input->param('variable') } . "\"></html>"; |
748 |
print "Content-Type: text/html\n\n<META HTTP-EQUIV=Refresh CONTENT=\"0; URL=systempreferences.pl?tab=\"></html>"; |
750 |
exit; |
749 |
exit; |
751 |
################## DELETE_CONFIRM ################################## |
750 |
################## DELETE_CONFIRM ################################## |
752 |
# called by default form, used to confirm deletion of data in DB |
751 |
# called by default form, used to confirm deletion of data in DB |
753 |
- |
|
|