region--menu.tpl.php 806 B

1234567891011
  1. <div<?php print $attributes; ?>>
  2. <div<?php print $content_attributes; ?>>
  3. <?php if ($main_menu || $secondary_menu): ?>
  4. <div class="navigation">
  5. <?php print theme('links__system_main_menu', array('links' => $main_menu, 'attributes' => array('id' => 'main-menu', 'class' => array('links', 'inline', 'clearfix')), 'heading' => array('text' => t('Main menu'),'level' => 'h2','class' => array('element-invisible')))); ?>
  6. <?php print theme('links__system_secondary_menu', array('links' => $secondary_menu, 'attributes' => array('id' => 'secondary-menu', 'class' => array('links', 'inline', 'clearfix')), 'heading' => array('text' => t('Secondary menu'),'level' => 'h2','class' => array('element-invisible')))); ?>
  7. </div>
  8. <?php endif; ?>
  9. <?php print $content; ?>
  10. </div>
  11. </div>