30 require_once(
"../class/config.php");
32 if (!$admin->enabled) {
33 __(
"This page is restricted to authorized staff");
38 "tld" => array (
"request",
"string",
""),
45 include(
"adm_tld.php");
49 include_once(
"head.php");
52 <h3><?php
__(
"Manage allowed domains (TLD)"); ?></h3>
57 echo
"<p class=\"alert alert-danger\">$error</p>";
60 <h3><?php
__(
"Edit a TLD"); ?></h3>
62 <form method=
"post" action=
"adm_tlddoedit.php">
63 <table
id=
"main" class=
"tedit">
64 <tr><th><label
for=
"tld"><?php
__(
"TLD"); ?></label></th><td><code><?php echo $tld; ?></code><input type=
"hidden" name=
"tld" id=
"tld" value=
"<?php echo $tld; ?>" /></td></tr>
65 <tr><th><label
for=
"mode"><?php
__(
"Allowed Mode"); ?></label></th><td><select name=
"mode" class=
"inl" id=
"mode">
66 <?php $admin->selecttldmode(
$mode); ?>
68 <tr
class=
"trbtn"><td colspan=
"2">
69 <input type=
"submit" class=
"inb" value=
"<?php __("Edit
this TLD
"); ?>" />
70 <input type=
"button" class=
"inb" name=
"cancel" value=
"<?php __("Cancel
"); ?>" onclick=
"document.location='adm_tld.php'"/>
75 <?php include_once(
"foot.php"); ?>