".__('Agent configuration');
if (isset($_GET["create_agent"])) {
$create_agent = 1;
echo " > ".__('Create agent');
} else {
echo " > ".__('Update agent');
}
echo "";
echo '
';
// Agent remote configuration editor
$agent_md5 = md5 ($nombre_agente, FALSE);
$filename['md5'] = $config["remote_config"] . "/" . $agent_md5 . ".md5";
$filename['conf'] = $config["remote_config"] . "/" . $agent_md5 . ".conf";
if (isset ($_GET["disk_conf"])) {
require ("agent_disk_conf_editor.php");
exit;
}
// Agent remote configuration DELETE
if (isset($_GET["disk_conf_delete"])) {
//TODO: Get this working on computers where the Pandora server(s) are not on the webserver
//TODO: Get a remote_config editor working in the open version
unlink ($filename['md5']);
unlink ($filename['conf']);
}
echo '