From 452d468843da966c895b4b66cd4db76e39c65423 Mon Sep 17 00:00:00 2001 From: iAmShorty Date: Wed, 19 Mar 2014 16:09:48 +0100 Subject: [PATCH] [UPDATE] added datatable to user info --- public/include/pages/admin/user.inc.php | 2 +- .../bootstrap/admin/user/default.tpl | 4 +-- .../statistics/round/round_transactions.tpl | 32 +++++++++---------- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/public/include/pages/admin/user.inc.php b/public/include/pages/admin/user.inc.php index 23d6cc89..dfc9de05 100644 --- a/public/include/pages/admin/user.inc.php +++ b/public/include/pages/admin/user.inc.php @@ -8,7 +8,7 @@ if (!$user->isAuthenticated() || !$user->isAdmin($_SESSION['USERDATA']['id'])) { } // Some defaults -$iLimit = 30; +$iLimit = 100; $smarty->assign('LIMIT', $iLimit); empty($_REQUEST['start']) ? $start = 0 : $start = $_REQUEST['start']; $smarty->assign('ADMIN', array('' => '', '0' => 'No', '1' => 'Yes')); diff --git a/public/templates/bootstrap/admin/user/default.tpl b/public/templates/bootstrap/admin/user/default.tpl index 92e6ca84..404cc7c1 100644 --- a/public/templates/bootstrap/admin/user/default.tpl +++ b/public/templates/bootstrap/admin/user/default.tpl @@ -81,9 +81,9 @@
User Information
-
+
- +
diff --git a/public/templates/bootstrap/statistics/round/round_transactions.tpl b/public/templates/bootstrap/statistics/round/round_transactions.tpl index 0660ae40..5ea4de28 100644 --- a/public/templates/bootstrap/statistics/round/round_transactions.tpl +++ b/public/templates/bootstrap/statistics/round/round_transactions.tpl @@ -7,23 +7,23 @@
ID
- - - - - - - - - + + + + + + + + + {section txs $ROUNDTRANSACTIONS} - - - - - - - + + + + + + + {/section}
User NameTypeRound SharesRound %Amount
User NameTypeRound SharesRound %Amount
{if $ROUNDTRANSACTIONS[txs].is_anonymous|default:"0" == 1 && $GLOBAL.userdata.is_admin|default:"0" == 0}anonymous{else}{$ROUNDTRANSACTIONS[txs].username|default:"unknown"|escape}{/if}{$ROUNDTRANSACTIONS[txs].type|default:""}{$ROUNDSHARES[$ROUNDTRANSACTIONS[txs].uid].valid|number_format}{(( 100 / $BLOCKDETAILS.shares) * $ROUNDSHARES[$ROUNDTRANSACTIONS[txs].uid].valid)|default:"0"|number_format:"2"}{$ROUNDTRANSACTIONS[txs].amount|default:"0"|number_format:"8"}
{if $ROUNDTRANSACTIONS[txs].is_anonymous|default:"0" == 1 && $GLOBAL.userdata.is_admin|default:"0" == 0}anonymous{else}{$ROUNDTRANSACTIONS[txs].username|default:"unknown"|escape}{/if}{$ROUNDTRANSACTIONS[txs].type|default:""}{$ROUNDSHARES[$ROUNDTRANSACTIONS[txs].uid].valid|number_format}{(( 100 / $BLOCKDETAILS.shares) * $ROUNDSHARES[$ROUNDTRANSACTIONS[txs].uid].valid)|default:"0"|number_format:"2"}{$ROUNDTRANSACTIONS[txs].amount|default:"0"|number_format:"8"}