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
|
2021-05-31 16:58:51 +02:00
|
|
|
if (1 == 0):
|
|
|
|
//if ($pagination):
|
2021-05-24 18:13:23 +02:00
|
|
|
echo $this->pagination();
|
|
|
|
endif;
|
|
|
|
?>
|
|
|
|
</div>
|