openlayers-plus-legend-raw.tpl.php in OpenLayers Plus 7.3
Same filename and directory in other branches
Legend raw template.
File
theme/openlayers-plus-legend-raw.tpl.phpView source
<?php
/**
* @file
* Legend raw template.
*/
/**
* @param $layer_id The layer's id
* @param $layer layer array
* @param $raw raw html for the legend
*/
?>
<div class='legend legend-count-<?php
print count($legend);
?> clear-block' id='openlayers-legend-<?php
print $layer_id;
?>'>
<?php
print $raw;
?>
</div>