Changeset 129 for trunk/web/addons/toga/overview.php
- Timestamp:
- 06/07/05 15:31:15 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web/addons/toga/overview.php
r128 r129 7 7 //$tpl->assign( "self", "./index.php" ); 8 8 $tpl->assign( "clustername", $clustername ); 9 10 if( $TARCHD ) 11 $tpl->assign( "cluster_url", rawurlencode($clustername) ); 9 12 10 13 $data_gatherer->parseXML(); … … 426 429 global $sortorder, $sortby, $filter, $sh, $hc, $m; 427 430 global $cluster_url, $get_metric_string, $host_url, $metrics; 428 global $start, $end, $reports, $gnodes ;431 global $start, $end, $reports, $gnodes, $default_showhosts; 429 432 430 433 $metricname = $m; … … 523 526 $tpl->assignGlobal("f_jobs_nr", $f_jobs ); 524 527 525 if( array_key_exists( "id", $filter ) ) {528 if( array_key_exists( "id", $filter ) and $start_time ) { 526 529 $tpl->newBlock( "showhosts" ); 527 530 … … 545 548 $tpl->assign("cols_menu", $cols_menu); 546 549 547 if( $sh) $showhosts = $sh;548 if( !$showhosts) $showhosts = 0;550 $showhosts = isset($sh) ? $sh : $default_showhosts; 551 //if( !$showhosts) $showhosts = $default_showhosts; 549 552 $tpl->assign("checked$showhosts", "checked"); 550 553
Note: See TracChangeset
for help on using the changeset viewer.