diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-01-08 03:27:55 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-01-08 03:27:55 +0000 |
commit | 9a92a34e2c15942aae49b0928543079b23e9f874 (patch) | |
tree | 475f6f0af1afbed760433d67fa15f849f8ae40b7 /templates/show_genres.inc.php | |
parent | 3460950693c609876022a02eb5f42a59c768029e (diff) | |
download | ampache-9a92a34e2c15942aae49b0928543079b23e9f874.tar.gz ampache-9a92a34e2c15942aae49b0928543079b23e9f874.tar.bz2 ampache-9a92a34e2c15942aae49b0928543079b23e9f874.zip |
* New Play/Random icons (last ones I swear)
* Fixed up missing actions/icons on genre browse
* Fixed batch logic to show access denied, rather then
redirecting
* Fixed a minor css issue on classic that caused the
album art to float around
Diffstat (limited to 'templates/show_genres.inc.php')
-rw-r--r-- | templates/show_genres.inc.php | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/templates/show_genres.inc.php b/templates/show_genres.inc.php index 176ad93b..0ffd7492 100644 --- a/templates/show_genres.inc.php +++ b/templates/show_genres.inc.php @@ -1,7 +1,7 @@ <?php /* - Copyright (c) 2001 - 2005 Ampache.org + Copyright (c) 2001 - 2006 Ampache.org All rights reserved. This program is free software; you can redistribute it and/or @@ -33,9 +33,9 @@ $total_items = $view->total_items; </td> </tr> <tr class="table-header"> - <td><?php echo _("Genre"); ?></td> - <td><?php echo _("Songs"); ?></td> - <td><?php echo _("Action"); ?></td> + <td><?php echo _('Genre'); ?></td> + <td><?php echo _('Songs'); ?></td> + <td><?php echo _('Action'); ?></td> </tr> <?php foreach ($genres as $genre) { @@ -44,12 +44,17 @@ foreach ($genres as $genre) { <td><?php echo $genre->link; ?></td> <td><?php echo $genre->get_song_count(); ?></td> <td> - <?php echo _("Play"); ?>: - <a href="<?php echo $genre->play_link; ?>">All</a> - | - <a href="<?php echo $genre->random_link; ?>">Random</a> - | - Download + <a href="<?php echo $genre->play_link; ?>"> + <?php echo get_user_icon('all'); ?> + </a> + <a href="<?php echo $genre->random_link; ?>"> + <?php echo get_user_icon('random'); ?> + </a> + <?php if (batch_ok()) { ?> + <a href="<?php echo $genre->download_link; ?>"> + <?php echo get_user_icon('download'); ?> + </a> + <?php } ?> </td> </tr> <?php } // end foreach genres ?> |