function theme_kml_icon in KML 5
Same name and namespace in other branches
- 6 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()
File
- ./
kml.module, line 544 - 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>';
}
}