# THIS FILE DISPLAYS GUTS OF: Control Panel, Config Settings Page &FormStart("$vars_config{CGIURL}/cp.cgi", "$Hiddens"); &TBT; #Table Border Top in cp_common.pl &HeaderRow("$vars_config{BBName} Configuration Settings", "2", "#5d7790", "#FFFFFF", "center", "2"); &HeaderRow("Primary Configuration Options", "2", "#c9c9c9", "#000000", "left", "2"); &HeaderRow("This page contains the most critical settings for your message board. If these settings are not correct, your message board will not function properly. Thus, be very careful whenever making any changes!
\n", "2", "#FFFFFF", "#000000", "left", "2", "1");
&RegField("Absolute Path: CGI Directory", "CGIPath", "yes", "45", "120", "", "$vars_config{CGIPath}");
&RegField("Absolute Path: Graphics (NonCGI) Directory", "NonCGIPath", "yes", "45", "120", "", "$vars_config{NonCGIPath}");
&RegField("Absolute Path: Members Directory", "MembersPath", "yes", "45", "120", "", "$vars_config{MembersPath}");
&RegField("Absolute Path: Variable Files Directory", "VariablesPath", "yes", "45", "120", "This should be the same as your CGI Directory absolute path UNLESS you cannot keep writeable files in that directory. In that case, place your variable files \(vars_config.cgi, vars_display.cgi, vars_misc.cgi, etc.\) in a separate directory that can be written to. If possible, place this directory somewhere that is not accessible from the web.", "$vars_config{VariablesPath}");
&RegField("URL: CGI Directory", "CGIURL", "yes", "45", "120", "", "$vars_config{CGIURL}");
&RegField("URL: Graphics \(NonCGI\) Directory", "NonCGIURL", "yes", "45", "120", "", "$vars_config{NonCGIURL}");
&RegField("Message Board Name", "BBName", "yes", "45", "120", "", "$vars_config{BBName}");
$vars_config{AdminLogging} = "YES" unless $vars_config{AdminLogging};
&RadioField("Enable Admin Logging", "AdminLogging", "yes", "If set to yes, the UBB will log all control panel actions.
You may force the UBB to log all control panel actions, regardless of this setting, by uploading a file to your Variable Files Directory named 'vars_pathlock.cgi'. 'vars_pathlock.cgi' will also prevent Primary Settings from being submitted. You may place an email address inside the vars_pathlock.cgi file, which will cause the UBB to send you an email any time an Administrator attempts to submit Primary Settings.", "$vars_config{AdminLogging}", "YES|Yes, log control panel actions.%%NO|No, do not log control panel options.");
&TBB; #Table Border Bottom in cp_common.pl
&Submit("Update Configuration Settings");
# Nothing below this line should be changed.. and there is no more code!
# This entire program is copyright Infopop Corporation.
# For more info on the Ultimate Bulletin Board and other Infopop
# Products/Services, visit: http://www.infopop.com
# You may not distribute this program in any manner, modified or otherwise.
#You make modifications, but only for your own use and within the confines of the UBB License Agreement.
# DANGER: Do not remove the following line!
1;