You are here

function pretty_calendar_theme in Pretty Calendar 7

Implements hook_theme().

4 string references to 'pretty_calendar_theme'
pretty_calendar_block_configure in ./pretty_calendar.module
Implements hook_block_configure().
pretty_calendar_block_save in ./pretty_calendar.module
Implements hook_block_save().
pretty_calendar_block_view in ./pretty_calendar.module
Implements hook_block_view().
pretty_calendar_uninstall in ./pretty_calendar.install
Implements hook_uninstall().

File

./pretty_calendar.module, line 47
Simple nice calendar module that displays the materials by date.

Code

function pretty_calendar_theme() {
  $hooks = array(
    'pretty_calendar' => array(
      'template' => 'pretty-calendar',
      'variables' => array(
        'daynames' => NULL,
        'content' => NULL,
        'month_prev' => NULL,
        'month_next' => NULL,
        'month_name' => NULL,
      ),
    ),
    'pretty_calendar_week' => array(
      'template' => 'pretty-calendar-week',
      'variables' => array(
        'days' => NULL,
        'delta' => NULL,
      ),
    ),
    'pretty_calendar_day' => array(
      'template' => 'pretty-calendar-day',
      'variables' => array(
        'number' => NULL,
        'date' => NULL,
        'delta' => NULL,
        'class' => NULL,
        'count' => NULL,
        'using_tooltip' => NULL,
        'is_empty' => NULL,
      ),
    ),
  );
  return $hooks;
}