From: Patrick C. <pa...@ic...> - 2004-01-31 03:50:21
|
From: ch...@ch... Subject: PHP iCalendar 2.0 Date: January 28, 2004 6:09:04 PM EST To: php...@li... Cc: pa...@iC... In CVS is the start of PHP iCalendar 2.0. It will include just 2 new features, along with minor bug fixes. The biggest feature of course is.... templates! I've attached an example template. I've built a custom template class to do only what we need it to do (vs. a Smarty). All language files will need to be re-written as well to an array like such: $lang['l_day'] = 'Day'; $lang['l_week'] = 'Week'; And so on... The template system can also replace whole files such as {FOOTER} with the appropriate tpl file and replace all the variables. Please take some time to look at the system, CVS is a work in progress of course and only about half the pages have templates built, less have even been 'wired' up for true separation of presentation and logic. I'm dedicating the next month to getting this working, at a few hours a day and hopefully I'll get some help from everyone here. Drei, converting day and week into templates is a bit above my head. If you have the time to look at them I'd love the help. Translators - I will need your help in moving all the translations over to the new format. The English file in CVS is a good example, though it is not finished. Cheers, C |