Ignore:
Timestamp:
04/11/06 11:46:19 (18 years ago)
Author:
bastiaans
Message:

web/addons/job_monarch/conf.php:

  • added DATETIME_FORMAT

web/addons/job_monarch/libtoga.php:

  • added makeDate()

web/addons/job_monarch/search.php,
web/addons/job_monarch/overview.php:

  • disable local makeDate, use from libtoga

web/addons/job_monarch/search.php

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/addons/job_monarch/libtoga.php

    r231 r246  
    2525
    2626
    27 // If php is compiled without globals
    28 //
    29 //if ( !empty( $_GET ) ) {
    30 //        extract( $_GET );
    31 //}
    32 
    3327class HTTPVariables {
    3428
     
    115109//
    116110global $metrics, $hosts_up;
     111
     112global $DATETIME_FORMAT;
     113
     114function makeDate( $time ) {
     115        global $DATETIME_FORMAT;
     116        return strftime( $DATETIME_FORMAT, $time );
     117}
    117118
    118119class TarchDbase {
Note: See TracChangeset for help on using the changeset viewer.