diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-07-11 23:12:27 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-07-11 23:12:27 +0000 |
commit | 15953ad520c44230d5d9edbf8a75b66c7c33132a (patch) | |
tree | 317c68ee0c1b204b1513bd0ffd6d91c07060915f | |
parent | bc17d579fb22fa7a3a1de2e59498e0ca5ac247d3 (diff) | |
download | pfsense-15953ad520c44230d5d9edbf8a75b66c7c33132a.zip pfsense-15953ad520c44230d5d9edbf8a75b66c7c33132a.tar.gz |
* Remove Reset States from left menu
* Change Show States to States
* Add tabs to reset states and show states screens
-rwxr-xr-x | usr/local/www/diag_dump_states.php | 11 | ||||
-rwxr-xr-x | usr/local/www/diag_resetstate.php | 15 | ||||
-rwxr-xr-x | usr/local/www/fbegin.inc | 3 |
3 files changed, 26 insertions, 3 deletions
diff --git a/usr/local/www/diag_dump_states.php b/usr/local/www/diag_dump_states.php index a9c92dd..23406d5 100755 --- a/usr/local/www/diag_dump_states.php +++ b/usr/local/www/diag_dump_states.php @@ -52,8 +52,17 @@ include("fbegin.inc"); <div id="mainlevel"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> +<tr><td> +<?php + $tab_array = array(); + $tab_array[0] = array("States", true, "diag_dump_states.php"); + $tab_array[1] = array("Reset States", false, "diag_resetstate.php"); + display_top_tabs($tab_array); +?> +</td></tr> <tr><td class="tabcont"> <table colspan="3" cellpadding="3" width="100%"> + <?php /* table header */ @@ -121,6 +130,8 @@ NiftyCheck(); Rounded("div#mainlevel","bl br","#FFF","#eeeeee","smooth"); </script> +<meta http-equiv="refresh" content="60;url=diag_dump_states.php"> + </body> </html> diff --git a/usr/local/www/diag_resetstate.php b/usr/local/www/diag_resetstate.php index dc4fc11..a204d15 100755 --- a/usr/local/www/diag_resetstate.php +++ b/usr/local/www/diag_resetstate.php @@ -58,7 +58,18 @@ include("head.inc"); <p class="pgtitle"><?=$pgtitle?></p> <?php if ($input_errors) print_input_errors($input_errors); ?> <?php if ($savemsg) print_info_box($savemsg); ?> - <form action="diag_resetstate.php" method="post" name="iform" id="iform"> + <form action="diag_resetstate.php" method="post" name="iform" id="iform"> + <table width="100%" border="0" cellpadding="0" cellspacing="0"> + <tr><td> + <?php + $tab_array = array(); + $tab_array[0] = array("States", false, "diag_dump_states.php"); + $tab_array[1] = array("Reset States", true, "diag_resetstate.php"); + display_top_tabs($tab_array); + ?> + </td></tr> + <tr><td class="tabcont"> + <table width="100%" border="0" cellpadding="6" cellspacing="0"> <tr> <td width="22%" valign="top" class="vtable"> </td> @@ -90,6 +101,8 @@ include("head.inc"); </td> </tr> </table> + </td></tr> + </table> </form> <?php include("fend.inc"); ?> </body> diff --git a/usr/local/www/fbegin.inc b/usr/local/www/fbegin.inc index 268b54a..944136c 100755 --- a/usr/local/www/fbegin.inc +++ b/usr/local/www/fbegin.inc @@ -194,8 +194,7 @@ function showhide_black(tspan, tri) { <a href="/halt.php" class="navlnk">Halt system</a><br> <a href="/diag_ping.php" class="navlnk">Ping</a><br> <a href="/reboot.php" class="navlnk">Reboot system</a><br> - <a href="/diag_resetstate.php" class="navlnk">Reset state</a><br> - <a href="/diag_dump_states.php" class="navlnk">Show States</a><br> + <a href="/diag_dump_states.php" class="navlnk">States</a><br> <?php echo return_ext_menu("Diagnostics"); ?> </span> </font></span> |