aboutsummaryrefslogtreecommitdiff
path: root/mod/developers/views/default/theme_preview/miscellaneous/lightbox.php
blob: b673c4ee0b06fd0023939917c9c1e1b8e99793ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php

elgg_load_js('lightbox');
elgg_load_css('lightbox');

$ipsum = elgg_view('developers/ipsum');

$link = elgg_view('output/url', array(
	'text' => 'Open lighbox',
	'href' => "#elgg-lightbox-test",
	'class' => 'elgg-lightbox'
));

echo $link;
echo '<div class="hidden">';
echo elgg_view_module('aside', 'Lightbox Test', $ipsum, array(
	'id' => 'elgg-lightbox-test'
));
echo '</div>';