equal
deleted
inserted
replaced
39 <P CLASS="nav"> |
39 <P CLASS="nav"> |
40 <A HREF="index.php"><? echo _('DNS Admin'); ?></A> |
40 <A HREF="index.php"><? echo _('DNS Admin'); ?></A> |
41 <? |
41 <? |
42 if (level(10)) |
42 if (level(10)) |
43 { |
43 { |
44 ?><A HREF="users.php"><? echo _('User Admin'); ?></A> <A HREF="seq_update.php"><? echo _('Synchronize Database'); ?></A><? |
44 ?><A HREF="users.php"><? echo _('User admin'); ?></A> <A HREF="seq_update.php"><? echo _('Synchronize database'); ?></A><? |
45 } |
45 } |
46 ?> |
46 ?> |
47 </P><BR> |
47 </P><BR> |
48 <? echo _('Type a hostname or a record in the box below and press search to see if the record exists in the system.'); ?> |
48 <? echo _('Type a hostname or a record in the box below and press search to see if the record exists in the system.'); ?> |
49 <table border = "0" cellspacing = "4"> |
49 <table border = "0" cellspacing = "4"> |
86 <tr> |
86 <tr> |
87 <td class = "tdbg"> |
87 <td class = "tdbg"> |
88 <?php |
88 <?php |
89 if (level(5)) |
89 if (level(5)) |
90 { |
90 { |
91 echo '<a href = "delete_domain.php?id='.$d['id'].'"><img src = "images/delete.gif" alt = "[ ' . _('delete zone') . ' ]" border = "0"></a>'; |
91 echo '<a href = "delete_domain.php?id='.$d['id'].'"><img src = "images/delete.gif" alt = "[ ' . _('Delete zone') . ' ]" border = "0"></a>'; |
92 } |
92 } |
93 else |
93 else |
94 { |
94 { |
95 echo ' '; |
95 echo ' '; |
96 } |
96 } |
136 ($GLOBALS["ALLOW_NS_EDIT"] && $r["type"] == "NS") || |
136 ($GLOBALS["ALLOW_NS_EDIT"] && $r["type"] == "NS") || |
137 ($r["type"] == "NS" && get_name_from_record_id($r["id"]) != get_domain_name_from_id(recid_to_domid($r["id"])) && |
137 ($r["type"] == "NS" && get_name_from_record_id($r["id"]) != get_domain_name_from_id(recid_to_domid($r["id"])) && |
138 $GLOBALS["ALLOW_NS_EDIT"] != 1)) |
138 $GLOBALS["ALLOW_NS_EDIT"] != 1)) |
139 { |
139 { |
140 ?> |
140 ?> |
141 <a href = "edit_record.php?id=<?=$r['id']?>&domain=<?=$r['domain_id']?>"><img src = "images/edit.gif" alt = "[ <? echo _('edit record'); ?> ]" border = "0"></a> |
141 <a href = "edit_record.php?id=<?=$r['id']?>&domain=<?=$r['domain_id']?>"><img src = "images/edit.gif" alt = "[ <? echo _('Edit record'); ?> ]" border = "0"></a> |
142 <a href = "delete_record.php?id=<?=$r['id']?>&domain=<?=$r['domain_id']?>"><img src = "images/delete.gif" alt = "[ <? echo _('delete record'); ?> ]" border = "0"></a> |
142 <a href = "delete_record.php?id=<?=$r['id']?>&domain=<?=$r['domain_id']?>"><img src = "images/delete.gif" alt = "[ <? echo _('Delete record'); ?> ]" border = "0"></a> |
143 <?php |
143 <?php |
144 } // big if ;-) |
144 } // big if ;-) |
145 ?> |
145 ?> |
146 </td> |
146 </td> |
147 <td style = "border: 1px solid #000000;"><?=$r['name']?></td> |
147 <td style = "border: 1px solid #000000;"><?=$r['name']?></td> |