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

42 lines
1.0 KiB
PHTML
Raw Normal View History

2021-05-08 14:09:02 +02:00
<?php
$summary = $showSummary ? $site->summary() : null;
?>
2021-05-24 18:13:23 +02:00
2021-05-31 15:50:08 +02:00
<tr class="_expand_site_item">
2021-05-08 14:09:02 +02:00
<td>
2021-05-31 15:50:08 +02:00
<?= $site->title() ?>
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): ?>
2021-05-31 15:50:08 +02:00
<img src="<?= $site_meta_values['thumbnail']; ?>" />
2021-05-08 14:09:02 +02:00
<?php endif; ?>
</td>
<td colspan="3">
<?php if ($summary): ?>
<?php echo nl2br($this->escapeHtml($summary)); ?>
2021-05-31 15:50:08 +02:00
<br />
2021-05-08 14:09:02 +02:00
<?php endif; ?>
2021-05-31 18:00:30 +02:00
<button class="go_to_site_button"
onclick="window.location.href = '<?= $site->siteUrl() ?>'">
View
</button>
2021-05-08 14:09:02 +02:00
</td>
</tr>