<ul class="filter-results list-group">
<?php foreach ($elements as $tag => $element) : ?>
	<li class="list-group-item filtered-element <?php echo $element["tagnames"]; ?>">
		<a style="display:block" href="<?php echo $GLOBALS['wiki']->href('', $tag); ?>"><?php echo $element["title"]; ?></a>
	</li>
<?php endforeach; ?>
</ul>