page--admin--reports--status.tpl.php 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <?php
  2. /**
  3. * @file
  4. * Module page template. Only change is to warn if the theme is disabled.
  5. */
  6. ?>
  7. <div id="branding" class="clearfix">
  8. <?php print $breadcrumb; ?>
  9. <?php print render($title_prefix); ?>
  10. <?php if ($title): ?>
  11. <h1 class="page-title"><?php print $title; ?></h1>
  12. <?php endif; ?>
  13. <?php print render($title_suffix); ?>
  14. </div>
  15. <div id="navigation">
  16. <?php if ($primary_local_tasks): ?>
  17. <?php print render($primary_local_tasks); ?>
  18. <?php endif; ?>
  19. <?php if ($secondary_local_tasks): ?>
  20. <div class="tabs-secondary clearfix"><ul class="tabs secondary"><?php print render($secondary_local_tasks); ?></ul></div>
  21. <?php endif; ?>
  22. </div>
  23. <div id="page">
  24. <?php
  25. // Get enabled themes.
  26. $active_themes = list_themes();
  27. // Check if adminimal is enabled.
  28. if ($active_themes['adminimal']->status == 0) {
  29. // Include the disabled message div.
  30. include 'adminimal-status-check.inc';
  31. }
  32. ?>
  33. <div id="content" class="clearfix">
  34. <div class="element-invisible"><a id="main-content"></a></div>
  35. <?php if ($messages): ?>
  36. <div id="console" class="clearfix"><?php print $messages; ?></div>
  37. <?php endif; ?>
  38. <?php if ($page['help']): ?>
  39. <div id="help">
  40. <?php print render($page['help']); ?>
  41. </div>
  42. <?php endif; ?>
  43. <?php if (isset($page['content_before'])): ?>
  44. <div id="content-before">
  45. <?php print render($page['content_before']); ?>
  46. </div>
  47. <?php endif; ?>
  48. <?php if ($action_links): ?><ul class="action-links"><?php print render($action_links); ?></ul><?php endif; ?>
  49. <div id="content-wrapper">
  50. <?php if (isset($page['sidebar_left'])): ?>
  51. <div id="sidebar-left">
  52. <?php print render($page['sidebar_left']); ?>
  53. </div>
  54. <?php endif; ?>
  55. <div id="main-content">
  56. <?php print render($page['content']); ?>
  57. </div>
  58. <?php if (isset($page['sidebar_right'])): ?>
  59. <div id="sidebar-right">
  60. <?php print render($page['sidebar_right']); ?>
  61. </div>
  62. <?php endif; ?>
  63. </div>
  64. <?php if (isset($page['content_after'])): ?>
  65. <div id="content-after">
  66. <?php print render($page['content_after']); ?>
  67. </div>
  68. <?php endif; ?>
  69. </div>
  70. <div id="footer">
  71. <?php print $feed_icons; ?>
  72. </div>
  73. </div>