mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 03:33:25 +02:00
ids.cgi: Rename form name from SNORT to IDS
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
@@ -289,9 +289,9 @@ if ($cgiparams{'RULESET'} eq $Lang::tr{'update'}) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
# Save snort settings.
|
# Save snort settings.
|
||||||
} elsif ($cgiparams{'SNORT'} eq $Lang::tr{'save'}) {
|
} elsif ($cgiparams{'IDS'} eq $Lang::tr{'save'}) {
|
||||||
# Prevent form name from been stored in conf file.
|
# Prevent form name from been stored in conf file.
|
||||||
delete $cgiparams{'SNORT'};
|
delete $cgiparams{'IDS'};
|
||||||
|
|
||||||
# Check if an oinkcode has been provided.
|
# Check if an oinkcode has been provided.
|
||||||
if ($cgiparams{'OINKCODE'}) {
|
if ($cgiparams{'OINKCODE'}) {
|
||||||
@@ -395,8 +395,6 @@ END
|
|||||||
<td align='center' width='75%' bgcolor='${Header::colourred}'><font color='white'><strong>$Lang::tr{'stopped'}</strong></font></td>
|
<td align='center' width='75%' bgcolor='${Header::colourred}'><font color='white'><strong>$Lang::tr{'stopped'}</strong></font></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<br>br>
|
|
||||||
END
|
END
|
||||||
}
|
}
|
||||||
&Header::closebox();
|
&Header::closebox();
|
||||||
@@ -518,7 +516,7 @@ print <<END
|
|||||||
|
|
||||||
<table width='100%'>
|
<table width='100%'>
|
||||||
<tr>
|
<tr>
|
||||||
<td align='right'><input type='submit' name='SNORT' value='$Lang::tr{'save'}' /></td>
|
<td align='right'><input type='submit' name='IDS' value='$Lang::tr{'save'}' /></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
Reference in New Issue
Block a user