summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authornf <nf@ampache>2007-07-14 11:36:37 +0000
committernf <nf@ampache>2007-07-14 11:36:37 +0000
commit538e79b2666daa4eb0bb9bb6f83ae0186ac089ea (patch)
tree0109c1efd5c40c3b61f5ca16a5cbba967fc7359a /lib
parent6a929af1bf1953b74471220e22df22321b71630d (diff)
downloadampache-538e79b2666daa4eb0bb9bb6f83ae0186ac089ea.tar.gz
ampache-538e79b2666daa4eb0bb9bb6f83ae0186ac089ea.tar.bz2
ampache-538e79b2666daa4eb0bb9bb6f83ae0186ac089ea.zip
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)
Diffstat (limited to 'lib')
-rw-r--r--lib/rating.lib.php9
1 files changed, 9 insertions, 0 deletions
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