Fixed links in monitor view.

This commit is contained in:
Vanessa Gil 2014-11-26 16:48:13 +01:00
parent f8346732cc
commit 815e974c0a
1 changed files with 2 additions and 2 deletions

View File

@ -1094,7 +1094,7 @@ foreach ($result as $row) {
'tab=module&' .
'id_agent_module=' . $row["id_agente_modulo"] . '&' .
'edit_module=1' .
'&loginhash=auto&loginhash_data=' . $row["hashdata"] . '&loginhash_user=' . $row["user"];
'&loginhash=auto&loginhash_data=' . $row["hashdata"] . '&loginhash_user=' . str_rot13($row["user"]);
}
else {
$url_edit_module = 'index.php?' .
@ -1181,7 +1181,7 @@ foreach ($result as $row) {
$win_handle=dechex(crc32($row["id_agente_modulo"].$row["module_name"]));
if (defined('METACONSOLE'))
$link ="winopeng('" . $row['server_url'] . "operation/agentes/stat_win.php?type=$graph_type&period=86400&loginhash=auto&loginhash_data=" . $row["hashdata"] . "&loginhash_user=" . $row["user"] . "&id=".$row["id_agente_modulo"]."&label=".rawurlencode(urlencode(base64_encode($row["module_name"])))."&refresh=600','day_".$win_handle."')";
$link ="winopeng('" . $row['server_url'] . "operation/agentes/stat_win.php?type=$graph_type&period=86400&loginhash=auto&loginhash_data=" . $row["hashdata"] . "&loginhash_user=" . str_rot13($row["user"]) . "&id=".$row["id_agente_modulo"]."&label=".rawurlencode(urlencode(base64_encode($row["module_name"])))."&refresh=600','day_".$win_handle."')";
else
$link ="winopeng('operation/agentes/stat_win.php?type=$graph_type&period=86400&id=".$row["id_agente_modulo"]."&label=".rawurlencode(urlencode(base64_encode($row["module_name"])))."&refresh=600','day_".$win_handle."')";