function pretty_calendar_content_loader in Pretty Calendar 7
AJAX response for calendar navigation.
Parameters
int $month: Timestamp of selected month.
Return value
string Rendered block content.
1 string reference to 'pretty_calendar_content_loader'
- pretty_calendar_menu in ./
pretty_calendar.module - Implements hook_menu().
File
- ./
pretty_calendar.module, line 423 - Simple nice calendar module that displays the materials by date.
Code
function pretty_calendar_content_loader($month) {
header('Content-Type: text/html; charset=utf-8');
print pretty_calendar_block_content((int) $month);
drupal_exit();
}