fixing the Choosing of a (dns hosted only) domain name to be a master when installing a slave. Fixes #28
This commit is contained in:
parent
48e71faa88
commit
6d24bd9739
|
@ -61,7 +61,8 @@ if (isset($error) && $error) echo "<p class=\"alert alert-danger\">$error</p>";
|
|||
</p>
|
||||
<?php
|
||||
$q = $quota->getquota("dom");
|
||||
if ($q["u"]>0) {
|
||||
$dl=$dom->get_domain_list($cuid);
|
||||
if ($q["u"]>0 && count($dl)) {
|
||||
?>
|
||||
<fieldset>
|
||||
<legend>
|
||||
|
@ -71,9 +72,7 @@ if ($q["u"]>0) {
|
|||
<input type="radio" id="newisslave0" name="newisslave" value="0"<?php cbox($newisslave==0); ?>/><label for="newisslave0"><?php __("No: This domain will have its own folder."); ?></label>
|
||||
<br />
|
||||
<input type="radio" id="newisslave1" name="newisslave" value="1"<?php cbox($newisslave==1); ?>/><label for="newisslave1"><?php __("Yes, redirect this new domain to this one:"); ?> </label> <select name="slavedom" id="slavedom" class="inl">
|
||||
<option value=""><?php __("-- Choose a domain --"); ?></option>
|
||||
<?php
|
||||
$dl=$dom->get_domain_list($cuid);
|
||||
$ddl=array();
|
||||
foreach($dl as $d) {
|
||||
$ddl[$d]=$d;
|
||||
|
|
Loading…
Reference in New Issue