예제 #1
0
/**
 * Will display an events list in sidebar.
 *
 * This can be used by themes that are not widget ready.
 *
 * @param int $num 		number of events to display. defaults to 5.
 */
function SidebarEventsList($num = 5)
{
    $calendar = new EC_Calendar();
    $calendar->displayEventList($num);
}
예제 #2
0
function ec_show_events_list_html()
{
    include_once EVENTSCALENDARCLASSPATH . DS . "bdpress/header.php";
    $calendar = new EC_Calendar();
    $calendar->displayEventList(5);
}