49 lines
1.2 KiB
PHTML
49 lines
1.2 KiB
PHTML
|
|
<!--
|
|
We have modified omkeka/site/item/show.phtml to render a link to the original
|
|
files intead of the media page (this page).
|
|
That means that this page is not (in theory) used.
|
|
-->
|
|
|
|
<?php
|
|
$translate = $this->plugin('translate');
|
|
?>
|
|
<?php $this->htmlElement('body')->appendAttribute('class', 'media resource show'); ?>
|
|
|
|
<!-- arc-hive page header-image insert begins -->
|
|
<?php
|
|
$img_src = null;
|
|
$img_src = $this->getHelperPluginManager()->get('archiveSiteMeta')->getSiteImage($site);
|
|
if (!$img_src) {
|
|
$img_src = $this->assetUrl('img/ARC-HIVE-logo.svg');
|
|
}
|
|
?>
|
|
<style>
|
|
.arc-page-header-img {
|
|
content: url("<?= $img_src ?>");
|
|
}
|
|
</style>
|
|
<?php
|
|
?>
|
|
<script>
|
|
<?php
|
|
$_html = '<a href="'.$this->site->url().'">'.$this->site->title().'</a>';
|
|
?>
|
|
$("#archive_page_title").html('<?php echo $_html ?>');
|
|
</script>
|
|
<!-- arc-hive page header-image insert ends -->
|
|
|
|
|
|
<div class="resource-title">
|
|
<?php echo $this->pageTitle($media->displayTitle(), 2); ?>
|
|
</div>
|
|
<?php $this->trigger('view.show.before'); ?>
|
|
<?php echo $media->render(); ?>
|
|
<?php echo $media->displayValues(); ?>
|
|
|
|
<button class="end_of_page_button" onclick="window.history.back()">
|
|
Back
|
|
</button>
|
|
|
|
<?php $this->trigger('view.show.after'); ?>
|