summaryrefslogtreecommitdiffstats
path: root/templates/show_user_row.inc.php
diff options
context:
space:
mode:
authorPaul Arthur <paul.arthur@flowerysong.com>2013-01-26 03:00:32 -0500
committerPaul Arthur <paul.arthur@flowerysong.com>2013-01-26 03:38:46 -0500
commitef4d3660605efc7f1328d4533b0f4bfb6c1107e2 (patch)
treee4377fb129a899e65aaaf421f8c97098aecaedd5 /templates/show_user_row.inc.php
parent8a750c3e875d590d351c3042570a134fcdf03e5d (diff)
downloadampache-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_row.inc.php')
-rw-r--r--templates/show_user_row.inc.php68
1 files changed, 34 insertions, 34 deletions
diff --git a/templates/show_user_row.inc.php b/templates/show_user_row.inc.php
index b24cf776..3ec821bd 100644
--- a/templates/show_user_row.inc.php
+++ b/templates/show_user_row.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)
@@ -20,41 +20,41 @@
*
*/
?>
- <td class="cel_username">
- <a href="<?php echo $web_path; ?>/stats.php?action=show_user&amp;user_id=<?php echo $client->id; ?>">
- <?php echo $client->fullname; ?> (<?php echo $client->username; ?>)
- </a>
- </td>
+ <td class="cel_username">
+ <a href="<?php echo $web_path; ?>/stats.php?action=show_user&amp;user_id=<?php echo $client->id; ?>">
+ <?php echo $client->fullname; ?> (<?php echo $client->username; ?>)
+ </a>
+ </td>
<td class="cel_lastseen"><?php echo $last_seen; ?></td>
<td class="cel_registrationdate"><?php echo $create_date; ?></td>
<td class="cel_activity"><?php echo $client->f_useage; ?></td>
- <?php if (Config::get('track_user_ip')) { ?>
- <td class="cel_lastip">
- <a href="<?php echo $web_path; ?>/admin/users.php?action=show_ip_history&amp;user_id=<?php echo $client->id; ?>">
- <?php echo $client->ip_history; ?>
- </a>
- </td>
- <?php } ?>
- <td class="cel_action">
- <a href="<?php echo $web_path; ?>/admin/users.php?action=show_edit&amp;user_id=<?php echo $client->id; ?>"><?php echo UI::get_icon('edit', T_('Edit')); ?></a>
- <a href="<?php echo $web_path; ?>/admin/users.php?action=show_preferences&amp;user_id=<?php echo $client->id; ?>"><?php echo UI::get_icon('preferences', T_('Preferences')); ?></a>
- <?php
- //FIXME: Fix this for the extra permission levels
- if ($client->disabled == '1') {
- echo "<a href=\"".$web_path."/admin/users.php?action=enable&amp;user_id=$client->id\">" . UI::get_icon('enable', T_('Enable')) . "</a>";
- }
- else {
- echo "<a href=\"".$web_path."/admin/users.php?action=disable&amp;user_id=$client->id\">" . UI::get_icon('disable', T_('Disable')) ."</a>";
- }
- ?>
- <a href="<?php echo $web_path; ?>/admin/users.php?action=delete&amp;user_id=<?php echo $client->id; ?>"><?php echo UI::get_icon('delete', T_('Delete')); ?></a>
- </td>
+ <?php if (Config::get('track_user_ip')) { ?>
+ <td class="cel_lastip">
+ <a href="<?php echo $web_path; ?>/admin/users.php?action=show_ip_history&amp;user_id=<?php echo $client->id; ?>">
+ <?php echo $client->ip_history; ?>
+ </a>
+ </td>
+ <?php } ?>
+ <td class="cel_action">
+ <a href="<?php echo $web_path; ?>/admin/users.php?action=show_edit&amp;user_id=<?php echo $client->id; ?>"><?php echo UI::get_icon('edit', T_('Edit')); ?></a>
+ <a href="<?php echo $web_path; ?>/admin/users.php?action=show_preferences&amp;user_id=<?php echo $client->id; ?>"><?php echo UI::get_icon('preferences', T_('Preferences')); ?></a>
+ <?php
+ //FIXME: Fix this for the extra permission levels
+ if ($client->disabled == '1') {
+ echo "<a href=\"".$web_path."/admin/users.php?action=enable&amp;user_id=$client->id\">" . UI::get_icon('enable', T_('Enable')) . "</a>";
+ }
+ else {
+ echo "<a href=\"".$web_path."/admin/users.php?action=disable&amp;user_id=$client->id\">" . UI::get_icon('disable', T_('Disable')) ."</a>";
+ }
+ ?>
+ <a href="<?php echo $web_path; ?>/admin/users.php?action=delete&amp;user_id=<?php echo $client->id; ?>"><?php echo UI::get_icon('delete', T_('Delete')); ?></a>
+ </td>
<?php
- if (($client->is_logged_in()) AND ($client->is_online())) {
- echo "<td class=\"cel_online user_online\"> &nbsp; </td>";
- } elseif ($client->disabled == 1) {
- echo "<td class=\"cel_online user_disabled\"> &nbsp; </td>";
- } else {
- echo "<td class=\"cel_online user_offline\"> &nbsp; </td>";
- }
+ if (($client->is_logged_in()) AND ($client->is_online())) {
+ echo "<td class=\"cel_online user_online\"> &nbsp; </td>";
+ } elseif ($client->disabled == 1) {
+ echo "<td class=\"cel_online user_disabled\"> &nbsp; </td>";
+ } else {
+ echo "<td class=\"cel_online user_offline\"> &nbsp; </td>";
+ }
?>