<?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]; ?>" tabindex="0" role="<?php print $aria_role; ?>" aria-checked="false">
          <?php print $row->preview; ?>
        </li>
      <?php endforeach; ?>
    <?php print $list_type_suffix; ?>
    <div id="status"></div>
  </div>
<?php print $wrapper_suffix; ?>
