X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Fwhat-active.php;h=d41f722fe495d0c7665b123d1f848b94126596a4;hp=1ce76057be6581a207f1300a45fb97290172a299;hb=1e2a4228e071a67a2d79e970a843e3e30476cfb8;hpb=aa63aed07428a99ea09002c8d072990677700080 diff --git a/inc/modules/guest/what-active.php b/inc/modules/guest/what-active.php index 1ce76057be..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__, 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