Ignore:
Timestamp:
03/21/13 21:25:19 (11 years ago)
Author:
ramonb
Message:
  • more cleanup
File:
1 edited

Legend:

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

    r711 r714  
    3737}
    3838
    39 //printf( "r2%s\n", $range );
    4039
    4140global $GANGLIA_PATH;
    42 //chdir( $GANGLIA_PATH );
    4341
    4442include_once "./class.TemplatePower.inc.php";
    45 //chdir( $my_dir );
    4643
    4744$httpvars = new HTTPVariables( $HTTP_GET_VARS, $_GET );
     
    8683        }
    8784}
    88 
    89 //if( isset($queue) && ($queue!='')) $filter[queue]=$queue;
    90 //if( isset($state) && ($state!='')) $filter[state]=$state;
    91 //if( isset($user) && ($user!='')) $filter[user]=$user;
    92 //if( isset($id) && ($id!='')) $filter[id]=$id;
    9385
    9486function epochToDatetime( $epoch ) {
     
    165157
    166158        $tpl->assign( "date", date("r") );
    167         //printf("lg %s\n", $longtitle );
    168         //printf("title %s\n", $title );
    169159        $tpl->assign( "longpage_title", $longtitle );
    170160        $tpl->assign( "page_title", $title );
     
    228218        $context_metrics        = array();
    229219
    230         //foreach ($mmfh as $mm => $mfoo)
    231220        foreach( $mmfh as $mm => $bla )
    232221        {
     
    286275        }
    287276
    288         //$m = $metricname;
    289 
    290 
    291277        $tpl->gotoBlock( "_ROOT" );
    292278        $tpl->assignGlobal("view", $view);
     
    296282
    297283                $range = "job";
    298 
    299                 //print_r( $context_metrics );
    300284
    301285                if( $page_call != "host_view" )
     
    342326        }
    343327
    344         //$ex_fn = $tpl->getVarValue( "_ROOT", "form_name" );
    345 
    346328        if( $view != "search" )
    347329        {
     
    439421if( isset( $h ) and $h != '' ) {
    440422        $hostname = $h;
    441         //$view = "host";
    442423}
    443424
     
    470451$longtitle = "Batch Report :: Powered by Job Monarch!";
    471452$title = "Batch Report";
    472 //makeHeader( 'index' );
    473453$tpl->assign("cluster_url", rawurlencode($clustername) );
    474454$tpl->assign("cluster", $clustername );
Note: See TracChangeset for help on using the changeset viewer.