equal
deleted
inserted
replaced
32 <FONT CLASS="nav"><BR><A HREF="index.php"><? echo _('DNS Admin'); ?></A> >> <A HREF="edit.php?id=<?= $_GET["id"] ?>"><?= get_domain_name_from_id($_GET["id"]) ?></A> >> <? echo _('Add record'); ?><BR><BR></FONT> |
32 <FONT CLASS="nav"><BR><A HREF="index.php"><? echo _('DNS Admin'); ?></A> >> <A HREF="edit.php?id=<?= $_GET["id"] ?>"><?= get_domain_name_from_id($_GET["id"]) ?></A> >> <? echo _('Add record'); ?><BR><BR></FONT> |
33 |
33 |
34 <FORM METHOD="post"> |
34 <FORM METHOD="post"> |
35 <INPUT TYPE="hidden" NAME="zoneid" VALUE="<?= $_GET["id"] ?>"> |
35 <INPUT TYPE="hidden" NAME="zoneid" VALUE="<?= $_GET["id"] ?>"> |
36 <TABLE BORDER="0" CELLSPACING="4"> |
36 <TABLE BORDER="0" CELLSPACING="4"> |
37 <TR STYLE="font-weight: Bold"><TD CLASS="tdbg"><? echo _('Name'); ?></TD><TD CLASS="tdbg"> </TD><TD CLASS="tdbg"><? echo _('Type'); ?></TD><TD CLASS="tdbg"><? echo _('Priority'); ?></TD><TD CLASS="tdbg"><? echo _('Content'); ?></TD><TD CLASS="tdbg"><? echo _('TimeToLive'); ?></TD></TR> |
37 <TR STYLE="font-weight: Bold"><TD CLASS="tdbg"><? echo _('Name'); ?></TD><TD CLASS="tdbg"> </TD><TD CLASS="tdbg"><? echo _('Type'); ?></TD><TD CLASS="tdbg"><? echo _('Priority'); ?></TD><TD CLASS="tdbg"><? echo _('Content'); ?></TD><TD CLASS="tdbg"><? echo _('TTL'); ?></TD></TR> |
38 <TR><TD CLASS="tdbg"><INPUT TYPE="text" NAME="name" CLASS="input">.<?= get_domain_name_from_id($_GET["id"]) ?></TD><TD CLASS="tdbg">IN</TD><TD CLASS="tdbg"><SELECT NAME="type"> |
38 <TR><TD CLASS="tdbg"><INPUT TYPE="text" NAME="name" CLASS="input">.<?= get_domain_name_from_id($_GET["id"]) ?></TD><TD CLASS="tdbg">IN</TD><TD CLASS="tdbg"><SELECT NAME="type"> |
39 <? |
39 <? |
40 $dname = get_domain_name_from_id($_GET["id"]); |
40 $dname = get_domain_name_from_id($_GET["id"]); |
41 foreach (get_record_types() as $c) { |
41 foreach (get_record_types() as $c) { |
42 if (eregi('in-addr.arpa', $dname) && strtoupper($c) == 'PTR') { |
42 if (eregi('in-addr.arpa', $dname) && strtoupper($c) == 'PTR') { |