mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 13:37:02 +02:00
added online users feature
This commit is contained in:
@ -26,6 +26,13 @@
|
||||
<th><?php print $text_swap_usage; ?>:</th>
|
||||
<td><div class="progress <?php if($swapinfo < HEALTH_RATIO) { ?>progress-success<?php } else { ?>progress-danger<?php } ?>"><div class="bar" style="width: <?php print $swapinfo; ?>%"></div> <?php print $swapinfo; ?>% / <?php print $totalswap; ?> MB</div></td>
|
||||
</tr>
|
||||
|
||||
<?php if(ENABLE_SAAS == 1) { ?>
|
||||
<tr>
|
||||
<th class="span4"><?php print $text_online_users; ?>:</th>
|
||||
<td class="span8"><a href="index.php?route=stat/online"><?php print $num_of_online_users; ?></a></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
|
||||
</table>
|
||||
|
||||
|
Reference in New Issue
Block a user