ADD_DESCR('admin', __FILE__);
// Was the form submitted?
-if (IS_FORM_SENT()) {
+if (isFormSent()) {
// Replace german decimal comma with computer decimal dot
if (REQUEST_ISSET_POST(('surfbar_static_reward'))) REQUEST_SET_POST('surfbar_static_reward' , convertCommaToDot(REQUEST_POST('surfbar_static_reward')));
if (REQUEST_ISSET_POST(('surfbar_static_costs'))) REQUEST_SET_POST('surfbar_static_costs' , convertCommaToDot(REQUEST_POST('surfbar_static_costs')));
define('__CONFIG_SURFBAR_MIGRATE_ORDER_N', ' checked="checked"');
}
+ // Prepare order migration
+ if (getConfig('surfbar_guest_login_form') == 'Y') {
+ // Yes selected
+ define('__CONFIG_SURFBAR_GUEST_LOGIN_FORM_Y', ' checked="checked"');
+ define('__CONFIG_SURFBAR_GUEST_LOGIN_FORM_N', '');
+ } else {
+ // No selected
+ define('__CONFIG_SURFBAR_GUEST_LOGIN_FORM_Y', '');
+ define('__CONFIG_SURFBAR_GUEST_LOGIN_FORM_N', ' checked="checked"');
+ }
+
// Pause URL mode
if (getConfig('surfbar_pause_mode') == 'INTERNAL') {
// Internal pause page