summaryrefslogtreecommitdiffstats
path: root/templates/show_genres.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-08-13 06:51:32 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-08-13 06:51:32 +0000
commit53cab4e5ba7e791c0c759a91895dffb072441017 (patch)
tree54a9eb268cdc83d4d8c3d809cda91a33d03eb42d /templates/show_genres.inc.php
parente7fea90327419214531371543662056c1398470d (diff)
downloadampache-53cab4e5ba7e791c0c759a91895dffb072441017.tar.gz
ampache-53cab4e5ba7e791c0c759a91895dffb072441017.tar.bz2
ampache-53cab4e5ba7e791c0c759a91895dffb072441017.zip
initial genre browsing and improved artists/albums browse code (made it consistent)
Diffstat (limited to 'templates/show_genres.inc.php')
-rw-r--r--templates/show_genres.inc.php13
1 files changed, 10 insertions, 3 deletions
diff --git a/templates/show_genres.inc.php b/templates/show_genres.inc.php
index cf9faf72..a263e630 100644
--- a/templates/show_genres.inc.php
+++ b/templates/show_genres.inc.php
@@ -39,12 +39,19 @@ $total_items = $view->total_items;
</tr>
<?php
foreach ($genres as $genre) {
-
+ $genre->format_genre();
?>
-<tr>
+<tr class="<?php echo flip_class(); ?>">
<td><?php echo $genre->link; ?></td>
<td><?php echo $genre->get_song_count(); ?></td>
- <td>Play | Download</td>
+ <td>
+ <?php echo _("Play"); ?>:
+ <a href="<?php echo $genre->play_link; ?>">All</a>
+ |
+ <a href="<?php echo $genre->random_link; ?>">Random</a>
+ |
+ Download
+ </td>
</tr>
<? } // end foreach genres ?>
<tr class="even" align="center">