Merge branch '442-Recon-server-aparece-con-la-fuente-en-gris' into 'develop'

Add icon to recon server row in operation column for pandora servers view - #442

See merge request !482
This commit is contained in:
vgilc 2017-05-31 17:11:35 +02:00
commit 313fef7531
1 changed files with 8 additions and 0 deletions

View File

@ -141,6 +141,14 @@ foreach ($servers as $server) {
//Only Pandora Administrator can delete servers
if (check_acl ($config["id_user"], 0, "PM")) {
$data[8] = '';
if ($server['type'] == 'recon') {
$data[8] .= '<a href="index.php?sec=gservers&sec2=operation/servers/recon_view">';
$data[8] .= html_print_image ('images/firts_task/icono_grande_reconserver.png', true,
array('title' => __('Manage recon tasks'),'style' => 'width:21px;height:21px;'));
$data[8] .= '</a>&nbsp;&nbsp;';
}
if ($server['type'] == 'data') {
$data[8] .= '<a href="index.php?sec=gservers&sec2=godmode/servers/modificar_server&refr=0&server_reset_counts='.$server["id_server"].'">';
$data[8] .= html_print_image ('images/target.png', true,