--- cacti.old/host.php 2012-04-23 04:00:14.000000000 +0200
+++ cacti/host.php 2012-08-28 18:29:25.000000000 +0200
@@ -41,7 +41,8 @@
3 => "Disable",
4 => "Change SNMP Options",
5 => "Clear Statistics",
- 6 => "Change Availability Options"
+ 6 => "Change Availability Options",
+ 7 => "Reapply Host Template"
);
$device_actions = api_plugin_hook_function('device_action_array', $device_actions);
@@ -249,6 +250,32 @@
push_out_host($selected_items[$i]);
}
+ }elseif ($_POST["drp_action"] == "7") { /* Reapply Host Template */
+ for ($i=0; $i" . $host_list . "
To reapply Host Template for the following devices, press the \"yes\" button below.
+