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_user_recommendations.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_user_recommendations.inc.php')
-rw-r--r-- | templates/show_user_recommendations.inc.php | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/templates/show_user_recommendations.inc.php b/templates/show_user_recommendations.inc.php index a979b9be..28509ad2 100644 --- a/templates/show_user_recommendations.inc.php +++ b/templates/show_user_recommendations.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) @@ -23,39 +23,39 @@ <?php UI::show_box_top(sprintf('%s Recommendations'), $working_user->fullname); ?> <table class="tabledata"> <tr> - <td valign="top"> - <?php - if (count($recommended_artists)) { - $items = $working_user->format_recommendations($recommended_artists,'artist'); - show_info_box(T_('Recommended Artists'),'artist',$items); - } - else { - echo "<span class=\"error\">" . T_('Not Enough Data') . "</span>"; - } - ?> - </td> - <td valign="top"> - <?php - if (count($recommended_albums)) { - $items = $working_user->format_recommendations($recommended_albums,'album'); - show_info_box(T_('Recommended Albums'),'album',$items); - } - else { - echo "<span class=\"error\">" . T_('Not Enough Data') . "</span>"; - } - ?> - </td> - <td valign="top"> - <?php - if (count($recommended_songs)) { - $items = $working_user->format_recommendations($recommended_songs,'song'); - show_info_box(T_('Recommended Songs'),'song',$items); - } - else { - echo "<span class=\"error\">" . T_('Not Enough Data') . "</span>"; - } - ?> - </td> + <td valign="top"> + <?php + if (count($recommended_artists)) { + $items = $working_user->format_recommendations($recommended_artists,'artist'); + show_info_box(T_('Recommended Artists'),'artist',$items); + } + else { + echo "<span class=\"error\">" . T_('Not Enough Data') . "</span>"; + } + ?> + </td> + <td valign="top"> + <?php + if (count($recommended_albums)) { + $items = $working_user->format_recommendations($recommended_albums,'album'); + show_info_box(T_('Recommended Albums'),'album',$items); + } + else { + echo "<span class=\"error\">" . T_('Not Enough Data') . "</span>"; + } + ?> + </td> + <td valign="top"> + <?php + if (count($recommended_songs)) { + $items = $working_user->format_recommendations($recommended_songs,'song'); + show_info_box(T_('Recommended Songs'),'song',$items); + } + else { + echo "<span class=\"error\">" . T_('Not Enough Data') . "</span>"; + } + ?> + </td> </tr> </table> <?php UI::show_box_bottom(); ?> |