/ Published in: PHP
The orignial calendar class code before the changes
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
{ // Cells with content $temp = ($is_current_month === TRUE AND $day == $cur_day) ? $this->temp['cal_cell_content_today'] : $this->temp['cal_cell_content']; foreach($data[$day] as $content) { } } else { // Cells with no content $temp = ($is_current_month === TRUE AND $day == $cur_day) ? $this->temp['cal_cell_no_content_today'] : $this->temp['cal_cell_no_content']; }