mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Fixed links in monitor view.
This commit is contained in:
parent
940fe8605c
commit
248e1328e5
@ -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."')";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user