summaryrefslogtreecommitdiffstats
path: root/templates/show_genre.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-08-13 08:32:30 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-08-13 08:32:30 +0000
commitc3bcd9b2bd77e642f201838bc1cb17ec56d1690f (patch)
tree79470f97fcac891e29474bab9af1d99dcf7cc85c /templates/show_genre.inc.php
parent53cab4e5ba7e791c0c759a91895dffb072441017 (diff)
downloadampache-c3bcd9b2bd77e642f201838bc1cb17ec56d1690f.tar.gz
ampache-c3bcd9b2bd77e642f201838bc1cb17ec56d1690f.tar.bz2
ampache-c3bcd9b2bd77e642f201838bc1cb17ec56d1690f.zip
genre browsing should work now
Diffstat (limited to 'templates/show_genre.inc.php')
-rw-r--r--templates/show_genre.inc.php51
1 files changed, 51 insertions, 0 deletions
diff --git a/templates/show_genre.inc.php b/templates/show_genre.inc.php
new file mode 100644
index 00000000..c867e2f5
--- /dev/null
+++ b/templates/show_genre.inc.php
@@ -0,0 +1,51 @@
+<?php
+/*
+
+ Copyright (c) 2001 - 2005 Ampache.org
+ All rights reserved.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+*/
+/**
+ * Show Genre
+ * This shows a single genre and lets you pick between
+ * albums/artists or songs
+*/
+?>
+
+<table class="text-box">
+<tr>
+ <td>
+ <span class="header1"><?php echo _("Viewing") . " " . $genre->name . " " . _("Genre"); ?></span>
+ <br />
+ [<?php echo $genre->get_album_count(); ?>]
+ <a href="<?php echo conf('web_path'); ?>/genre.php?action=show_albums&genre_id=<?php echo $genre->id; ?>">
+ <?php echo _("Albums"); ?>
+ </a>
+ <br />
+ [<?php echo $genre->get_artist_count(); ?>]
+ <a href="<?php echo conf('web_path'); ?>/genre.php?action=show_artists&genre_id=<?php echo $genre->id; ?>">
+ <?php echo _("Artists"); ?>
+ </a>
+ <br />
+ [<?php echo $genre->get_song_count(); ?>]
+ <a href="<?php echo conf('web_path'); ?>/genre.php?action=show_songs&genre_id=<?php echo $genre->id; ?>">
+ <?php echo _("Songs"); ?>
+ </a>
+ <br />
+ </td>
+</tr>
+</table>