diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2013-01-26 03:00:32 -0500 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2013-01-26 03:38:46 -0500 |
commit | ef4d3660605efc7f1328d4533b0f4bfb6c1107e2 (patch) | |
tree | e4377fb129a899e65aaaf421f8c97098aecaedd5 /templates/show_artist.inc.php | |
parent | 8a750c3e875d590d351c3042570a134fcdf03e5d (diff) | |
download | ampache-ef4d3660605efc7f1328d4533b0f4bfb6c1107e2.tar.gz ampache-ef4d3660605efc7f1328d4533b0f4bfb6c1107e2.tar.bz2 ampache-ef4d3660605efc7f1328d4533b0f4bfb6c1107e2.zip |
Cosmetics: death to tabs
The refactoring I've been doing has reminded me of my strong preference
for spaces, and I feel inclined to impose my will on the tree.
Diffstat (limited to 'templates/show_artist.inc.php')
-rw-r--r-- | templates/show_artist.inc.php | 46 |
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&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&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&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&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&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&artist=<?php echo $artist->id; ?>"><?php echo T_('Update from tags'); ?></a> + <a href="<?php echo $web_path; ?>/artists.php?action=update_from_tags&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&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(); ?> |