Ignore:
Timestamp:
03/28/13 12:12:23 (9 years ago)
Author:
ramonb
Message:
  • fixed image map
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.4/web/addons/job_monarch/overview.php

    r763 r764  
    4545$myxml_data = $ds->getData();
    4646
     47//print_r( $myxml_data );
     48
    4749$data_gatherer = new DataGatherer( $clustername );
    4850$data_gatherer->parseXML( $myxml_data );
     
    5961{
    6062
    61     global $tpl_data, $filter, $clustername, $piefilter, $data_gatherer, $myxml_data, $filterorder, $_SESSION;
     63    global $tpl_data, $filter, $clustername, $piefilter, $data_gatherer, $myxml_data, $filterorder, $_SESSION, $data_gatherer;
     64    global $jobs, $gnodes;
    6265
    6366    $filter_image_url = "";
     
    7780    $ic = new ClusterImage( $myxml_data, $clustername );
    7881
    79     $ic->setJobs( $data_gatherer->getJobs() );
    80     $ic->setNodes( $data_gatherer->getNodes() );
     82    $ic->setJobs( $jobs );
     83    $ic->setNodes( $gnodes );
    8184    $ic->setBig();
    8285    $ic->setNoimage();
     
    513516    global $start, $end, $reports, $gnodes, $default_showhosts;
    514517    global $COLUMN_QUEUED, $COLUMN_REQUESTED_MEMORY, $COLUMN_NODES, $hostname;
    515     global $cluster, $use_fqdn;
     518    global $cluster, $use_fqdn, $myxml_data, $data_gatherer;
    516519
    517520    $metricname        = $m;
Note: See TracChangeset for help on using the changeset viewer.