2021-04-25 09:49:47 +02:00
|
|
|
<?php
|
|
|
|
$translate = $this->plugin('translate');
|
|
|
|
?>
|
|
|
|
<?php $this->htmlElement('body')->appendAttribute('class', 'media resource show'); ?>
|
|
|
|
|
2021-07-20 11:49:59 +02:00
|
|
|
<!-- arc-hive page header-image insert begins -->
|
2021-05-22 21:56:48 +02:00
|
|
|
<?php
|
2021-07-20 11:49:59 +02:00
|
|
|
$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
|
2021-05-22 21:56:48 +02:00
|
|
|
?>
|
|
|
|
<script>
|
2021-05-25 14:13:10 +02:00
|
|
|
<?php
|
2021-05-31 18:10:36 +02:00
|
|
|
$_html = '<a href="'.$this->site->url().'">'.$this->site->title().'</a>';
|
2021-05-25 14:13:10 +02:00
|
|
|
?>
|
|
|
|
$("#archive_page_title").html('<?php echo $_html ?>');
|
2021-05-22 21:56:48 +02:00
|
|
|
</script>
|
2021-07-20 11:49:59 +02:00
|
|
|
<!-- arc-hive page header-image insert ends -->
|
2021-05-22 21:56:48 +02:00
|
|
|
|
2021-05-25 14:13:10 +02:00
|
|
|
|
2021-04-25 09:49:47 +02:00
|
|
|
<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(); ?>
|
2021-05-24 18:54:53 +02:00
|
|
|
|
2021-05-31 18:00:30 +02:00
|
|
|
<button class="end_of_page_button" onclick="window.history.back()">
|
|
|
|
Back
|
2021-05-24 18:54:53 +02:00
|
|
|
</button>
|
|
|
|
|
2021-04-25 09:49:47 +02:00
|
|
|
<?php $this->trigger('view.show.after'); ?>
|