Ignore:
Timestamp:
06/07/05 15:31:15 (18 years ago)
Author:
bastiaans
Message:

web/templates/toga/cluster_extra.tpl:

  • Renamed link to joblist

web/addons/toga/templates/header.tpl:

  • Inclusion to archivelink template

web/addons/toga/index.php:

  • Misc cleanup
  • Setup skeleton for search

web/addons/toga/overview.php:

  • Fixed showhosts bugs

web/addons/toga/conf.php:

  • Cleanup
  • Added TARCHD option for if a archive is present

web/addons/toga/libtoga.php:

  • Don't use Ganglia's get_context, it messes stuff up
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/addons/toga/overview.php

    r128 r129  
    77//$tpl->assign( "self", "./index.php" );
    88$tpl->assign( "clustername", $clustername );
     9
     10if( $TARCHD )
     11        $tpl->assign( "cluster_url", rawurlencode($clustername) );
    912
    1013$data_gatherer->parseXML();
     
    426429        global $sortorder, $sortby, $filter, $sh, $hc, $m;
    427430        global $cluster_url, $get_metric_string, $host_url, $metrics;
    428         global $start, $end, $reports, $gnodes;
     431        global $start, $end, $reports, $gnodes, $default_showhosts;
    429432
    430433        $metricname = $m;
     
    523526        $tpl->assignGlobal("f_jobs_nr", $f_jobs );
    524527
    525         if( array_key_exists( "id", $filter ) ) {
     528        if( array_key_exists( "id", $filter ) and $start_time ) {
    526529                $tpl->newBlock( "showhosts" );
    527530
     
    545548                $tpl->assign("cols_menu", $cols_menu);
    546549
    547                 if( $sh) $showhosts = $sh;
    548                 if( !$showhosts) $showhosts = 0;
     550                $showhosts = isset($sh) ? $sh : $default_showhosts;
     551                //if( !$showhosts) $showhosts = $default_showhosts;
    549552                $tpl->assign("checked$showhosts", "checked");
    550553
Note: See TracChangeset for help on using the changeset viewer.