aboutsummaryrefslogtreecommitdiffstats
path: root/year.php
diff options
context:
space:
mode:
authordavef <davefd2@users.sourceforge.net>2005-09-14 00:42:32 +0000
committerdavef <davefd2@users.sourceforge.net>2005-09-14 00:42:32 +0000
commit53a2c2b2694871cd549cd87f37497f794546617b (patch)
tree0c31f8bf9519089fc992a2ea20289e78f7e61abd /year.php
parentb9b25b7bbdd025bc7e732daa4b955a27e3a9fadd (diff)
downloadphpicalendar-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.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/year.php b/year.php
index f96565c..2f0dd0f 100644
--- a/year.php
+++ b/year.php
@@ -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
+?>

© 2014-2024 Faster IT GmbH | imprint | privacy policy