From cc99cdff8ff86b3fbe8eb4261bfaddb86fbec3ec Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Fri, 19 Oct 2012 07:49:52 -0400 Subject: [PATCH] - Improved cron and ssh user plugins. - Added "touch" function to system.inc.php --- interface/web/sites/web_domain_edit.php | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/interface/web/sites/web_domain_edit.php b/interface/web/sites/web_domain_edit.php index b8db757..8ac503a 100644 --- a/interface/web/sites/web_domain_edit.php +++ b/interface/web/sites/web_domain_edit.php @@ -80,6 +80,7 @@ $client = $app->db->queryOneRecord("SELECT client.default_webserver FROM sys_group, client WHERE sys_group.client_id = client.client_id and sys_group.groupid = $client_group_id"); $app->tpl->setVar("server_id_value", $client['default_webserver']); } + $app->tform->formDef['tabs']['domain']['readonly'] = false; parent::onShowNew(); } @@ -432,7 +433,7 @@ if ($domain['domain'] == $this->dataRecord["domain"]) { $domain_select .= " selected"; } - $domain_select .= ">" . $domain['domain'] . "</option>\r\n"; + $domain_select .= ">" . $app->functions->idn_decode($domain['domain']) . "</option>\r\n"; } } else { @@ -467,7 +468,7 @@ $sql = "SELECT domain_id, domain FROM domain WHERE domain_id = " . $app->functions->intval($this->dataRecord['domain']); if ($_SESSION["s"]["user"]["typ"] != 'admin') { - $sql .= "AND sys_groupid =" . $client_group_id; + $sql .= " AND sys_groupid =" . $client_group_id; } $domain_check = $app->db->queryOneRecord($sql); if(!$domain_check) { -- Gitblit v1.9.1