<optiondata-other=truevalue="<?=$pconfig['src'];?>"<?=!is_specialnet($pconfig['src'])?"selected=\"selected\"":"";?>><?=gettext("Single host or Network");?></option>
<optiondata-other=truevalue="<?=$pconfig['dst'];?>"<?=!is_specialnet($pconfig['dst'])?"selected=\"selected\"":"";?>><?=gettext("Single host or Network");?></option>
@@ -95,7 +96,7 @@ function formTranslateAddresses() {
}
// add Aliases
foreach(legacy_list_aliasses("network")as$alias){
foreach(legacy_list_aliases("network")as$alias){
if($alias['type']=="host"){
$retval[$alias['name']]=$alias['name'];;
}
...
...
@@ -470,8 +471,8 @@ include("head.inc");
<optiondata-other=truevalue="<?=$pconfig['source'];?>"<?=!is_alias($pconfig['source'])&&!in_array($pconfig['source'],array('(self)','any'))?"selected=\"selected\"":"";?>><?=gettext("Single host or Network");?></option>
<optiondata-other=truevalue="<?=$pconfig['destination'];?>"<?=!is_alias($pconfig['destination'])&&$pconfig['destination']!='any'?"selected=\"selected\"":"";?>><?=gettext("Single host or Network");?></option>
<optiondata-other=truevalue="<?=$pconfig['src'];?>"<?=!is_specialnet($pconfig['src'])?"selected=\"selected\"":"";?>><?=gettext("Single host or Network");?></option>
<optiondata-other=truevalue="<?=$pconfig['dst'];?>"<?=!is_specialnet($pconfig['dst'])?"selected=\"selected\"":"";?>><?=gettext("Single host or Network");?></option>