You are here

function theme_event_ical_link in Event 5

Same name and namespace in other branches
  1. 5.2 event.theme \theme_event_ical_link()

Format the ical link

Parameters

path: The url for the ical feed

2 theme calls to theme_event_ical_link()
event_block_upcoming in ./event.module
Creates a block that contains upcoming events.
event_page in ./event.module
Displays a page containing event information. The page layout defaults to a graphical calendar.

File

./event.theme, line 440

Code

function theme_event_ical_link($path) {
  return '<div class="ical-link">' . l('<img src="' . base_path() . drupal_get_path('module', 'event') . '/images/ical16x16.gif" alt="' . t('Add to iCalendar') . '" />', $path, array(
    'title' => t('Add this calendar to your iCalendar'),
  ), NULL, NULL, TRUE, TRUE) . '</div>';
}