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

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



Module name:	ossec-hids
Changes by:	davelowe	07/07/19 06:22:39

Modified files:
	selectHosts.php

Log message:
Removed table

Index: selectHosts.php
===================================================================
RCS file: /usr/cvsroot/ossec-ui/ossec/Site/selectHosts.php,v
diff -u -r1.3 -r1.4
--- selectHosts.php	19 Jul 2007 04:03:07 -0000	1.3
+++ selectHosts.php	19 Jul 2007 09:22:39 -0000	1.4
@@ -27,27 +27,18 @@
 <body>
 <div id="layer"></div>
 <div id="layerHosts">
-  <table width="210" border="0" cellspacing="00" cellpadding="00">
-    <tr>
-      <td bgcolor="#9C980C">
-        <span class="agentsHeader">Available Hosts</span>
-      </td>
-    </tr>
-    <tr>
-      <td>
-        <form id="formHost" name="formHost" method="get" action="index.php">
-          <select name="selectHost" size="9" id="selectHost" onclick="submit();">
-	    <option value="All">All</option>
-	    <?php
-	    foreach ($agent_list as $agent)
-	    {
-	      echo '<option value="'.$agent{'name'}.'">'.$agent{'name'}.'</option>';
-	    }
-	    ?>
-          </select>
-        </form>
-      </td>
-    </tr>
-  </table>
+<span class="agentsHeader">Available Hosts</span>
+<form id="formHost" name="formHost" method="get" action="index.php">
+<select name="selectHost" size="9" id="selectHost" onclick="submit();">
+<option value="All">All</option>
+<?php
+foreach ($agent_list as $agent)
+{
+echo "<option value=".rtrim($agent{'name'}).">".rtrim($agent{'name'})."</option>";
+}
+?>
+</select>
+</form>
+      
 </div>
 <!-- END SELECT HOSTS -->


OSSEC home | Main Index | Thread Index


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