2011-11-24 Juan Manuel Ramon <juanmanuel.ramon@artica.es>

* operation/agentes/estado_generalagente.php: Hide agent access 
	graph when "Use agent access graph" is disabled.
	
	Fixes: #3437893



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5164 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
juanmanuelr 2011-11-24 16:11:33 +00:00
parent 5543a2da3a
commit 0939d3d4db
2 changed files with 14 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2011-11-24 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/agentes/estado_generalagente.php: Hide agent access
graph when "Use agent access graph" is disabled.
Fixes: #3437893
2011-11-24 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/setup/setup.php: Added confirmation when "Use Enterprise

View File

@ -48,11 +48,14 @@ if (! check_acl ($config["id_user"], $agent["id_grupo"], "AR")) {
// Breaks the layout when Flash charts are enabled :-o
echo '<div style="height: 10px">&nbsp;</div>';
//Floating div
echo '<div style="float:right; width:320px; padding-top:11px;">';
echo '<b>'.__('Agent access rate (24h)').'</b><br />';
//Floating div
echo '<div style="float:right; width:320px; padding-top:11px;">';
graphic_agentaccess($id_agente, 280, 110, 86400);
if ($config["agentaccess"]){
echo '<b>'.__('Agent access rate (24h)').'</b><br />';
graphic_agentaccess($id_agente, 280, 110, 86400);
}
echo '<div style="height:25px">&nbsp;</div>';
echo '<b>'.__('Events generated -by module-').'</b><br />';