Use the proper destination
authorJoey Schulze <joey@infodrom.org>
Fri, 22 Feb 2008 16:59:55 +0000 (16:59 +0000)
committerJoey Schulze <joey@infodrom.org>
Fri, 22 Feb 2008 16:59:55 +0000 (16:59 +0000)
src/Infodrom/zeitungen/index.wml

index 1fd594f..f9f2197 100644 (file)
     echo ('<ul>');
     for ($nr=0; $nr < $num; $nr++) {
       $row = pg_fetch_array ($sth, $nr);
-      printf ('<li><a href="edit.php?approve=%d">%s</a>, %s (%s)</li>',
+      printf ('<li><a href="update.php?approve=%d">%s</a>, %s (%s) <a href="update.php?delete=%d">löschen</a></li>',
              $row['oid'],
              $row['name'],
              $row['country'],
-             $row['city']);
+             $row['city'],
+             $row['oid']);
     }
     echo ('</ul>');
   }