本文整理汇总了PHP中print_info_box_apply函数的典型用法代码示例。如果您正苦于以下问题:PHP print_info_box_apply函数的具体用法?PHP print_info_box_apply怎么用?PHP print_info_box_apply使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了print_info_box_apply函数的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: print_info_box
<?php
include "fbegin.inc";
?>
<!-- row -->
<section class="page-content-main">
<div class="container-fluid">
<div class="row">
<?php
if (isset($savemsg)) {
print_info_box($savemsg);
}
if (is_subsystem_dirty('sysctl') && $act != "edit") {
print_info_box_apply(gettext("The firewall tunables have changed. You must apply the configuration to take affect."));
}
?>
<form action="system_advanced_sysctl.php" method="post" id="iform">
<input type="hidden" id="id" name="id" value="" />
<input type="hidden" id="action" name="act" value="" />
</form>
<section class="col-xs-12">
<div class="table-responsive content-box tab-content" style="overflow: auto;">
<?php
if ($act != "edit") {
?>
<table class="table table-striped">
<thead>
<tr>
<th><?php
示例2: print_info_box_apply
<body>
<?php
include "fbegin.inc";
?>
<section class="page-content-main">
<div class="container-fluid">
<div class="row">
<?php
if (is_subsystem_dirty('loadbalancer')) {
?>
<br/>
<?php
print_info_box_apply(sprintf(gettext("The load balancer configuration has been changed%sYou must apply the changes in order for them to take effect."), "<br />"));
?>
<?php
}
?>
<section class="col-xs-12">
<div class="tab-content content-box col-xs-12">
<div class="container-fluid">
<form action="status_lb_pool.php" method="post">
<div class="table-responsive">
<table class="table table-striped table-sort __nomb">
<thead>
示例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_apply(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) {
示例4: print_info_box
include "fbegin.inc";
?>
<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('filter')) {
?>
<p>
<?php
print_info_box_apply(gettext("The firewall rule configuration has been changed.<br />You must apply the changes in order for them to take effect."));
?>
<?php
}
?>
<section class="col-xs-12">
<?php
// create tabs per interface + floating
$iflist_tabs = array();
$iflist_tabs['FloatingRules'] = 'Floating';
if (isset($config['ifgroups']['ifgroupentry'])) {
foreach ($config['ifgroups']['ifgroupentry'] as $ifgen) {
$iflist_tabs[$ifgen['ifname']] = $ifgen['ifname'];
}
}
foreach (get_configured_interface_with_descr() as $ifent => $ifdesc) {
示例5: print_input_errors
$("#reset_type").change();
});
</script>
<?php
include "fbegin.inc";
?>
<section class="page-content-main">
<div class="container-fluid">
<div class="row">
<?php
if (isset($input_errors) && count($input_errors) > 0) {
print_input_errors($input_errors);
}
if (is_subsystem_dirty('interfaces')) {
print_info_box_apply(sprintf(gettext("The %s configuration has been changed."), $pconfig['descr']) . "<br/>" . gettext("You must apply the changes in order for them to take effect.") . "<br/>" . gettext("Don't forget to adjust the DHCP Server range if needed after applying."));
}
if (isset($savemsg)) {
print_info_box($savemsg);
}
?>
<section class="col-xs-12">
<form method="post" name="iform" id="iform">
<div class="tab-content content-box col-xs-12 __mb">
<div class="table-responsive">
<table class="table table-striped">
<thead>
<tr>
<td width="22%"><strong><?php
echo gettext("General configuration");
?>
示例6: print_info_box
<?php
if (isset($savemsg)) {
print_info_box($savemsg);
}
?>
<?php
if (isset($config['l2tp']['radius']['enable'])) {
print_info_box(gettext("Warning: RADIUS is enabled. The local user database will not be used."));
}
?>
<?php
if (is_subsystem_dirty('l2tpusers')) {
?>
<br/>
<?php
print_info_box_apply(gettext("The l2tp user list has been modified") . ".<br />" . gettext("You must apply the changes in order for them to take effect") . ".<br /><b>" . gettext("Warning: this will terminate all current l2tp sessions!") . "</b>");
?>
<?php
}
?>
<div id="inputerrors"></div>
<section class="col-xs-12">
<div class="tab-content content-box col-xs-12">
<form action="vpn_l2tp_users.php" method="post" name="iform" id="iform">
<div class="table-responsive">
示例7: 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('unbound')) {
?>
<br/>
<?php
print_info_box_apply(gettext("The configuration for the DNS Resolver, has been changed") . ".<br />" . gettext("You must apply the changes in order for them to take effect."));
?>
<br />
<?php
}
?>
<form action="services_unbound.php" method="post" name="iform" id="iform" onsubmit="presubmit()">
<section class="col-xs-12">
<div class="tab-content content-box col-xs-12">
<div class="table-responsive">
<table class="table table-striped">
示例8: print_info_box
});
});
});
</script>
<?php
include "fbegin.inc";
?>
<section class="page-content-main">
<div class="container-fluid">
<div class="row">
<?php
if (isset($savemsg)) {
print_info_box($savemsg);
}
if (is_subsystem_dirty('aliases')) {
print_info_box_apply(gettext("The alias list has been changed.") . "<br />" . gettext("You must apply the changes in order for them to take effect."));
}
?>
<section class="col-xs-12">
<div class="content-box">
<form action="firewall_aliases.php" method="post" name="iform" id="iform">
<input type="hidden" name="tab" value="<?php
echo $selected_tab;
?>
" />
<input type="hidden" name="id" value="" id="delId"/>
<input type="hidden" name="act" value="del"/>
<div class="table-responsive">
<table class="table table-striped">
<tr>
<td><?php
示例9: print_input_errors
include "fbegin.inc";
?>
<section class="page-content-main">
<div class="container-fluid">
<div class="row">
<?php
if (isset($input_errors) && count($input_errors) > 0) {
print_input_errors($input_errors);
}
if (isset($savemsg)) {
print_info_box($savemsg);
}
if (is_subsystem_dirty("unbound")) {
print_info_box_apply(gettext("The settings for the DNS Resolver have changed. You must apply the configuration to take affect."));
}
?>
<section class="col-xs-12">
<div class="tab-content content-box col-xs-12">
<form action="services_unbound_acls.php" method="post" name="iform" id="iform">
<?php
if ($act == "new" || $act == "edit") {
?>
<input name="aclid" type="hidden" value="<?php
echo $id;
?>
示例10: 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('vpnpppoe')) {
?>
<br/>
<?php
print_info_box_apply(gettext("The PPPoE 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 col-xs-12">
<form action="vpn_pppoe.php" method="post" name="iform" id="iform">
<div class="table-responsive">
示例11: print_info_box_apply
});
</script>
<body>
<?php
include "fbegin.inc";
?>
<section class="page-content-main">
<div class="container-fluid">
<div class="row">
<?php
if (is_subsystem_dirty('staticroutes')) {
?>
<p>
<?php
print_info_box_apply(sprintf(gettext("The static route configuration has been changed.%sYou must apply the changes in order for them to take effect."), "<br />"));
?>
<br /></p>
<?php
}
?>
<section class="col-xs-12">
<div class="tab-content content-box col-xs-12">
<form action="system_routes.php" method="post" name="iform" id="iform">
<input type="hidden" id="act" name="act" value="" />
<input type="hidden" id="id" name="id" value="" />
<div class="table-responsive">
<table class="table table-striped table-sort">
<tr>
<td></td>
<td></td>
示例12: print_input_errors
<body>
<?php
include "fbegin.inc";
?>
<section class="page-content-main">
<div class="container-fluid">
<div class="row">
<?php
if (isset($input_errors) && count($input_errors) > 0) {
print_input_errors($input_errors);
}
if (isset($savemsg)) {
print_info_box($savemsg);
}
if (is_subsystem_dirty('staticroutes')) {
print_info_box_apply(gettext("The gateway configuration has been changed.") . "<br />" . gettext("You must apply the changes in order for them to take effect."));
}
?>
<section class="col-xs-12">
<div class="content-box">
<div class="table-responsive">
<form action="system_gateways.php" method="post" name="iform" id="iform">
<input type="hidden" id="id" name="id" value="" />
<input type="hidden" id="action" name="act" value="" />
<table class="table table-striped">
<thead>
<tr>
<th colspan="2"> </th>
<th><?php
echo gettext("Name");
?>