Commit 568b4b12 authored by Florian Schaal's avatar Florian Schaal

display the documnet_root for a website

parent fe8aa64b
......@@ -134,4 +134,5 @@ $wb['backup_excludes_error_regex'] = 'The excluded directories contain invalid c
$wb['invalid_custom_php_ini_settings_txt'] = 'Invalid php.ini settings';
$wb['invalid_system_user_or_group_txt'] = 'Invalid system user or group';
$wb['apache_directive_blocked_error'] = 'Apache directive blocked by security settings:';
$wb["document_root_txt"] = "Document Root";
?>
......@@ -135,4 +135,5 @@ $wb['backup_excludes_error_regex'] = 'The excluded directories contain invalid c
$wb['invalid_custom_php_ini_settings_txt'] = 'Invalid php.ini settings';
$wb['invalid_system_user_or_group_txt'] = 'Invalid system user or group';
$wb['apache_directive_blocked_error'] = 'Apache directive blocked by security settings:';
$wb["document_root_txt"] = "Document Root";
?>
......@@ -135,4 +135,5 @@ $wb['backup_excludes_error_regex'] = 'The excluded directories contain invalid c
$wb['invalid_custom_php_ini_settings_txt'] = 'Invalid php.ini settings';
$wb['invalid_system_user_or_group_txt'] = 'Invalid system user or group';
$wb['apache_directive_blocked_error'] = 'Apache directive blocked by security settings:';
$wb["document_root_txt"] = "Document Root";
?>
......@@ -138,5 +138,6 @@ $wb['backup_excludes_txt'] = 'Excluded Directories';
$wb['backup_excludes_note_txt'] = '(Separate multiple directories with commas. Example: web/cache/*,web/backup)';
$wb['backup_excludes_error_regex'] = 'The excluded directories contain invalid characters.';
$wb['invalid_custom_php_ini_settings_txt'] = 'Invalid php.ini settings';
$wb["document_root_txt"] = "Document Root";
?>
......@@ -140,4 +140,5 @@ $wb['enable_spdy_txt'] = 'Aktiviere SPDY';
$wb['load_client_data_txt'] = 'Kundendaten übernehmen';
$wb['load_my_data_txt'] = 'Meine Kontaktdaten laden';
$wb['reset_client_data_txt'] = 'Daten verwerfen';
$wb["document_root_txt"] = "Document Root";
?>
......@@ -135,4 +135,5 @@ $wb['backup_excludes_error_regex'] = 'The excluded directories contain invalid c
$wb['invalid_custom_php_ini_settings_txt'] = 'Invalid php.ini settings';
$wb['invalid_system_user_or_group_txt'] = 'Invalid system user or group';
$wb['apache_directive_blocked_error'] = 'Apache directive blocked by security settings:';
$wb["document_root_txt"] = "Document Root";
?>
......@@ -143,4 +143,5 @@ $wb['enable_spdy_txt'] = 'Enable SPDY';
$wb['load_client_data_txt'] = 'Load client details';
$wb['load_my_data_txt'] = 'Load my contact details';
$wb['reset_client_data_txt'] = 'Reset data';
$wb["document_root_txt"] = "Document Root";
?>
......@@ -133,4 +133,5 @@ $wb['backup_excludes_txt'] = 'Directorios excluídos';
$wb['backup_excludes_note_txt'] = '(Separa múltiples directorios con comas. Ejemplo: web/cache/*,web/backup)';
$wb['backup_excludes_error_regex'] = 'Los directorios excluídos contienen caracteres no válidos.';
$wb['invalid_custom_php_ini_settings_txt'] = 'Configuración personalizada de php.ini no válida';
$wb["document_root_txt"] = "Document Root";
?>
......@@ -135,4 +135,5 @@ $wb['backup_excludes_error_regex'] = 'The excluded directories contain invalid c
$wb['invalid_custom_php_ini_settings_txt'] = 'Invalid php.ini settings';
$wb['invalid_system_user_or_group_txt'] = 'Invalid system user or group';
$wb['apache_directive_blocked_error'] = 'Apache directive blocked by security settings:';
$wb["document_root_txt"] = "Document Root";
?>
......@@ -136,4 +136,5 @@ $wb['backup_excludes_error_regex'] = 'The excluded directories contain invalid c
$wb['invalid_custom_php_ini_settings_txt'] = 'Invalid php.ini settings';
$wb['invalid_system_user_or_group_txt'] = 'Invalid system user or group';
$wb['apache_directive_blocked_error'] = 'Apache directive blocked by security settings:';
$wb["document_root_txt"] = "Document Root";
?>
......@@ -133,6 +133,7 @@ $wb['backup_excludes_note_txt'] = '(Separate multiple directories with commas. E
$wb['backup_excludes_error_regex'] = 'Izbačeni direktorij sadrži nedozvoljene znakove.';
$wb['invalid_custom_php_ini_settings_txt'] = 'Neispravne php.ini postavke';
$wb['invalid_system_user_or_group_txt'] = 'Invalid system user or group';
$wb["document_root_txt"] = "Document Root";
?>
......@@ -135,4 +135,5 @@ $wb['backup_excludes_error_regex'] = 'The excluded directories contain invalid c
$wb['invalid_custom_php_ini_settings_txt'] = 'Invalid php.ini settings';
$wb['invalid_system_user_or_group_txt'] = 'Invalid system user or group';
$wb['apache_directive_blocked_error'] = 'Apache directive blocked by security settings:';
$wb["document_root_txt"] = "Document Root";
?>
......@@ -135,4 +135,5 @@ $wb['backup_excludes_error_regex'] = 'The excluded directories contain invalid c
$wb['invalid_custom_php_ini_settings_txt'] = 'Invalid php.ini settings';
$wb['invalid_system_user_or_group_txt'] = 'Invalid system user or group';
$wb['apache_directive_blocked_error'] = 'Apache directive blocked by security settings:';
$wb["document_root_txt"] = "Document Root";
?>
......@@ -135,4 +135,5 @@ $wb['backup_excludes_error_regex'] = 'The excluded directories contain invalid c
$wb['invalid_custom_php_ini_settings_txt'] = 'Invalid php.ini settings';
$wb['invalid_system_user_or_group_txt'] = 'Invalid system user or group';
$wb['apache_directive_blocked_error'] = 'Apache directive blocked by security settings:';
$wb["document_root_txt"] = "Document Root";
?>
......@@ -135,4 +135,5 @@ $wb['backup_excludes_error_regex'] = 'The excluded directories contain invalid c
$wb['invalid_custom_php_ini_settings_txt'] = 'Invalid php.ini settings';
$wb['invalid_system_user_or_group_txt'] = 'Invalid system user or group';
$wb['apache_directive_blocked_error'] = 'Apache directive blocked by security settings:';
$wb["document_root_txt"] = "Document Root";
?>
......@@ -135,4 +135,5 @@ $wb['backup_excludes_error_regex'] = 'The excluded directories contain invalid c
$wb['invalid_custom_php_ini_settings_txt'] = 'Invalid php.ini settings';
$wb['invalid_system_user_or_group_txt'] = 'Invalid system user or group';
$wb['apache_directive_blocked_error'] = 'Apache directive blocked by security settings:';
$wb["document_root_txt"] = "Document Root";
?>
......@@ -135,4 +135,5 @@ $wb['backup_excludes_error_regex'] = 'The excluded directories contain invalid c
$wb['invalid_custom_php_ini_settings_txt'] = 'Invalid php.ini settings';
$wb['invalid_system_user_or_group_txt'] = 'Invalid system user or group';
$wb['apache_directive_blocked_error'] = 'Apache directive blocked by security settings:';
$wb["document_root_txt"] = "Document Root";
?>
......@@ -135,4 +135,5 @@ $wb['backup_excludes_error_regex'] = 'The excluded directories contain invalid c
$wb['invalid_custom_php_ini_settings_txt'] = 'Invalid php.ini settings';
$wb['invalid_system_user_or_group_txt'] = 'Invalid system user or group';
$wb['apache_directive_blocked_error'] = 'Apache directive blocked by security settings:';
$wb["document_root_txt"] = "Document Root";
?>
......@@ -135,4 +135,5 @@ $wb['backup_excludes_error_regex'] = 'The excluded directories contain invalid c
$wb['invalid_custom_php_ini_settings_txt'] = 'Invalid php.ini settings';
$wb['invalid_system_user_or_group_txt'] = 'Invalid system user or group';
$wb['apache_directive_blocked_error'] = 'Apache directive blocked by security settings:';
$wb["document_root_txt"] = "Document Root";
?>
......@@ -135,4 +135,5 @@ $wb['backup_excludes_error_regex'] = 'The excluded directories contain invalid c
$wb['invalid_custom_php_ini_settings_txt'] = 'Invalid php.ini settings';
$wb['invalid_system_user_or_group_txt'] = 'Invalid system user or group';
$wb['apache_directive_blocked_error'] = 'Apache directive blocked by security settings:';
$wb["document_root_txt"] = "Document Root";
?>
......@@ -135,4 +135,5 @@ $wb['backup_excludes_error_regex'] = 'The excluded directories contain invalid c
$wb['invalid_custom_php_ini_settings_txt'] = 'Ogiltiga php.ini-inställningar';
$wb['invalid_system_user_or_group_txt'] = 'Invalid system user or group';
$wb['apache_directive_blocked_error'] = 'Apache directive blocked by security settings:';
$wb["document_root_txt"] = "Document Root";
?>
......@@ -135,4 +135,5 @@ $wb['backup_excludes_error_regex'] = 'The excluded directories contain invalid c
$wb['invalid_custom_php_ini_settings_txt'] = 'Invalid php.ini settings';
$wb['invalid_system_user_or_group_txt'] = 'Invalid system user or group';
$wb['apache_directive_blocked_error'] = 'Apache directive blocked by security settings:';
$wb["document_root_txt"] = "Document Root";
?>
......@@ -135,4 +135,5 @@ $wb['backup_excludes_error_regex'] = 'The excluded directories contain invalid c
$wb['invalid_custom_php_ini_settings_txt'] = 'Invalid php.ini settings';
$wb['invalid_system_user_or_group_txt'] = 'Invalid system user or group';
$wb['apache_directive_blocked_error'] = 'Apache directive blocked by security settings:';
$wb["document_root_txt"] = "Document Root";
?>
......@@ -89,6 +89,12 @@
<tmpl_else>
<div class="col-sm-9"><input type="text" name="domain" id="domain" value="{tmpl_var name='domain'}" class="form-control" /></div></tmpl_if>
</div>
<tmpl_if name="edit_disabled">
<div class="form-group">
<label for="document_root" class="col-sm-3 control-label" readonly >{tmpl_var name='ip_address_txt'}</label>
<div class="col-sm-9">{tmpl_var name='document_root'}</div>
</div>
</tmpl_if>
<div class="form-group">
<label for="hd_quota" class="col-sm-3 control-label">{tmpl_var name='hd_quota_txt'}</label>
<div class="col-sm-6"><input type="text" name="hd_quota" id="hd_quota" value="{tmpl_var name='hd_quota'}" class="form-control" /></div><div class="col-sm-3 input-sm">&nbsp;MB
......
......@@ -647,7 +647,10 @@ class page_action extends tform_actions {
//* 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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment