summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2014-07-01 21:16:40 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2014-07-01 21:17:14 +0200
commit8535435595dcdbed12e9e448095e9bdf2dc7a275 (patch)
treeb8291c9ba9bac3bb7591f22ef9922110908d369e
parent6a319a3be703eca5d7fb64006f8f8640cd251dd1 (diff)
downloadaur-8535435595dcdbed12e9e448095e9bdf2dc7a275.tar.gz
aur-8535435595dcdbed12e9e448095e9bdf2dc7a275.tar.xz
Move user statistics table to the right
Display user statistics under the general package statistics table. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
-rw-r--r--web/html/home.php19
1 files changed, 5 insertions, 14 deletions
diff --git a/web/html/home.php b/web/html/home.php
index 62c246a8..2757c069 100644
--- a/web/html/home.php
+++ b/web/html/home.php
@@ -71,20 +71,6 @@ html_header( __("Home") );
<?= __('Unsupported packages are user produced content. Any use of the provided files is at your own risk.'); ?>
</div>
</div>
- <?php if (!empty($_COOKIE["AURSID"])): ?>
- <div id="pkg-updates" class="widget box">
- <table>
- <tr>
- <td class="pkg-name">
- <?php
- $userid = uid_from_sid($_COOKIE["AURSID"]);
- user_table($userid);
- ?>
- </td>
- </tr>
- </table>
- </div>
- <?php endif; ?>
</div>
</div>
<div id="content-right">
@@ -103,6 +89,11 @@ html_header( __("Home") );
<div id="pkg-stats" class="widget box">
<?php general_stats_table(); ?>
</div>
+ <?php if (!empty($_COOKIE["AURSID"])): ?>
+ <div id="pkg-stats" class="widget box">
+ <?php user_table(uid_from_sid($_COOKIE["AURSID"])); ?>
+ </div>
+ <?php endif; ?>
</div>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>