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

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

$link = elgg_view('output/url', array(
	'text' => 'Popup content',
	'href' => "#elgg-popup-test",
	'rel' => 'popup'
));

echo $link;
echo elgg_view_module('popup', 'Popup Test', $ipsum, array(
	'id' => 'elgg-popup-test',
	'class' => 'hidden clearfix developers-content-thin',
));