popup.php 322 B

123456789101112131415
  1. <?php
  2. $ipsum = elgg_view('developers/ipsum');
  3. $link = elgg_view('output/url', array(
  4. 'text' => 'Popup content',
  5. 'href' => "#elgg-popup-test",
  6. 'rel' => 'popup',
  7. ));
  8. echo $link;
  9. echo elgg_view_module('popup', 'Popup Test', $ipsum, array(
  10. 'id' => 'elgg-popup-test',
  11. 'class' => 'hidden theme-sandbox-content-thin',
  12. ));