list_zones.php
changeset 37 b785e54690ce
parent 36 4ec5ab29f634
child 44 f8886b13c495
equal deleted inserted replaced
36:4ec5ab29f634 37:b785e54690ce
    54 	foreach ($doms as $c)
    54 	foreach ($doms as $c)
    55 	{
    55 	{
    56 		?>
    56 		?>
    57 		
    57 		
    58     <tr>
    58     <tr>
       
    59      <td>
       
    60       <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>
    59 <?
    61 <?
    60 		if (level(5))
    62 		if (level(5))
    61 		{
    63 		{
    62 ?>
    64 ?>
    63      <td>
       
    64       <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>
       
    65       <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>
    65       <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>
    66      </td>
       
    67 <?
       
    68 		}
       
    69 		else
       
    70 		{
       
    71 ?>
       
    72      <td class="n">
       
    73       &nbsp;
       
    74      </td>
       
    75 <?
    66 <?
    76 		}
    67 		}
    77 ?>
    68 ?>
       
    69      </td>
    78      <td class="y"><? echo $c["name"] ?></td>
    70      <td class="y"><? echo $c["name"] ?></td>
    79      <td class="y"><? echo strtolower(get_domain_type($c["id"])) ?></td>
    71      <td class="y"><? echo strtolower(get_domain_type($c["id"])) ?></td>
    80      <td class="y"><? echo $c["numrec"] ?></td>
    72      <td class="y"><? echo $c["numrec"] ?></td>
    81 
    73 
    82 <?
    74 <?