" . sprintf(__("The last version of package installed is: %d"),
$current_package) . "";
$memory_limit = ini_get("memory_limit");
$memory_limit = str_replace("M", "", $memory_limit);
$memory_limit = (int)$memory_limit;
if ($memory_limit < 500) {
ui_print_error_message(
sprintf(__('Your PHP has set memory limit in %s. For avoid problems with big updates please set to 500M'), ini_get("memory_limit"))
);
}
/* Translators: Do not translade Update Manager, it's the name of the program */
ui_print_info_message(
'' .
__('The new Update Manager client is shipped with Pandora FMS It helps system administrators to update their Pandora FMS automatically, since the Update Manager does the task of getting new modules, new plugins and new features (even full migrations tools for future versions) automatically.') .
'
' .
'' .
__('Update Manager is one of the most advanced features of Pandora FMS Enterprise version, for more information visit http://pandorafms.com.') .
'
' .
'' .
__('Update Manager sends anonymous information about Pandora FMS usage (number of agents and modules running). To disable it, remove remote server address from Update Manager plugin setup.') .
'
');
echo "";
echo "
";
echo "";
echo "";
echo "
";
echo __('Checking for the newest package.');
echo "
";
echo "
";
echo __('Downloading for the newest package.');
echo "
";
echo "
";
echo "
";
echo "
";
$enterprise = enterprise_hook('update_manager_enterprise_main');
if ($enterprise == ENTERPRISE_NOT_HOOK) {
//Open view
update_manager_main();
}
?>