*/ class RatingPreloads { function preload(&$template, $preload, $paramSet) { static $loaded; if (!empty($loaded[$preload])) { return null; } $loaded[$preload] = 1; $template->style('modules/rating/rating.css'); $template->javascript('lib/javascript/XmlHttp.js'); $template->javascript('modules/rating/rating.js'); return null; } } ?>