summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-12-03 09:14:38 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-12-03 09:14:38 +0000
commit99baf7582de072847cf6307d5b291168520554b1 (patch)
tree237171eb19f3a9012488cd7f2c5b82608a17b861 /templates
parent28f7ad7026a864479feb92007315a22096c9e6d2 (diff)
downloadampache-99baf7582de072847cf6307d5b291168520554b1.tar.gz
ampache-99baf7582de072847cf6307d5b291168520554b1.tar.bz2
ampache-99baf7582de072847cf6307d5b291168520554b1.zip
added paging to the playlist view, corrected a few stupid parse errors / mistakes
Diffstat (limited to 'templates')
-rw-r--r--templates/show_album_art.inc.php2
-rw-r--r--templates/show_artist_box.inc.php1
-rw-r--r--templates/show_playlist.inc.php1
3 files changed, 2 insertions, 2 deletions
diff --git a/templates/show_album_art.inc.php b/templates/show_album_art.inc.php
index 37ecca54..dc7afc47 100644
--- a/templates/show_album_art.inc.php
+++ b/templates/show_album_art.inc.php
@@ -38,7 +38,7 @@ while ($i <= $rows) {
?>
<td align="center">
<a href="<?php echo $image_url; ?>" target="_blank">
- <img src="<?php echo $image_url; ?>" alt="Album Art" height="175" width="175" /><br />
+ <img src="<?php echo $image_url; ?>" alt="Album Art" border="0" height="175" width="175" /><br />
</a>
<p align="center">
[<a href="<?php echo Config::get('web_path'); ?>/albums.php?action=select_art&amp;image=<?php echo $key; ?>&amp;album_id=<?php echo urlencode($_REQUEST['album_id']); ?>">Select</a>]
diff --git a/templates/show_artist_box.inc.php b/templates/show_artist_box.inc.php
index 48f81227..07307d8e 100644
--- a/templates/show_artist_box.inc.php
+++ b/templates/show_artist_box.inc.php
@@ -36,7 +36,6 @@ if (Config::get('ratings')) {
<?php echo Ajax::text('?action=basket&type=artist_random&id=' . $artist->id,_('Add Random Songs By') . ' ' . $artist->f_name,'play_random_artist'); ?><br />
<?php if ($GLOBALS['user']->has_access('50')) { ?>
<a href="<?php echo $web_path; ?>/artists.php?action=update_from_tags&amp;artist=<?php echo $artist->id; ?>"><?php echo _("Update from tags"); ?></a><br />
- <a href="<?php echo $web_path; ?>/artists.php?action=show_similar&amp;artist=<?php echo $artist->id; ?>"><?php echo _("Find duplicate artists"); ?></a><br />
<?php } ?>
<?php if (Plugin::is_installed('OpenStrands')) { ?>
<?php echo Ajax::text('?page=stats&action=show_recommend&type=artist&id=' . $artist->id,_('Recommend Similar'),'artist_recommend_similar'); ?>
diff --git a/templates/show_playlist.inc.php b/templates/show_playlist.inc.php
index a1855c79..1b8b899d 100644
--- a/templates/show_playlist.inc.php
+++ b/templates/show_playlist.inc.php
@@ -37,6 +37,7 @@ $web_path = Config::get('web_path');
<?php
$object_ids = $playlist->get_items();
Browse::set_type('playlist_song');
+ Browse::add_supplemental_object('playlist',$playlist->id);
Browse::save_objects($object_ids);
Browse::show_objects($object_ids);
?>