Ejemplo n.º 1
0
    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']) . '&nbsp;';
    ?>
										</td>
										<td class="list nowrap" valign="middle">
											<button  name="move_<?php 
    echo $i;
    ?>
_x"
Ejemplo n.º 2
0
						</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']) . '&nbsp;' . $textse;
    ?>
						</td>

						<td>
							<a class="fa fa-pencil" title="<?php 
    echo gettext("Edit mapping");
    ?>
" href="firewall_nat_1to1_edit.php?id=<?php 
    echo $i;
    ?>
Ejemplo n.º 3
0
" 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');
            ?>
Ejemplo n.º 4
0
					<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']);
Ejemplo n.º 5
0
        ?>
							<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 
Ejemplo n.º 6
0
    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']) . '&nbsp;' . $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>
Ejemplo n.º 7
0
    ?>
                        </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