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 …
335 …)) . ($hasEvents ? ', has events' : '') . '" onclick="showDayPopup(\'' . $calId . '\', \'' . $date…
397 …$html .= 'onclick="event.stopPropagation(); highlightEvent(\'' . $calId . '\', \'' . $eventId . '\…
417 $html .= '<h4 id="eventlist-title-' . $calId . '">Events</h4>';
430 …" id="event-search-' . $calId . '" placeholder="' . htmlspecialchars($searchPlaceholder) . '" onin…
431 …s="event-search-clear-inline" id="search-clear-' . $calId . '" onclick="clearEventSearch(\'' . $ca…
432 …inline' . $searchAllClass . '" id="search-mode-' . $calId . '" onclick="toggleSearchMode(\'' . $ca…
435 …$html .= '<button class="add-event-compact" onclick="openAddEvent(\'' . $calId . '\', \'' . $names…
438 $html .= '<div class="event-list-compact" id="eventlist-' . $calId . '">';
439 $html .= $this->renderEventListContent($events, $calId, $namespace, $themeStyles);
445 $html .= $this->renderEventDialog($calId, $namespace, $theme);
448 $html .= $this->renderMonthPicker($calId, $year, $month, $namespace, $theme, $themeStyles);
471 $calId = 'static-cal-' . substr(md5($namespace . $year . $month . uniqid()), 0, 8);
505 …$html = '<div class="calendar-static ' . $themeClass . '" id="' . $calId . '" data-year="' . $year…
513 …$html .= '<button class="static-nav-btn" onclick="navStaticCalendar(\'' . $calId . '\', -1)" title…
517 …$html .= '<button class="static-nav-btn" onclick="navStaticCalendar(\'' . $calId . '\', 1)" title=…
520 …$html .= '<button class="static-print-btn" onclick="printStaticCalendar(\'' . $calId . '\')" title…
745 private function renderEventListContent($events, $calId, $namespace, $themeStyles = null) { argument
954 …n class="event-namespace-badge" onclick="filterCalendarByNamespace(\'' . $calId . '\', \'' . htmls…
1000 …n class="event-namespace-badge" onclick="filterCalendarByNamespace(\'' . $calId . '\', \'' . htmls…
1041 …$eventHtml .= '<button class="event-action-btn" onclick="deleteEvent(\'' . $calId . '\', \'' . $ev…
1042 …$eventHtml .= '<button class="event-action-btn" onclick="editEvent(\'' . $calId . '\', \'' . $even…
1048 …class="task-checkbox" ' . $checked . ' onclick="toggleTaskComplete(\'' . $calId . '\', \'' . $even…
1068 … $html .= '<div class="past-events-toggle" onclick="togglePastEvents(\'' . $calId . '\')">';
1069 $html .= '<span class="past-events-arrow" id="past-arrow-' . $calId . '">▶</span> ';
1072 …$html .= '<div class="past-events-content" id="past-events-' . $calId . '" style="display:none;">';
1214 $calId = 'panel_' . md5(serialize($data) . microtime());
1245 …$html = '<div class="event-panel-standalone" id="' . $calId . '" data-height="' . htmlspecialchars…
1249 #' . $calId . ' {
1273 … #event-search-' . $calId . '::placeholder { color: ' . $themeStyles['text_dim'] . '; opacity: 1; }
1287 …$html .= '<button class="panel-nav-btn" onclick="navEventPanel(\'' . $calId . '\', ' . $prevYear .…
1291 …$html .= '<h3 class="panel-month-title" onclick="openMonthPickerPanel(\'' . $calId . '\', ' . $yea…
1293 …$html .= '<button class="panel-nav-btn" onclick="navEventPanel(\'' . $calId . '\', ' . $nextYear .…
1308 …amespace) . ' - click to clear" onclick="clearNamespaceFilterPanel(\'' . $calId . '\')">' . htmlsp…
1315 …$html .= '<button class="panel-today-btn" onclick="jumpTodayPanel(\'' . $calId . '\', \'' . $names…
1326 …" id="event-search-' . $calId . '" placeholder="' . htmlspecialchars($searchPlaceholder) . '" onin…
1327 …on class="panel-search-clear" id="search-clear-' . $calId . '" onclick="clearEventSearch(\'' . $ca…
1328 …h-mode' . $searchAllClass . '" id="search-mode-' . $calId . '" onclick="toggleSearchMode(\'' . $ca…
1330 …$html .= '<button class="panel-add-btn" onclick="openAddEventPanel(\'' . $calId . '\', \'' . $name…
1335 …$html .= '<div class="event-list-compact" id="eventlist-' . $calId . '" style="max-height: ' . htm…
1336 $html .= $this->renderEventListContent($events, $calId, $namespace);
1339 $html .= $this->renderEventDialog($calId, $namespace, $theme);
1342 $html .= $this->renderMonthPicker($calId, $year, $month, $namespace, $theme, $themeStyles);
1451 $calId = 'sidebar-' . substr(md5($namespace . $weekStart), 0, 8);
1455 return $this->renderSidebarWidget($allEvents, $namespace, $calId, $themeOverride);
1531 $calId = 'eventlist_' . uniqid();
1551 …$html = '<div class="eventlist-simple ' . $themeClass . '" id="' . $calId . '" style="' . $contain…
1555 #' . $calId . ' {
1591 …$html .= '<span class="eventlist-today-clock" id="clock-' . $calId . '">' . $currentTime . '</span…
1593 …="eventlist-weather"><span id="weather-icon-' . $calId . '">️</span> <span id="weather-temp-' . …
1611 const clockEl = document.getElementById("clock-' . $calId . '");
1629 const iconEl = document.getElementById("weather-icon-' . $calId . '");
1630 const tempEl = document.getElementById("weather-temp-' . $calId . '");
1662 var weatherEl = document.querySelector("#weather-icon-' . $calId . '");
1810 private function renderEventDialog($calId, $namespace, $theme = null) { argument
1817 … $html = '<div class="event-dialog-compact" id="dialog-' . $calId . '" style="display:none;">';
1818 … $html .= '<div class="dialog-overlay" onclick="closeEventDialog(\'' . $calId . '\')"></div>';
1821 $html .= '<div class="dialog-content-sleek" id="dialog-content-' . $calId . '">';
1824 … $html .= '<div class="dialog-header-sleek dialog-drag-handle" id="drag-handle-' . $calId . '">';
1825 $html .= '<h3 id="dialog-title-' . $calId . '">Add Event</h3>';
1826 …n type="button" class="dialog-close-btn" onclick="closeEventDialog(\'' . $calId . '\')">×</button>…
1830 …$html .= '<form id="eventform-' . $calId . '" onsubmit="saveEventCompact(\'' . $calId . '\', \'' .…
1833 $html .= '<input type="hidden" id="event-id-' . $calId . '" name="eventId" value="">';
1838 …$html .= '<input type="text" id="event-title-' . $calId . '" name="title" required class="input-sl…
1846 … $html .= '<input type="hidden" id="event-namespace-' . $calId . '" name="namespace" value="">';
1850 …$html .= '<input type="text" id="event-namespace-search-' . $calId . '" class="input-sleek input-c…
1851 …$html .= '<div class="namespace-dropdown" id="event-namespace-dropdown-' . $calId . '" style="disp…
1856 …$html .= '<script type="application/json" id="namespaces-data-' . $calId . '">' . json_encode($all…
1863 …$html .= '<textarea id="event-desc-' . $calId . '" name="description" rows="2" class="input-sleek …
1872 … $html .= '<input type="hidden" id="event-date-' . $calId . '" name="date" required value="">';
1873 …r input-sleek input-compact" id="date-picker-btn-' . $calId . '" data-target="event-date-' . $calI…
1877 $html .= '<div class="date-dropdown" id="date-dropdown-' . $calId . '"></div>';
1884 $html .= '<input type="hidden" id="event-end-date-' . $calId . '" name="endDate" value="">';
1885 …t-sleek input-compact" id="end-date-picker-btn-' . $calId . '" data-target="event-end-date-' . $ca…
1889 $html .= '<div class="date-dropdown" id="end-date-dropdown-' . $calId . '"></div>';
1898 … id="event-recurring-' . $calId . '" name="isRecurring" class="recurring-toggle" onchange="toggleR…
1904 …$html .= '<div id="recurring-options-' . $calId . '" class="recurring-options" style="display:none…
1911 …$html .= '<input type="number" id="event-recurrence-interval-' . $calId . '" name="recurrenceInter…
1916 …ecurrence-type-' . $calId . '" name="recurrenceType" class="input-sleek input-compact" onchange="u…
1927 …$html .= '<div id="weekly-options-' . $calId . '" class="weekly-options" style="display:none; marg…
1941 …$html .= '<div id="monthly-options-' . $calId . '" class="monthly-options" style="display:none; ma…
1947 …onthlyType" value="dayOfMonth" checked onchange="updateMonthlyType(\'' . $calId . '\')" style="mar…
1951 …e="monthlyType" value="ordinalWeekday" onchange="updateMonthlyType(\'' . $calId . '\')" style="mar…
1957 …$html .= '<div id="monthly-day-' . $calId . '" style="display:flex; align-items:center; gap:6px;">…
1959 …$html .= '<input type="number" id="event-month-day-' . $calId . '" name="monthDay" class="input-sl…
1964 $html .= '<div id="monthly-ordinal-' . $calId . '" style="display:none;">';
1966 …$html .= '<select id="event-ordinal-' . $calId . '" name="ordinalWeek" class="input-sleek input-co…
1974 …$html .= '<select id="event-ordinal-day-' . $calId . '" name="ordinalDay" class="input-sleek input…
1993 …$html .= '<input type="date" id="event-recurrence-end-' . $calId . '" name="recurrenceEnd" class="…
2007 $html .= '<input type="hidden" id="event-time-' . $calId . '" name="time" value="">';
2008 …r input-sleek input-compact" id="time-picker-btn-' . $calId . '" data-target="event-time-' . $calI…
2012 $html .= '<div class="time-dropdown" id="time-dropdown-' . $calId . '"></div>';
2020 $html .= '<input type="hidden" id="event-end-time-' . $calId . '" name="endTime" value="">';
2021 …t-sleek input-compact" id="end-time-picker-btn-' . $calId . '" data-target="event-end-time-' . $ca…
2025 $html .= '<div class="time-dropdown" id="end-time-dropdown-' . $calId . '"></div>';
2037 …"event-color-' . $calId . '" name="color" class="input-sleek input-compact color-select" onchange=…
2047 …olor-custom-' . $calId . '" class="color-picker-input color-picker-compact" value="#3498db" onchan…
2056 …$html .= '<input type="checkbox" id="event-is-task-' . $calId . '" name="isTask" class="task-toggl…
2063 …tton" class="btn-sleek btn-cancel-sleek" onclick="closeEventDialog(\'' . $calId . '\')">Cancel</bu…
2074 …private function renderMonthPicker($calId, $year, $month, $namespace, $theme = 'matrix', $themeSty… argument
2082 …Class . '" id="month-picker-overlay-' . $calId . '" style="display:none;" onclick="closeMonthPicke…
2087 $html .= '<select id="month-picker-month-' . $calId . '" class="month-picker-select">';
2095 $html .= '<select id="month-picker-year-' . $calId . '" class="month-picker-select">';
2105 …$html .= '<button class="btn-sleek btn-cancel-sleek" onclick="closeMonthPicker(\'' . $calId . '\')…
2106 …tton class="btn-sleek btn-save-sleek" onclick="jumpToSelectedMonth(\'' . $calId . '\', \'' . $name…
2451 private function renderSidebarWidget($events, $namespace, $calId, $themeOverride = null) { argument
2575 …$html = '<div class="sidebar-widget ' . $themeClass . '" id="sidebar-widget-' . $calId . '" style=…
2580 #sidebar-widget-' . $calId . ' {
2609 @keyframes sparkle-' . $calId . ' {
2624 @keyframes pulse-glow-' . $calId . ' {
2629 @keyframes shimmer-' . $calId . ' {
2635 animation: pulse-glow-' . $calId . ' 3s ease-in-out infinite;
2642 .sparkle-' . $calId . ' {
2647 animation: sparkle-' . $calId . ' 1s ease-out forwards;
2654 const container = document.getElementById("sidebar-widget-' . $calId . '");
2659 sparkle.className = "sparkle-' . $calId . '";
2702 $jsCalId = str_replace('-', '_', $calId);
2716 const clockEl = document.getElementById("clock-' . $calId . '");
2734 const iconEl = document.getElementById("weather-icon-' . $calId . '");
2735 const tempEl = document.getElementById("weather-temp-' . $calId . '");
2763 var weatherEl = document.querySelector("#weather-icon-' . $calId . '");
2794 …$html .= '<span class="eventlist-today-clock" id="clock-' . $calId . '" style="color:' . $themeSty…
2796 …="eventlist-weather"><span id="weather-icon-' . $calId . '">️</span> <span id="weather-temp-' . …
2814 …' . $addBtnShadow . '; transition:all 0.2s;" onclick="openAddEvent(\'' . $calId . '\', \'' . $name…
2862 $jsCalId = str_replace('-', '_', $calId);
2869 …$html .= '<div id="itinerary-bar-' . $calId . '" style="background:' . $itineraryBg . '; padding:0…
2870 …$html .= '<span id="itinerary-arrow-' . $calId . '" style="color:' . $itineraryTextColor . '; font…
2875 …$html .= '<div id="itinerary-content-' . $calId . '" style="transition:max-height 0.3s ease-out, o…
2879 …$html .= $this->renderSidebarSection('Today', $todayEvents, $todayColor, $calId, $themeStyles, $th…
2884 …$this->renderSidebarSection('Tomorrow', $tomorrowEvents, $tomorrowColor, $calId, $themeStyles, $th…
2889 …derSidebarSection('Important Events', $importantEvents, $importantColor, $calId, $themeStyles, $th…
2911 const content = document.getElementById("itinerary-content-' . $calId . '");
2912 const arrow = document.getElementById("itinerary-arrow-' . $calId . '");
2937 const content = document.getElementById("itinerary-content-' . $calId . '");
2938 const arrow = document.getElementById("itinerary-arrow-' . $calId . '");
2955 $html .= $this->renderEventDialog($calId, $namespace, $theme);
3005 $calId = 'cal_' . substr(md5($weekStart . microtime()), 0, 8);
3006 $jsCalId = str_replace('-', '_', $calId); // Sanitize for JS variable names
3097 …$html .= '<div id="selected-day-events-' . $calId . '" style="display:none; margin:8px 4px; border…
3100 $html .= '<span id="selected-day-title-' . $calId . '"></span>';
3101 …$html .= '<span onclick="document.getElementById(\'selected-day-events-' . $calId . '\').style.dis…
3104 $html .= '<span id="selected-day-title-' . $calId . '"></span>';
3105 …$html .= '<span onclick="document.getElementById(\'selected-day-events-' . $calId . '\').style.dis…
3108 …$html .= '<div id="selected-day-content-' . $calId . '" style="padding:4px 0; background:' . $pane…
3114 $jsCalId = str_replace('-', '_', $calId);
3137 const container = document.getElementById("selected-day-events-' . $calId . '");
3138 const title = document.getElementById("selected-day-title-' . $calId . '");
3139 const content = document.getElementById("selected-day-content-' . $calId . '");
3242 …private function renderSidebarSection($title, $events, $accentColor, $calId, $themeStyles, $theme,… argument
3327 …$html .= $this->renderSidebarEvent($event, $calId, $showDate, $accentColor, $themeStyles, $theme, …
3342 …private function renderSidebarEvent($event, $calId, $showDate = false, $sectionColor = '#00cc07', … argument