summaryrefslogtreecommitdiffstats
path: root/templates/show_artists.inc
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-03-31 08:07:54 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-03-31 08:07:54 +0000
commit2f126626cbd951e97220d7c9ab1f2791f614f401 (patch)
tree739ca78b8d50c42829d45176829e2ba9e7ef39a3 /templates/show_artists.inc
parent05a1cfe34904997715dd145af81d6d2170e120df (diff)
downloadampache-2f126626cbd951e97220d7c9ab1f2791f614f401.tar.gz
ampache-2f126626cbd951e97220d7c9ab1f2791f614f401.tar.bz2
ampache-2f126626cbd951e97220d7c9ab1f2791f614f401.zip
added download for size, and seriously cleaned up the /song.php file it actually is not ugly anymore.. yeah!
Diffstat (limited to 'templates/show_artists.inc')
-rw-r--r--templates/show_artists.inc17
1 files changed, 9 insertions, 8 deletions
diff --git a/templates/show_artists.inc b/templates/show_artists.inc
index 19c174d1..c0bd8510 100644
--- a/templates/show_artists.inc
+++ b/templates/show_artists.inc
@@ -25,6 +25,7 @@
*/
$web_path = conf('web_path');
+
// Build array of the table classes we are using
$total_items = $view->total_items;
?>
@@ -38,9 +39,9 @@ $total_items = $view->total_items;
<td>
<a href="<?php echo $web_path; ?>/<?php echo $_SESSION['view_script']; ?>?action=<?php echo $_REQUEST['action']; ?>&amp;keep_view=true&amp;sort_type=artist.name&amp;sort_order=0"> <?php echo _("Artist"); ?> </a>
</td>
- <td> <?php echo _("Songs"); ?> </td>
- <td> <?php echo _("Albums"); ?> </td>
- <td> <?php echo _("Action"); ?> </td>
+ <td> <?php echo _('Songs'); ?> </td>
+ <td> <?php echo _('Albums'); ?> </td>
+ <td> <?php echo _('Action'); ?> </td>
</tr>
<?php
/* Foreach through every artist that has been passed to us */
@@ -51,8 +52,8 @@ foreach ($artists as $artist) { ?>
<td><?php echo $artist['songs']; ?></td>
<td><?php echo $artist['albums']; ?></td>
<td nowrap="nowrap"> <?php echo _("Play"); ?> :
- <a href="<?php echo $web_path; ?>/song.php?action=m3u&amp;artist=<?php echo $artist['id']; ?>"><?php echo _("All"); ?></a> |
- <a href="<?php echo $web_path; ?>/song.php?action=m3u&amp;artist_random=<?php echo $artist['id']; ?>"><?php echo _("Random"); ?></a>
+ <a href="<?php echo $web_path; ?>/song.php?action=artist&amp;artist_id=<?php echo $artist['id']; ?>"><?php echo _("All"); ?></a> |
+ <a href="<?php echo $web_path; ?>/song.php?action=artist_random&amp;artist_id=<?php echo $artist['id']; ?>"><?php echo _("Random"); ?></a>
</td>
</tr>
<?php } //end foreach ($artists as $artist) ?>
@@ -60,9 +61,9 @@ foreach ($artists as $artist) { ?>
<td>
<a href="<?php echo $web_path; ?>/<?php echo $_SESSION['view_script']; ?>?action=<?php echo $_REQUEST['action']; ?>&amp;keep_view=true&amp;sort_type=artist.name&amp;sort_order=0"> <?php echo _("Artist"); ?> </a>
</td>
- <td><?php echo _("Songs"); ?></td>
- <td><?php echo _("Albums"); ?></td>
- <td><?php echo _("Action"); ?></td>
+ <td><?php echo _('Songs'); ?></td>
+ <td><?php echo _('Albums'); ?></td>
+ <td><?php echo _('Action'); ?></td>
</tr>
<tr class="even" align="center">