Arc-hive-omeka-theme/view/common/site-list-entry.phtml

36 lines
969 B
PHTML
Raw Normal View History

2021-05-08 14:09:02 +02:00
<?php
$summary = $showSummary ? $site->summary() : null;
?>
<tr class="_expandable_site_item">
<td>
<?php echo $this->hyperlink($site->title(), $site->siteUrl(), ['class' => 'site-link']); ?>
2021-05-08 14:09:02 +02:00
</td>
<td>
<?php if ($site_meta_values != null): ?>
<?= $site_meta_values['currator']; ?><br />
<?php endif; ?>
</td>
<td>
<?php if ($site_meta_values != null): ?>
<?= $archive_collections[$site_meta_values['collection']]; ?>
<?php endif; ?>
</td>
<td>
<?php if ($site_meta_values != null): ?>
<?= $site_meta_values['project_date']; ?>
<?php endif; ?>
</td>
</tr>
<tr style="display:none">
<td>
<?php if ($site_meta_values != null): ?>
<?= $site_meta_values['thumbnail']; ?>
<?php endif; ?>
</td>
<td colspan="3">
<?php if ($summary): ?>
<?php echo nl2br($this->escapeHtml($summary)); ?>
<?php endif; ?>
</td>
</tr>