Created
May 4, 2020 16:38
-
-
Save jeremyboggs/cf64882b175f22a7147c45063acb45c9 to your computer and use it in GitHub Desktop.
Example snipped for Omeka's items/show.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- The following returns all of the files associated with an item. --> | |
<?php if (metadata('item', 'has files')): ?> | |
<div id="itemfiles" class="element"> | |
<h3><?php echo __('Files'); ?></h3> | |
<div class="element-text"><?php echo files_for_item(); ?></div> | |
</div> | |
<?php endif; ?> | |
<?php echo all_element_texts('item'); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment