diff options
Diffstat (limited to 'config/haproxy/haproxy_backends_edit.php')
-rwxr-xr-x | config/haproxy/haproxy_backends_edit.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/haproxy/haproxy_backends_edit.php b/config/haproxy/haproxy_backends_edit.php index 06b9d974..0863286e 100755 --- a/config/haproxy/haproxy_backends_edit.php +++ b/config/haproxy/haproxy_backends_edit.php @@ -245,6 +245,10 @@ if ($_POST) { } } +$pfSversion = str_replace("\n", "", file_get_contents("/etc/version")); +if(strstr($pfSversion, "1.2")) + $one_two = true; + $pgtitle = "HAProxy: Backend: Edit"; include("head.inc"); @@ -356,6 +360,9 @@ include("head.inc"); </script> <?php include("fbegin.inc"); ?> <?php if ($input_errors) print_input_errors($input_errors); ?> +<?php if($one_two): ?> +<p class="pgtitle"><?=$pgtitle?></font></p> +<?php endif; ?> <form action="haproxy_backends_edit.php" method="post" name="iform" id="iform"> <table width="100%" border="0" cellpadding="6" cellspacing="0"> <tr> |