• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP print_info_box_np函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: unset

if ($_GET['act'] == "del") {
    if ($a_igmpproxy[$_GET['id']]) {
        unset($a_igmpproxy[$_GET['id']]);
        write_config();
        mark_subsystem_dirty('igmpproxy');
        header("Location: services_igmpproxy.php");
        exit;
    }
}
$pgtitle = array(gettext("Services"), gettext("IGMP Proxy"));
include "head.inc";
if ($savemsg) {
    print_info_box($savemsg, 'success');
}
if (is_subsystem_dirty('igmpproxy')) {
    print_info_box_np(gettext('The IGMP entry list has been changed.' . '<br />' . 'You must apply the changes in order for them to take effect.'));
}
?>

<form action="services_igmpproxy.php" method="post">

<div class="panel panel-default">
	<div class="panel-heading"><h2 class="panel-title"><?php 
echo gettext('IGMP Proxy');
?>
</h2></div>
	<div class="panel-body">

	<div class="table-responsive">
		<table class="table table-striped table-hover table-condensed">
			<thead>
开发者ID:z0x010,项目名称:pfsense,代码行数:31,代码来源:services_igmpproxy.php


示例2: print_input_errors

if ($input_errors) {
    print_input_errors($input_errors);
}
?>

<form action="firewall_shaper.php" method="post" id="iform" name="iform">

<?php 
if ($savemsg) {
    print_info_box($savemsg);
}
if (is_subsystem_dirty('shaper')) {
    ?>
<p>
<?php 
    print_info_box_np(gettext("The traffic shaper configuration has been changed.") . "<br>" . gettext("You must apply the changes in order for them to take effect."));
    ?>
<br>
<?php 
}
?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr><td>
<?php 
$tab_array = array();
$tab_array[0] = array(gettext("By Interface"), true, "firewall_shaper.php");
$tab_array[1] = array(gettext("By Queue"), false, "firewall_shaper_queues.php");
$tab_array[2] = array(gettext("Limiter"), false, "firewall_shaper_vinterface.php");
$tab_array[3] = array(gettext("Layer7"), false, "firewall_shaper_layer7.php");
$tab_array[4] = array(gettext("Wizards"), false, "firewall_shaper_wizards.php");
display_top_tabs($tab_array);
开发者ID:rdmenezes,项目名称:pfsense,代码行数:31,代码来源:firewall_shaper.php


示例3: print_input_errors

				<?php 
if (isset($input_errors) && count($input_errors) > 0) {
    print_input_errors($input_errors);
}
?>
				<?php 
if (isset($savemsg)) {
    print_info_box($savemsg);
}
?>
				<?php 
if (is_subsystem_dirty('staticmaps')) {
    ?>
<br/>
				<?php 
    print_info_box_np(gettext("The static mapping configuration has been changed") . ".<br />" . gettext("You must apply the changes in order for them to take effect."));
    ?>
<br />
				<?php 
}
?>

			    <section class="col-xs-12">


					<?php 
/* active tabs */
$tab_array = array();
$tabscounter = 0;
$i = 0;
foreach ($iflist as $ifent => $ifname) {
开发者ID:karawan,项目名称:core,代码行数:31,代码来源:services_dhcp.php


示例4: print_input_errors

<?php 
}
?>
<form action="haproxy_pools.php" method="post">
<?php 
if ($input_errors) {
    print_input_errors($input_errors);
}
if ($savemsg) {
    print_info_box($savemsg);
}
if (file_exists($d_haproxyconfdirty_path)) {
    ?>
<p>
<?php 
    print_info_box_np("The virtual pool configuration has been changed.<br>You must apply the changes in order for them to take effect.");
    ?>
<br>
<?php 
}
?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr><td class="tabnavtbl">
  <?php 
/* active tabs */
$tab_array = array();
$tab_array[] = array("Settings", false, "haproxy_global.php");
$tab_array[] = array("Listener", false, "haproxy_listeners.php");
$tab_array[] = array("Server Pool", true, "haproxy_pools.php");
display_top_tabs($tab_array);
?>
开发者ID:LFCavalcanti,项目名称:pfsense-packages,代码行数:31,代码来源:haproxy_pools.php


示例5: print_info_box

<section class="page-content-main">
		<div class="container-fluid">
			<div class="row">

				<?php 
if (isset($savemsg)) {
    print_info_box($savemsg);
}
?>
				<?php 
if (is_subsystem_dirty('captiveportal')) {
    ?>
<p>
				<?php 
    print_info_box_np(gettext("The CaptivePortal entry list has been changed") . ".<br />" . gettext("You must apply the changes in order for them to take effect."));
    ?>
				<?php 
}
?>

			    <section class="col-xs-12">

					<div class="content-box">

				    <form action="services_captiveportal_zones.php" method="post" name="iform" id="iform">

							<div class="table-responsive">
								<table class="table table-striped table-sort">

									<tr>
开发者ID:nasaa0528,项目名称:core,代码行数:30,代码来源:services_captiveportal_zones.php


示例6: ini_set

 */
##|+PRIV
##|*IDENT=page-system-packagemanager
##|*NAME=System: Package Manager
##|*DESCR=Allow access to the 'System: Package Manager' page.
##|*MATCH=pkg_mgr.php*
##|-PRIV
ini_set('max_execution_time', '0');
require_once "globals.inc";
require_once "guiconfig.inc";
require_once "pkg-utils.inc";
/* if upgrade in progress, alert user */
if (is_subsystem_dirty('packagelock')) {
    $pgtitle = array(gettext("System"), gettext("Package Manager"));
    include "head.inc";
    print_info_box_np("Please wait while packages are reinstalled in the background.");
    include "foot.inc";
    exit;
}
$pkg_info = get_pkg_info();
$pgtitle = array(gettext("System"), gettext("Package Manager"), gettext("Available Packages"));
include "head.inc";
$tab_array = array();
$tab_array[] = array(gettext("Available Packages"), true, "pkg_mgr.php");
$tab_array[] = array(gettext("Installed Packages"), false, "pkg_mgr_installed.php");
display_top_tabs($tab_array);
if ($pkg_info) {
    //Check categories
    $categories = array();
    foreach ($pkg_info as $pkg_data) {
        if (isset($pkg_data['categories'][0])) {
开发者ID:calvinbui,项目名称:pfsense,代码行数:31,代码来源:pkg_mgr.php


示例7: gettext

}
include "head.inc";
if (file_exists("/var/run/interface_mismatch_reboot_needed")) {
    if ($_POST) {
        if ($rebootingnow) {
            $savemsg = gettext("The system is now rebooting.  Please wait.");
        } else {
            $savemsg = gettext("Reboot is needed. Please apply the settings in order to reboot.");
        }
    } else {
        $savemsg = gettext("Interface mismatch detected.  Please resolve the mismatch and click 'Apply changes'.  The firewall will reboot afterwards.");
    }
}
if (file_exists("/tmp/reload_interfaces")) {
    echo "<p>\n";
    print_info_box_np(gettext("The interface configuration has been changed.<br />You must apply the changes in order for them to take effect."));
    echo "<br /></p>\n";
} elseif ($savemsg) {
    print_info_box($savemsg);
}
pfSense_handle_custom_code("/usr/local/pkg/interfaces_assign/pre_input_errors");
if ($input_errors) {
    print_input_errors($input_errors);
}
$tab_array = array();
$tab_array[] = array(gettext("Interface assignments"), true, "interfaces_assign.php");
$tab_array[] = array(gettext("Interface Groups"), false, "interfaces_groups.php");
$tab_array[] = array(gettext("Wireless"), false, "interfaces_wireless.php");
$tab_array[] = array(gettext("VLANs"), false, "interfaces_vlan.php");
$tab_array[] = array(gettext("QinQs"), false, "interfaces_qinq.php");
$tab_array[] = array(gettext("PPPs"), false, "interfaces_ppps.php");
开发者ID:michaeleino,项目名称:pfsense,代码行数:31,代码来源:interfaces_assign.php


示例8: print_info_box

</head>
<body>
<?php 
include 'fbegin.inc';
?>

<form action="firewall_aliases.php" method="post">
<?php 
if ($savemsg) {
    print_info_box($savemsg);
}
if (is_subsystem_dirty('aliases')) {
    ?>
<p>
<?php 
    print_info_box_np('Takma adlar listesi değiştirildi' . '<br>' . 'Değişikliklerin etkili olabilmesi için uygulamalısınız.', true);
}
pfSense_handle_custom_code("/usr/local/pkg/firewall_aliases/pre_table");
?>
<table border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td>
			<table class="tabcont" cellpadding="0" cellspacing="0">
				<tr>
					<td>
						<table width="100%" class="grids sortable">
							<tr>
								<td class="head">Ad</td>
								<td class="head">İçerik</td>
								<td class="head">Açıklama</td>
								<td class="head"></td>
开发者ID:nuclewall,项目名称:nuclewall,代码行数:31,代码来源:firewall_aliases.php


示例9: domTT_title

}
function domTT_title($title_msg)
{
    if (!empty($title_msg)) {
        $title_msg = preg_replace("/\\s+/", " ", $title_msg);
        $title_msg = preg_replace("/'/", "\\'", $title_msg);
        return "onmouseout=\"this.style.color = ''; domTT_mouseout(this, event);\" onmouseover=\"domTT_activate(this, event, 'content', '{$title_msg}', 'trail', true, 'delay', 0, 'fade', 'both', 'fadeMax', 93, 'delay', 300, 'styleClass', 'niceTitle');\"";
    }
}
$xml = htmlspecialchars($_GET['xml']);
if ($_POST['xml']) {
    $xml = htmlspecialchars($_POST['xml']);
}
$xml_fullpath = realpath('/usr/local/pkg/' . $xml);
if ($xml == "" || $xml_fullpath === false || substr($xml_fullpath, 0, strlen('/usr/local/pkg/')) != '/usr/local/pkg/') {
    print_info_box_np(gettext("ERROR: No valid package defined."));
    die;
} else {
    $pkg = parse_xml_config_pkg($xml_fullpath, "packagegui");
}
if ($pkg['include_file'] != "") {
    require_once $pkg['include_file'];
}
if (!isset($pkg['adddeleteeditpagefields'])) {
    $only_edit = true;
} else {
    $only_edit = false;
}
$id = $_GET['id'];
if (isset($_POST['id'])) {
    $id = htmlspecialchars($_POST['id']);
开发者ID:jdillard,项目名称:pfsense,代码行数:31,代码来源:pkg_edit.php


示例10: build_priv_list

}
function build_priv_list()
{
    global $spriv_list, $a_user;
    $list = array();
    foreach ($spriv_list as $pname => $pdata) {
        if (in_array($pname, $a_user['priv'])) {
            continue;
        }
        $list[$pname] = $pdata['name'];
    }
    return $list;
}
/* if ajax is calling, give them an update message */
if (isAjax()) {
    print_info_box_np($savemsg, '', '', false, 'success');
}
include "head.inc";
if ($input_errors) {
    print_input_errors($input_errors);
}
if ($savemsg) {
    print_info_box($savemsg, 'success');
}
$tab_array = array();
$tab_array[] = array(gettext("Users"), true, "system_usermanager.php");
$tab_array[] = array(gettext("Groups"), false, "system_groupmanager.php");
$tab_array[] = array(gettext("Settings"), false, "system_usermanager_settings.php");
$tab_array[] = array(gettext("Servers"), false, "system_authservers.php");
display_top_tabs($tab_array);
$form = new Form();
开发者ID:geijt,项目名称:pfsense,代码行数:31,代码来源:system_usermanager_addprivs.php


示例11: print_input_errors

<?php 
include "fbegin.inc";
?>
<form action="services_unbound_acls.php" method="post" name="iform" id="iform">
<?php 
if (!$savemsg) {
    $savemsg = "";
}
if ($input_errors) {
    print_input_errors($input_errors);
}
if ($savemsg) {
    print_info_box($savemsg);
}
if (is_subsystem_dirty("unbound")) {
    print_info_box_np(gettext("The settings for the DNS Resolver have changed. You must apply the configuration to take affect."));
}
?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
 	<tr>
		<td class="tabnavtbl">
			<ul id="tabnav">
			<?php 
$tab_array = array();
$tab_array[] = array(gettext("General Settings"), false, "/services_unbound.php");
$tab_array[] = array(gettext("Advanced settings"), false, "services_unbound_advanced.php");
$tab_array[] = array(gettext("Access Lists"), true, "/services_unbound_acls.php");
display_top_tabs($tab_array, true);
?>
			</ul>
		</td>
开发者ID:rdmenezes,项目名称:pfsense,代码行数:31,代码来源:services_unbound_acls.php


示例12: print_info_box

include 'fbegin.inc';
?>

<form action="system_routes.php" method="post">
<input type="hidden" name="y1" value="1">
	<?php 
if ($savemsg) {
    print_info_box($savemsg);
}
?>
	<?php 
if (is_subsystem_dirty('staticroutes')) {
    ?>
<p>
	<?php 
    print_info_box_np("Sabit yönlendirme ayarları değiştirildi.<br>Değişikliklerin etkili olabilmesi için uygulamalısınız.", true);
    ?>
<br>
	<?php 
}
?>
<table border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td>
			<?php 
$tab_array = array();
$tab_array[0] = array("Ağ Geçitleri", false, "system_gateways.php");
$tab_array[1] = array("Yönlendirmeler", true, "system_routes.php");
$tab_array[2] = array("Gruplar", false, "system_gateway_groups.php");
display_top_tabs($tab_array);
?>
开发者ID:nuclewall,项目名称:nuclewall,代码行数:31,代码来源:system_routes.php


示例13: foreach

    foreach ($aliaslist as $aliasip => $aliasif) {
        $serverbridge_interface[$aliasif . '|' . $aliasip] = $aliasip . " (" . get_vip_descr($aliasip) . ")";
    }
    foreach ($serverbridge_interface as $iface => $ifacename) {
        $list[$iface] = htmlspecialchars($ifacename);
    }
    return $list;
}
if (!$savemsg) {
    $savemsg = "";
}
if ($input_errors) {
    print_input_errors($input_errors);
}
if ($savemsg) {
    print_info_box_np($savemsg, 'success');
}
$tab_array = array();
$tab_array[] = array(gettext("Server"), true, "vpn_openvpn_server.php");
$tab_array[] = array(gettext("Client"), false, "vpn_openvpn_client.php");
$tab_array[] = array(gettext("Client Specific Overrides"), false, "vpn_openvpn_csc.php");
$tab_array[] = array(gettext("Wizards"), false, "wizard.php?xml=openvpn_wizard.xml");
add_package_tabs("OpenVPN", $tab_array);
display_top_tabs($tab_array);
require_once 'classes/Form.class.php';
$form = new Form();
if ($act == "new" || $act == "edit") {
    $section = new Form_Section('General Information');
    $section->addInput(new Form_checkbox('disable', 'Disabled', 'Disable this server', $pconfig['disable']))->setHelp('Set this option to disable this server without removing it from the list');
    $section->addInput(new Form_Select('mode', 'Server mode', $pconfig['mode'], build_mode_list()));
    $options = array();
开发者ID:jdillard,项目名称:pfsense,代码行数:31,代码来源:vpn_openvpn_server.php


示例14: print_info_box_np

<script type="text/javascript" src="/javascript/suggestions.js">
</script>

<form action="snort_preprocessors.php" method="post" enctype="multipart/form-data" name="iform" id="iform">
<input name="id" type="hidden" value="<?php 
echo $id;
?>
"/>
<input name="eng_id" id="eng_id" type="hidden" value=""/>

<?php 
if (is_subsystem_dirty('snort_preprocessors')) {
    ?>
<p>
<?php 
    print_info_box_np(gettext("A change has been made to the preprocessors configuration.") . "<br/>" . gettext("Click SAVE when finished to apply the change to the Snort configuration."));
}
?>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td>
<?php 
$tab_array = array();
$tab_array[0] = array(gettext("Snort Interfaces"), true, "/snort/snort_interfaces.php");
$tab_array[1] = array(gettext("Global Settings"), false, "/snort/snort_interfaces_global.php");
$tab_array[2] = array(gettext("Updates"), false, "/snort/snort_download_updates.php");
$tab_array[3] = array(gettext("Alerts"), false, "/snort/snort_alerts.php?instance={$id}");
$tab_array[4] = array(gettext("Blocked"), false, "/snort/snort_blocked.php");
$tab_array[5] = array(gettext("Pass Lists"), false, "/snort/snort_passlist.php");
$tab_array[6] = array(gettext("Suppress"), false, "/snort/snort_interfaces_suppress.php");
$tab_array[7] = array(gettext("IP Lists"), false, "/snort/snort_ip_list_mgmt.php");
开发者ID:LFCavalcanti,项目名称:pfsense-packages,代码行数:31,代码来源:snort_preprocessors.php


示例15: print_info_box

?>

<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php 
include "fbegin.inc";
if (!$pgtitle_output) {
    echo "<p class=\"pgtitle\"><?={$pgtitle}?></p>";
}
?>
<form action="snort_rules.php" method="post" name="iform" id="iform">
<?php 
if ($savemsg) {
    print_info_box($savemsg);
} else {
    if ($stopMsg) {
        print_info_box_np($message_reload);
    }
}
?>
<br>
</form>
<script type="text/javascript" language="javascript" src="row_toggle.js">
    <script src="/javascript/sorttable.js" type="text/javascript">
</script>

<script language="javascript" type="text/javascript">
<!--
function go()
{
    var agt=navigator.userAgent.toLowerCase();
    if (agt.indexOf("msie") != -1) {
开发者ID:nagyrobi,项目名称:pfsense-packages,代码行数:31,代码来源:snort_rules.php


示例16: DAMAGES

    THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
    INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
    AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
    AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
    OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    POSSIBILITY OF SUCH DAMAGE.
*/
require_once "guiconfig.inc";
$xml = $_REQUEST['xml'];
if ($xml == "") {
    print_info_box_np("HATA: Böyle bir sayfa yok.");
    exit;
} else {
    if (file_exists("/usr/local/pkg/" . $xml)) {
        $pkg = parse_xml_config_pkg("/usr/local/pkg/" . $xml, "packagegui");
    } else {
        echo "Dosya bulunamadı " . htmlspecialchars($xml);
        exit;
    }
}
if ($pkg['donotsave'] != "") {
    Header("Location: pkg_edit.php?xml=" . $xml);
    exit;
}
if ($pkg['include_file'] != "") {
    require_once $pkg['include_file'];
开发者ID:nuclewall,项目名称:nuclewall,代码行数:30,代码来源:pkg.php


示例17: array

            }
        }
    }
}
$actionHelp = '<span class="text-success"><strong>Deny:</strong></span> Stops queries from hosts within the netblock defined below.' . '<br />' . '<span class="text-success"><strong>Refuse:</strong></span> Stops queries from hosts within the netblock defined below, but sends a DNS rcode REFUSED error message back to the client.' . '<br />' . '<span class="text-success"><strong>Allow:</strong></span> Allow queries from hosts within the netblock defined below.' . '<br />' . '<span class="text-success"><strong>Allow Snoop:</strong></span> Allow recursive and nonrecursive access from hosts within the netblock defined below. Used for cache snooping and ideally should only be configured for your administrative host.';
$pgtitle = array(gettext("Services"), gettext("DNS Resolver"), gettext("Access Lists"));
$shortcut_section = "resolver";
include "head.inc";
if ($input_errors) {
    print_input_errors($input_errors);
}
if ($savemsg) {
    print_info_box($savemsg, 'success');
}
if (is_subsystem_dirty('unbound')) {
    print_info_box_np(gettext("The configuration of the DNS Resolver, has been changed") . ".<br />" . gettext("You must apply the changes in order for them to take effect."));
}
$tab_array = array();
$tab_array[] = array(gettext("General settings"), false, "/services_unbound.php");
$tab_array[] = array(gettext("Advanced settings"), false, "services_unbound_advanced.php");
$tab_array[] = array(gettext("Access Lists"), true, "/services_unbound_acls.php");
display_top_tabs($tab_array, true);
if ($act == "new" || $act == "edit") {
    $form = new Form();
    $section = new Form_Section('New Access List');
    $section->addInput(new Form_Input('aclid', null, 'hidden', $id));
    $section->addInput(new Form_Input('act', null, 'hidden', $act));
    $section->addInput(new Form_Input('aclname', 'Access List name', 'text', $pconfig['aclname']))->setHelp('Provide an Access List name.');
    $section->addInput(new Form_Select('aclaction', 'Action', strtolower($pconfig['aclaction']), array('allow' => 'Allow', 'deny' => 'Deny', 'refuse' => 'Refuse', 'allow snoop' => 'Allow Snoop')))->setHelp($actionHelp);
    $section->addInput(new Form_Input('description', 'Description', 'text', $pconfig['description']))->setHelp('You may enter a description here for your reference.');
    $numrows = count($networkacl) - 1;
开发者ID:sjourdois,项目名称:pfsense,代码行数:31,代码来源:services_unbound_acls.php


示例18: print_input_errors

?>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php 
include "fbegin.inc";
?>
<form action="haproxy_listeners.php" method="post">
<?php 
if ($input_errors) {
    print_input_errors($input_errors);
}
if ($savemsg) {
    print_info_box($savemsg);
}
$display_apply = file_exists($d_haproxyconfdirty_path) ? "" : "none";
echo "<div id='showapplysettings' style='display: {$display_apply};'>";
print_info_box_np("The haproxy configuration has been changed.<br/>You must apply the changes in order for them to take effect.");
echo "<br/></div>";
?>
<script type="text/javascript" language="javascript" src="/javascript/haproxy_geturl.js"></script>
<script language="javascript">
function toggle_on(button, image) {
	var item = document.getElementById(button);
	item.src = image;
}

function js_callback(req) {
	showapplysettings.style.display = 'block';
	if(req.content != '') {
		var itemsplit = req.content.split("|");
		buttonid = itemsplit[0];
		enabled = itemsplit[1];
开发者ID:randyqx,项目名称:pfsense-packages,代码行数:31,代码来源:haproxy_listeners.php


示例19: htmlspecialchars

    $xml = htmlspecialchars($_POST['xml']);
}
if (empty($xml)) {
    $xml = "not_defined";
    print_info_box_np(sprintf(gettext("ERROR:  Could not open %s."), $xml));
    die;
} else {
    if (file_exists("{$g['www_path']}/wizards/{$xml}")) {
        $pkg = parse_xml_config_pkg("{$g['www_path']}/wizards/" . $xml, "pfsensewizard");
    } else {
        print_info_box_np(sprintf(gettext("ERROR:  Could not open %s."), $xml));
        die;
    }
}
if (!is_array($pkg)) {
    print_info_box_np(sprintf(gettext("ERROR: Could not parse %s/wizards/%s file."), $g['www_path'], $xml));
    die;
}
$title = preg_replace("/pfSense/i", $g['product_name'], $pkg['step'][$stepid]['title']);
$description = preg_replace("/pfSense/i", $g['product_name'], $pkg['step'][$stepid]['description']);
$totalsteps = $pkg['totalsteps'];
if ($pkg['includefile']) {
    require_once $pkg['includefile'];
}
if ($pkg['step'][$stepid]['includefile']) {
    require_once $pkg['step'][$stepid]['includefile'];
}
if ($pkg['step'][$stepid]['stepsubmitbeforesave']) {
    eval($pkg['step'][$stepid]['stepsubmitbeforesave']);
}
if ($_POST && !$input_errors) {
开发者ID:rdmenezes,项目名称:pfsense,代码行数:31,代码来源:wizard.php


示例20: array

                if (is_array($item)) {
                    $referenced_by = $item['descr'];
                }
                break;
            }
        }
    }
}
$pgtitle = array(gettext("Firewall"), gettext("Aliases"));
$shortcut_section = "aliases";
include "head.inc";
if ($savemsg) {
    print_info_box($savemsg, 'success');
}
if (is_subsystem_dirty('aliases')) {
    print_info_box_np(gettext("The alias list has been changed.") . "<br />" . gettext("You must apply the changes in order for them to take effect."));
}
$tab_array = array();
$tab_array[] = array(gettext("IP"), $tab == "ip" ? true : ($tab == "host" ? true : ($tab == "network" ? true : false)), "/firewall_aliases.php?tab=ip");
$tab_array[] = array(gettext("Ports"), $tab == "port" ? true : false, "/firewall_aliases.php?tab=port");
$tab_array[] = array(gettext("URLs"), $tab == "url" ? true : false, "/firewall_aliases.php?tab=url");
$tab_array[] = array(gettext("All"), $tab == "all" ? true : false, "/firewall_aliases.php?tab=all");
display_top_tabs($tab_array);
?>
<div class="table-responsive">
<table class="table table-striped table-hover">
	<thead>
		<tr>
			<th><?php 
echo gettext("Name");
?>
开发者ID:dariomas,项目名称:pfsense,代码行数:31,代码来源:firewall_aliases.php



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP print_infor函数代码示例发布时间:2022-05-15
下一篇:
PHP print_info_box_apply函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap