Changeset 45 for devel/units/engine

Show
Ignore:
Timestamp:
12/21/05 18:28:03 (3 years ago)
Author:
sven
Message:

dos2unix to clean line endings, set svn property eol-style native, some whitespace homogenisation

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/units/engine/function_init.php

    • Property svn:eol-style set to native
  • devel/units/engine/library.php

    • Property svn:eol-style set to native
    r2 r45  
    5757         
    5858        function timer($finish = false){ 
    59     static $start_frac_sec, $start_sec, $end_frac_sec, $end_sec; 
    60     if($finish){ 
    61         list($end_frac_sec,$end_sec) = explode(" ", microtime()); 
    62         echo '<p style="font-size: smaller">This page took about ' . 
    63             round( 
    64                
    65                     ($end_sec - $start_sec) 
    66                     + ($end_frac_sec - $start_frac_sec) 
    67                 ), 
    68             4) . " seconds to generate.</p>\n"; 
    69     }else{ 
    70         list($start_frac_sec,$start_sec) = explode(" ", microtime()); 
    71    
     59       static $start_frac_sec, $start_sec, $end_frac_sec, $end_sec; 
     60       if($finish){ 
     61               list($end_frac_sec,$end_sec) = explode(" ", microtime()); 
     62               echo '<p style="font-size: smaller">This page took about ' . 
     63                       round( 
     64                               
     65                                       ($end_sec - $start_sec) 
     66                                       + ($end_frac_sec - $start_frac_sec) 
     67                               ), 
     68                       4) . " seconds to generate.</p>\n"; 
     69       }else{ 
     70               list($start_frac_sec,$start_sec) = explode(" ", microtime()); 
     71       
    7272} 
    7373         
  • devel/units/engine/main.php

    • Property svn:eol-style set to native
  • devel/units/engine/menu_bottom.php

    • Property svn:eol-style set to native
  • devel/units/engine/menu_main.php

    • Property svn:eol-style set to native