Commit 399e4f84 authored by Ad Schellevis's avatar Ad Schellevis

(firewall) remove non-functional alias popups

parent 38a6a825
...@@ -328,23 +328,6 @@ include("head.inc"); ...@@ -328,23 +328,6 @@ include("head.inc");
$textss = "text-muted"; $textss = "text-muted";
} }
//build Alias popup box
$alias_src_span_begin = "";
$alias_src_port_span_begin = "";
$alias_dst_span_begin = "";
$alias_dst_port_span_begin = "";
$alias_popup = rule_popup($natent['source']['network'],pprint_port($natent['sourceport']),$natent['destination']['address'],pprint_port($natent['dstport']));
$alias_src_span_begin = $alias_popup["src"];
$alias_src_port_span_begin = $alias_popup["srcport"];
$alias_dst_span_begin = $alias_popup["dst"];
$alias_dst_port_span_begin = $alias_popup["dstport"];
$alias_src_span_end = $alias_popup["src_end"];
$alias_src_port_span_end = $alias_popup["srcport_end"];
$alias_dst_span_end = $alias_popup["dst_end"];
$alias_dst_port_span_end = $alias_popup["dstport_end"];
?> ?>
<tr valign="top" id="fr<?=$i;?>"> <tr valign="top" id="fr<?=$i;?>">
<td class="listt"> <td class="listt">
...@@ -371,7 +354,7 @@ include("head.inc"); ...@@ -371,7 +354,7 @@ include("head.inc");
</td> </td>
<td class="listr" id="frd<?=$i;?>" ondblclick="document.location='firewall_nat_out_edit.php?id=<?=$i;?>';"> <td class="listr" id="frd<?=$i;?>" ondblclick="document.location='firewall_nat_out_edit.php?id=<?=$i;?>';">
<?PHP $natent['source']['network'] = ($natent['source']['network'] == "(self)") ? "This Firewall" : $natent['source']['network']; ?> <?PHP $natent['source']['network'] = ($natent['source']['network'] == "(self)") ? "This Firewall" : $natent['source']['network']; ?>
<?php echo $alias_src_span_begin . $natent['source']['network'] . $alias_src_span_end . $textse;?> <?php echo $natent['source']['network'] . $textse;?>
</td> </td>
<td class="listr" onclick="fr_toggle(<?=$i;?>)" id="frd<?=$i;?>" ondblclick="document.location='firewall_nat_out_edit.php?id=<?=$i;?>';"> <td class="listr" onclick="fr_toggle(<?=$i;?>)" id="frd<?=$i;?>" ondblclick="document.location='firewall_nat_out_edit.php?id=<?=$i;?>';">
<?php <?php
...@@ -380,7 +363,7 @@ include("head.inc"); ...@@ -380,7 +363,7 @@ include("head.inc");
if (!$natent['sourceport']) if (!$natent['sourceport'])
echo "*"; echo "*";
else else
echo $alias_src_port_span_begin . $natent['sourceport'] . $alias_src_port_span_end; echo $natent['sourceport'] ;
echo $textse; echo $textse;
?> ?>
</td> </td>
...@@ -392,7 +375,7 @@ include("head.inc"); ...@@ -392,7 +375,7 @@ include("head.inc");
else { else {
if (isset($natent['destination']['not'])) if (isset($natent['destination']['not']))
echo "!&nbsp;"; echo "!&nbsp;";
echo $alias_dst_span_begin . $natent['destination']['address'] . $alias_dst_span_end; echo $natent['destination']['address'] ;
} }
echo $textse; echo $textse;
?> ?>
...@@ -404,7 +387,7 @@ include("head.inc"); ...@@ -404,7 +387,7 @@ include("head.inc");
if (!$natent['dstport']) if (!$natent['dstport'])
echo "*"; echo "*";
else else
echo $alias_dst_port_span_begin . $natent['dstport'] . $alias_dst_port_span_end; echo $natent['dstport'] ;
echo $textse; echo $textse;
?> ?>
</td> </td>
......
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