define('__BEG_UID' , getConfig('def_refid'));
}
-if (function_exists('CREATE_FANCY_TIME')) {
- define('__BEG_TIMEOUT' , CREATE_FANCY_TIME(getConfig('beg_timeout')));
- define('__BEG_UID_TIMEOUT', CREATE_FANCY_TIME(getConfig('beg_uid_timeout')));
-} else {
- define('__BEG_TIMEOUT ' , round(getConfig('beg_timeout') / 60)." ".MINUTES);
- define('__BEG_UID_TIMEOUT', round(getConfig('beg_uid_timeout') / 60)." ".MINUTES);
-}
+// Selection boxes are now the default
+define('__BEG_TIMEOUT' , CREATE_FANCY_TIME(getConfig('beg_timeout')));
+define('__BEG_UID_TIMEOUT', CREATE_FANCY_TIME(getConfig('beg_uid_timeout')));
// Load final template
LOAD_TEMPLATE("guest_".substr(basename(__FILE__), 5, -4));