Commit b326dabd authored by l26yan's avatar l26yan
Browse files

image path from module itself

parent 6d20f431
......@@ -80,8 +80,16 @@
?>
<?php
$feed_url = "feed/" . $node->nid;
$img_variables = array(
//'path' => path_to_theme() . '/images/add-calendar-icon-33x20.png',
'path' => drupal_get_path('module', 'uw_ct_event') . '/css/images/add-calendar-icon-33x20.png',
'alt' => 'Export this event to calendar',
'title' => 'Export this event to calendar',
'width' => '33',
'height' => '20',
);
?>
<h1<?php print $title_attributes; ?> class="individual-event-ical"><?php print $title; ?><a href="<?php print $feed_url; ?>"><img src="/profiles/uw_base_profile/themes/uw_fdsu_theme/images/add-calendar-icon-33x20.png" alt="Export this event to calendar" title="Export this event to calendar"></a>
<h1<?php print $title_attributes; ?> class="individual-event-ical"><?php print $title; ?><a href="<?php print $feed_url; ?>"><?php print theme('image', $img_variables);?></a>
</h1>
<div class="clearfix"<?php print $attributes; ?>>
<div class="event-content"<?php print $content_attributes; ?>>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment