aboutsummaryrefslogtreecommitdiff
path: root/mod/developers/views/default/theme_preview/miscellaneous/popup.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/developers/views/default/theme_preview/miscellaneous/popup.php')
-rw-r--r--mod/developers/views/default/theme_preview/miscellaneous/popup.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/mod/developers/views/default/theme_preview/miscellaneous/popup.php b/mod/developers/views/default/theme_preview/miscellaneous/popup.php
new file mode 100644
index 000000000..b711bb7cc
--- /dev/null
+++ b/mod/developers/views/default/theme_preview/miscellaneous/popup.php
@@ -0,0 +1,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',
+)); \ No newline at end of file