当前位置: 首页>>代码示例>>PHP>>正文


PHP firewall_check_for_advanced_options函数代码示例

本文整理汇总了PHP中firewall_check_for_advanced_options函数的典型用法代码示例。如果您正苦于以下问题:PHP firewall_check_for_advanced_options函数的具体用法?PHP firewall_check_for_advanced_options怎么用?PHP firewall_check_for_advanced_options使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了firewall_check_for_advanced_options函数的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: htmlspecialchars

?>
</td>
			<td width="78%" class="vtable">
				<input name="descr" type="text" class="formfld unknown" id="descr" size="52" maxlength="52" value="<?php 
echo htmlspecialchars($pconfig['descr']);
?>
" />
				<br />
				<span class="vexpl"><?php 
echo gettext("You may enter a description here for your reference.");
?>
</span>
			</td>
		</tr>
<?php 
if (!isset($id) || !($a_filter[$id] && firewall_check_for_advanced_options($a_filter[$id]) != "")) {
    ?>
		<tr>
			<td width="22%" valign="top">&nbsp;</td>
			<td width="78%">
				&nbsp;<br />&nbsp;
				<input name="Submit" type="submit" class="formbtn" value="<?php 
    echo gettext("Save");
    ?>
" />
				<input type="button" class="formbtn" value="<?php 
    echo gettext("Cancel");
    ?>
" onclick="window.location.href='<?php 
    echo $referer;
    ?>
开发者ID:rohankapoorcom,项目名称:pfsense,代码行数:31,代码来源:firewall_rules_edit.php

示例2: gettext

        echo $i;
        ?>
">
								<i class="fa fa-<?php 
        echo $iconfn;
        ?>
" title="<?php 
        echo gettext("click to toggle enabled/disabled status");
        ?>
"></i>
							</a>
	<?php 
        if ($filterent['quick'] == 'yes') {
            print '<i class="fa fa-forward text-success" title="' . gettext("&quot;Quick&quot; rule. Applied immediately on match.") . '" style="cursor: pointer;"></i>';
        }
        $isadvset = firewall_check_for_advanced_options($filterent);
        if ($isadvset) {
            print '<i class="fa fa-cog" title="' . gettext("advanced setting") . ': ' . $isadvset . '"></i>';
        }
        if (isset($filterent['log'])) {
            print '<i class="fa fa-tasks" title="' . gettext("traffic is logged") . '" style="cursor: pointer;"></i>';
        }
        ?>
						</td>
	<?php 
        $alias = rule_columns_with_alias($filterent['source']['address'], pprint_port($filterent['source']['port']), $filterent['destination']['address'], pprint_port($filterent['destination']['port']));
        //build Schedule popup box
        $a_schedules =& $config['schedules']['schedule'];
        $schedule_span_begin = "";
        $schedule_span_end = "";
        $sched_caption_escaped = "";
开发者ID:ajiwo,项目名称:pfsense,代码行数:31,代码来源:firewall_rules.php


注:本文中的firewall_check_for_advanced_options函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。