@@ -54,7 +43,7 @@
-
+
@@ -82,7 +71,7 @@
}
echo ">".$value."\n";
}
- ?>
+ ?>
@@ -106,7 +95,7 @@
}
echo ">".$value."\n";
}
- ?>
+ ?>
@@ -121,10 +110,10 @@
-
+
-
+
@@ -133,10 +122,10 @@
-
+
-
+
@@ -145,10 +134,10 @@
-
+
-
+
@@ -159,7 +148,7 @@
-
+
@@ -169,7 +158,7 @@
-
+
@@ -187,7 +176,7 @@
-
+
@@ -215,10 +204,10 @@
$i = 0;
foreach ($dns_cluster as $key => $value) {
$i++;
- ?>
+ ?>
-
+
@@ -227,7 +216,7 @@
-
+
@@ -245,7 +234,7 @@
-
+
@@ -254,10 +243,10 @@
-
+
-
+
@@ -266,11 +255,11 @@
-
-
+
+
-
+
@@ -279,10 +268,10 @@
-
+
-
+
@@ -324,7 +313,7 @@
-
+
@@ -338,10 +327,10 @@
$i = 0;
foreach ($v_mysql_hosts as $key => $value) {
$i++;
- ?>
+ ?>
-
+
@@ -352,7 +341,7 @@
-
+
@@ -364,7 +353,7 @@
-
+
@@ -375,7 +364,7 @@
-
+
@@ -384,7 +373,7 @@
-
+
@@ -404,7 +393,7 @@
-
+
@@ -418,10 +407,10 @@
$i = 0;
foreach ($v_pgsql_hosts as $key => $value) {
$i++;
- ?>
+ ?>
-
+
@@ -432,7 +421,7 @@
-
+
@@ -443,7 +432,7 @@
-
+
@@ -452,7 +441,7 @@
-
+
@@ -470,7 +459,7 @@
-
+
@@ -484,7 +473,7 @@
-
+
@@ -505,7 +494,7 @@
-
+
@@ -524,7 +513,7 @@
-
+
@@ -538,7 +527,7 @@
-
+
@@ -549,7 +538,7 @@
-
+
@@ -560,7 +549,7 @@
-
+
@@ -571,7 +560,7 @@
-
+
@@ -599,7 +588,7 @@
-
+
@@ -638,7 +627,7 @@
-
+
@@ -651,7 +640,7 @@
-
+
@@ -690,7 +679,7 @@
'.__('Licence Key').':
';
} else {
- echo
+ echo
__('Restrict users so that they cannot use SSH and access only their home directory.').' '.__('This is a commercial module, you would need to purchace license key to enable it.').
'
'.__('Enter License Key').':
@@ -712,7 +701,7 @@
-
+
@@ -779,22 +768,28 @@
-
\ No newline at end of file
+ });
+
diff --git a/web/templates/admin/edit_user.html b/web/templates/admin/edit_user.html
index 8717ce3f..aa017d41 100644
--- a/web/templates/admin/edit_user.html
+++ b/web/templates/admin/edit_user.html
@@ -12,9 +12,7 @@
}
?>
-
- display_error_block() ?>
@@ -32,18 +30,7 @@
-
\ No newline at end of file
+ $('.remove-ns').click(function(){
+ $(this).parents('tr')[0].remove();
+ $('input[name^=v_ns]').each(function(i, ns){
+ $(ns).attr({name: 'v_ns'+(i+1)});
+ i < 2 ? $(ns).parent().find('span').hide() : $(ns).parent().find('span').show();
+ });
+ $('.add-ns').show();
+ });
+
+ $('input[name^=v_ns]').each(function(i, ns){
+ i < 2 ? $(ns).parent().find('span').hide() : $(ns).parent().find('span').show();
+ });
+
+ });
+
diff --git a/web/templates/admin/edit_web.html b/web/templates/admin/edit_web.html
index 51822ec7..f8593186 100644
--- a/web/templates/admin/edit_web.html
+++ b/web/templates/admin/edit_web.html
@@ -12,9 +12,7 @@
}
?>
-
- display_error_block() ?>
@@ -32,40 +30,7 @@
-
+
onclick="javascript:elementHideShow('ssltable');"> /
@@ -247,7 +212,7 @@
-
+
@@ -296,7 +261,7 @@
}
echo ">". htmlentities(__($value)) ."\n";
}
- ?>
+ ?>
@@ -430,7 +395,7 @@
-
-
+
+
+
diff --git a/web/templates/admin/generate_ssl.html b/web/templates/admin/generate_ssl.html
index a5c9a558..a9e490bb 100644
--- a/web/templates/admin/generate_ssl.html
+++ b/web/templates/admin/generate_ssl.html
@@ -12,9 +12,7 @@
}
?>
-
- display_error_block() ?>
@@ -125,4 +123,4 @@
-
\ No newline at end of file
+
diff --git a/web/templates/admin/list_backup.html b/web/templates/admin/list_backup.html
index 365a816f..0dcac926 100644
--- a/web/templates/admin/list_backup.html
+++ b/web/templates/admin/list_backup.html
@@ -32,11 +32,7 @@
-
-
- display_error_block(); ?>
-
diff --git a/web/templates/admin/list_backup_detail.html b/web/templates/admin/list_backup_detail.html
index 2c721ba7..cabcec76 100644
--- a/web/templates/admin/list_backup_detail.html
+++ b/web/templates/admin/list_backup_detail.html
@@ -30,11 +30,7 @@
-
-
- display_error_block(); ?>
-
@@ -397,4 +393,4 @@
-
\ No newline at end of file
+
diff --git a/web/templates/admin/list_backup_exclusions.html b/web/templates/admin/list_backup_exclusions.html
index d9de3763..2593510f 100644
--- a/web/templates/admin/list_backup_exclusions.html
+++ b/web/templates/admin/list_backup_exclusions.html
@@ -29,11 +29,7 @@
-
-
- display_error_block(); ?>
-
diff --git a/web/templates/admin/list_cron.html b/web/templates/admin/list_cron.html
index c05aa8ed..4ec2de21 100644
--- a/web/templates/admin/list_cron.html
+++ b/web/templates/admin/list_cron.html
@@ -51,11 +51,7 @@