mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Fixed warnings and some icons are not shown correctly with php7.2.
This commit is contained in:
parent
58370449dd
commit
cb10d6d4a4
@ -391,7 +391,7 @@ if ($id_agente) {
|
|||||||
|
|
||||||
$grouptab['active'] = false;
|
$grouptab['active'] = false;
|
||||||
|
|
||||||
$gistab = "";
|
$gistab = array();
|
||||||
|
|
||||||
/* GIS tab */
|
/* GIS tab */
|
||||||
if ($config['activate_gis']) {
|
if ($config['activate_gis']) {
|
||||||
|
@ -1060,7 +1060,7 @@ else {
|
|||||||
$tab = get_parameter ("tab", "main");
|
$tab = get_parameter ("tab", "main");
|
||||||
|
|
||||||
/* Manage tab */
|
/* Manage tab */
|
||||||
$managetab = "";
|
$managetab = array();
|
||||||
|
|
||||||
if (check_acl_one_of_groups ($config['id_user'],$all_groups, "AW") || $is_extra) {
|
if (check_acl_one_of_groups ($config['id_user'],$all_groups, "AW") || $is_extra) {
|
||||||
$managetab['text'] ='<a href="index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&id_agente='.$id_agente.'">'
|
$managetab['text'] ='<a href="index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&id_agente='.$id_agente.'">'
|
||||||
@ -1141,7 +1141,7 @@ if ($url_route_analyzer) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* GIS tab */
|
/* GIS tab */
|
||||||
$gistab="";
|
$gistab=array();
|
||||||
if ($config['activate_gis']) {
|
if ($config['activate_gis']) {
|
||||||
$gistab['text'] = '<a href="index.php?sec=estado&sec2=operation/agentes/ver_agente&tab=gis&id_agente='.$id_agente.'">'
|
$gistab['text'] = '<a href="index.php?sec=estado&sec2=operation/agentes/ver_agente&tab=gis&id_agente='.$id_agente.'">'
|
||||||
.html_print_image("images/op_gis.png", true, array( "title" => __('GIS data')))
|
.html_print_image("images/op_gis.png", true, array( "title" => __('GIS data')))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user