You are here

panels-add-content-modal.tpl.php in Panels 7.3

Template to control the add content modal.

File

templates/panels-add-content-modal.tpl.php
View source
<?php

/**
 * @file
 * Template to control the add content modal.
 */
?>
<div class="panels-add-content-modal">
  <div class="panels-section-column panels-section-column-categories">
    <div class="inside">
      <div class="panels-categories-box">
      <?php

foreach ($categories_array as $category) {
  ?>
        <?php

  print $category;
  ?>
      <?php

}
?>
      </div>
      <?php

print $root_content;
?>
    </div>
  </div>

  <?php

print $messages;
?>

  <?php

if (!empty($header)) {
  ?>
    <div class="panels-categories-description">
      <?php

  print $header;
  ?>
    </div>
  <?php

}
?>

  <?php

if (!empty($columns)) {
  ?>
  <div class="panels-section-columns">
    <div class="panels-section-columns-quickfilter container-inline">
      <label for="quick-filter"><?php

  print t('Quick-Filter');
  ?> </label> <input type="text" name="quickfilter" class="form-text" />
      <script type="text/javascript">
        (function ($) { Drupal.Panels.AddContentModalQuickFilter(); })(jQuery);
      </script>
    </div>
    <?php

  foreach ($columns as $column_id => $column) {
    ?>
      <div class="panels-section-column panels-section-column-<?php

    print $column_id;
    ?> ">
        <div class="inside">
          <?php

    print $column;
    ?>
        </div>
      </div>
    <?php

  }
  ?>
  </div>
  <?php

}
?>
</div>