list_zones.php
changeset 37 b785e54690ce
parent 36 4ec5ab29f634
child 44 f8886b13c495
--- a/list_zones.php	Mon Jul 02 23:01:18 2007 +0000
+++ b/list_zones.php	Tue Jul 10 21:24:06 2007 +0000
@@ -56,25 +56,17 @@
 		?>
 		
     <tr>
+     <td>
+      <a href="edit.php?id=<? echo $c["id"] ?>"><img src="images/edit.gif" title="<? echo _('Edit zone') . " " . $c['name']; ?>" alt="[ <? echo _('Edit zone') . " " . $c['name']; ?> ]"></a>
 <?
 		if (level(5))
 		{
 ?>
-     <td>
-      <a href="edit.php?id=<? echo $c["id"] ?>"><img src="images/edit.gif" title="<? echo _('Edit zone') . " " . $c['name']; ?>" alt="[ <? echo _('Edit zone') . " " . $c['name']; ?> ]"></a>
       <a href="delete_domain.php?id=<? echo $c["id"] ?>"><img src="images/delete.gif" title="<? print _('Delete zone') . " " . $c['name']; ?>" alt="[<? echo _('Delete zone') . " " . $c['name']; ?>]"></a>
-     </td>
-<?
-		}
-		else
-		{
-?>
-     <td class="n">
-      &nbsp;
-     </td>
 <?
 		}
 ?>
+     </td>
      <td class="y"><? echo $c["name"] ?></td>
      <td class="y"><? echo strtolower(get_domain_type($c["id"])) ?></td>
      <td class="y"><? echo $c["numrec"] ?></td>