Fix: PHP Versions are not displayed until php-mode is changed and then changed back again to fcgi
Added: Form fields are disabled if a client is not allowed to edit a domains main settings
| | |
| | | $app->uses('tform_tpl_generator'); |
| | | $app->tform_tpl_generator->buildHTML($this->formDef,$tab['name']); |
| | | } |
| | | |
| | | $app->tpl->setVar('readonly_tab', (isset($tab['readonly']) && $tab['readonly'] == true)); |
| | | $app->tpl->setInclude('content_tpl',$tab["template"]); |
| | | $tab["active"] = 1; |
| | | $_SESSION["s"]["form"]["tab"] = $tab['name']; |
| | |
| | | }); |
| | | } |
| | | adjustForm(); |
| | | reloadFastcgiPHPVersions(); |
| | | |
| | | jQuery('#client_group_id').change(function(){ |
| | | clientGroupId = $(this).val(); |
| | |
| | | $('#fastcgi_php_version').html(options); |
| | | }); |
| | | } |
| | | |
| | | <tmpl_if name="readonly_tab"> |
| | | jQuery('div.panel_web_domain').find('fieldset').find('input,select,button').attr('disabled', 'disabled'); |
| | | </tmpl_if> |
| | | |
| | | </script> |
| | | </script> |