Commit b9c53035 authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

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

(cherry picked from commit b16ea822)
parent e4c22ddc
......@@ -185,7 +185,15 @@ include("head.inc");
continue;
}?>
<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>
<?php
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