-define('__USED_VALUE' , translateComma($USED));
-define('__TPTS_VALUE' , translateComma($TPTS - $USED));
-define('__TREF_VALUE' , $TREF);
-define('__TLOCK_VALUE', translateComma($TLOCK));
+$content['used'] = translateComma($usedPoints);
+$content['tpts'] = translateComma($totalPoints - $usedPoints);
+$content['tref'] = $TREF;
+$content['tlock'] = translateComma($TLOCK);