Lines Matching refs:calId

174         $calId = 'cal_' . md5(serialize($data) . microtime());
203 …$html = '<div class="calendar-compact-container ' . $themeClass . '" id="' . $calId . '" data-name…
207 #' . $calId . ' {
231 … #event-search-' . $calId . '::placeholder { color: ' . $themeStyles['text_dim'] . '; opacity: 1; }
232 …#event-search-' . $calId . '::-webkit-input-placeholder { color: ' . $themeStyles['text_dim'] . ';…
233 …#event-search-' . $calId . '::-moz-placeholder { color: ' . $themeStyles['text_dim'] . '; opacity:…
234 …#event-search-' . $calId . ':-ms-input-placeholder { color: ' . $themeStyles['text_dim'] . '; opac…
244 …$html .= '<script type="application/json" id="events-data-' . $calId . '">' . json_encode($events)…
251 …$html .= '<button class="cal-nav-btn" onclick="navCalendar(\'' . $calId . '\', ' . $prevYear . ', …
252 …$html .= '<h3 class="calendar-month-picker" onclick="openMonthPicker(\'' . $calId . '\', ' . $year…
253 …$html .= '<button class="cal-nav-btn" onclick="navCalendar(\'' . $calId . '\', ' . $nextYear . ', …
254 …$html .= '<button class="cal-today-btn" onclick="jumpToToday(\'' . $calId . '\', \'' . $namespace …
422 …)) . ($hasEvents ? ', has events' : '') . '" onclick="showDayPopup(\'' . $calId . '\', \'' . $date…
483 …$html .= 'onclick="event.stopPropagation(); highlightEvent(\'' . $calId . '\', \'' . $eventId . '\…
503 $html .= '<h4 id="eventlist-title-' . $calId . '">Events</h4>';
516 …" id="event-search-' . $calId . '" placeholder="' . htmlspecialchars($searchPlaceholder) . '" onin…
517 …s="event-search-clear-inline" id="search-clear-' . $calId . '" onclick="clearEventSearch(\'' . $ca…
518 …inline' . $searchAllClass . '" id="search-mode-' . $calId . '" onclick="toggleSearchMode(\'' . $ca…
521 …$html .= '<button class="add-event-compact" onclick="openAddEvent(\'' . $calId . '\', \'' . $names…
524 $html .= '<div class="event-list-compact" id="eventlist-' . $calId . '">';
525 $html .= $this->renderEventListContent($events, $calId, $namespace, $themeStyles);
531 $html .= $this->renderEventDialog($calId, $namespace, $theme);
534 $html .= $this->renderMonthPicker($calId, $year, $month, $namespace, $theme, $themeStyles);
557 $calId = 'static-cal-' . substr(md5($namespace . $year . $month . uniqid()), 0, 8);
591 …$html = '<div class="calendar-static ' . $themeClass . '" id="' . $calId . '" data-year="' . $year…
599 …$html .= '<button class="static-nav-btn" onclick="navStaticCalendar(\'' . $calId . '\', -1)" title…
603 …$html .= '<button class="static-nav-btn" onclick="navStaticCalendar(\'' . $calId . '\', 1)" title=…
606 …$html .= '<button class="static-print-btn" onclick="printStaticCalendar(\'' . $calId . '\')" title…
831 private function renderEventListContent($events, $calId, $namespace, $themeStyles = null) { argument
1040 …n class="event-namespace-badge" onclick="filterCalendarByNamespace(\'' . $calId . '\', \'' . htmls…
1086 …n class="event-namespace-badge" onclick="filterCalendarByNamespace(\'' . $calId . '\', \'' . htmls…
1127 …$eventHtml .= '<button class="event-action-btn" onclick="deleteEvent(\'' . $calId . '\', \'' . $ev…
1128 …$eventHtml .= '<button class="event-action-btn" onclick="editEvent(\'' . $calId . '\', \'' . $even…
1134 …class="task-checkbox" ' . $checked . ' onclick="toggleTaskComplete(\'' . $calId . '\', \'' . $even…
1154 … $html .= '<div class="past-events-toggle" onclick="togglePastEvents(\'' . $calId . '\')">';
1155 $html .= '<span class="past-events-arrow" id="past-arrow-' . $calId . '">▶</span> ';
1158 …$html .= '<div class="past-events-content" id="past-events-' . $calId . '" style="display:none;">';
1300 $calId = 'panel_' . md5(serialize($data) . microtime());
1331 …$html = '<div class="event-panel-standalone" id="' . $calId . '" data-height="' . htmlspecialchars…
1335 #' . $calId . ' {
1359 … #event-search-' . $calId . '::placeholder { color: ' . $themeStyles['text_dim'] . '; opacity: 1; }
1373 …$html .= '<button class="panel-nav-btn" onclick="navEventPanel(\'' . $calId . '\', ' . $prevYear .…
1377 …$html .= '<h3 class="panel-month-title" onclick="openMonthPickerPanel(\'' . $calId . '\', ' . $yea…
1379 …$html .= '<button class="panel-nav-btn" onclick="navEventPanel(\'' . $calId . '\', ' . $nextYear .…
1394 …amespace) . ' - click to clear" onclick="clearNamespaceFilterPanel(\'' . $calId . '\')">' . htmlsp…
1401 …$html .= '<button class="panel-today-btn" onclick="jumpTodayPanel(\'' . $calId . '\', \'' . $names…
1412 …" id="event-search-' . $calId . '" placeholder="' . htmlspecialchars($searchPlaceholder) . '" onin…
1413 …on class="panel-search-clear" id="search-clear-' . $calId . '" onclick="clearEventSearch(\'' . $ca…
1414 …h-mode' . $searchAllClass . '" id="search-mode-' . $calId . '" onclick="toggleSearchMode(\'' . $ca…
1416 …$html .= '<button class="panel-add-btn" onclick="openAddEventPanel(\'' . $calId . '\', \'' . $name…
1421 …$html .= '<div class="event-list-compact" id="eventlist-' . $calId . '" style="max-height: ' . htm…
1422 $html .= $this->renderEventListContent($events, $calId, $namespace);
1425 $html .= $this->renderEventDialog($calId, $namespace, $theme);
1428 $html .= $this->renderMonthPicker($calId, $year, $month, $namespace, $theme, $themeStyles);
1564 $calId = 'sidebar-' . substr(md5($namespace . $weekStart), 0, 8);
1568 return $this->renderSidebarWidget($allEvents, $namespace, $calId, $themeOverride);
1644 $calId = 'eventlist_' . uniqid();
1664 …$html = '<div class="eventlist-simple ' . $themeClass . '" id="' . $calId . '" style="' . $contain…
1668 #' . $calId . ' {
1704 …$html .= '<span class="eventlist-today-clock" id="clock-' . $calId . '">' . $currentTime . '</span…
1706 …="eventlist-weather"><span id="weather-icon-' . $calId . '">��️</span> <span id="weather-temp-' . …
1724 const clockEl = document.getElementById("clock-' . $calId . '");
1742 const iconEl = document.getElementById("weather-icon-' . $calId . '");
1743 const tempEl = document.getElementById("weather-temp-' . $calId . '");
1775 var weatherEl = document.querySelector("#weather-icon-' . $calId . '");
1923 private function renderEventDialog($calId, $namespace, $theme = null) { argument
1930 … $html = '<div class="event-dialog-compact" id="dialog-' . $calId . '" style="display:none;">';
1931 … $html .= '<div class="dialog-overlay" onclick="closeEventDialog(\'' . $calId . '\')"></div>';
1934 $html .= '<div class="dialog-content-sleek" id="dialog-content-' . $calId . '">';
1937 … $html .= '<div class="dialog-header-sleek dialog-drag-handle" id="drag-handle-' . $calId . '">';
1938 $html .= '<h3 id="dialog-title-' . $calId . '">Add Event</h3>';
1939 …n type="button" class="dialog-close-btn" onclick="closeEventDialog(\'' . $calId . '\')">×</button>…
1943 …$html .= '<form id="eventform-' . $calId . '" onsubmit="saveEventCompact(\'' . $calId . '\', \'' .…
1946 $html .= '<input type="hidden" id="event-id-' . $calId . '" name="eventId" value="">';
1951 …$html .= '<input type="text" id="event-title-' . $calId . '" name="title" required class="input-sl…
1959 … $html .= '<input type="hidden" id="event-namespace-' . $calId . '" name="namespace" value="">';
1963 …$html .= '<input type="text" id="event-namespace-search-' . $calId . '" class="input-sleek input-c…
1964 …$html .= '<div class="namespace-dropdown" id="event-namespace-dropdown-' . $calId . '" style="disp…
1969 …$html .= '<script type="application/json" id="namespaces-data-' . $calId . '">' . json_encode($all…
1976 …$html .= '<textarea id="event-desc-' . $calId . '" name="description" rows="2" class="input-sleek …
1985 … $html .= '<input type="hidden" id="event-date-' . $calId . '" name="date" required value="">';
1986 …r input-sleek input-compact" id="date-picker-btn-' . $calId . '" data-target="event-date-' . $calI…
1990 $html .= '<div class="date-dropdown" id="date-dropdown-' . $calId . '"></div>';
1997 $html .= '<input type="hidden" id="event-end-date-' . $calId . '" name="endDate" value="">';
1998 …t-sleek input-compact" id="end-date-picker-btn-' . $calId . '" data-target="event-end-date-' . $ca…
2002 $html .= '<div class="date-dropdown" id="end-date-dropdown-' . $calId . '"></div>';
2011 … id="event-recurring-' . $calId . '" name="isRecurring" class="recurring-toggle" onchange="toggleR…
2017 …$html .= '<div id="recurring-options-' . $calId . '" class="recurring-options" style="display:none…
2024 …$html .= '<input type="number" id="event-recurrence-interval-' . $calId . '" name="recurrenceInter…
2029 …ecurrence-type-' . $calId . '" name="recurrenceType" class="input-sleek input-compact" onchange="u…
2040 …$html .= '<div id="weekly-options-' . $calId . '" class="weekly-options" style="display:none; marg…
2054 …$html .= '<div id="monthly-options-' . $calId . '" class="monthly-options" style="display:none; ma…
2060 …onthlyType" value="dayOfMonth" checked onchange="updateMonthlyType(\'' . $calId . '\')" style="mar…
2064 …e="monthlyType" value="ordinalWeekday" onchange="updateMonthlyType(\'' . $calId . '\')" style="mar…
2070 …$html .= '<div id="monthly-day-' . $calId . '" style="display:flex; align-items:center; gap:6px;">…
2072 …$html .= '<input type="number" id="event-month-day-' . $calId . '" name="monthDay" class="input-sl…
2077 $html .= '<div id="monthly-ordinal-' . $calId . '" style="display:none;">';
2079 …$html .= '<select id="event-ordinal-' . $calId . '" name="ordinalWeek" class="input-sleek input-co…
2087 …$html .= '<select id="event-ordinal-day-' . $calId . '" name="ordinalDay" class="input-sleek input…
2106 …$html .= '<input type="date" id="event-recurrence-end-' . $calId . '" name="recurrenceEnd" class="…
2120 $html .= '<input type="hidden" id="event-time-' . $calId . '" name="time" value="">';
2121 …r input-sleek input-compact" id="time-picker-btn-' . $calId . '" data-target="event-time-' . $calI…
2125 $html .= '<div class="time-dropdown" id="time-dropdown-' . $calId . '"></div>';
2133 $html .= '<input type="hidden" id="event-end-time-' . $calId . '" name="endTime" value="">';
2134 …t-sleek input-compact" id="end-time-picker-btn-' . $calId . '" data-target="event-end-time-' . $ca…
2138 $html .= '<div class="time-dropdown" id="end-time-dropdown-' . $calId . '"></div>';
2150 …"event-color-' . $calId . '" name="color" class="input-sleek input-compact color-select" onchange=…
2160 …olor-custom-' . $calId . '" class="color-picker-input color-picker-compact" value="#3498db" onchan…
2169 …$html .= '<input type="checkbox" id="event-is-task-' . $calId . '" name="isTask" class="task-toggl…
2176 …tton" class="btn-sleek btn-cancel-sleek" onclick="closeEventDialog(\'' . $calId . '\')">Cancel</bu…
2187 …private function renderMonthPicker($calId, $year, $month, $namespace, $theme = 'matrix', $themeSty… argument
2195 …Class . '" id="month-picker-overlay-' . $calId . '" style="display:none;" onclick="closeMonthPicke…
2200 $html .= '<select id="month-picker-month-' . $calId . '" class="month-picker-select">';
2208 $html .= '<select id="month-picker-year-' . $calId . '" class="month-picker-select">';
2218 …$html .= '<button class="btn-sleek btn-cancel-sleek" onclick="closeMonthPicker(\'' . $calId . '\')…
2219 …tton class="btn-sleek btn-save-sleek" onclick="jumpToSelectedMonth(\'' . $calId . '\', \'' . $name…
2564 private function renderSidebarWidget($events, $namespace, $calId, $themeOverride = null) { argument
2688 …$html = '<div class="sidebar-widget ' . $themeClass . '" id="sidebar-widget-' . $calId . '" style=…
2693 #sidebar-widget-' . $calId . ' {
2722 @keyframes sparkle-' . $calId . ' {
2737 @keyframes pulse-glow-' . $calId . ' {
2742 @keyframes shimmer-' . $calId . ' {
2748 animation: pulse-glow-' . $calId . ' 3s ease-in-out infinite;
2755 .sparkle-' . $calId . ' {
2760 animation: sparkle-' . $calId . ' 1s ease-out forwards;
2767 const container = document.getElementById("sidebar-widget-' . $calId . '");
2772 sparkle.className = "sparkle-' . $calId . '";
2815 $jsCalId = str_replace('-', '_', $calId);
2829 const clockEl = document.getElementById("clock-' . $calId . '");
2847 const iconEl = document.getElementById("weather-icon-' . $calId . '");
2848 const tempEl = document.getElementById("weather-temp-' . $calId . '");
2876 var weatherEl = document.querySelector("#weather-icon-' . $calId . '");
2907 …$html .= '<span class="eventlist-today-clock" id="clock-' . $calId . '" style="color:' . $themeSty…
2909 …="eventlist-weather"><span id="weather-icon-' . $calId . '">��️</span> <span id="weather-temp-' . …
2927 …' . $addBtnShadow . '; transition:all 0.2s;" onclick="openAddEvent(\'' . $calId . '\', \'' . $name…
2975 $jsCalId = str_replace('-', '_', $calId);
2982 …$html .= '<div id="itinerary-bar-' . $calId . '" style="background:' . $itineraryBg . '; padding:0…
2983 …$html .= '<span id="itinerary-arrow-' . $calId . '" style="color:' . $itineraryTextColor . '; font…
2988 …$html .= '<div id="itinerary-content-' . $calId . '" style="transition:max-height 0.3s ease-out, o…
2992 …$html .= $this->renderSidebarSection('Today', $todayEvents, $todayColor, $calId, $themeStyles, $th…
2997 …$this->renderSidebarSection('Tomorrow', $tomorrowEvents, $tomorrowColor, $calId, $themeStyles, $th…
3002 …derSidebarSection('Important Events', $importantEvents, $importantColor, $calId, $themeStyles, $th…
3024 const content = document.getElementById("itinerary-content-' . $calId . '");
3025 const arrow = document.getElementById("itinerary-arrow-' . $calId . '");
3050 const content = document.getElementById("itinerary-content-' . $calId . '");
3051 const arrow = document.getElementById("itinerary-arrow-' . $calId . '");
3068 $html .= $this->renderEventDialog($calId, $namespace, $theme);
3118 $calId = 'cal_' . substr(md5($weekStart . microtime()), 0, 8);
3119 $jsCalId = str_replace('-', '_', $calId); // Sanitize for JS variable names
3210 …$html .= '<div id="selected-day-events-' . $calId . '" style="display:none; margin:8px 4px; border…
3213 $html .= '<span id="selected-day-title-' . $calId . '"></span>';
3214 …$html .= '<span onclick="document.getElementById(\'selected-day-events-' . $calId . '\').style.dis…
3217 $html .= '<span id="selected-day-title-' . $calId . '"></span>';
3218 …$html .= '<span onclick="document.getElementById(\'selected-day-events-' . $calId . '\').style.dis…
3221 …$html .= '<div id="selected-day-content-' . $calId . '" style="padding:4px 0; background:' . $pane…
3227 $jsCalId = str_replace('-', '_', $calId);
3250 const container = document.getElementById("selected-day-events-' . $calId . '");
3251 const title = document.getElementById("selected-day-title-' . $calId . '");
3252 const content = document.getElementById("selected-day-content-' . $calId . '");
3355 …private function renderSidebarSection($title, $events, $accentColor, $calId, $themeStyles, $theme,… argument
3440 …$html .= $this->renderSidebarEvent($event, $calId, $showDate, $accentColor, $themeStyles, $theme, …
3455 …private function renderSidebarEvent($event, $calId, $showDate = false, $sectionColor = '#00cc07', … argument