summaryrefslogtreecommitdiffstats
path: root/media-views-view-media-browser.tpl.php
blob: b37f0cf52e568472ee734940e0db0cfcfcbceda3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
/**
 * @file media-views-view-media-browser.tpl.php
 * View template to display a grid of media previews in the media browser.
 *
 * @see views-view-list.tpl.php
 * @see template_preprocess_media_views_view_media_browser()
 * @ingroup views_templates
 */
?>

<?php print $wrapper_prefix; ?>
  <div class="clearfix">
    <?php print $list_type_prefix; ?>
      <?php foreach ($rows as $id => $row): ?>
        <li id="media-item-<?php print $row->fid; ?>" class="<?php print $classes_array[$id]; ?>">
          <?php print $row->preview; ?>
        </li>
      <?php endforeach; ?>
    <?php print $list_type_suffix; ?>
    <div id="status"></div>
  </div>
<?php print $wrapper_suffix; ?>