theme_sandbox.php 694 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. * Theme sandbox layout
  4. *
  5. * @uses $vars['title']
  6. * @uses $vars['content']
  7. */
  8. $title = elgg_view_title($vars['title'], array('class' => 'theme-sandbox-page-heading'));
  9. $content = elgg_extract('content', $vars);
  10. $sidebar_menu = elgg_view_menu('theme_sandbox', array('sort_by' => 'name'));
  11. $sidebar = elgg_view_module('theme-sandbox-nav', 'Sections', $sidebar_menu);
  12. echo <<<HTML
  13. <div class="elgg-layout clearfix theme-sandbox-layout">
  14. <div class="theme-sandbox-sidebar">
  15. $sidebar
  16. </div>
  17. <div class="theme-sandbox-main elgg-body">
  18. <div class="elgg-head clearfix">
  19. $title
  20. </div>
  21. <div class="theme-sandbox-content elgg-body">
  22. $content
  23. </div>
  24. </div>
  25. </div>
  26. HTML;