You are here

megamenu_admin.tpl.php in Megamenu 7

Same filename and directory in other branches
  1. 6.2 megamenu_admin.tpl.php
  2. 6 megamenu_admin.tpl.php

File

megamenu_admin.tpl.php
View source
<div>
  <?php

print drupal_render($form['markup']);
?>
</div>
<table>
  <thead>
    <tr>
      <th><?php

print t('Menu');
?></th>
      <th><?php

print t('Options');
?></th>
      <th><?php

print t('Enable Megamenu Block');
?></th>
    </tr>
  </thead>
  <tbody>
    <?php

foreach ($menu as $m) {
  ?>
      <tr>
        <td><h3><?php

  print $m['details']['title'];
  ?></h3></td>
        <td><?php

  print l(t('configure mega'), 'admin/config/user-interface/megamenu/settings/' . $m['details']['menu_name']);
  ?></td>
        <td>
          <?php

  print drupal_render($form['enabled'][$m['details']['menu_name']]);
  ?>
        </td>
      </tr>
    <?php

}
?>
  </tbody>
</table>
<?php

print drupal_render($form['advanced']);
?>
<div><?php

print drupal_render($form['save_configuration']);
?></div>
<?php

print drupal_render_children($form);

// Print the closing form elements (ID and hidden validation tags).