From: <da...@us...> - 2005-09-14 00:42:53
|
Update of /cvsroot/phpicalendar/phpicalendar In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19111 Modified Files: year.php Log Message: 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. Index: year.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/year.php,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -d -r1.35 -r1.36 *** year.php 18 Aug 2004 04:06:31 -0000 1.35 --- year.php 14 Sep 2005 00:42:32 -0000 1.36 *************** *** 2,9 **** define('BASE', './'); 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); --- 2,9 ---- 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"); ereg ("([0-9]{4})([0-9]{2})([0-9]{2})", $getdate, $day_array2); *************** *** 52,54 **** $page->output(); ! ?> \ No newline at end of file --- 52,54 ---- $page->output(); ! ?> |