aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBBcan177 <bbcan177@gmail.com>2014-12-09 22:45:51 -0500
committerBBcan177 <bbcan177@gmail.com>2014-12-09 22:45:51 -0500
commite55bedfd1da33e7babccfa962eb63973f820ccbd (patch)
tree9c7fb778313672f839dbb9cb79063c9f743e2add
parent1e0fa93d6dc531c782f8217529ecbbaae55d7669 (diff)
downloadpfsense-packages-e55bedfd1da33e7babccfa962eb63973f820ccbd.tar.gz
pfsense-packages-e55bedfd1da33e7babccfa962eb63973f820ccbd.tar.bz2
pfsense-packages-e55bedfd1da33e7babccfa962eb63973f820ccbd.zip
Mods to Log Browser
- Allow user to Delete file(s) in the 'Original' Folder. This will allow the user to 'Force Update' the deleted List. - Include "Native Folder" File Viewing. - XHTML edit to <br> to <br />
-rw-r--r--config/pfblockerng/pfblockerng_log.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/config/pfblockerng/pfblockerng_log.php b/config/pfblockerng/pfblockerng_log.php
index 8735a575..a1012984 100644
--- a/config/pfblockerng/pfblockerng_log.php
+++ b/config/pfblockerng/pfblockerng_log.php
@@ -104,7 +104,7 @@ $pfb_logtypes = array( 'defaultlogs' => array('name' => 'Log Files',
'ext' => array('orig', 'raw'),
'logdir' => "{$pfb['dbdir']}/original/",
'download' => TRUE,
- 'clear' => FALSE
+ 'clear' => TRUE
),
'denylogs' => array('name' => 'Deny Files',
'ext' => 'txt',
@@ -127,6 +127,12 @@ $pfb_logtypes = array( 'defaultlogs' => array('name' => 'Log Files',
'download' => TRUE,
'clear' => FALSE
),
+ 'nativelogs' => array('name' => 'Native Files',
+ 'ext' => 'txt',
+ 'logdir' => "{$pfb['dbdir']}/native/",
+ 'download' => TRUE,
+ 'clear' => FALSE
+ ),
'aliaslogs' => array('name' => 'Alias Files',
'ext' => 'txt',
'logdir' => "{$pfb['aliasdir']}/",
@@ -303,7 +309,7 @@ if ($savemsg) {
<td colspan="3" class="vncell" align="left"><?php echo gettext("LINKS :"); ?> &nbsp;
<a href='/firewall_aliases.php' target="_blank"><?php echo gettext("Firewall Alias"); ?></a> &nbsp;
<a href='/firewall_rules.php' target="_blank"><?php echo gettext("Firewall Rules"); ?></a> &nbsp;
- <a href='/diag_logs_filter.php' target="_blank"><?php echo gettext("Firewall Logs"); ?></a><br/></td>
+ <a href='/diag_logs_filter.php' target="_blank"><?php echo gettext("Firewall Logs"); ?></a><br /></td>
</tr>
<tr>
<td width="22%" class="vncell"><?php echo gettext('Log/File type:'); ?></td>