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

37 lines
970 B
PHTML

<?php
$summary = $showSummary ? $site->summary() : null;
?>
<tr class="_expandable_site_item">
<td>
<?php echo $this->hyperlink($site->title(), $site->siteUrl(), ['class' => 'site-link']); ?>
</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>