コード例 #1
0
ファイル: dom_edit.php プロジェクト: GuillaumeFromage/AlternC
    // $problems can be empty but can't be null/false
    echo "<script type='text/javascript'>\$(\"tr[data-fqdn='" . $pr . "']\").addClass('alert-danger-tr');</script>\n";
}
?>
</div>


<div id="tabsdom-addsub">
<h3><?php 
printf(_("Add a subdomains to %s"), $domain);
?>
</h3>
<?php 
$isedit = false;
require_once 'dom_edit.inc.php';
sub_domains_edit($domain);
?>
<br />
<?php 
$mem->show_help("edit_domain");
?>
<!-- *****************************************
		 modification des parametres dns
 -->
<?php 
if (!$r['noerase']) {
    ?>

</div>
<div id="tabsdom-params">
<h3><?php 
コード例 #2
0
// Just in case
if (!$r) {
    include_once 'foot.php';
    die;
}
$dt = $dom->domains_type_lst();
if (!$isinvited && $dt[strtolower($r['type'])]["enable"] != "ALL") {
    __("This page is restricted to authorized staff");
    exit;
}
$domroot = $dom->get_domain_all($r['domain']);
echo "<h3>";
__("Editing subdomain");
echo " http://";
ecif($r['name'], $r['name'] . ".");
echo $r['domain'] . "</h3>";
if (isset($error) && $error) {
    echo "<p class=\"alert alert-danger\">{$error}</p>";
    include_once "foot.php";
    exit;
}
$dom->unlock();
?>

<hr id="topbar"/>
<br />
<?php 
$isedit = true;
require_once 'dom_edit.inc.php';
sub_domains_edit($r['domain'], $sub_domain_id);
include_once "foot.php";