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
|
@ -66,7 +66,7 @@
|
|||
<select class="vst-list" name="v_ip">
|
||||
<?php
|
||||
foreach ($ips as $ip => $value) {
|
||||
$display_ip = htmlentities(empty($value['NAT']) ? $ip : "{$ip} → {$value['NAT']}");
|
||||
$display_ip = htmlentities(empty($value['NAT']) ? $ip : "{$value['NAT']}");
|
||||
$ip_selected = ((!empty($v_ip) && $ip == $v_ip) || $v_ip == "'{$ip}'") ? 'selected' : '';
|
||||
echo "\n\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"{$ip}\" {$ip_selected}>{$display_ip}</option>\n";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue