aboutsummaryrefslogtreecommitdiff
path: root/views/default/widgets/add.php
blob: 2cc06dab7a6220324a6a8d2c795f26a3c69af34e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php

$widgets = $vars['widgets'];
$widget_types = get_widget_types();

?>
<div class="widgets_add hidden">
	<p>
		<?php echo elgg_echo('widgets:add:description'); ?>
	</p>
	<ul>
		<?php
			foreach ($widget_types as $widget_type) {
				$link = elgg_view('output/url', array('text' => $widget_type->name, 'href' => '#'));
				echo "<li>$link</li>";
			}
		?>
	</ul>
	<div class="clearfloat"></div>
</div>