[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ossec-cvs] ossec-hids: integrity.php (HEAD) [davelowe]



Module name:	ossec-hids
Changes by:	davelowe	07/08/08 03:33:13

Modified files:
	integrity.php

Log message:
Removed dcids hack to shrink filename in integ

Index: integrity.php
===================================================================
RCS file: /usr/cvsroot/ossec-ui/ossec/Site/integrity.php,v
diff -u -r1.8 -r1.9
--- integrity.php	7 Aug 2007 09:03:22 -0000	1.8
+++ integrity.php	8 Aug 2007 06:33:13 -0000	1.9
@@ -39,25 +39,11 @@
            $hostName = $syscheck[1];
            # Initing file name
            $ffile_name = "";
-           $ffile_name2 = "";
-           
-           if(strlen($syscheck[2]) > 40)
-           {
-               $ffile_name = substr($syscheck[2], 0, 39)."..";
-               $ffile_name2 = substr($syscheck[2], 40, 85);
-           }
-           else
-           {
-               $ffile_name = $syscheck[2];
-           }
+           $ffile_name = $syscheck[2];
            echo "<tr  class=\"d".($i & 1)."\">\n";
            echo '<td>'.$hostName.'</td>';
-	   echo '<td>'.$ffile_name;
-           if($ffile_name2 != "")
-           {
-             echo '-'.$ffile_name2;
-           }
-           echo '</td><td>'.date('Y M d H:i:s', $syscheck[0]).'</td>';
+	   echo '<td>'.$ffile_name.'</td>';
+           echo '<td>'.date('Y M d H:i:s', $syscheck[0]).'</td>';
 	   echo '<td>°></td></tr>';
        }
        echo '</table>';


OSSEC home | Main Index | Thread Index


OSSEC project: www.ossec.net.
Mailling list information: http://www.ossec.net/en/mailing_lists.html.