</div> <?php } ?> <!-- The following prints a list of all tags associated with the item --> <?php if (metadata('item', 'has tags')) { ?> <div id="item-tags" class="element"> <h3><?php echo __('Tags'); ?> </h3> <div class="element-text"><?php echo tag_string('item'); ?> </div> </div> <?php } ?> <!-- The following prints a citation for this item. --> <div id="item-citation" class="element"> <h3><?php echo __('Citation'); ?> </h3> <div class="element-text"><?php echo metadata('item', 'citation', array('no_escape' => true));
</div> </div> </article> </div> <div class="waterfall-gallery"> <?php foreach ($attachments as $attachment) { ?> <?php $item = $attachment->getItem(); $itemLink = record_url($item); $itemImageTag = item_image('square_thumbnail', array(), 0, $item); $itemTitle = metadata($item, array('Dublin Core', 'Title')); $itemDescription = metadata($item, array('Dublin Core', 'Description'), array('snippet' => 250)); $itemTags = tag_string($item, 'items/browse', ''); ?> <div class="waterfall-exhibit-item" onclick="window.location='<?php echo $itemLink; ?> '"> <?php echo $itemImageTag; ?> <h1><?php echo $itemTitle; ?> </h1> <p><?php echo $itemDescription; ?>
?> <?php } ?> <?php if ($exhibitDescription = metadata('exhibit', 'description', array('no_escape' => true))) { ?> <div class="description"><?php echo $exhibitDescription; ?> </div> <?php } ?> <?php if ($exhibitTags = tag_string('exhibit', 'exhibits')) { ?> <p class="tags"><?php echo $exhibitTags; ?> </p> <?php } ?> </div> <?php } ?> <?php echo pagination_links(); ?>
?> </p> </div> <?php } ?> <?php if (metadata($item, 'has tags')) { ?> <div class="tags"><p><strong><?php echo __('Topics'); ?> : </strong> <?php echo tag_string('items'); ?> </p> </div> <?php } ?> <?php echo fire_plugin_hook('public_items_browse_each', array('view' => $this, 'item' => $item)); ?> </div><!-- end class="item-meta" --> </div><!-- end class="item hentry" --> <?php }
</h2> <?php if ($description = metadata('exhibit', 'description', array('snippet' => 250, 'no_escape' => true))) { ?> <div class="description"> <?php echo $description; ?> </div> <?php } ?> <?php if ($tags = tag_string('exhibits', 'exhibits', ' ')) { ?> <div class="tags"> <?php echo __('Tags:'); ?> <?php echo $tags; ?> </p> </div> <?php } ?> </div>
if (count($exhibits) > 0) { ?> <?php echo pagination_links(); ?> <div class="search-results"> <?php foreach (loop('exhibit') as $exhibit) { ?> <?php $exhibitLink = record_url(get_current_record('exhibit')); $exhibitTitle = metadata('exhibit', 'title', array('no_escape' => true)); $exhibitImage = record_image($exhibit, 'square_thumbnail'); $exhibitDescription = metadata('exhibit', 'description', array('no_escape' => true, 'snippet' => 150)); $exhibitTags = tag_string('exhibit', 'exhibits', ''); ?> <div class="exhibit-item" onclick="window.location='<?php echo $exhibitLink; ?> '"> <?php echo $exhibitImage; ?> <h1><?php echo $exhibitTitle; ?> </h1> <p><?php echo $exhibitDescription;
<p> <strong><?php echo __('Collection'); ?> :</strong> <?php echo link_to_collection_for_item(); ?> </p> <p> <strong><?php echo __('Tags'); ?> :</strong> <?php if ($tags = tag_string('items')) { echo $tags; } else { echo __('No Tags'); } ?> </p> <?php fire_plugin_hook('admin_items_browse_detailed_each', array('item' => $item, 'view' => $this)); ?> </div> </td> <td><?php echo strip_formatting(metadata('item', array('Dublin Core', 'Creator'))); ?> </td>
if (metadata('item', 'has tags')) { ?> <div id="item-tags" class="element"> <?php if (is_string($style['item']['show']['tags'])) { ?> <h3><?php echo $style['item']['show']['tags']; ?> </h3> <?php } ?> <div class="element-text"> <p class="tags"><?php echo tag_string('items', 'items/browse', ' '); ?> </p> </div> </div> <?php } } ?> <?php if (!empty($style['item']['show']['citation'])) { ?> <div id="item-citation" class="element"> <?php if (is_string($style['item']['show']['citation'])) {
$title = metadata('item', array('Dublin Core', 'Title')); $subject = metadata('item', array('Dublin Core', 'Subject')); $description = metadata('item', array('Dublin Core', 'Description')); $creators = metadata('item', array('Dublin Core', 'Creator')); $source = metadata('item', array('Dublin Core', 'Source')); $publisher = metadata('item', array('Dublin Core', 'Publisher')); $date = metadata('item', array('Dublin Core', 'Date')); $contributors = metadata('item', array('Dublin Core', 'Contributor')); $rights = metadata('item', array('Dublin Core', 'Rights')); $relation = metadata('item', array('Dublin Core', 'Relation')); $format = metadata('item', array('Dublin Core', 'Format')); $language = metadata('item', array('Dublin Core', 'Language')); $type = metadata('item', array('Dublin Core', 'Type')); $identifier = metadata('item', array('Dublin Core', 'Identifier')); $coverage = metadata('item', array('Dublin Core', 'Coverage')); $tags = tag_string('item', 'items/browse', ''); $citation = metadata('item', 'citation', array('no_escape' => true)); $collection = link_to_collection_for_item(); $outputFormat = output_format_list(false, ''); function showItemDescriptionTag($tagName, $tagVal) { echo __('<div class="item-description-tag">'); echo __(' <h1>' . $tagName . '</h1>'); if ($tagName == 'TITLE') { echo __(' <b>' . $tagVal . '</b>'); } else { echo __(' <p>' . $tagVal . '</p>'); } echo __('</div>'); } ?>
?> </nav> <div class="pagination top"><?php echo pagination_links(); ?> </div> <?php $index = 1; // set index to one so we can use zero as an argument below $showImgNum = 3; // show this many images on the browse results page; used for slider on mobile devices foreach (loop('Items') as $item) { $description = metadata($item, array('Dublin Core', 'Description'), array('snippet' => 250)); $tags = tag_string(get_current_record('item'), url('items/browse')); $thumblink = link_to_item(item_image('square_thumbnail')); $titlelink = link_to_item(metadata($item, array('Dublin Core', 'Title')), array('class' => 'permalink')); ?> <article class="item-result" id="item-result-<?php echo $index; ?> "> <h3><?php echo $titlelink; ?> </h3> <?php if (metadata($item, 'has thumbnail') && mh_reducepayload($index, $showImgNum)) {
} ?> <?php if (is_allowed($exhibit, 'delete')) { ?> <li><?php echo link_to($exhibit, 'delete-confirm', __('Delete'), array('class' => 'delete-confirm')); ?> </li> <?php } ?> </ul> </td> <td><?php echo tag_string($exhibit, 'exhibits'); ?> </td> <?php if ($exhibit->theme == null) { $themeName = __('Current Public Theme'); } else { $theme = Theme::getTheme($exhibit->theme); $themeName = !empty($theme->title) ? $theme->title : $exhibit->theme; } ?> <td><?php echo html_escape($themeName); ?> </td> <td><?php
<?php echo text_to_paragraphs($description); ?> </div> <?php } ?> <?php } ?> <?php if (!empty($style['item']['browse']['tags'])) { ?> <?php if ($tags = tag_string('items', 'items/browse', ' ')) { ?> <div class="tags"> <?php if (is_string($style['item']['browse']['tags'])) { ?> <?php echo $style['item']['browse']['tags']; ?> <?php } ?> <?php echo $tags; ?> </div>
<?php if ($description) { ?> <p class="item-description"> <?php echo $description; ?> </p> <?php } ?> <?php if (metadata($item, 'has tags')) { ?> <p class="tags"><p><strong><?php echo __('Tags'); ?> :</strong> <?php echo tag_string($item); ?> </p> </p> <?php } ?> </div> </div>