summaryrefslogtreecommitdiffstats
path: root/templates/show_album.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-08-06 07:23:42 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-08-06 07:23:42 +0000
commit0949ff48904b06438fc4215854d7fa3ba884474e (patch)
tree1ada94218223d74853d17023a919eddf16fac23c /templates/show_album.inc.php
parent0b4194ebf11e2ce8b59563c57a4eeca8c80a70e8 (diff)
downloadampache-0949ff48904b06438fc4215854d7fa3ba884474e.tar.gz
ampache-0949ff48904b06438fc4215854d7fa3ba884474e.tar.bz2
ampache-0949ff48904b06438fc4215854d7fa3ba884474e.zip
fixed find missing tracks, tweaked openstrands class again to account for lack of [[CCDATA tag on some xml responses
Diffstat (limited to 'templates/show_album.inc.php')
-rw-r--r--templates/show_album.inc.php13
1 files changed, 9 insertions, 4 deletions
diff --git a/templates/show_album.inc.php b/templates/show_album.inc.php
index f357f35a..7e10e085 100644
--- a/templates/show_album.inc.php
+++ b/templates/show_album.inc.php
@@ -25,8 +25,8 @@ $ajax_url = Config::get('ajax_url');
// Title for this album
$title = scrub_out($album->name) . ' (' . $album->year . ') -- ' . $album->f_artist;
?>
-<?php show_box_top($title); ?>
-<div style="float:left;display:table-cell;width:140px;">
+<?php show_box_top($title,'info-box'); ?>
+ <div style="float:left;margin-right:10px;">
<?php
if ($album_name != _('Unknown (Orphaned)')) {
$aa_url = $web_path . "/image.php?id=" . $album->id . "&amp;type=popup&amp;sid=" . session_id();
@@ -42,7 +42,7 @@ $title = scrub_out($album->name) . ' (' . $album->year . ') -- ' . $album->f_ar
</div>
</div>
<strong><?php echo _('Actions'); ?>:</strong><br />
- <div style="padding-left:5px;">
+ <div id="information_actions">
<span class="text-action"><?php echo Ajax::text('?action=basket&type=album&id=' . $album->id,_('Play Album'),'play_full_' . $album->id); ?></span>
<span class="text-action"><?php echo Ajax::text('?action=basket&type=album_random&id=' . $album->id,_('Play Random from Album'),'play_random_' . $album->id); ?></span>
<?php if ($GLOBALS['user']->has_access('75')) { ?>
@@ -55,9 +55,14 @@ $title = scrub_out($album->name) . ' (' . $album->year . ') -- ' . $album->f_ar
<?php if (Access::check_function('batch_download')) { ?>
<a href="<?php echo $web_path; ?>/batch.php?action=alb&amp;id=<?php echo $album->id; ?>"><?php echo _('Download'); ?></a><br />
<?php } ?>
+ <?php if (Plugin::is_installed('OpenStrands')) { ?>
+ <span class="text-action"><?php echo Ajax::text('?page=stats&action=show_check_album_tracks&id=' . $album->id,_('Find Missing Tracks'),'album_missing_tracks'); ?></span>
+ <?php } ?>
</div>
-
<?php show_box_bottom(); ?>
+<div id="additional_information">
+&nbsp;
+</div>
<?php
show_box_top($album->name . ' ' . _('Songs'));
$object_ids = $album->get_songs();