summaryrefslogtreecommitdiffstats
path: root/templates/show_artist.inc.php
diff options
context:
space:
mode:
authordipsol <dipsol@ampache>2009-05-26 18:52:50 +0000
committerdipsol <dipsol@ampache>2009-05-26 18:52:50 +0000
commit11767cda35f8c256d52b7952e08d9ea2fdce3b45 (patch)
tree40483e83fd6dcbf51c7755cfdedd08df3c2ebe0e /templates/show_artist.inc.php
parent25fab47331e88113d81db6afd2777d230ba02f64 (diff)
downloadampache-11767cda35f8c256d52b7952e08d9ea2fdce3b45.tar.gz
ampache-11767cda35f8c256d52b7952e08d9ea2fdce3b45.tar.bz2
ampache-11767cda35f8c256d52b7952e08d9ea2fdce3b45.zip
Fix 452, made text links also clickable
Diffstat (limited to 'templates/show_artist.inc.php')
-rw-r--r--templates/show_artist.inc.php27
1 files changed, 17 insertions, 10 deletions
diff --git a/templates/show_artist.inc.php b/templates/show_artist.inc.php
index 942788af..4e63835d 100644
--- a/templates/show_artist.inc.php
+++ b/templates/show_artist.inc.php
@@ -25,7 +25,7 @@ $title = sprintf(_('Albums by %s'), $artist->full_name);
<?php
/* HINT: Object type, Artist Fullname */
show_box_top(sprintf(gettext('%s by %s'), ucfirst($object_type) ,$artist->f_name),'info-box');
-if (Config::get('ratings')) {
+if (Config::get('ratings')) {
?>
<div id="rating_<?php echo intval($artist->id); ?>_artist" style="display:inline;">
<?php show_rating($artist->id, 'artist'); ?>
@@ -34,23 +34,30 @@ if (Config::get('ratings')) {
<div id="information_actions">
<ul>
<li>
- <?php /* HINT: Artist Fullname */ ?><a href="<?php echo $web_path; ?>/artists.php?action=show_all_songs&amp;artist=<?php echo $artist->id; ?>"><?php echo get_user_icon('view', _("Show All Songs By %s")); ?></a><?php printf(_("Show All Songs By %s"), $artist->f_name); ?>
+ <?php /* HINT: Artist Fullname */ ?>
+ <a href="<?php echo $web_path; ?>/artists.php?action=show_all_songs&amp;artist=<?php echo $artist->id; ?>"><?php echo get_user_icon('view', _("Show All Songs By %s")); ?></a>
+ <a href="<?php echo $web_path; ?>/artists.php?action=show_all_songs&amp;artist=<?php echo $artist->id; ?>"><?php printf(_("Show All Songs By %s"), $artist->f_name); ?></a>
</li>
<li>
- <?php /* HINT: Artist Fullname */ ?><?php echo Ajax::button('?action=basket&type=artist&id=' . $artist->id,'add',_('Add'),'add_' . $artist->id); ?><?php printf(_('Add All Songs By %s'), $artist->f_name); ?>
+ <?php /* HINT: Artist Fullname */ ?>
+ <?php echo Ajax::button('?action=basket&type=artist&id=' . $artist->id,'add',_('Add'),'add_' . $artist->id); ?>
+ <?php echo Ajax::text('?action=basket&type=artist&id=' . $artist->id,sprintf(_('Add All Songs By %s'), $artist->f_name),'add_text_' . $artist->id); ?>
</li>
<li>
- <?php /* HINT: Artist Fullname */ ?><?php echo Ajax::button('?action=basket&type=artist_random&id=' . $artist->id,'random',_('Random'),'random_' . $artist->id); ?><?php printf(_('Add Random Songs By %s'), $artist->f_name); ?>
+ <?php /* HINT: Artist Fullname */ ?>
+ <?php echo Ajax::button('?action=basket&type=artist_random&id=' . $artist->id,'random',_('Random'),'random_' . $artist->id); ?>
+ <?php echo Ajax::text('?action=basket&type=artist_random&id=' . $artist->id, sprintf(_('Add Random Songs By %s'), $artist->f_name),'random_text_' . $artist->id); ?>
</li>
<?php if (Access::check('interface','50')) { ?>
<li>
- <a href="<?php echo $web_path; ?>/artists.php?action=update_from_tags&amp;artist=<?php echo $artist->id; ?>"><?php echo get_user_icon('cog', _('Update from tags')); ?></a> <?php echo _('Update from tags'); ?>
+ <a href="<?php echo $web_path; ?>/artists.php?action=update_from_tags&amp;artist=<?php echo $artist->id; ?>"><?php echo get_user_icon('cog', _('Update from tags')); ?></a>
+ <a href="<?php echo $web_path; ?>/artists.php?action=update_from_tags&amp;artist=<?php echo $artist->id; ?>"><?php echo _('Update from tags'); ?></a>
</li>
<?php } ?>
<?php if (Access::check_function('batch_download')) { ?>
<li>
- <a href="<?php echo $web_path; ?>/batch.php?action=artist&id=<?php echo $artist->id; ?>"><?php echo get_user_icon('batch_download', _('Download')); ?></a>
- <?php echo _('Download'); ?>
+ <a href="<?php echo $web_path; ?>/batch.php?action=artist&id=<?php echo $artist->id; ?>"><?php echo get_user_icon('batch_download', _('Download')); ?></a>
+ <a href="<?php echo $web_path; ?>/batch.php?action=artist&id=<?php echo $artist->id; ?>"><?php echo _('Download'); ?></a>
</li>
<?php } ?>
<li>
@@ -60,7 +67,7 @@ if (Config::get('ratings')) {
</div>
<?php show_box_bottom(); ?>
<?php
- Browse::set_type($object_type);
- Browse::reset();
- Browse::show_objects($object_ids);
+ Browse::set_type($object_type);
+ Browse::reset();
+ Browse::show_objects($object_ids);
?>