44 lines
1.1 KiB
PHTML
44 lines
1.1 KiB
PHTML
<?php
|
|
$archiveSiteHelper = $this->getHelperPluginManager()->get('archiveSiteMeta');
|
|
$collections = $archiveSiteHelper->getCollections();
|
|
?>
|
|
|
|
<div class="list-of-sites">
|
|
<div class="site-list">
|
|
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Title</th>
|
|
<th>Artist</th>
|
|
<th>Collection</th>
|
|
<th>Date</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
|
|
<?php
|
|
foreach($sites as $site):
|
|
$site_meta_values = $archiveSiteHelper->getSiteMetaValues($site);
|
|
//echo $this->partial('common/index/site-list-item', [
|
|
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 ($pagination):
|
|
echo $this->pagination();
|
|
endif;
|
|
?>
|
|
</div>
|