Changeset 140 for trunk/web/addons/toga/index.php
- Timestamp:
- 06/15/05 10:48:34 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web/addons/toga/index.php
r138 r140 38 38 global $metrics, $reports, $m, $default_metric; 39 39 global $default_refresh, $filterorder, $view; 40 global $TARCHD; 40 41 41 42 if( isset($default_metric) and !isset($m) ) … … 209 210 $m = $metricname; 210 211 212 if( $TARCHD ) { 213 $tpl->newBlock( "search" ); 214 $tpl->assignGlobal( "cluster_url", rawurlencode($clustername) ); 215 $tpl->assignGlobal( "cluster", $clustername ); 216 $tpl->gotoBlock( "_ROOT" ); 217 } 218 211 219 # Make sure that no data is cached.. 212 220 header ("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); # Date in the past … … 242 250 } 243 251 244 function includeSearchThumb() {245 global $tpl;246 247 $tpl->assignInclude( "archive", "templates/inc_search.tpl" );248 249 }250 251 252 function includeOverview() { 252 253 global $tpl; … … 264 265 265 266 includeOverview(); 266 if( $TARCHD )267 includeSearchThumb();268 267 break; 269 268
Note: See TracChangeset
for help on using the changeset viewer.