diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-10-12 01:34:18 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-10-12 01:34:18 +0000 |
commit | 2a8cbedade6d2d7e7e71e5dbb8c562a84cfe6c80 (patch) | |
tree | 1c4b2060e96fcf4a92f0ab52dbe3894d3797bebd /templates/show_album.inc | |
parent | 80d226853c000229cdcd3690885aea2116f8e2cc (diff) | |
download | ampache-2a8cbedade6d2d7e7e71e5dbb8c562a84cfe6c80.tar.gz ampache-2a8cbedade6d2d7e7e71e5dbb8c562a84cfe6c80.tar.bz2 ampache-2a8cbedade6d2d7e7e71e5dbb8c562a84cfe6c80.zip |
new rating hotness, has some bugs will continue to hash them out
Diffstat (limited to 'templates/show_album.inc')
-rw-r--r-- | templates/show_album.inc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/templates/show_album.inc b/templates/show_album.inc index e2ef6838..5fc28300 100644 --- a/templates/show_album.inc +++ b/templates/show_album.inc @@ -27,7 +27,6 @@ $web_path = conf('web_path'); // Build array of the table classes we are using $row_classes = array('even','odd'); -// Generate variables for the flash ratings //FIXME: $album_id = $album->id; $artist_id = $album->artist_id; @@ -47,7 +46,11 @@ $title = scrub_out($album->name) . ' -- ' . $album->f_artist; </div> <div style="display:table-cell;vertical-align:top;"> <?php - if (conf('ratings')) { show_rating($album->id, 'album');} // end if ratings + if (conf('ratings')) { + show_ajax_js("r_" . $album->id . "_album",array("rating_" . $album->id . "_album")); + echo "<span style=\"display:inline;\" id=\"rating_" . $album->id . "_album\">"; + show_rating($album->id, 'album');} // end if ratings + echo "</span>"; echo "<br />\n"; ?> <strong><?php echo _('Actions'); ?>:</strong><br /> |