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


PHP haproxy_display_top_tabs_active函数代码示例

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


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

示例1: haproxy_display_top_tabs_active

			img = 'pass';
		} else {
			img = 'reject';
		}
		toggle_on('btn_'+buttonid, './themes/<?php 
echo $g['theme'];
?>
/images/icons/icon_'+img+'.gif');
	}
}
</script>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr><td class="tabnavtbl">
  <?php 
haproxy_display_top_tabs_active($haproxy_tab_array['haproxy'], "frontend");
?>
  </td></tr>
  <tr>
    <td>
	<div id="mainarea">
	  <table class="tabcont sortable" width="100%" border="0" cellpadding="0" cellspacing="0">
		<tr>
		  <td width="5%" class="listhdrr">On</td>
		  <td width="5%" class="listhdrr">Primary</td>
		  <td width="20%" class="listhdrr">Advanced</td>
		  <td width="20%" class="listhdrr">Name</td>
		  <td width="30%" class="listhdrr">Description</td>
		  <td width="20%" class="listhdrr">Address</td>
		  <td width="5%" class="listhdrr">Type</td>
		  <td width="10%" class="listhdrr">Backend</td>
开发者ID:randyqx,项目名称:pfsense-packages,代码行数:31,代码来源:haproxy_listeners.php

示例2: print_input_errors

    print_input_errors($input_errors);
}
if ($savemsg) {
    print_info_box($savemsg);
}
if (file_exists($d_haproxyconfdirty_path)) {
    print_info_box_np("The haproxy 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 
haproxy_display_top_tabs_active($haproxy_tab_array['haproxy'], "files");
?>
  </td></tr>
  <tr>
    <td>
	<div id="mainarea">
		<table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0">
		<tr>
			<td>
				Files can be used for errorfiles, that can return custom error pages in 
				case haproxy reports a error (like no available backend). The content needs 
				to be less than the buffer size which is typically 8kb.
				There are 2 possible variables to use inside the template:
				Put these variables in the content of the errorfile templates and they will be replaced by the actual errorcode / message. (include the curly braces around the text)<br/>
				<b>{errorcode}</b> this represents the errorcode<br/>
				<b>{errormsg}</b> this represents the human readable error<br/>
开发者ID:LFCavalcanti,项目名称:pfsense-packages,代码行数:31,代码来源:haproxy_files.php

示例3: print_input_errors

    print_input_errors($input_errors);
}
if ($savemsg) {
    print_info_box($savemsg);
}
if (file_exists($d_haproxyconfdirty_path)) {
    print_info_box_np("The haproxy 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 
haproxy_display_top_tabs_active($haproxy_tab_array['haproxy'], "settings");
?>
	</td></tr>
	<tr>
	<td>
	<div id="mainarea">
		<table class="tabcont" width="100%" border="0" cellpadding="6" cellspacing="0">
			<tr>
				<td colspan="2" valign="top" class="listtopic">General settings</td>
			</tr>
			<tr>
				<td width="22%" valign="top" class="vncell">&nbsp;</td>
				<td width="78%" class="vtable">
				<input name="enable" type="checkbox" value="yes" <?php 
if ($pconfig['enable']) {
    echo "checked";
开发者ID:randyqx,项目名称:pfsense-packages,代码行数:31,代码来源:haproxy_global.php

示例4: print_input_errors

    print_input_errors($input_errors);
}
if ($savemsg) {
    print_info_box($savemsg);
}
if (file_exists($d_haproxyconfdirty_path)) {
    print_info_box_np("The haproxy 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 
haproxy_display_top_tabs_active($haproxy_tab_array['haproxy'], "backend");
?>
  </td></tr>
  <tr>
    <td>
	<div id="mainarea">
		<table class="tabcont sortable" width="100%" border="0" cellpadding="0" cellspacing="0">
		<tr>
			<td width="5%" class="listhdrr">Advanced</td>
			<td width="25%" class="listhdrr">Name</td>
			<td width="10%" class="listhdrr">Servers</td>
			<td width="10%" class="listhdrr">Check</td>
			<td width="30%" class="listhdrr">Frontend</td>
			<td width="10%" class="list"></td>
		</tr>
<?php 
开发者ID:LFCavalcanti,项目名称:pfsense-packages,代码行数:31,代码来源:haproxy_pools.php

示例5: print_info_box

}
if ($savemsg) {
    print_info_box($savemsg);
}
if (file_exists($d_haproxyconfdirty_path)) {
    print_info_box_np("The haproxy configuration has been changed.<br/>You must apply the changes in order for them to take effect.");
    ?>
<br/>
<?php 
}
?>
</form>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr><td class="tabnavtbl">
  <?php 
haproxy_display_top_tabs_active($haproxy_tab_array['haproxy'], "templates");
?>
  </td></tr>
  <tr>
    <td>
	<div id="mainarea">
		<table class="tabcont" width="100%" height="100%" cellspacing="0">
		<tr>
			<td colspan="2" valign="top" class="listtopic">Templates</td>
		</tr>
		<tr>
			<td colspan="2">This page contains some templates that can be added into the haproxy configuration to possible ways to configure haproxy using this the webgui from this package.</td>
		</tr>
		<tr>
			<td>&nbsp;</td>
		</tr>
开发者ID:LFCavalcanti,项目名称:pfsense-packages,代码行数:31,代码来源:haproxy_templates.php


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