Changeset 299 for trunk/web/addons/job_monarch/search.php
- Timestamp:
- 04/06/07 13:21:35 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web/addons/job_monarch/search.php
r291 r299 325 325 global $end_from_time, $end_to_time, $filter, $default_showhosts, $m, $hosts_up, $hc; 326 326 global $period_start, $period_stop, $sortby, $sortorder, $COLUMN_REQUESTED_MEMORY; 327 global $SEARCH_RESULT_LIMIT ;327 global $SEARCH_RESULT_LIMIT, $COLUMN_NODES; 328 328 329 329 $metricname = $m; … … 377 377 $tpl->newBlock( "column_header_req_mem" ); 378 378 } 379 if( $COLUMN_NODES ) { 380 $tpl->newBlock( "column_header_nodes" ); 381 } 379 382 380 383 //print_r( $nodes ); … … 402 405 if( $COLUMN_REQUESTED_MEMORY ) { 403 406 $tpl->newBlock( "column_req_mem" ); 404 $tpl->assign( "req_memory", $jobs[$jobid][requested_memory] ); 407 //$tpl->assign( "req_memory", $jobs[$jobid][requested_memory] ); 408 $tpl->assign( "req_memory", $job[requested_memory] ); 409 $tpl->gotoBlock( "node" ); 410 } 411 if( $COLUMN_NODES) { 412 413 foreach( $nodes[$foundid] as $mynode ) 414 $job_nodes[] = $mynode[hostname]; 415 416 $tpl->newBlock( "column_nodes" ); 417 $nodes_hostnames = implode( " ", $job_nodes ); 418 $tpl->assign( "nodes_hostnames", $nodes_hostnames ); 405 419 $tpl->gotoBlock( "node" ); 406 420 }
Note: See TracChangeset
for help on using the changeset viewer.