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

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



Module name:	ossec-hids
Changes by:	davelowe	07/07/19 07:07:45

Modified files:
	hostInfo.php

Log message:
Added instruction to select a host from the left menu

Index: hostInfo.php
===================================================================
RCS file: /usr/cvsroot/ossec-ui/ossec/Site/hostInfo.php,v
diff -u -r1.2 -r1.3
--- hostInfo.php	19 Jul 2007 09:57:27 -0000	1.2
+++ hostInfo.php	19 Jul 2007 10:07:45 -0000	1.3
@@ -21,6 +21,7 @@
 {
         if(trim($agent{'name'}) == $USER_host)
         {
+                $match = true;
                 /* If agent is connected */
                 if($agent{'connected'})
                 {
@@ -43,6 +44,7 @@
                 echo "\n";
         }
 }
+if (!$match) echo "Please Select an agent from the list on the left"
 ?>
 </div>
 <!-- END HOST INFO -->


OSSEC home | Main Index | Thread Index


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