You are here

features-form.tpl.php in Features 6

File

theme/features-form.tpl.php
View source
<div class='features-form clear-block'>
  <?php

if (count($packages) > 1) {
  ?>
    <div class='features-form-content'>
      <?php

  foreach ($packages as $class => $package) {
    ?>
        <div class='features-form-package package-<?php

    print $class;
    ?>'><?php

    print drupal_render($package);
    ?></div>
      <?php

  }
  ?>
      <?php

  print drupal_render($form);
  ?>
    </div>
    <div class='features-form-links'><?php

  print theme('links', $package_links, array(
    'id' => 'features-form-links',
  ));
  ?></div>
  <?php

}
elseif (count($packages) == 1) {
  ?>
    <?php

  print drupal_render($packages);
  ?>
    <?php

  print drupal_render($form);
  ?>
  <?php

}
else {
  ?>
    <?php

  print t('No features; consider <a href="!url">adding one.</a>', array(
    '!url' => url('admin/build/features/create'),
  ));
  ?>
  <?php

}
?>
</div>