echo $i; ?> ';"> <?php echo $source_net . $textse; ?> </td> <td class="listr" id="frd<?php echo $i; ?> " ondblclick="document.location='firewall_nat_1to1_edit.php?id=<?php echo $i; ?> ';"> <?php echo pprint_address($natent['destination']); ?> </td> <td class="listbg" ondblclick="document.location='firewall_nat_1to1_edit.php?id=<?php echo $i; ?> ';"> <?php echo htmlspecialchars($natent['descr']) . ' '; ?> </td> <td class="list nowrap" valign="middle"> <button name="move_<?php echo $i; ?> _x"
</td> <td> <?php $source_net = pprint_address($natent['source']); $source_cidr = strstr($source_net, '/'); echo $textss . $natent['external'] . $source_cidr . $textse; ?> </td> <td> <?php echo $textss . $source_net . $textse; ?> </td> <td> <?php echo $textss . pprint_address($natent['destination']) . $textse; ?> </td> <td> <?php echo $textss . htmlspecialchars($natent['descr']) . ' ' . $textse; ?> </td> <td> <a class="fa fa-pencil" title="<?php echo gettext("Edit mapping"); ?> " href="firewall_nat_1to1_edit.php?id=<?php echo $i; ?>
" data-toggle="popover" data-trigger="hover focus" title="<?php echo gettext('Alias details'); ?> " data-content="<?php echo alias_info_popup($alias['dst']); ?> " data-html="true"> <?php echo htmlspecialchars(pprint_address($filterent['destination'])); ?> </a> <?php } else { ?> <?php echo htmlspecialchars(pprint_address($filterent['destination'])); ?> <?php } ?> </td> <td> <?php if (isset($alias['dstport'])) { ?> <a href="/firewall_aliases_edit.php?id=<?php echo $alias['dstport']; ?> " data-toggle="popover" data-trigger="hover focus" title="<?php echo gettext('Alias details'); ?>
<input type="hidden" name="rule[]" value="<?php echo $i; ?> " /> <?php if (!$natent['interface']) { print htmlspecialchars(convert_friendly_interface_to_friendly_descr("wan")); } else { print htmlspecialchars(convert_friendly_interface_to_friendly_descr($natent['interface'])); } ?> </td> <?php $source_net = pprint_address($natent['source']); $source_cidr = strstr($source_net, '/'); $destination_net = pprint_address($natent['destination']); $destination_cidr = strstr($destination_net, '/'); ?> <td> <?php echo $destination_net; ?> </td> <td> <?php echo $source_net; ?> </td> <td> <?php echo htmlspecialchars($natent['descr']);
?> <a href="/firewall_aliases_edit.php?id=<?php echo $alias['dst']; ?> " data-toggle="popover" data-trigger="hover focus" title="<?php echo gettext('Alias details'); ?> " data-content="<?php echo alias_info_popup($alias['dst']); ?> " data-html="true"> <?php } ?> <?php echo str_replace('_', ' ', htmlspecialchars(pprint_address($natent['destination']))); if (isset($alias['dst'])) { ?> </a> <?php } ?> </td> <td> <?php if (isset($alias['dstport'])) { ?> <a href="/firewall_aliases_edit.php?id=<?php echo $alias['dstport']; ?> " data-toggle="popover" data-trigger="hover focus" title="<?php
if (!$natent['interface']) { echo htmlspecialchars(convert_friendly_interface_to_friendly_descr("wan")); } else { echo htmlspecialchars(convert_friendly_interface_to_friendly_descr($natent['interface'])); } echo $textse; ?> </td> <td> <?php echo $textss . pprint_address($natent['destination']) . $textse; ?> </td> <td> <?php echo $textss . pprint_address($natent['source']) . $textse; ?> </td> <td> <?php echo $textss . htmlspecialchars($natent['descr']) . ' ' . $textse; ?> </td> <td> <a class="fa fa-pencil" title="<?php echo gettext("Edit mapping"); ?> " href="firewall_nat_npt_edit.php?id=<?php echo $i; ?> "></a>
?> </a> </td> <td> <?php echo htmlspecialchars(convert_friendly_interface_to_friendly_descr(!empty($natent['interface']) ? $natent['interface'] : "wan")); ?> </td> <td> <?php echo pprint_address($natent['destination']); ?> </td> <td> <?php echo pprint_address($natent['source']); ?> </td> <td> <?php echo $natent['descr']; ?> </td> <td> <a type="submit" id="move_<?php echo $i; ?> " name="move_<?php echo $i; ?> _x" data-toggle="tooltip" data-placement="left" title="<?php