Added a new parameter "cutoff", to limit the number of days in the past for which events will still be shown.

Added a new parameter "sortdesc", to change the sort order.

Changed the code for identifying events ending prior to current date and changed the default template accordingly.

If you're not doing a fresh install, the new template is:


{foreach from=$items item="item"}

{$item.short}


Date: {$item.start|date_format:"%b %e, %Y"} -
Time: {$item.start|date_format:"%I:%M %p"} to {$item.end|date_format:"%I:%M %p"}

{$item.long}




{/foreach}