From 1139530fbf3fb0fdce1bf5cfee311cd6f0fbf816 Mon Sep 17 00:00:00 2001 From: Marius Cramer <m.cramer@pixcept.de> Date: Mon, 14 Oct 2013 10:04:06 -0400 Subject: [PATCH] Merge remote-tracking branch 'origin/stable-3.0.5' --- interface/web/sites/form/web_vhost_subdomain.tform.php | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/interface/web/sites/form/web_vhost_subdomain.tform.php b/interface/web/sites/form/web_vhost_subdomain.tform.php index 3aa3049..116428c 100644 --- a/interface/web/sites/form/web_vhost_subdomain.tform.php +++ b/interface/web/sites/form/web_vhost_subdomain.tform.php @@ -64,9 +64,6 @@ if($client['limit_ssl'] != 'y') $ssl_available = false; } -$app->uses('getconf'); -$web_config = $app->getconf->get_global_config('sites'); - $form["tabs"]['domain'] = array ( 'title' => "Domain", 'width' => 100, @@ -308,6 +305,14 @@ 'default' => '', 'value' => array('' => 'no_redirect_txt', 'non_www_to_www' => 'domain.tld => www.domain.tld', 'www_to_non_www' => 'www.domain.tld => domain.tld', '*_domain_tld_to_domain_tld' => '*.doman.tld => domain.tld', '*_domain_tld_to_www_domain_tld' => '*.domain.tld => www.domain.tld', '*_to_domain_tld' => '* => domain.tld', '*_to_www_domain_tld' => '* => www.domain.tld') ), + 'rewrite_rules' => array ( + 'datatype' => 'TEXT', + 'formtype' => 'TEXT', + 'default' => '', + 'value' => '', + 'width' => '30', + 'maxlength' => '255' + ), ################################## # ENDE Datatable fields ################################## @@ -520,8 +525,7 @@ // } -if($_SESSION["s"]["user"]["typ"] == 'admin' - || ($web_config['reseller_can_use_options'] == 'y' && $app->auth->has_clients($_SESSION['s']['user']['userid']))) { +if($_SESSION["s"]["user"]["typ"] == 'admin') { $form["tabs"]['advanced'] = array ( 'title' => "Options", -- Gitblit v1.9.1