summaryrefslogtreecommitdiffstats
path: root/templates/show_artist.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show_artist.inc.php')
-rw-r--r--templates/show_artist.inc.php46
1 files changed, 23 insertions, 23 deletions
diff --git a/templates/show_artist.inc.php b/templates/show_artist.inc.php
index aa26d52d..7bf95c56 100644
--- a/templates/show_artist.inc.php
+++ b/templates/show_artist.inc.php
@@ -1,5 +1,5 @@
<?php
-/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
+/* vim:set softtabstop=4 shiftwidth=4 expandtab: */
/**
*
* LICENSE: GNU General Public License, version 2 (GPLv2)
@@ -29,43 +29,43 @@ UI::show_box_top($artist->f_name, 'info-box');
if (Config::get('ratings')) {
?>
<div id="rating_<?php echo intval($artist->id); ?>_artist" style="display:inline;">
- <?php show_rating($artist->id, 'artist'); ?>
+ <?php show_rating($artist->id, 'artist'); ?>
</div>
<?php } ?>
<div id="information_actions">
<h3><?php echo T_('Actions'); ?>:</h3>
<ul>
<li>
- <?php if ($object_type == 'album') { ?>
- <a href="<?php echo $web_path; ?>/artists.php?action=show_all_songs&amp;artist=<?php echo $artist->id; ?>">
- <?php echo UI::get_icon('view', T_("Show All Songs By %s")); ?>
- <?php printf(T_("Show All Songs By %s"), $artist->f_name); ?></a>
- <?php } else { ?>
- <a href="<?php echo $web_path; ?>/artists.php?action=show&amp;artist=<?php echo $artist->id; ?>">
- <?php echo UI::get_icon('view', T_("Show Albums By %s")); ?>
- <?php printf(T_("Show Albums By %s"), $artist->f_name); ?></a>
- <?php } ?>
+ <?php if ($object_type == 'album') { ?>
+ <a href="<?php echo $web_path; ?>/artists.php?action=show_all_songs&amp;artist=<?php echo $artist->id; ?>">
+ <?php echo UI::get_icon('view', T_("Show All Songs By %s")); ?>
+ <?php printf(T_("Show All Songs By %s"), $artist->f_name); ?></a>
+ <?php } else { ?>
+ <a href="<?php echo $web_path; ?>/artists.php?action=show&amp;artist=<?php echo $artist->id; ?>">
+ <?php echo UI::get_icon('view', T_("Show Albums By %s")); ?>
+ <?php printf(T_("Show Albums By %s"), $artist->f_name); ?></a>
+ <?php } ?>
</li>
<li>
- <?php /* HINT: Artist Fullname */ ?>
- <?php echo Ajax::button('?action=basket&type=artist&id=' . $artist->id,'add', T_('Add'),'add_' . $artist->id); ?>
- <?php echo Ajax::text('?action=basket&type=artist&id=' . $artist->id,sprintf(T_('Add All Songs By %s'), $artist->f_name),'add_text_' . $artist->id); ?>
+ <?php /* HINT: Artist Fullname */ ?>
+ <?php echo Ajax::button('?action=basket&type=artist&id=' . $artist->id,'add', T_('Add'),'add_' . $artist->id); ?>
+ <?php echo Ajax::text('?action=basket&type=artist&id=' . $artist->id,sprintf(T_('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', T_('Random'),'random_' . $artist->id); ?>
- <?php echo Ajax::text('?action=basket&type=artist_random&id=' . $artist->id, sprintf(T_('Add Random Songs By %s'), $artist->f_name),'random_text_' . $artist->id); ?>
+ <?php /* HINT: Artist Fullname */ ?>
+ <?php echo Ajax::button('?action=basket&type=artist_random&id=' . $artist->id,'random', T_('Random'),'random_' . $artist->id); ?>
+ <?php echo Ajax::text('?action=basket&type=artist_random&id=' . $artist->id, sprintf(T_('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 UI::get_icon('cog', T_('Update from tags')); ?></a>
- <a href="<?php echo $web_path; ?>/artists.php?action=update_from_tags&amp;artist=<?php echo $artist->id; ?>"><?php echo T_('Update from tags'); ?></a>
+ <a href="<?php echo $web_path; ?>/artists.php?action=update_from_tags&amp;artist=<?php echo $artist->id; ?>"><?php echo UI::get_icon('cog', T_('Update from tags')); ?></a>
+ <a href="<?php echo $web_path; ?>/artists.php?action=update_from_tags&amp;artist=<?php echo $artist->id; ?>"><?php echo T_('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 UI::get_icon('batch_download', T_('Download')); ?></a>
- <a href="<?php echo $web_path; ?>/batch.php?action=artist&id=<?php echo $artist->id; ?>"><?php echo T_('Download'); ?></a>
+ <a href="<?php echo $web_path; ?>/batch.php?action=artist&id=<?php echo $artist->id; ?>"><?php echo UI::get_icon('batch_download', T_('Download')); ?></a>
+ <a href="<?php echo $web_path; ?>/batch.php?action=artist&id=<?php echo $artist->id; ?>"><?php echo T_('Download'); ?></a>
</li>
<?php } ?>
<li>
@@ -75,6 +75,6 @@ if (Config::get('ratings')) {
</div>
<?php UI::show_box_bottom(); ?>
<?php
- $browse->show_objects($object_ids);
- $browse->store();
+ $browse->show_objects($object_ids);
+ $browse->store();
?>