aboutsummaryrefslogtreecommitdiff
path: root/views/default/search/listing.php
blob: fa1719069fc00d6055831fa68dcb65d4cad66b73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
/**
 * Elgg search listing
 *
 * @package Elgg
 * @subpackage Core
 * @author Curverider Ltd
 * @link http://elgg.org/
 */

if (isset($vars['search_viewtype']) && $vars['search_viewtype'] == "gallery") {
	echo elgg_view("search/gallery_listing",$vars);
} else {

?>

<div class="search_listing">

	<div class="search_listing_icon">
		<?php

			echo $vars['icon'];

		?>
	</div>
	<div class="search_listing_info">
		<?php

			echo $vars['info'];

		?>
	</div>

</div>

<?php

}