41 if (!checkRole(
$calendar->read_access)) redirect(
"/");
43 $year = checkNumeric($_REQUEST[
"year"]);
44 $month = checkNumeric($_REQUEST[
"month"]);
46 $page->page_title =
"{$calendar->name}";
80 $constraint =
"WHERE 1=1 AND end_date >= '$startStr' AND start_date < '$endStr' AND published=1";
99 echo
"<p><a href='' onclick=\"newEvent({$calendar->calendar_id}); return false;\" class='button'>Add an Event</a></p>\n";
if($prevMonth<=0) $nextMonth
if($nextMonth > 12) $endStr
if(! $year) if(! $month) $startStr
static findByIdentifier($identifier)
static usingFeature()
Uses the specified framework feature(s).
static using()
Import the datamodels, views and manifest for the specified component(s).
static addFacets($manager, $classes, $dropdown=true, $max_width="200px", $width="200px", $height="120px")