mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
improving kondurake patches
This commit is contained in:
parent
652ba9c8f6
commit
08bdff8ba3
3 changed files with 3 additions and 4 deletions
|
@ -57,7 +57,6 @@
|
|||
|
||||
<div class="l-center units narrow">
|
||||
<?php
|
||||
$ips = json_decode(shell_exec(VESTA_CMD.'v-list-sys-ips json'), true);
|
||||
foreach ($data as $key => $value) {
|
||||
++$i;
|
||||
if ($data[$key]['SUSPENDED'] == 'yes') {
|
||||
|
@ -179,7 +178,7 @@ sort-name="<?=$key?>" sort-bandwidth="<?=$data[$key]['U_BANDWIDTH']?>" sort-dis
|
|||
</div>
|
||||
<!-- /.l-unit__name -->
|
||||
<div class="l-unit__ip">
|
||||
<?=empty($ips[$data[$key]['IP']]['NAT']) ? $data[$key]['IP'] : "{$data[$key]['IP']} → {$ips[$data[$key]['IP']]['NAT']}"; ?>
|
||||
<?=empty($ips[$data[$key]['IP']]['NAT']) ? $data[$key]['IP'] : "{$ips[$data[$key]['IP']]['NAT']}"; ?>
|
||||
</div>
|
||||
<!-- /.l-unit__ip -->
|
||||
<div class="l-unit__stats">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue