media-browser-plus-views-view-media-browser.tpl.php in Media Browser Plus 7.3
View template to display a grid of media previews in the media browser.
File
views/media-browser-plus-views-view-media-browser.tpl.phpView source
<?php
/**
* @file
* 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
*/
print $wrapper_prefix;
?>
<table>
<thead>
<tr>
<?php
if (!empty($folders)) {
?><th width="200"><?php
print t('Folders');
?></th><?php
}
?>
<th width="*"><?php
print t('Media Files');
?></th>
</tr>
</thead>
<tbody>
<tr>
<?php
if (!empty($folders)) {
?><td class="mbp-folders"><?php
print $folders;
?></td><?php
}
?>
<td class="mbp-file-list">
<?php
print $list_type_prefix;
?>
<?php
foreach ($rows as $id => $row) {
?>
<li id="media-item-<?php
print $view->result[$id]->fid;
?>" class="<?php
print $classes_array[$id];
?>">
<?php
print $row;
?>
</li>
<?php
}
?>
<?php
print $list_type_suffix;
?>
<div id="status"></div>
</td>
</tr>
</tbody>
</table>
<?php
print $wrapper_suffix;