diff options
Diffstat (limited to 'usr/local/www/status_lb_pool.php')
-rw-r--r-- | usr/local/www/status_lb_pool.php | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/usr/local/www/status_lb_pool.php b/usr/local/www/status_lb_pool.php index 125ce89..af25d1d 100644 --- a/usr/local/www/status_lb_pool.php +++ b/usr/local/www/status_lb_pool.php @@ -109,10 +109,10 @@ if ($_POST) { <body link="#0000CC" vlink="#0000CC" alink="#0000CC"> <?php include("fbegin.inc"); ?> <form action="status_lb_pool.php" method="post"> -<?php if (is_subsystem_dirty('loadbalancer')): ?><p> +<?php if (is_subsystem_dirty('loadbalancer')): ?><br/> <?php print_info_box_np(sprintf(gettext("The load balancer configuration has been changed%sYou must apply the changes in order for them to take effect."), "<br />"));?><br /> <?php endif; ?> -<table width="100%" border="0" cellpadding="0" cellspacing="0"> +<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="status load balancer pools"> <tr><td class="tabnavtbl"> <?php /* active tabs */ @@ -125,7 +125,7 @@ if ($_POST) { <tr> <td> <div id="mainarea"> - <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tabcont sortable" name="sortabletable" id="sortabletable"> + <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tabcont sortable" id="sortabletable" summary="main area"> <tr> <td width="10%" class="listhdrr"><?=gettext("Name");?></td> <td width="10%" class="listhdrr"><?=gettext("Mode");?></td> @@ -153,7 +153,7 @@ if ($_POST) { ?> </td> <td class="listr" align="center"> - <table border="0" cellpadding="2" cellspacing="0"> + <table border="0" cellpadding="2" cellspacing="0" summary="status"> <?php $pool_hosts=array(); foreach ((array) $pool['servers'] as $server) { @@ -175,7 +175,7 @@ if ($_POST) { switch ($server['ip']['state']) { case 'up': $bgcolor = "#90EE90"; // lightgreen - $checked = "checked"; + $checked = "checked=\"checked\""; break; case 'disabled': $bgcolor = "white"; @@ -183,19 +183,19 @@ if ($_POST) { break; default: $bgcolor = "#F08080"; // lightcoral - $checked = "checked"; + $checked = "checked=\"checked\""; } echo "<tr>"; switch ($pool['mode']) { case 'loadbalance': - echo "<td><input type='checkbox' name='{$pool['name']}|".str_replace('.', '_', $server['ip']['addr'])."' {$checked}></td>\n"; + echo "<td><input type=\"checkbox\" name=\"{$pool['name']}|" . str_replace('.', '_', $server['ip']['addr']) . "\" {$checked} /></td>\n"; break; case 'failover': - echo "<td><input type='radio' name='{$pool['name']}' value='{$server['ip']['addr']}' {$checked}></td>\n"; + echo "<td><input type=\"radio\" name=\"{$pool['name']}\" value=\"{$server['ip']['addr']}\" {$checked} /></td>\n"; break; } - echo "<td bgcolor={$bgcolor}> {$server['ip']['addr']}:{$pool['port']} </td><td bgcolor={$bgcolor}> "; -# echo "<td bgcolor={$bgcolor}> {$server['ip']['addr']}:{$pool['port']} "; + echo "<td bgcolor=\"{$bgcolor}\"> {$server['ip']['addr']}:{$pool['port']} </td><td bgcolor=\"{$bgcolor}\"> "; +# echo "<td bgcolor=\"{$bgcolor}\"> {$server['ip']['addr']}:{$pool['port']} "; if($server['ip']['avail']) echo " ({$server['ip']['avail']}) "; echo " </td></tr>"; @@ -214,8 +214,8 @@ if ($_POST) { <?php endforeach; ?> <tr> <td colspan="5"> - <input name="Submit" type="submit" class="formbtn" value="<?= gettext("Save"); ?>"> - <input name="Reset" type="reset" class="formbtn" value="<?= gettext("Reset"); ?>"> + <input name="Submit" type="submit" class="formbtn" value="<?= gettext("Save"); ?>" /> + <input name="Reset" type="reset" class="formbtn" value="<?= gettext("Reset"); ?>" /> </td> </tr> </table> |