| | |
| | | //* we are editing a existing record |
| | | $app->tpl->setVar("edit_disabled", 1); |
| | | $app->tpl->setVar('fixed_folder', 'y'); |
| | | if($this->_vhostdomain_type == 'domain') $app->tpl->setVar("server_id_value", $this->dataRecord["server_id"]); |
| | | if($this->_vhostdomain_type == 'domain') { |
| | | $app->tpl->setVar("server_id_value", $this->dataRecord["server_id"]); |
| | | $app->tpl->setVar("document_root", $this->dataRecord["document_root"]); |
| | | } |
| | | else $app->tpl->setVar('server_id_value', $parent_domain['server_id']); |
| | | } else { |
| | | $app->tpl->setVar("edit_disabled", 0); |
| | |
| | | if($web_config['enable_spdy'] === 'n') { |
| | | unset($app->tform->formDef["tabs"]['ssl']['fields']['enable_spdy']); |
| | | } |
| | | if($this->dataRecord["directive_snippets_id"] < 1) $this->dataRecord["enable_pagespeed"] = 'n'; |
| | | |
| | | parent::onSubmit(); |
| | | } |