summaryrefslogtreecommitdiffstats
path: root/templates/show_album.inc
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-09-23 23:28:18 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-09-23 23:28:18 +0000
commit34238a29aade796f30911c567eace0e1518eb470 (patch)
tree4e0125bd53cc2f75f7a0536ea6479ec82e0ac0ce /templates/show_album.inc
parent1d08ce31caa68f6da292493fa16432163cbbeddd (diff)
downloadampache-34238a29aade796f30911c567eace0e1518eb470.tar.gz
ampache-34238a29aade796f30911c567eace0e1518eb470.tar.bz2
ampache-34238a29aade796f30911c567eace0e1518eb470.zip
to keep infamys eyes from bleeding
Diffstat (limited to 'templates/show_album.inc')
-rw-r--r--templates/show_album.inc26
1 files changed, 8 insertions, 18 deletions
diff --git a/templates/show_album.inc b/templates/show_album.inc
index dfff023c..e2ef6838 100644
--- a/templates/show_album.inc
+++ b/templates/show_album.inc
@@ -32,18 +32,10 @@ $row_classes = array('even','odd');
$album_id = $album->id;
$artist_id = $album->artist_id;
$username = $GLOBALS['user']->username;
-
+$title = scrub_out($album->name) . ' -- ' . $album->f_artist;
?>
-<br />
-<table class="border" cellspacing="1" cellpadding="3" border="0">
-<tr class="table-header">
- <td colspan="2">
- <font size="+1"><?php echo scrub_out($album->name); ?> --
- <?php echo $album->f_artist; ?></font>
- </td>
-</tr>
-<tr class="even">
- <td width="140" align="center">
+<?php require (conf('prefix') . '/templates/show_box_top.inc.php'); ?>
+ <div style="display:table-cell;width:140px;">
<?php
if ($album_name != "Unknown (Orphaned)") {
$aa_url = $web_path . "/albumart.php?id=" . $album->id . "&amp;type=popup";
@@ -52,13 +44,13 @@ $username = $GLOBALS['user']->username;
echo "</a>\n";
}
?>
- </td>
- <td valign="top">
+ </div>
+ <div style="display:table-cell;vertical-align:top;">
<?php
if (conf('ratings')) { show_rating($album->id, 'album');} // end if ratings
echo "<br />\n";
?>
- <b>Actions:</b><br />
+ <strong><?php echo _('Actions'); ?>:</strong><br />
&nbsp;&nbsp;<a href="<?php echo $web_path; ?>/song.php?action=album&amp;album_id=<?php echo $album->id; ?>"><?php echo _("Play Album"); ; ?></a><br />
&nbsp;&nbsp;<a href="<?php echo $web_path; ?>/song.php?action=album_random&amp;album_id=<?php echo $album->id; ; ?>"><?php echo _("Play Random from Album"); ; ?></a><br />
<?php if ( ($GLOBALS['user']->has_access('75')) || (!conf('use_auth'))) { ?>
@@ -71,7 +63,5 @@ $username = $GLOBALS['user']->username;
<?php if (batch_ok()) { ?>
&nbsp;&nbsp;<a href="<?php echo $web_path; ?>/batch.php?action=alb&amp;id=<?php echo $album->id; ; ?>"><?php echo _('Download'); ?></a><br />
<?php } ?>
- </td>
-</tr>
-</table>
-<br />
+ </div>
+<?php require (conf('prefix') . '/templates/show_box_bottom.inc.php'); ?>