admin.php 805 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. /**
  3. * Elgg Admin Area Canvas
  4. *
  5. * @package Elgg
  6. * @subpackage Core
  7. *
  8. * @uses $vars['content'] Content string
  9. * @uses $vars['sidebar'] Optional sidebar content
  10. * @uses $vars['title'] Optional title string
  11. */
  12. ?>
  13. <div class="elgg-layout elgg-layout-one-sidebar">
  14. <div class="elgg-sidebar clearfix">
  15. <?php
  16. echo elgg_view('admin/sidebar', $vars);
  17. ?>
  18. </div>
  19. <div class="elgg-main elgg-body">
  20. <div class="elgg-head">
  21. <?php
  22. echo elgg_view_menu('title', array(
  23. 'sort_by' => 'priority',
  24. 'class' => 'elgg-menu-hz',
  25. ));
  26. if (isset($vars['title'])) {
  27. echo '<div class="elgg-head clearfix">';
  28. echo elgg_view_title($vars['title']);
  29. echo '</div>';
  30. }
  31. ?>
  32. </div>
  33. <?php
  34. if (isset($vars['content'])) {
  35. echo $vars['content'];
  36. }
  37. ?>
  38. </div>
  39. </div>