You are here

function theme_kml_icon in KML 6

Same name and namespace in other branches
  1. 5 kml.module \theme_kml_icon()

Display the KML icon

1 call to theme_kml_icon()
theme_kml_link in ./kml.module
Standardised KML link
1 theme call to theme_kml_icon()
kml_views_feed_argument in ./kml.module

File

./kml.module, line 536
KML Module

Code

function theme_kml_icon($url, $type) {
  $icon = drupal_get_path('module', 'kml') . '/images/kml.gif';
  $text = 'View in Google Earth';
  if ($image = theme('image', $icon, $text, $text)) {
    return '<a href="' . check_url($url) . '" class="feed-icon">' . $image . '</a>';
  }
}