function template_preprocess_kml_placemark in KML 7
Same name and namespace in other branches
- 6.2 views/kml_views.theme.inc \template_preprocess_kml_placemark()
Preprocess for theme('kml_placemark').
File
- views/
kml_views.theme.inc, line 42 - Theming functions for KML module views output.
Code
function template_preprocess_kml_placemark(&$vars) {
$vars['name'] = filter_xss_admin($vars['point']['name']);
$vars['description'] = filter_xss_admin($vars['point']['description']);
$vars['coords'] = check_plain($vars['point']['point']);
$vars['styleUrl'] = isset($vars['point']['styleUrl']) ? check_plain($vars['point']['styleUrl']) : '';
}