Changeset View
Changeset View
Standalone View
Standalone View
src/view/phui/calendar/PHUICalendarMonthView.php
| Show First 20 Lines • Show All 247 Lines • ▼ Show 20 Lines | if ($this->isDateInCurrentWeek($date)) { | ||||
| $today_class .= ' phui-calendar-this-week'; | $today_class .= ' phui-calendar-this-week'; | ||||
| } | } | ||||
| $last_week_day = 6; | $last_week_day = 6; | ||||
| if ($date->format('w') == $last_week_day) { | if ($date->format('w') == $last_week_day) { | ||||
| $today_class .= ' last-weekday'; | $today_class .= ' last-weekday'; | ||||
| } | } | ||||
| $today_slot = phutil_tag ( | $today_slot = phutil_tag( | ||||
| 'div', | 'div', | ||||
| array( | array( | ||||
| 'class' => $today_class, | 'class' => $today_class, | ||||
| ), | ), | ||||
| null); | null); | ||||
| $cell_div = phutil_tag( | $cell_div = phutil_tag( | ||||
| 'div', | 'div', | ||||
| ▲ Show 20 Lines • Show All 334 Lines • Show Last 20 Lines | |||||