本文整理汇总了PHP中pprint_address函数的典型用法代码示例。如果您正苦于以下问题:PHP pprint_address函数的具体用法?PHP pprint_address怎么用?PHP pprint_address使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了pprint_address函数的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: pprint_address
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"
示例2: pprint_address
</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;
?>
示例3: gettext
" 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');
?>
示例4: htmlspecialchars
<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']);
示例5: gettext
?>
<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
示例6: htmlspecialchars
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>
示例7: htmlspecialchars
?>
</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