Project

General

Profile

Revision 62e0cc08

Added by Assos Assos over 3 years ago

Weekly update of contrib modules

View differences:

drupal7/sites/all/modules/date_ical/date_ical.module
92 92
    $variables['tooltip'] = t('Add this event to my calendar');
93 93
  }
94 94
  $variables['path'] = drupal_get_path('module', 'date_ical') . '/images/ical-feed-icon-34x14.png';
95
  $variables['alt'] = $variables['title'] = $variables['tooltip'];
95
  $variables['alt'] = $variables['tooltip'];
96 96
  if ($image = theme('image', $variables)) {
97 97
    return "<a href='{$variables['url']}' class='ical-icon'>$image</a>";
98 98
  }
......
113 113
    // Trick the default node template into not displaying the page title, by
114 114
    // telling it that this *is* a page.
115 115
    $variables['page'] = TRUE;
116
    $variables['title_prefix'] = '';
117
    $variables['title_suffix'] = '';
116
    $variables['title_prefix'] = array();
117
    $variables['title_suffix'] = array();
118 118

  
119 119
    // We don't want to see the author information in our feed.
120 120
    $variables['display_submitted'] = FALSE;

Also available in: Unified diff