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_ip_history.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_ip_history.inc.php')
-rw-r--r-- | templates/show_ip_history.inc.php | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/templates/show_ip_history.inc.php b/templates/show_ip_history.inc.php index da4fb607..f1adbe6d 100644 --- a/templates/show_ip_history.inc.php +++ b/templates/show_ip_history.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) @@ -25,11 +25,11 @@ <ul> <li> <?php if (isset($_REQUEST['all'])){ ?> - <a href="<?php echo Config::get('web_path')?>/admin/users.php?action=show_ip_history&user_id=<?php echo $working_user->id?>"><?php echo UI::get_icon('disable'); ?></a> - <?php echo T_('Show Unique'); ?> + <a href="<?php echo Config::get('web_path')?>/admin/users.php?action=show_ip_history&user_id=<?php echo $working_user->id?>"><?php echo UI::get_icon('disable'); ?></a> + <?php echo T_('Show Unique'); ?> <?php }else{ ?> - <a href="<?php echo Config::get('web_path')?>/admin/users.php?action=show_ip_history&user_id=<?php echo $working_user->id?>&all"><?php echo UI::get_icon('add'); ?></a> - <?php echo T_('Show All'); ?> + <a href="<?php echo Config::get('web_path')?>/admin/users.php?action=show_ip_history&user_id=<?php echo $working_user->id?>&all"><?php echo UI::get_icon('add'); ?></a> + <?php echo T_('Show All'); ?> <?php }?> </li> </ul> @@ -43,21 +43,21 @@ </colgroup> <tr class="th-top"> <th class="cel_date"><?php echo T_('Date'); ?></th> - <th class="cel_ipaddress"><?php echo T_('IP Address'); ?></th> + <th class="cel_ipaddress"><?php echo T_('IP Address'); ?></th> </tr> <?php foreach ($history as $data) { ?> <tr class="<?php echo UI::flip_class(); ?>"> - <td class="cel_date"> - <?php echo date("d/m/Y H\hi",$data['date']); ?> - </td> - <td class="cel_ipaddress"> - <?php echo inet_ntop($data['ip']); ?> - </td> + <td class="cel_date"> + <?php echo date("d/m/Y H\hi",$data['date']); ?> + </td> + <td class="cel_ipaddress"> + <?php echo inet_ntop($data['ip']); ?> + </td> </tr> <?php } ?> <tr class="th-bottom"> <th class="cel_date"><?php echo T_('Date'); ?></th> - <th class="cel_ipaddress"><?php echo T_('IP Address'); ?></th> + <th class="cel_ipaddress"><?php echo T_('IP Address'); ?></th> </tr> </table> |