panels-add-content-modal.tpl.php in Panels 7.3
Template to control the add content modal.
1 theme call to panels-add-content-modal.tpl.php
- panels_renderer_editor::ajax_select_content in plugins/
display_renderers/ panels_renderer_editor.class.php - AJAX command to present a dialog with a list of available content.
File
templates/panels-add-content-modal.tpl.phpView 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>