panels-add-content-modal.tpl.php 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. /**
  3. * @file
  4. * Template to control the add content modal.
  5. */
  6. ?>
  7. <div class="panels-add-content-modal">
  8. <div class="panels-section-column panels-section-column-categories">
  9. <div class="inside">
  10. <div class="panels-categories-box">
  11. <?php foreach ($categories_array as $category): ?>
  12. <?php print $category; ?>
  13. <?php endforeach; ?>
  14. </div>
  15. <?php print $root_content; ?>
  16. </div>
  17. </div>
  18. <?php print $messages; ?>
  19. <?php if (!empty($header)): ?>
  20. <div class="panels-categories-description">
  21. <?php print $header; ?>
  22. </div>
  23. <?php endif; ?>
  24. <?php if (!empty($columns)): ?>
  25. <div class="panels-section-columns">
  26. <div class="panels-section-columns-quickfilter container-inline">
  27. <label for="quick-filter"><?php print t('Quick-Filter'); ?> </label> <input type="text" name="quickfilter" class="form-text" />
  28. <script type="text/javascript">
  29. (function ($) { Drupal.Panels.AddContentModalQuickFilter(); })(jQuery);
  30. </script>
  31. </div>
  32. <?php foreach ($columns as $column_id => $column): ?>
  33. <div class="panels-section-column panels-section-column-<?php print $column_id; ?> ">
  34. <div class="inside">
  35. <?php print $column; ?>
  36. </div>
  37. </div>
  38. <?php endforeach; ?>
  39. </div>
  40. <?php endif; ?>
  41. </div>