Marius Cramer
2013-10-18 bd68aae78a5d696e4ccb9c0d267486c283a6d9d2
interface/web/sites/form/web_vhost_subdomain.tform.php
@@ -64,6 +64,9 @@
    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,
@@ -525,7 +528,8 @@
// }
if($_SESSION["s"]["user"]["typ"] == 'admin') {
if($_SESSION["s"]["user"]["typ"] == 'admin'
    || ($web_config['reseller_can_use_options'] == 'y' && $app->auth->has_clients($_SESSION['s']['user']['userid']))) {
$form["tabs"]['advanced'] = array (
   'title'    => "Options",