2021-05-24 18:13:23 +02:00
|
|
|
<?php
|
|
|
|
$archiveSiteHelper = $this->getHelperPluginManager()->get('archiveSiteMeta');
|
|
|
|
?>
|
|
|
|
|
2021-06-29 08:51:17 +02:00
|
|
|
<section class="collections-list">
|
2021-05-24 18:13:23 +02:00
|
|
|
|
2021-06-29 08:51:17 +02:00
|
|
|
<header>
|
|
|
|
<h2> Latest in collections</h2>
|
|
|
|
</header>
|
|
|
|
<main class="">
|
|
|
|
<article class="">
|
|
|
|
<ul class="accordion" data-responsive-accordion-tabs="accordion small-accordion" data-multi-expand="true" data-allow-all-closed="true" data-deep-link="true">
|
|
|
|
<li class="accordion-item title" data-accordion-item disabled>
|
|
|
|
<a href="#" class="accordion-title">
|
|
|
|
<ul class="">
|
|
|
|
<li class="title">Title</li>
|
|
|
|
<li class="curator">Artist</li>
|
|
|
|
<li class="collection-name">Collection</li>
|
|
|
|
<li class="date">Date</li>
|
|
|
|
</ul>
|
|
|
|
</a>
|
|
|
|
<div class="accordion-content" data-tab-content>
|
|
|
|
<figure>
|
|
|
|
</figure>
|
|
|
|
<p>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</li>
|
2021-05-24 18:13:23 +02:00
|
|
|
|
|
|
|
<?php
|
2021-06-29 08:51:17 +02:00
|
|
|
// read each omeka site to publish
|
2021-05-24 18:13:23 +02:00
|
|
|
foreach($sites as $site):
|
2021-06-29 08:51:17 +02:00
|
|
|
$site_meta_values = $archiveSiteHelper->getSiteMetaValues($site);
|
|
|
|
// table body build file
|
|
|
|
echo $this->partial('common/site-list-entry', [
|
|
|
|
'site' => $site,
|
|
|
|
'showSummary' => $summaries,
|
|
|
|
'site_meta_values' => $site_meta_values,
|
|
|
|
'archive_collections' => $archiveSiteHelper->getCollections(),
|
|
|
|
]);
|
2021-05-24 18:13:23 +02:00
|
|
|
endforeach;
|
|
|
|
?>
|
2021-06-29 08:51:17 +02:00
|
|
|
</ul>
|
|
|
|
</article>
|
|
|
|
</main>
|
|
|
|
<aside>
|
|
|
|
<nav>
|
|
|
|
<?php
|
|
|
|
if (1 == 0):
|
|
|
|
//if ($pagination):
|
2021-05-24 18:13:23 +02:00
|
|
|
echo $this->pagination();
|
2021-06-29 08:51:17 +02:00
|
|
|
endif;
|
|
|
|
?>
|
|
|
|
</nav>
|
|
|
|
</aside>
|
|
|
|
</section>
|