components.php 948 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * CSS Objects: list, module, image_block, table, messages
  4. */
  5. $body = elgg_view('theme_sandbox/components/image_block');
  6. echo elgg_view_module('theme-sandbox-demo', 'Image Block (.elgg-image-block)', $body);
  7. $body = elgg_view('theme_sandbox/components/list');
  8. echo elgg_view_module('theme-sandbox-demo', 'List (.elgg-list)', $body);
  9. $body = elgg_view('theme_sandbox/components/table', array('class' => 'elgg-table'));
  10. echo elgg_view_module('theme-sandbox-demo', 'Table (.elgg-table)', $body);
  11. $body = elgg_view('theme_sandbox/components/table', array('class' => 'elgg-table-alt'));
  12. echo elgg_view_module('theme-sandbox-demo', 'Table Alternate (.elgg-table-alt)', $body);
  13. $body = elgg_view('theme_sandbox/components/tags');
  14. echo elgg_view_module('theme-sandbox-demo', 'Tags (.elgg-tag)', $body);
  15. $body = elgg_view('theme_sandbox/components/messages');
  16. echo elgg_view_module('theme-sandbox-demo', 'Messages (.elgg-message)', $body);