[UPDATE] added datatable to user info

This commit is contained in:
iAmShorty 2014-03-19 16:09:48 +01:00
parent f7e6e6a4ce
commit 452d468843
3 changed files with 19 additions and 19 deletions

View File

@ -8,7 +8,7 @@ if (!$user->isAuthenticated() || !$user->isAdmin($_SESSION['USERDATA']['id'])) {
} }
// Some defaults // Some defaults
$iLimit = 30; $iLimit = 100;
$smarty->assign('LIMIT', $iLimit); $smarty->assign('LIMIT', $iLimit);
empty($_REQUEST['start']) ? $start = 0 : $start = $_REQUEST['start']; empty($_REQUEST['start']) ? $start = 0 : $start = $_REQUEST['start'];
$smarty->assign('ADMIN', array('' => '', '0' => 'No', '1' => 'Yes')); $smarty->assign('ADMIN', array('' => '', '0' => 'No', '1' => 'Yes'));

View File

@ -81,9 +81,9 @@
<div class="panel-heading"> <div class="panel-heading">
<i class="fa fa-info fa-fw"></i> User Information <i class="fa fa-info fa-fw"></i> User Information
</div> </div>
<div class="panel-body no-padding"> <div class="panel-body">
<div class="table-responsive"> <div class="table-responsive">
<table class="table table-striped table-bordered table-hover"> <table class="table table-striped table-bordered table-hover {if $USERS}datatable{/if}">
<thead> <thead>
<tr> <tr>
<th>ID</th> <th>ID</th>