protected function _get_last_row() { $time = $this->get_timestamp(); // Make sure we subtract for the end of the month. if (date('j', $time) == date('t', $time)) { $time -= 4 * 86400; } return '<tr>' . '<td>' . '<a class="' . $this->get_calendar_root_class() . '-navigation-link eab-navigation-next eab-time_unit-year" href="' . Eab_Template::get_archive_url_prev_year($time, true) . '">' . ' «' . '</a>' . '</td>' . '<td>' . '<a class="' . $this->get_calendar_root_class() . '-navigation-link eab-navigation-next eab-time_unit-month" href="' . Eab_Template::get_archive_url_prev($time, true) . '">' . ' ‹' . '</a>' . '</td>' . '<td colspan="3" style="text-align:center;">' . '<input type="hidden" class="eab-cuw-calendar_date" value="' . $time . '" />' . '<a href="' . Eab_Template::get_archive_url($time, true) . '" class="' . $this->get_calendar_root_class() . '-navigation-link eab-cuw-calendar_date">' . date_i18n('M Y', $time) . '</a>' . '</td>' . '<td>' . '<a class="' . $this->get_calendar_root_class() . '-navigation-link eab-navigation-prev eab-time_unit-month" href="' . Eab_Template::get_archive_url_next($time, true) . '">› ' . '</a>' . '</td>' . '<td>' . '<a class="' . $this->get_calendar_root_class() . '-navigation-link eab-navigation-prev eab-time_unit-year" href="' . Eab_Template::get_archive_url_next_year($time, true) . '">» ' . '</a>' . '</td>' . '</tr>'; }