Closed (fixed)
Project:
Date iCal
Version:
7.x-1.0
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
16 Apr 2012 at 10:24 UTC
Updated:
3 May 2012 at 11:10 UTC
The div wrapper for the ical icon (line 39 of date_ical.module. theme_date_ical_icon function) is hard to override with custom css.
Please replace it with a more common div with a class.
function theme_date_ical_icon($variables) {
$url = $variables['url'];
$variables = array(
'path' => drupal_get_path('module', 'date_ical') . '/images/ical-feed-icon-34x14.png',
'title' => t('Add to calendar'), t('Add to calendar'),
);
if ($image = theme('image', $variables)) {
return '<div style="text-align: right;"><a href="' . check_url($url) . '" class="ical-icon" title="ical">' . $image . '</a></div>';
}
}
Comments
Comment #1
karens commentedhttp://drupalcode.org/project/date_ical.git/commit/af9bc4a