[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ossec-cvs] ossec-hids: os_lib_alerts.php (HEAD) os_lib_syscheck.php (HEAD) [dcid]
Module name: ossec-hids
Changes by: dcid 07/09/13 22:52:09
Modified files:
os_lib_alerts.php os_lib_syscheck.php
Log message:
Description: Changing the UI to match the new site...
Reviewed by: dcid
Bug:
Index: os_lib_alerts.php
===================================================================
RCS file: /usr/cvsroot/ossec-ui/oswui/lib/os_lib_alerts.php,v
diff -u -r1.6 -r1.7
--- os_lib_alerts.php 22 Mar 2007 01:11:35 -0000 1.6
+++ os_lib_alerts.php 14 Sep 2007 01:52:09 -0000 1.7
@@ -6,7 +6,7 @@
*
* This program is a free software; you can redistribute it
* and/or modify it under the terms of the GNU General Public
- * License (version 2) as published by the FSF - Free Software
+ * License (version 3) as published by the FSF - Free Software
* Foundation
*/
@@ -50,7 +50,7 @@
date('Y M d H:i:s', $alert_list[1]{'time'}).
'</a></td></tr>
</table><br /><h2>Alert list</h2>
- <a name="ft" />
+ <a name="ft" ></a>
');
@@ -97,6 +97,9 @@
fwrite($fp, "<br /></ul></div></div></div>\n");
$evt_count--;
}
+
+ /* Last event */
+ fwrite($fp, '<a name="lt" ></a>');
}
Index: os_lib_syscheck.php
===================================================================
RCS file: /usr/cvsroot/ossec-ui/oswui/lib/os_lib_syscheck.php,v
diff -u -r1.3 -r1.4
--- os_lib_syscheck.php 1 Mar 2007 03:42:13 -0000 1.3
+++ os_lib_syscheck.php 14 Sep 2007 01:52:09 -0000 1.4
@@ -6,7 +6,7 @@
*
* This program is a free software; you can redistribute it
* and/or modify it under the terms of the GNU General Public
- * License (version 2) as published by the FSF - Free Software
+ * License (version 3) as published by the FSF - Free Software
* Foundation
*/
@@ -62,7 +62,7 @@
if(isset($db_list{$sk_file_name}))
{
- $mod_list{$regs[7]} = $db_count;
+ $mod_list{$time_stamp} = array($db_count, $regs[7]);
$db_list{$sk_file_name}{'ct'} = $db_count;
$db_list{$sk_file_name}{'time'} = $time_stamp;
@@ -92,20 +92,23 @@
/* Printing latest files */
echo '
<br /><br />
- Latest modified files:<br />
+ <h2>Latest modified files:</h2><br />
<span class="small">
- <div class="smaller">
';
- foreach ($mod_list as $modified_file => $val)
+ arsort($mod_list);
+ foreach ($mod_list as $mod_date => $val)
{
- echo '<a href="#'.$val.'">'.$modified_file.'</a>
+ echo "<b>".date('Y M d', $mod_date)."</b>   ";
+ echo '<a id="bluez" href="#'.$val[0].'">'.$val[1].'</a>
<br />
';
}
+ echo "\n<br /><h2>Integrity Checking database: $_name</h2>\n";
+
/* Printing db */
- echo '</div></span>
+ echo '</span>
<br /><br /><table width="100%">';
echo '
<tr>
OSSEC home |
Main Index |
Thread Index
OSSEC project: www.ossec.net.
Mailling list information: http://www.ossec.net/en/mailing_lists.html.