Ignore:
Timestamp:
08/05/05 12:55:27 (19 years ago)
Author:
bastiaans
Message:

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

  • Removed graph timeperiod selection -> to be placed in header

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

  • Added graph timeperiod selection when browsing jobarchive
  • Now a user can change graphing timeperiods for the node detail graphs from the archive!

web/addons/toga/host_view.php:

  • Added correct parsing of timeperiod

web/addons/toga/index.php:

  • Added placement of graph timeperiod selection and variables

web/addons/toga/search.php:

  • Small cleanup
File:
1 edited

Legend:

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

    r186 r189  
    165165
    166166        return $timestamp;
    167 }
    168 
    169 function epochToDatetime( $epoch ) {
    170 
    171         return strftime( "%d-%m-%Y %H:%M:%S", $epoch );
    172167}
    173168
     
    446441                                //printf("start = %s stop = %s\n", $start, $stop );
    447442
     443                                $tpl->gotoBlock( "timeperiod" );
     444
    448445                                $tpl->assign("period_start", epochToDatetime( $period_start ) );
    449446                                $tpl->assign("period_stop", epochToDatetime( $period_stop ) );
     447
     448                                $tpl->gotoBlock( "_ROOT" );
    450449
    451450                                $hosts_up = array();
Note: See TracChangeset for help on using the changeset viewer.