Module: nagvis Branch: master Commit: 0da8595c9087e5b29347f909da791bdae6fa98e4 URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=0da8595c9087e5b29347f909da791bdae6fa98e4
Author: Lars Michelsen <[email protected]> Date: Sun Aug 15 23:38:06 2010 +0200 Fixed summary_output on overview page --- share/server/core/classes/GlobalIndexPage.php | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/share/server/core/classes/GlobalIndexPage.php b/share/server/core/classes/GlobalIndexPage.php index acb7e2a..2096e7e 100644 --- a/share/server/core/classes/GlobalIndexPage.php +++ b/share/server/core/classes/GlobalIndexPage.php @@ -122,15 +122,12 @@ class GlobalIndexPage { $MAP->MAPOBJ->setSummaryState('ERROR'); $MAP->MAPOBJ->fetchIcon(); } elseif($MAP->MAPOBJ->checkMaintenance(0)) { - $MAP->MAPOBJ->fetchIcon(); - if($type == 'automap') $map['overview_url'] = $this->htmlBase.'/index.php?mod=AutoMap&act=view&show='.$mapName.$MAPCFG->getValue('global', 0, 'default_params'); else $map['overview_url'] = $this->htmlBase.'/index.php?mod=Map&act=view&show='.$mapName; $map['overview_class'] = ''; - $map['summary_output'] = $MAP->MAPOBJ->getSummaryOutput(); } else { $map['overview_class'] = 'disabled'; $map['overview_url'] = 'javascript:alert(\''.$this->CORE->getLang()->getText('mapInMaintenance').'\');'; @@ -212,7 +209,7 @@ class GlobalIndexPage { foreach($aObjs AS $aObj) { $aObj[0]->applyState(); $aObj[0]->fetchIcon(); - + $aMaps[] = array_merge($aObj[0]->parseJson(), $aObj[1]); } } ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
