page.tpl.php 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php if (theme_get_setting('rubik_show_branding')): ?>
  2. <div id='branding'><div class='limiter clearfix'>
  3. <div class='breadcrumb clearfix'><?php print $breadcrumb ?></div>
  4. <?php if (!$overlay && isset($secondary_menu)) : ?>
  5. <?php print theme('links', array('links' => $secondary_menu, 'attributes' => array('class' => 'links secondary-menu'))) ?>
  6. <?php endif; ?>
  7. </div></div>
  8. <?php endif; ?>
  9. <div id='page-title'><div class='limiter clearfix'>
  10. <div class='tabs clearfix'>
  11. <?php if ($primary_local_tasks): ?>
  12. <ul class='primary-tabs links clearfix'><?php print render($primary_local_tasks) ?></ul>
  13. <?php endif; ?>
  14. </div>
  15. <?php print render($title_prefix); ?>
  16. <h1 class='page-title <?php print $page_icon_class ?>'>
  17. <?php if (!empty($page_icon_class)): ?><span class='icon'></span><?php endif; ?>
  18. <?php if ($title) print $title ?>
  19. </h1>
  20. <?php if ($action_links): ?>
  21. <ul class='action-links links clearfix'><?php print render($action_links) ?></ul>
  22. <?php endif; ?>
  23. <?php print render($title_suffix); ?>
  24. </div></div>
  25. <?php if ($show_messages && $messages): ?>
  26. <div id='console'><div class='limiter clearfix'><?php print $messages; ?></div></div>
  27. <?php endif; ?>
  28. <div id='page'><div id='main-content' class='limiter clearfix'>
  29. <?php if ($page['help']) print render($page['help']) ?>
  30. <div id='content' class='page-content clearfix'>
  31. <?php if (!empty($page['content'])) print render($page['content']) ?>
  32. </div>
  33. </div></div>
  34. <div id='footer' class='clearfix'>
  35. <?php if ($feed_icons): ?>
  36. <div class='feed-icons clearfix'>
  37. <label><?php print t('Feeds') ?></label>
  38. <?php print $feed_icons ?>
  39. </div>
  40. <?php endif; ?>
  41. </div>