X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Fwhat-active.php;h=d41f722fe495d0c7665b123d1f848b94126596a4;hb=b8aa17b98b99c27eafbdca0fa090bae63527da9a;hp=c089956b340f16316147442e69f0f64616cae9b1;hpb=2f0357c7ac9da6c17d361b8e7cb0b1ad09eb85f6;p=mailer.git diff --git a/inc/modules/guest/what-active.php b/inc/modules/guest/what-active.php index c089956b34..d41f722fe4 100644 --- a/inc/modules/guest/what-active.php +++ b/inc/modules/guest/what-active.php @@ -41,7 +41,7 @@ if (!defined('__SECURITY')) { $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php'; require($INC); } elseif ((!EXT_IS_ACTIVE('active')) && (!IS_ADMIN())) { - addFatalMessage(__FILE__, __LINE__, sprintf(getMessage('EXTENSION_PROBLEM_EXT_INACTIVE'), 'active')); + addFatalMessage(__FILE__, __LINE__, generateExtensionInactiveNotInstalledMessage('active')); return; } @@ -59,7 +59,7 @@ $result = SQL_QUERY_ESC("SELECT userid, ".$add.", last_online FROM `{!_MYSQL_PREFIX!}_user_data` WHERE last_online >= %s AND `status`='CONFIRMED' ORDER BY last_online DESC LIMIT %s", - array(START_TDAY, getConfig('active_limit')), __FILE__, __LINE__); +array(START_TDAY, getConfig('active_limit')), __FILE__, __LINE__); // Entries found? if (SQL_NUMROWS($result) > 0) { @@ -74,8 +74,8 @@ if (SQL_NUMROWS($result) > 0) { 'sw' => $SW, 'uid' => $uid, 'nick' => $nick2, - 'points' => TRANSLATE_COMMA(GET_TOTAL_DATA($uid, 'user_points', 'points') - GET_TOTAL_DATA($uid, 'user_data', 'used_points')), - 'last' => MAKE_DATETIME($last, '2'), + 'points' => translateComma(GET_TOTAL_DATA($uid, 'user_points', 'points') - GET_TOTAL_DATA($uid, 'user_data', 'used_points')), + 'last' => generateDateTime($last, '2'), ); // Load template