File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 6363 < select class ="vst-list " name ="v_ip ">
6464 < ?php
6565 foreach ($ips as $ip => $value) {
66- $display_ip = htmlentities(empty($value['NAT']) ? $ip : "{$ip} → {$ value['NAT']}");
66+ $display_ip = htmlentities(empty($value['NAT']) ? $ip : "{$value['NAT']}");
6767 $ip_selected = (!empty($v_ip) && $ip == $_POST['v_ip']) ? 'selected' : '';
6868 echo "\t\t\t\t< option value =\ "{$ip}\" {$ip_selected}> {$display_ip}</ option > \n";
6969 }
Original file line number Diff line number Diff line change 6666 < select class ="vst-list " name ="v_ip ">
6767 < ?php
6868 foreach ($ips as $ip => $value) {
69- $display_ip = htmlentities(empty($value['NAT']) ? $ip : "{$ip} → {$ value['NAT']}");
69+ $display_ip = htmlentities(empty($value['NAT']) ? $ip : "{$value['NAT']}");
7070 $ip_selected = ((!empty($v_ip) && $ip == $v_ip) || $v_ip == "'{$ip}'") ? 'selected' : '';
7171 echo "\n\t\t\t\t\t\t\t\t\t\t\t\t< option value =\ "{$ip}\" {$ip_selected}> {$display_ip}</ option > \n";
7272 }
Original file line number Diff line number Diff line change 5757
5858 < div class ="l-center units narrow ">
5959 < ?php
60- $ips = json_decode(shell_exec(VESTA_CMD.'v-list-sys-ips json'), true);
6160 foreach ($data as $key => $value) {
6261 ++$i;
6362 if ($data[$key]['SUSPENDED'] == 'yes') {
179178 </ div >
180179 <!-- /.l-unit__name -->
181180 < div class ="l-unit__ip ">
182- < ?=empty($ips[$data[$key]['IP']]['NAT']) ? $data[$key]['IP'] : "{$data[$key]['IP']} → {$ ips[$data[$key]['IP']]['NAT']}"; ?>
181+ < ?=empty($ips[$data[$key]['IP']]['NAT']) ? $data[$key]['IP'] : "{$ips[$data[$key]['IP']]['NAT']}"; ?>
183182 </ div >
184183 <!-- /.l-unit__ip -->
185184 < div class ="l-unit__stats ">
You can’t perform that action at this time.
0 commit comments