<?php

//this script may only be included - so its better to die if called directly.
if (strpos($_SERVER["SCRIPT_NAME"],basename(__FILE__)) !== false) {
  header("location: index.php");
  exit;
}
global $prefs, $tikilib, $smarty;

if ($prefs['feature_score'] == 'y') {
	$users_rank = $tikilib->rank_users($module_rows);
	$smarty->assign('users_rank', $users_rank);
} else
	$smarty->assign("module_error", tra("This feature is disabled"));

$smarty->assign('nonums', isset($module_params["nonums"]) ? $module_params["nonums"] : 'n');


