fixed agent name and go to agent edition links in meta tree view
This commit is contained in:
parent
1f801d5a3a
commit
2a616e1448
|
@ -522,7 +522,7 @@ function treeview_printTable($id_agente, $server_data = array(), $no_head = fals
|
||||||
$hashdata = $user.$pwd_deserialiced['auth_token'];
|
$hashdata = $user.$pwd_deserialiced['auth_token'];
|
||||||
|
|
||||||
$hashdata = md5($hashdata);
|
$hashdata = md5($hashdata);
|
||||||
$url = "//" . $server_data["server_url"] . "/index.php?" .
|
$url = $server_data["server_url"] . "/index.php?" .
|
||||||
"sec=estado&" .
|
"sec=estado&" .
|
||||||
"sec2=operation/agentes/ver_agente&" .
|
"sec2=operation/agentes/ver_agente&" .
|
||||||
"id_agente=" . $agent["id_agente"] . "&" .
|
"id_agente=" . $agent["id_agente"] . "&" .
|
||||||
|
@ -608,7 +608,7 @@ function treeview_printTable($id_agente, $server_data = array(), $no_head = fals
|
||||||
$go_to_agent = '<div style="text-align: right;">';
|
$go_to_agent = '<div style="text-align: right;">';
|
||||||
|
|
||||||
if($agent["id_os"] != 100){
|
if($agent["id_os"] != 100){
|
||||||
$go_to_agent .= '<a target=_blank href="' . "//" . $console_url . 'index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&id_agente='.$id_agente.$url_hash.'">';
|
$go_to_agent .= '<a target=_blank href="' . $console_url . 'index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&id_agente='.$id_agente.$url_hash.'">';
|
||||||
$go_to_agent .= html_print_submit_button (__('Go to agent edition'), 'upd_button', false, 'class="sub config"', true);
|
$go_to_agent .= html_print_submit_button (__('Go to agent edition'), 'upd_button', false, 'class="sub config"', true);
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
|
Loading…
Reference in New Issue