mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
XHTML Compliance
CARP Status
This commit is contained in:
parent
63fd577307
commit
6e2eabe5dc
@ -125,16 +125,16 @@ include("head.inc");
|
||||
}
|
||||
?>
|
||||
|
||||
<p>
|
||||
<p/>
|
||||
<table class="tabcont sortable" width="100%" border="0" cellpadding="6" cellspacing="0">
|
||||
<tr>
|
||||
<td class="listhdrr"><b><center><?=gettext("CARP Interface"); ?></center></b></td>
|
||||
<td class="listhdrr"><b><center><?=gettext("Virtual IP"); ?></center></b></td>
|
||||
<td class="listhdrr"><b><center><?=gettext("Status"); ?></center></b></td>
|
||||
<td class="listhdrr" style="text-align:center"><b><?=gettext("CARP Interface"); ?></b></td>
|
||||
<td class="listhdrr" style="text-align:center"><b><?=gettext("Virtual IP"); ?></b></td>
|
||||
<td class="listhdrr" style="text-align:center"><b><?=gettext("Status"); ?></b></td>
|
||||
</tr>
|
||||
<?php
|
||||
if ($carpcount == 0) {
|
||||
echo "</td></tr></table></table></div><center><br>" . gettext("Could not locate any defined CARP interfaces.");
|
||||
echo "</table></td></tr></table></div></form><center><br/>" . gettext("Could not locate any defined CARP interfaces.");
|
||||
echo "</center>";
|
||||
|
||||
include("fend.inc");
|
||||
@ -168,9 +168,9 @@ include("head.inc");
|
||||
$icon = "<img {$align} src='/themes/".$g['theme']."/images/icons/icon_log.gif'>";
|
||||
}
|
||||
}
|
||||
echo "<td class=\"listlr\"><center>" . $carp_int . " </td>";
|
||||
echo "<td class=\"listlr\"><center>" . $ipaddress . " </td>";
|
||||
echo "<td class=\"listlr\"><center>{$icon} " . $status . " </td>";
|
||||
echo "<td class=\"listlr\" style=\"text-align:center\">" . $carp_int . " </td>";
|
||||
echo "<td class=\"listlr\" style=\"text-align:center\">" . $ipaddress . " </td>";
|
||||
echo "<td class=\"listlr\" style=\"text-align:center\">{$icon} " . $status . " </td>";
|
||||
echo "</tr>";
|
||||
}
|
||||
}
|
||||
@ -180,7 +180,7 @@ include("head.inc");
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
<p/>
|
||||
|
||||
<span class="vexpl">
|
||||
@ -192,7 +192,7 @@ include("head.inc");
|
||||
<p/>
|
||||
|
||||
<?php
|
||||
echo "<br>" . gettext("pfSync nodes") . ":<br>";
|
||||
echo "<br />" . gettext("pfSync nodes") . ":<br />";
|
||||
echo "<pre>";
|
||||
system("/sbin/pfctl -vvss | /usr/bin/grep creator | /usr/bin/cut -d\" \" -f7 | /usr/bin/sort -u");
|
||||
echo "</pre>";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user