tbrehm
2012-10-25 edaa7c5d66ef52eec1c15f79ae4034fc3e67b9b7
interface/web/sites/web_vhost_subdomain_edit.php
@@ -252,7 +252,7 @@
                  $domain_select .= " selected";
                        $selected_domain = $domain['domain'];
               }
               $domain_select .= ">" . $domain['domain'] . "</option>\r\n";
               $domain_select .= ">" . $app->functions->idn_decode($domain['domain']) . "</option>\r\n";
            }
         }
         else {
@@ -288,7 +288,6 @@
      $this->dataRecord["ipv6_address"] = $parent_domain["ipv6_address"];
      $this->dataRecord["client_group_id"] = $parent_domain["client_group_id"];
      $this->dataRecord["vhost_type"] = 'name';
      $this->dataRecord["domain"] = $this->dataRecord["domain"].'.'.$parent_domain["domain"];
      $this->parent_domain_record = $parent_domain;
        
@@ -328,6 +327,8 @@
            if($check && $check['cnt'] > 0) {
                $app->tform->errorMessage .= $app->tform->lng("web_folder_unique_txt")."<br>";
            }
        } else {
            $this->dataRecord["domain"] = $this->dataRecord["domain"].'.'.$parent_domain["domain"];
        }
        
      if($_SESSION["s"]["user"]["typ"] != 'admin') {