diff --git a/webui/controller/policy/apply.php b/webui/controller/policy/apply.php
index 09f527c..b373c40 100644
--- a/webui/controller/policy/apply.php
+++ b/webui/controller/policy/apply.php
@@ -23,12 +23,13 @@
system('sudo -n /etc/init.d/rc.piler reload', $val);
if($val === 0) {
- print $lang->data['text_applied'];
+ $this->data['x'] = $lang->data['text_applied'];
} else {
- print $lang->data['text_install_sudo_apply'];
+ $this->data['x'] = $lang->data['text_install_sudo_apply'];
}
+ $this->render();
}
}
diff --git a/webui/view/theme/default/templates/policy/archiving.tpl b/webui/view/theme/default/templates/policy/archiving.tpl
index ad47115..c3ed742 100644
--- a/webui/view/theme/default/templates/policy/archiving.tpl
+++ b/webui/view/theme/default/templates/policy/archiving.tpl
@@ -107,6 +107,5 @@
diff --git a/webui/view/theme/default/templates/policy/retention.tpl b/webui/view/theme/default/templates/policy/retention.tpl
index 28d9e3c..cd55a6d 100644
--- a/webui/view/theme/default/templates/policy/retention.tpl
+++ b/webui/view/theme/default/templates/policy/retention.tpl
@@ -112,7 +112,6 @@
diff --git a/webui/view/theme/orig/templates/policy/apply.tpl b/webui/view/theme/orig/templates/policy/apply.tpl
index e69de29..5c982b9 100644
--- a/webui/view/theme/orig/templates/policy/apply.tpl
+++ b/webui/view/theme/orig/templates/policy/apply.tpl
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
diff --git a/webui/view/theme/orig/templates/policy/archiving.tpl b/webui/view/theme/orig/templates/policy/archiving.tpl
index 49401a8..89c1942 100644
--- a/webui/view/theme/orig/templates/policy/archiving.tpl
+++ b/webui/view/theme/orig/templates/policy/archiving.tpl
@@ -104,8 +104,7 @@
-
-
-
+
+
diff --git a/webui/view/theme/orig/templates/policy/retention.tpl b/webui/view/theme/orig/templates/policy/retention.tpl
index 05834c6..4faf01d 100644
--- a/webui/view/theme/orig/templates/policy/retention.tpl
+++ b/webui/view/theme/orig/templates/policy/retention.tpl
@@ -111,9 +111,8 @@
-