]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-beg.php
Fix for fatal error and naming convention applied
[mailer.git] / inc / modules / guest / what-beg.php
index e8849838721e1a0755959e73f7b7ca7cb78fcba1..1ce4e5e2f845e8628ed44522e89d2ba5e06d11ae 100644 (file)
@@ -49,8 +49,8 @@ if (!defined('__SECURITY')) {
 ADD_DESCR('guest', __FILE__);
 
 // Prepare constants
-define('__BEG_POINTS'    , TRANSLATE_COMMA(getConfig('beg_points')));
-define('__BEG_POINTS_MAX', TRANSLATE_COMMA(getConfig('beg_points_max')));
+define('__BEG_POINTS'    , translateComma(getConfig('beg_points')));
+define('__BEG_POINTS_MAX', translateComma(getConfig('beg_points_max')));
 if ($GLOBALS['refid'] > 0) {
        // Take referal ID from URL/Cookie
        define('__BEG_UID'       , $GLOBALS['refid']);
@@ -60,8 +60,8 @@ if ($GLOBALS['refid'] > 0) {
 }
 
 // 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')));
+define('__BEG_TIMEOUT'    , createFancyTime(getConfig('beg_timeout')));
+define('__BEG_UID_TIMEOUT', createFancyTime(getConfig('beg_uid_timeout')));
 
 // Load final template
 LOAD_TEMPLATE("guest_".substr(basename(__FILE__), 5, -4));