2163 | | <tfoot> |
2164 | | <tr>'; |
2165 | | |
2166 | | if ( $previous ) { |
2167 | | $calendar_output .= "\n\t\t" . '<td colspan="3" id="prev"><a href="' . get_month_link( $previous->year, $previous->month ) . '">« ' . |
2168 | | $wp_locale->get_month_abbrev( $wp_locale->get_month( $previous->month ) ) . |
2169 | | '</a></td>'; |
2170 | | } else { |
2171 | | $calendar_output .= "\n\t\t" . '<td colspan="3" id="prev" class="pad"> </td>'; |
2172 | | } |
2173 | | |
2174 | | $calendar_output .= "\n\t\t" . '<td class="pad"> </td>'; |
2175 | | |
2176 | | if ( $next ) { |
2177 | | $calendar_output .= "\n\t\t" . '<td colspan="3" id="next"><a href="' . get_month_link( $next->year, $next->month ) . '">' . |
2178 | | $wp_locale->get_month_abbrev( $wp_locale->get_month( $next->month ) ) . |
2179 | | ' »</a></td>'; |
2180 | | } else { |
2181 | | $calendar_output .= "\n\t\t" . '<td colspan="3" id="next" class="pad"> </td>'; |
2182 | | } |
2183 | | |
| 2233 | $calendar_output .= ' |
| 2234 | <tfoot> |
| 2235 | <tr>'; |
| 2236 | |
| 2237 | if ( $previous ) { |
| 2238 | $calendar_output .= "\n\t\t" . '<td colspan="3" id="prev"><a href="' . get_month_link( $previous->year, $previous->month ) . '">« ' . |
| 2239 | $wp_locale->get_month_abbrev( $wp_locale->get_month( $previous->month ) ) . |
| 2240 | '</a></td>'; |
| 2241 | } else { |
| 2242 | $calendar_output .= "\n\t\t" . '<td colspan="3" id="prev" class="pad"> </td>'; |
| 2243 | } |
| 2244 | |
| 2245 | $calendar_output .= "\n\t\t" . '<td class="pad"> </td>'; |
| 2246 | |
| 2247 | if ( $next ) { |
| 2248 | $calendar_output .= "\n\t\t" . '<td colspan="3" id="next"><a href="' . get_month_link( $next->year, $next->month ) . '">' . |
| 2249 | $wp_locale->get_month_abbrev( $wp_locale->get_month( $next->month ) ) . |
| 2250 | ' »</a></td>'; |
| 2251 | } else { |
| 2252 | $calendar_output .= "\n\t\t" . '<td colspan="3" id="next" class="pad"> </td>'; |
| 2253 | } |
| 2254 | |
| 2255 | $calendar_output .= ' |
| 2256 | </tr> |
| 2257 | </tfoot>'; |
| 2258 | |
| 2259 | $calendar_output .= "\n\t</table>"; |
| 2260 | |