30 require_once(
"../class/config.php");
32 if (!$admin->enabled) {
33 __(
"This page is restricted to authorized staff");
37 "tld" => array (
"post",
"string",
""),
38 "mode" => array (
"post",
"integer",
""),
43 include_once (
"head.php");
46 <h3><?php
__(
"Manage allowed domains (TLD)"); ?></h3>
51 echo
"<p class=\"alert alert-danger\">$error</p>";
56 <h3><?php
__(
"Add a new TLD"); ?></h3>
58 <?php
__(
"Enter the new TLD (without the first dot) and choose what check should be done."); ?><br />
59 <small><?php
__(
"Warning : only some final tld are known in the whois function of AlternC, please check m_dom.php accordingly."); ?></small>
62 <form method=
"post" action=
"adm_tlddoadd.php" name=
"main" id=
"main">
65 <tr><th><label
for=
"tld"><?php
__(
"TLD"); ?></label></th><td><input type=
"text" id=
"tld" name=
"tld" class=
"int" value=
"<?php ehe( (isset($tld)?$tld:'') ); ?>" size=
"20" maxlength=
"64" /></td></tr>
66 <tr><th><label
for=
"mode"><?php
__(
"Allowed Mode"); ?></label></th><td><select name=
"mode" id=
"mode" class=
"inl">
67 <?php $admin->selecttldmode(
$mode); ?>
69 <tr
class=
"trbtn"><td colspan=
"2">
70 <input type=
"submit" class=
"inb" value=
"<?php __("Add a
new TLD
"); ?>" />
71 <input type=
"button" class=
"inb" name=
"cancel" value=
"<?php __("Cancel
"); ?>" onclick=
"document.location='adm_tld.php'"/>
75 <script type=
"text/javascript">
76 document.forms[
'main'].tld.focus();
80 <?php include_once(
"foot.php"); ?>