diff options
author | davef <davefd2@users.sourceforge.net> | 2005-09-14 00:42:32 +0000 |
---|---|---|
committer | davef <davefd2@users.sourceforge.net> | 2005-09-14 00:42:32 +0000 |
commit | 53a2c2b2694871cd549cd87f37497f794546617b (patch) | |
tree | 0c31f8bf9519089fc992a2ea20289e78f7e61abd /year.php | |
parent | b9b25b7bbdd025bc7e732daa4b955a27e3a9fadd (diff) | |
download | phpicalendar-53a2c2b2694871cd549cd87f37497f794546617b.tar.gz phpicalendar-53a2c2b2694871cd549cd87f37497f794546617b.tar.bz2 phpicalendar-53a2c2b2694871cd549cd87f37497f794546617b.zip |
Changed the "render" window for ical_parser to be the full year when on the year view - prior to this, you'd only get events for 3 months, which three months depending on what getdate was set to. So, basically year.php never displayed all the year events, unless you had the cache turned on.
Diffstat (limited to 'year.php')
-rw-r--r-- | year.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,10 +1,10 @@ <?php define('BASE', './'); +$current_view = 'year'; require_once(BASE.'functions/ical_parser.php'); require_once(BASE.'functions/template.php'); header("Content-Type: text/html; charset=$charset"); -$current_view = 'year'; ereg ("([0-9]{4})([0-9]{2})([0-9]{2})", $getdate, $day_array2); $this_day = $day_array2[3]; @@ -51,4 +51,4 @@ $page->replace_tags(array( $page->output(); -?>
\ No newline at end of file +?> |