Changeset 367 for dev/common/home.php

Show
Ignore:
Timestamp:
01/03/09 21:26:36 (14 years ago)
Author:
exi
Message:

Added option for efficiency in KillSummaryTables?.
The board is now able to get the checked out revision on svn capable systems.
Fix for the week 52/1 problem.
Added a first draft of the pageAssembly class together with a rework of how home.php would look like.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/common/home.php

    r343 r367  
    99 
    1010$week = kbdate('W'); 
    11 $year = kbdate('Y'); 
     11$year = kbdate('o'); 
    1212 
    1313$page = new Page('Week '.$week); 
     
    3636if ($week == 1) 
    3737{ 
    38     $pyear = kbdate("Y") - 1; 
     38    $pyear = kbdate("o") - 1; 
    3939    $pweek = 52; 
    4040} 
    4141else 
    4242{ 
    43     $pyear = kbdate("Y"); 
     43    $pyear = kbdate("o"); 
    4444    $pweek = $week - 1; 
    4545}