From 538e79b2666daa4eb0bb9bb6f83ae0186ac089ea Mon Sep 17 00:00:00 2001 From: nf Date: Sat, 14 Jul 2007 11:36:37 +0000 Subject: Added classes to show_localplay_status.inc and updated all themes for compatibility. Added show_object_rating_static.inc (supplied by andy90) and modified rating.lib for this to work Removed obsolete patches from cleandy themes. Fixed a tiny css bug in StoneBlue theme. Fixed horizontal menu in Burgundy theme (explicit height in #sidebar li) --- lib/rating.lib.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'lib/rating.lib.php') diff --git a/lib/rating.lib.php b/lib/rating.lib.php index 8dee7c8e..118efc4d 100644 --- a/lib/rating.lib.php +++ b/lib/rating.lib.php @@ -31,6 +31,15 @@ function show_rating($object_id,$type) { } // show_rating +// andy90s rating patch added +function show_rating_static($object_id,$type) { + + $rating = new Rating($object_id,$type); + + include(conf('prefix') . '/templates/show_object_rating_static.inc.php'); + +} // show_rating_static + /** * get_rating_name * This takes a score and returns the name that we should use -- cgit