Florian Schaal
2015-06-20 568b4b12d291f928b0755f130df026ba6ecfa656
display the documnet_root for a website
25 files modified
36 ■■■■■ changed files
interface/web/sites/lib/lang/ar_web_vhost_domain.lng 1 ●●●● patch | view | raw | blame | history
interface/web/sites/lib/lang/bg_web_vhost_domain.lng 1 ●●●● patch | view | raw | blame | history
interface/web/sites/lib/lang/br_web_vhost_domain.lng 1 ●●●● patch | view | raw | blame | history
interface/web/sites/lib/lang/cz_web_vhost_domain.lng 1 ●●●● patch | view | raw | blame | history
interface/web/sites/lib/lang/de_web_vhost_domain.lng 1 ●●●● patch | view | raw | blame | history
interface/web/sites/lib/lang/el_web_vhost_domain.lng 1 ●●●● patch | view | raw | blame | history
interface/web/sites/lib/lang/en_web_vhost_domain.lng 1 ●●●● patch | view | raw | blame | history
interface/web/sites/lib/lang/es_web_vhost_domain.lng 1 ●●●● patch | view | raw | blame | history
interface/web/sites/lib/lang/fi_web_vhost_domain.lng 1 ●●●● patch | view | raw | blame | history
interface/web/sites/lib/lang/fr_web_vhost_domain.lng 1 ●●●● patch | view | raw | blame | history
interface/web/sites/lib/lang/hr_web_vhost_domain.lng 1 ●●●● patch | view | raw | blame | history
interface/web/sites/lib/lang/hu_web_vhost_domain.lng 1 ●●●● patch | view | raw | blame | history
interface/web/sites/lib/lang/id_web_vhost_domain.lng 1 ●●●● patch | view | raw | blame | history
interface/web/sites/lib/lang/it_web_vhost_domain.lng 1 ●●●● patch | view | raw | blame | history
interface/web/sites/lib/lang/ja_web_vhost_domain.lng 1 ●●●● patch | view | raw | blame | history
interface/web/sites/lib/lang/nl_web_vhost_domain.lng 1 ●●●● patch | view | raw | blame | history
interface/web/sites/lib/lang/pl_web_vhost_domain.lng 1 ●●●● patch | view | raw | blame | history
interface/web/sites/lib/lang/pt_web_vhost_domain.lng 1 ●●●● patch | view | raw | blame | history
interface/web/sites/lib/lang/ro_web_vhost_domain.lng 1 ●●●● patch | view | raw | blame | history
interface/web/sites/lib/lang/ru_web_vhost_domain.lng 1 ●●●● patch | view | raw | blame | history
interface/web/sites/lib/lang/se_web_vhost_domain.lng 1 ●●●● patch | view | raw | blame | history
interface/web/sites/lib/lang/sk_web_vhost_domain.lng 1 ●●●● patch | view | raw | blame | history
interface/web/sites/lib/lang/tr_web_vhost_domain.lng 1 ●●●● patch | view | raw | blame | history
interface/web/sites/templates/web_vhost_domain_edit.htm 8 ●●●● patch | view | raw | blame | history
interface/web/sites/web_vhost_domain_edit.php 5 ●●●● patch | view | raw | blame | history
interface/web/sites/lib/lang/ar_web_vhost_domain.lng
@@ -134,4 +134,5 @@
$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";
?>
interface/web/sites/lib/lang/bg_web_vhost_domain.lng
@@ -135,4 +135,5 @@
$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";
?>
interface/web/sites/lib/lang/br_web_vhost_domain.lng
@@ -135,4 +135,5 @@
$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";
?>
interface/web/sites/lib/lang/cz_web_vhost_domain.lng
@@ -138,5 +138,6 @@
$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";
?>
interface/web/sites/lib/lang/de_web_vhost_domain.lng
@@ -140,4 +140,5 @@
$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";
?>
interface/web/sites/lib/lang/el_web_vhost_domain.lng
@@ -135,4 +135,5 @@
$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";
?>
interface/web/sites/lib/lang/en_web_vhost_domain.lng
@@ -143,4 +143,5 @@
$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";
?>
interface/web/sites/lib/lang/es_web_vhost_domain.lng
@@ -133,4 +133,5 @@
$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";
?>
interface/web/sites/lib/lang/fi_web_vhost_domain.lng
old mode 100755 new mode 100644
@@ -135,4 +135,5 @@
$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";
?>
interface/web/sites/lib/lang/fr_web_vhost_domain.lng
@@ -136,4 +136,5 @@
$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";
?>
interface/web/sites/lib/lang/hr_web_vhost_domain.lng
@@ -133,6 +133,7 @@
$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";
?>
interface/web/sites/lib/lang/hu_web_vhost_domain.lng
@@ -135,4 +135,5 @@
$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";
?>
interface/web/sites/lib/lang/id_web_vhost_domain.lng
@@ -135,4 +135,5 @@
$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";
?>
interface/web/sites/lib/lang/it_web_vhost_domain.lng
@@ -135,4 +135,5 @@
$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";
?>
interface/web/sites/lib/lang/ja_web_vhost_domain.lng
@@ -135,4 +135,5 @@
$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";
?>
interface/web/sites/lib/lang/nl_web_vhost_domain.lng
@@ -135,4 +135,5 @@
$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";
?>
interface/web/sites/lib/lang/pl_web_vhost_domain.lng
@@ -135,4 +135,5 @@
$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";
?>
interface/web/sites/lib/lang/pt_web_vhost_domain.lng
@@ -135,4 +135,5 @@
$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";
?>
interface/web/sites/lib/lang/ro_web_vhost_domain.lng
@@ -135,4 +135,5 @@
$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";
?>
interface/web/sites/lib/lang/ru_web_vhost_domain.lng
@@ -135,4 +135,5 @@
$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";
?>
interface/web/sites/lib/lang/se_web_vhost_domain.lng
@@ -135,4 +135,5 @@
$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";
?>
interface/web/sites/lib/lang/sk_web_vhost_domain.lng
@@ -135,4 +135,5 @@
$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";
?>
interface/web/sites/lib/lang/tr_web_vhost_domain.lng
@@ -135,4 +135,5 @@
$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";
?>
interface/web/sites/templates/web_vhost_domain_edit.htm
@@ -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
@@ -420,4 +426,4 @@
        });
    </tmpl_if>
            
</script>
</script>
interface/web/sites/web_vhost_domain_edit.php
@@ -647,7 +647,10 @@
            //* 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);