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

57 lines
1.6 KiB
PHTML
Raw Permalink Normal View History

2021-05-24 18:13:23 +02:00
<?php
$archiveSiteHelper = $this->getHelperPluginManager()->get('archiveSiteMeta');
?>
<section class="collections-list">
2021-05-24 18:13:23 +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
// read each omeka site to publish
2021-05-24 18:13:23 +02:00
foreach($sites as $site):
$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;
?>
</ul>
</article>
</main>
<aside>
<nav>
<?php
if (1 == 0):
//if ($pagination):
2021-05-24 18:13:23 +02:00
echo $this->pagination();
endif;
?>
</nav>
</aside>
</section>