Projet

Général

Profil

« Précédent | Suivant » 

Révision a2b16c0c

Ajouté par Colin Fleming il y a presque 10 ans

Tidy up "diag_dump_states" and "diag_resetstat"

Add CDATA sections to SCRIPTS
Add SUMMARY to TABLES
Add missing closing FORM tag
Update HTML Boolean operators
Close INPUT tags

Voir les différences:

usr/local/www/diag_resetstate.php
70 70
<?php if ($input_errors) print_input_errors($input_errors); ?>
71 71
<?php if ($savemsg) print_info_box($savemsg); ?>
72 72
        <form action="diag_resetstate.php" method="post" name="iform" id="iform">
73
	<table width="100%" border="0" cellpadding="0" cellspacing="0">
73
	<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="reset states">
74 74
	<tr><td>
75 75
	<?php
76 76
		$tab_array = array();
......
81 81
		display_top_tabs($tab_array);
82 82
	?>
83 83
	</td></tr>
84
	<tr><td class="tabcont">	    
84
	<tr><td class="tabcont">
85 85
	    
86
              <table width="100%" border="0" cellpadding="6" cellspacing="0">
86
              <table width="100%" border="0" cellpadding="6" cellspacing="0" summary="main area">
87 87
                <tr>
88 88
                  <td width="22%" valign="top" class="vtable">&nbsp;</td>
89 89
                  <td width="78%" class="vtable"> <p>
90
                      <input name="statetable" type="checkbox" id="statetable" value="yes" checked>
90
                      <input name="statetable" type="checkbox" id="statetable" value="yes" checked="checked" />
91 91
                      <strong><?= gettext("Firewall state table"); ?></strong><br />
92 92
                      <span class="vexpl"><br />
93 93
                      <?=gettext("Resetting the state tables will remove all entries from " .
......
109 109
		<tr>
110 110
			<td width="22%" valign="top" class="vtable">&nbsp;</td>
111 111
			<td width="78%" class="vtable"><p>
112
			<input name="sourcetracking" type="checkbox" id="sourcetracking" value="yes" checked>
112
			<input name="sourcetracking" type="checkbox" id="sourcetracking" value="yes" checked="checked" />
113 113
			<strong><?= gettext("Firewall Source Tracking"); ?></strong><br />
114 114
			<span class="vexpl"><br />
115 115
			<?=gettext("Resetting the source tracking table will remove all source/destination associations. " .
......
124 124
                <tr>
125 125
                  <td width="22%" valign="top">&nbsp;</td>
126 126
                  <td width="78%">
127
                    <input name="Submit" type="submit" class="formbtn" value="<?=gettext("Reset"); ?>">
127
                    <input name="Submit" type="submit" class="formbtn" value="<?=gettext("Reset"); ?>" />
128 128
                  </td>
129 129
                </tr>
130 130
              </table>

Formats disponibles : Unified diff