Arc-hive-omeka-theme/view/common/block-layout/list-of-sites.phtml

42 lines
997 B
PHTML
Raw Normal View History

2021-05-24 18:13:23 +02:00
<?php
$archiveSiteHelper = $this->getHelperPluginManager()->get('archiveSiteMeta');
?>
<div class="list-of-sites">
<div class="site-list">
<table>
<thead>
<tr>
2021-05-31 11:50:30 +02:00
<th>Title</th>
<th>Artist</th>
2021-05-24 18:13:23 +02:00
<th>Collection</th>
<th>Date</th>
</tr>
</thead>
<tbody>
<?php
foreach($sites as $site):
$site_meta_values = $archiveSiteHelper->getSiteMetaValues($site);
echo $this->partial('common/site-list-entry', [
'site' => $site,
'showSummary' => $summaries,
'site_meta_values' => $site_meta_values,
'archive_collections' => $archiveSiteHelper->getCollections(),
]);
endforeach;
?>
</tbody>
</table>
</div>
<?php
if (1 == 0):
//if ($pagination):
2021-05-24 18:13:23 +02:00
echo $this->pagination();
endif;
?>
</div>