New page: Abuse list
[gnucomo.git] / src / web / objects.php
index 536d910..6a9c434 100644 (file)
@@ -9,7 +9,7 @@
 ***********************
 **      FILE NAME      : objects.php
 **      SYSTEM NAME    : Gnucomo - Gnu Computer Monitoring
-**      VERSION NUMBER : $Revision: 1.9 $
+**      VERSION NUMBER : $Revision: 1.10 $
 **
 **  DESCRIPTION      : Objects Administration page.
 **                     Input parameters: action (POST) : empty, 'Create'
 
 /*****************************
    $Log: objects.php,v $
-   Revision 1.9  2003-09-01 06:55:00  arjen
+   Revision 1.10  2005-06-04 07:24:38  arjen
+   New page: Abuse list
+
+   Revision 1.9  2003/09/01 06:55:00  arjen
    Provides an interface to edit the list of
    services and users for an object.
 
@@ -59,7 +62,7 @@
 
 ******************************/
 
-// RCSID = "$Id: objects.php,v 1.9 2003-09-01 06:55:00 arjen Exp $";
+// RCSID = "$Id: objects.php,v 1.10 2005-06-04 07:24:38 arjen Exp $";
 
 ini_set('include_path', '.:./classes:../phpclasses');
 
@@ -347,7 +350,7 @@ class object_page extends page
 
       <table>
       <tr><th>Object</th><th>Description</th><th>Log entries</th>
-          <th>Parameters</th><th>Notifications</th></tr>
+          <th>Parameters</th><th>Notifications</th><th>Abuses</th></tr>
 
 <?php
       $obj = 0;
@@ -384,6 +387,9 @@ class object_page extends page
          </td><td class='number'>
              <?php echo "<a href='notification.php?oid=$u->objectid'>" . $this->nr_notifications
                       . " (" . $this->closed_notifications . " closed)</a>" ?>
+         </td><td class='number'>
+             <?php echo "<a href='abuse.php?oid=$u->objectid'>" . "Abuse list"
+                      . " </a>" ?>
          </td><td>
              <form action='objects.php' method='post' onSubmit='return CheckRemove(this)'>
                  <input type='hidden' name='objectname' value='<?php echo $u->objectname ?>'>
@@ -399,8 +405,10 @@ class object_page extends page
       echo "<td>&nbsp;</td>";
       echo "<td class='number'>$count_logs</td>";
       echo "<td class='number'>$count_parameters ($removed_parameters removed)</td>";
-      echo "<td class='number'>$count_notifications ($closed_notifications closed)</td></tr>";
-      echo "</table>";
+      echo "<td class='number'>$count_notifications ($closed_notifications closed)</td>";
+      echo "<td>&nbsp;</td>";
+      echo "</tr>\n";
+      echo "</table>\n";
 
 ?>