tra('Most Active Users'), 'description' => tra('Display the specified number of users and their score, starting from the one with the highest score.'), 'prefs' => ['feature_score'], 'params' => [], 'common_params' => ['nonums', 'rows'] ]; } /** * @param $mod_reference * @param $module_params */ function module_users_rank($mod_reference, $module_params) { $smarty = TikiLib::lib('smarty'); $tikilib = TikiLib::lib('tiki'); $users_rank = $tikilib->rank_users($mod_reference["rows"]); $smarty->assign('users_rank', $users_rank); }