}
// Online-Timeout shall be > 0 or your database will crow and crow and crow...
- if (!isset($_POST['online_timeout'])) { unset($_POST['ok']); }
+ if (!isset($_POST['online_timeout'])) { unset($_POST['ok']); }
// Chedck other timestamps (which can be zero!)
if (!isset($_POST['profile_lock'])) { unset($_POST['ok']); }
// Check other settings
if (!isset($_POST['max_send'])) { unset($_POST['ok']); }
- if (!isset($_POST['max_tlength'])) { unset($_POST['ok']); }
- if (!isset($_POST['unconfirmed'])) { unset($_POST['ok']); }
if (!isset($_POST['code_length'])) { unset($_POST['ok']); }
if (!isset($_POST['reject_url'])) { unset($_POST['ok']); }
}
define('_CFG_PROF_REUPDATE' , CREATE_TIME_SELECTIONS($_CONFIG['resend_profile_update'] , "resend_profile_update", "MWD"));
} else {
// Normal input boxes
- define('_CFG_ONLINE_TIMEOUT', "<INPUT type=\"text\" name=\"online_timeout\" class=\"admin_normal\" size=\"6\" maxlength=\"255\" value=\"".$_CONFIG['online_timeout']."\"> <FONT class=\"tiny\">(".SECS.")</FONT>");
- define('_CFG_URL_TLOCK' , "<INPUT type=\"text\" name=\"url_tlock\" class=\"admin_normal\" size=\"6\" maxlength=\"255\" value=\"".$_CONFIG['url_tlock'] ."\"> <FONT class=\"tiny\">(".SECS.")</FONT>");
- define('_CFG_PROFILE_LOCK' , "<INPUT type=\"text\" name=\"profile_lock\" class=\"admin_normal\" size=\"6\" maxlength=\"255\" value=\"".$_CONFIG['profile_lock'] ."\"> <FONT class=\"tiny\">(".SECS.")</FONT>");
- define('_CFG_PROFILE_UPDATE', "<INPUT type=\"text\" name=\"profile_update\" class=\"admin_normal\" size=\"10\" maxlength=\"255\" value=\"".$_CONFIG['profile_update']."\"> <FONT class=\"tiny\">(".SECS.")</FONT>");
- define('_CFG_PROF_REUPDATE' , "<INPUT type=\"text\" name=\"resend_profile_update\" class=\"admin_normal\" size=\"6\" maxlength=\"255\" value=\"".$_CONFIG['resend_profile_update'] ."\"> <FONT class=\"tiny\">(".SECS.")</FONT>");
+ define('_CFG_ONLINE_TIMEOUT', "<INPUT type=\"text\" name=\"online_timeout\" class=\"admin_normal\" size=\"6\" maxlength=\"255\" value=\"".$_CONFIG['online_timeout']."\"> <FONT class=\"tiny\">("._SECONDS.")</FONT>");
+ define('_CFG_URL_TLOCK' , "<INPUT type=\"text\" name=\"url_tlock\" class=\"admin_normal\" size=\"6\" maxlength=\"255\" value=\"".$_CONFIG['url_tlock'] ."\"> <FONT class=\"tiny\">("._SECONDS.")</FONT>");
+ define('_CFG_PROFILE_LOCK' , "<INPUT type=\"text\" name=\"profile_lock\" class=\"admin_normal\" size=\"6\" maxlength=\"255\" value=\"".$_CONFIG['profile_lock'] ."\"> <FONT class=\"tiny\">("._SECONDS.")</FONT>");
+ define('_CFG_PROFILE_UPDATE', "<INPUT type=\"text\" name=\"profile_update\" class=\"admin_normal\" size=\"10\" maxlength=\"255\" value=\"".$_CONFIG['profile_update']."\"> <FONT class=\"tiny\">("._SECONDS.")</FONT>");
+ define('_CFG_PROF_REUPDATE' , "<INPUT type=\"text\" name=\"resend_profile_update\" class=\"admin_normal\" size=\"6\" maxlength=\"255\" value=\"".$_CONFIG['resend_profile_update'] ."\"> <FONT class=\"tiny\">("._SECONDS.")</FONT>");
}
- if ($_CONFIG['order_multi_page'] == 'N') {
+ if ($_CONFIG['order_multi_page'] == "N") {
define('_CFG_ORDER_MULTI_N', ' checked');
define('_CFG_ORDER_MULTI_Y', "");
} else {
define('_CFG_ORDER_MULTI_Y', ' checked');
}
- if ($_CONFIG['autosend_active'] == 'N') {
+ if ($_CONFIG['autosend_active'] == "N") {
define('_CFG_AUTOSEND_ACTIVE_N', ' checked');
define('_CFG_AUTOSEND_ACTIVE_Y', "");
} else {
define('_CFG_AUTOSEND_ACTIVE_Y', ' checked');
}
- if ($_CONFIG['send_prof_update'] == 'N') {
+ if ($_CONFIG['send_prof_update'] == "N") {
define('_CFG_SEND_UPDATE_N', ' checked');
define('_CFG_SEND_UPDATE_Y', "");
} else {
define('_CFG_SEND_UPDATE_Y', ' checked');
}
- if ($_CONFIG['admin_notify'] == 'N') {
+ if ($_CONFIG['admin_notify'] == "N") {
define('_CFG_ADMIN_NOTIFY_N', ' checked');
define('_CFG_ADMIN_NOTIFY_Y', "");
} else {
define('_CFG_CSS_PHP_FILE', ' checked');
}
- if ($_CONFIG['guest_menu'] == 'Y') {
+ if ($_CONFIG['guest_menu'] == "Y") {
define('_CFG_GUEST_MENU_ACTIVE', ' checked');
define('_CFG_GUEST_MENU_INACTIVE', "");
} else {
define('_CFG_GUEST_MENU_INACTIVE', ' checked');
}
- if ($_CONFIG['member_menu'] == 'Y') {
+ if ($_CONFIG['member_menu'] == "Y") {
define('_CFG_MEMBER_MENU_ACTIVE', ' checked');
define('_CFG_MEMBER_MENU_INACTIVE', "");
} else {
define('_CFG_MEMBER_MENU_INACTIVE', ' checked');
}
- if ($_CONFIG['youre_here'] == 'Y') {
+ if ($_CONFIG['youre_here'] == "Y") {
define('_CFG_YOURE_HERE_ACTIVE', ' checked');
define('_CFG_YOURE_HERE_INACTIVE', "");
} else {
define('_CFG_YOURE_HERE_INACTIVE', ' checked');
}
- if ($_CONFIG['show_timings'] == 'Y') {
+ if ($_CONFIG['show_timings'] == "Y") {
define('_CFG_SHOW_TIMINGS_Y', ' checked');
define('_CFG_SHOW_TIMINGS_N', "");
} else {
define('_CFG_SHOW_TIMINGS_N', ' checked');
}
- if ($_CONFIG['mailid_error_redirect'] == 'index') {
+ if ($_CONFIG['mailid_error_redirect'] == 'INDEX') {
define('_CFG_MAILID_REDIRECT_INDEX', ' checked');
define('_CFG_MAILID_REDIRECT_REJECT', "");
} else {