2009-04-07 Esteban Sanchez <estebans@artica.es>

* operation/snmpconsole/snmp_view.php: Fixed full screen links. Fixes
        #2728007



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1602 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
esanchezm 2009-04-07 07:20:56 +00:00
parent 8c6309b624
commit f1a3e32ade
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2009-04-07 Esteban Sanchez <estebans@artica.es>
* operation/snmpconsole/snmp_view.php: Fixed full screen links. Fixes
#2728007
2009-04-06 Evi Vanoost <vanooste@rcbi.rochester.edu>
* reporting/fgraph.php: Simplified agent access to reduce looping

View File

@ -100,12 +100,13 @@ if (isset ($_POST["updatebt"])) {
}
}
echo "<h2>Pandora SNMP &gt; " . __('SNMP console');
if ($config["pure"] == 1) {
echo '&nbsp;<a target="_top" href="'.$url.'&pure=1&refr=30"><img src="images/monitor.png" title="'.__('Normal screen').'" /></a>';
echo "<h2>" . __('SNMP console');
if ($config["pure"]) {
echo '&nbsp;<a target="_top" href="'.$url.'&pure=0&refr=30"><img src="images/monitor.png" title="'.__('Normal screen').'" /></a>';
} else {
// Fullscreen
echo '&nbsp;<a target="_top" href="'.$url.'&pure=0&refr=0"><img src="images/monitor.png" title="'.__('Full screen').'" /></a>';
echo '&nbsp;<a target="_top" href="'.$url.'&pure=1&refr=0"><img src="images/monitor.png" title="'.__('Full screen').'" /></a>';
}
echo "</h2>";