diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-05-22 15:26:05 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-05-22 15:26:05 -0300 |
commit | ed79ff86d3607a1bee2a120446d5515fd343b5ec (patch) | |
tree | fc65c381a07cc08d705007e184796be9b61a4695 /usr | |
parent | 1e9cf477cb34da4f287ddd3d3664d5eead3ed809 (diff) | |
parent | 339a588fe1ab3a1f31dd2ddb0dced2f9060c8503 (diff) | |
download | pfsense-ed79ff86d3607a1bee2a120446d5515fd343b5ec.zip pfsense-ed79ff86d3607a1bee2a120446d5515fd343b5ec.tar.gz |
Merge pull request #1190 from ExolonDX/branch_master_40
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/diag_sockets.php | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/usr/local/www/diag_sockets.php b/usr/local/www/diag_sockets.php index 938e2d5..c3008d7 100644 --- a/usr/local/www/diag_sockets.php +++ b/usr/local/www/diag_sockets.php @@ -55,7 +55,7 @@ $showAllOption = $showAll ? "" : "?showAll"; ?> <div id="mainarea"> -<table class="tabcont" width="100%"> +<table class="tabcont" width="100%" summary="diag sockets"> <tr> <td>Information about listening sockets for both <a href="#IPv4">IPv4</a> and <a href="#IPv6">IPv6</a>.</td> </tr> @@ -63,7 +63,7 @@ $showAllOption = $showAll ? "" : "?showAll"; <td>For explanation about the meaning of the information listed for each socket click <a href="#about">here</a>.</td> </tr> <tr> -<td><input type="button" value="<?=$showAllText?>" ONCLICK="window.location.href='diag_sockets.php<?=$showAllOption?>'"/>To show information about both listening and connected sockets click this.</td> +<td><input type="button" value="<?=$showAllText?>" onclick="window.location.href='diag_sockets.php<?=$showAllOption?>'"/>To show information about both listening and connected sockets click this.</td> </tr> </table> @@ -81,10 +81,10 @@ $showAllOption = $showAll ? "" : "?showAll"; $name = ($tabindex == 0 ? 'IPv4' : 'IPv6'); ?> <a name="<?=$name;?>"></a> -<table style="padding-top:0px; padding-bottom:0px; padding-left:0px; padding-right:0px" width="100%" border="0" cellpadding="0" cellspacing="0"> -<tr><td class="listtopic" colspan="<?=$elements?>"><strong><?=$name;?></strong></font></td></tr> +<table style="padding-top:0px; padding-bottom:0px; padding-left:0px; padding-right:0px" width="100%" border="0" cellpadding="0" cellspacing="0" summary="tab"> +<tr><td class="listtopic" colspan="<?=$elements?>"><strong><?=$name;?></strong></td></tr> <tr><td> -<table class="tabcont sortable" id="sortabletable" width="100%" cellspacing="0" cellpadding="6" border="0"> +<table class="tabcont sortable" id="sortabletable" width="100%" cellspacing="0" cellpadding="6" border="0" summary="results"> <?php foreach (explode("\n", $table) as $i => $line) { if ($i == 0) @@ -94,7 +94,7 @@ $showAllOption = $showAll ? "" : "?showAll"; if (trim($line) == "") continue; - print("<tr id=\"$i\">\n"); + print("<tr id=\"$name$i\">\n"); $j = 0; foreach (explode(' ', $line) as $entry) { if ($entry == '' || $entry == "ADDRESS") continue; @@ -113,12 +113,12 @@ $showAllOption = $showAll ? "" : "?showAll"; <?php } ?> -</table> + <br /> <a name="about"></a> -<table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0" border="1"> +<table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0" summary="info"> <tr><td colspan="2" class="listtopic" >Socket information explanation</td></tr> -<tr><td colspan="2" class=""> +<tr><td colspan="2" class="listhdrr"> This page show the output for the commands: "sockstat -4lL" and "sockstat -6lL".<br /> Or in case of showing all sockets the output for: "sockstat -4" and "sockstat -6".<br /> <br /> @@ -136,3 +136,5 @@ The information listed for each socket is:</td></tr> <?php include('fend.inc'); ?> +</body> +</html> |