Commit b16ea822 authored by Ad Schellevis's avatar Ad Schellevis

vlan/edit add description, closes https://github.com/opnsense/core/issues/1621

parent d3492abd
...@@ -185,7 +185,15 @@ include("head.inc"); ...@@ -185,7 +185,15 @@ include("head.inc");
continue; continue;
}?> }?>
<option value="<?=$ifn;?>" <?=$ifn == $pconfig['if'] ? " selected=\"selected\"" : "";?>> <option value="<?=$ifn;?>" <?=$ifn == $pconfig['if'] ? " selected=\"selected\"" : "";?>>
<?=htmlspecialchars($ifn);?> ( <?= !empty($ifinfo['mac']) ? $ifinfo['mac'] :"" ;?> ) <?=htmlspecialchars($ifn);?>
( <?= !empty($ifinfo['mac']) ? $ifinfo['mac'] :"" ;?> )
<?php
if (!empty($ifinfo['friendly'])):?>
[
<?=!empty($config['interfaces'][$ifinfo['friendly']]['descr']) ? htmlspecialchars($config['interfaces'][$ifinfo['friendly']]['descr']) : $ifinfo['friendly'];?>
]
<?php
endif;?>
</option> </option>
<?php <?php
endforeach;?> endforeach;?>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment