Changeset 714 for branches/0.4/web/addons/job_monarch/index.php
- Timestamp:
- 03/21/13 21:25:19 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.4/web/addons/job_monarch/index.php
r711 r714 37 37 } 38 38 39 //printf( "r2%s\n", $range );40 39 41 40 global $GANGLIA_PATH; 42 //chdir( $GANGLIA_PATH );43 41 44 42 include_once "./class.TemplatePower.inc.php"; 45 //chdir( $my_dir );46 43 47 44 $httpvars = new HTTPVariables( $HTTP_GET_VARS, $_GET ); … … 86 83 } 87 84 } 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;93 85 94 86 function epochToDatetime( $epoch ) { … … 165 157 166 158 $tpl->assign( "date", date("r") ); 167 //printf("lg %s\n", $longtitle );168 //printf("title %s\n", $title );169 159 $tpl->assign( "longpage_title", $longtitle ); 170 160 $tpl->assign( "page_title", $title ); … … 228 218 $context_metrics = array(); 229 219 230 //foreach ($mmfh as $mm => $mfoo)231 220 foreach( $mmfh as $mm => $bla ) 232 221 { … … 286 275 } 287 276 288 //$m = $metricname;289 290 291 277 $tpl->gotoBlock( "_ROOT" ); 292 278 $tpl->assignGlobal("view", $view); … … 296 282 297 283 $range = "job"; 298 299 //print_r( $context_metrics );300 284 301 285 if( $page_call != "host_view" ) … … 342 326 } 343 327 344 //$ex_fn = $tpl->getVarValue( "_ROOT", "form_name" );345 346 328 if( $view != "search" ) 347 329 { … … 439 421 if( isset( $h ) and $h != '' ) { 440 422 $hostname = $h; 441 //$view = "host";442 423 } 443 424 … … 470 451 $longtitle = "Batch Report :: Powered by Job Monarch!"; 471 452 $title = "Batch Report"; 472 //makeHeader( 'index' );473 453 $tpl->assign("cluster_url", rawurlencode($clustername) ); 474 454 $tpl->assign("cluster", $clustername );
Note: See TracChangeset
for help on using the changeset viewer.