diff options
author | Brett Profitt <brett.profitt@gmail.com> | 2013-01-04 14:44:55 -0500 |
---|---|---|
committer | Brett Profitt <brett.profitt@gmail.com> | 2013-01-04 14:45:15 -0500 |
commit | f17c0c674f084c48a0b2919ac8fe7136a819859f (patch) | |
tree | bb58d40698234ee934a18d64d1f5d7688aa7ab45 /mod/developers/views/default/theme_preview/miscellaneous/popup.php | |
parent | 5d762eaf47cef4785d9f051c387d6971b59bdd68 (diff) | |
download | elgg-f17c0c674f084c48a0b2919ac8fe7136a819859f.tar.gz elgg-f17c0c674f084c48a0b2919ac8fe7136a819859f.tar.bz2 |
Refs #3617. Added misc section for developer's theme preview.
Diffstat (limited to 'mod/developers/views/default/theme_preview/miscellaneous/popup.php')
-rw-r--r-- | mod/developers/views/default/theme_preview/miscellaneous/popup.php | 15 |
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 |