Archive.org-omeka-module/view/common/block-layout/archiveOrg.phtml

42 lines
742 B
PHTML
Raw Normal View History

2021-04-17 19:39:48 +02:00
<div class="archive_org-wrap" style="position:relative;">
2021-04-17 19:13:22 +02:00
<?php if ($renderSourceLink) { ?>
<div class="source-link">
<a href="<?= $item_url ?>">Source</a>
</div>
<?php } ?>
2021-04-17 19:13:22 +02:00
<?php
if ($title !== false && $title !== "") {
2021-04-17 19:39:48 +02:00
$title = sprintf('<p id="achive_org_media-title">%s</p>', $title);
2021-04-17 19:13:22 +02:00
} else {
$title = false;
}
?>
2021-04-17 19:39:48 +02:00
<?php if ($media_type != "audio") { ?>
2021-04-17 19:13:22 +02:00
<style>
#<?= $id ?> {
height: <?= $height ?>px;
width: <?= $width ?>px;
}
</style>
<?php } ?>
2021-04-17 19:39:48 +02:00
<iframe
id="<?= $id ?>"
src="<?= $url ?>"
frameborder="0"
webkitallowfullscreen="true"
mozallowfullscreen="true"
allowfullscreen >
</iframe>
2021-04-17 19:13:22 +02:00
<?php if ($title) { ?>
<div class="item_title">
<?= $title ?>
</div>
<?php } ?>
2021-04-17 19:13:22 +02:00
</div>