本文整理汇总了PHP中alias_info_popup函数的典型用法代码示例。如果您正苦于以下问题:PHP alias_info_popup函数的具体用法?PHP alias_info_popup怎么用?PHP alias_info_popup使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了alias_info_popup函数的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: gettext
<?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');
?>
" data-content="<?php
echo alias_info_popup($alias['dstport']);
?>
" data-html="true">
<?php
echo htmlspecialchars(pprint_port($filterent['destination']['port']));
?>
</a>
<?php
} else {
?>
<?php
echo htmlspecialchars(pprint_port($filterent['destination']['port']));
?>
<?php
}
?>
示例2: gettext
<?php
}
?>
</td>
<td>
<?php
if (isset($alias['targetport'])) {
?>
<a href="/firewall_aliases_edit.php?id=<?php
echo $alias['targetport'];
?>
" data-toggle="popover" data-trigger="hover focus" title="<?php
echo gettext('Alias details');
?>
" data-content="<?php
echo alias_info_popup($alias['targetport']);
?>
" data-html="true">
<?php
}
?>
<?php
echo str_replace('_', ' ', htmlspecialchars(pprint_port($localport)));
if (isset($alias['targetport'])) {
?>
</a>
<?php
}
?>
</td>
示例3: ini_set
// Turn on buffering to speed up rendering
ini_set('output_buffering', 'true');
// Start buffering with a cache size of 100000
ob_start(null, "1000");
## Load Essential Includes
require_once 'guiconfig.inc';
require_once 'functions.inc';
require_once 'notices.inc';
require_once "pkg-utils.inc";
if (isset($_REQUEST['closenotice'])) {
close_notice($_REQUEST['closenotice']);
echo get_menu_messages();
exit;
}
if ($_REQUEST['act'] == 'alias_info_popup' && !preg_match("/\\D/", $_REQUEST['aliasid'])) {
alias_info_popup($_REQUEST['aliasid']);
exit;
}
if ($g['disablecrashreporter'] != true) {
// Check to see if we have a crash report
$x = 0;
if (file_exists("/tmp/PHP_errors.log")) {
$total = `/usr/bin/grep -vi warning /tmp/PHP_errors.log | /usr/bin/wc -l | /usr/bin/awk '{ print \$1 }'`;
if ($total > 0) {
$x++;
}
}
$crash = glob("/var/crash/*");
$skip_files = array(".", "..", "minfree", "");
if (is_array($crash)) {
foreach ($crash as $c) {
示例4: foreach
foreach ($a_vs as $a_v) {
?>
<tr>
<td><?php
echo htmlspecialchars($a_v['name']);
?>
</td>
<td><?php
echo htmlspecialchars($a_v['relay_protocol']);
?>
</td>
<?php
$aidx = alias_idx($a_v['ipaddr'], "host");
if ($aidx >= 0) {
print "<td>\n";
print '<a href="/firewall_aliases_edit.php?id=' . $aidx . '" data-toggle="popover" data-trigger="hover focus" title="Alias details" data-content="' . alias_info_popup($aidx) . '" data-html="true">';
print htmlspecialchars($a_v['ipaddr']) . '</a></td>';
} else {
print '<td>' . htmlspecialchars($a_v['ipaddr']) . '</td>';
}
?>
<td><?php
echo htmlspecialchars($a_v['port']);
?>
</td>
<td><?php
echo $a_v['poolname'];
?>
</td>
<td><?php
echo $a_v['sitedown'];