?> <!-- Items metadata --> <div id="item-metadata"> <?php echo all_element_texts('item'); ?> </div> <h3><?php echo __('Files'); ?> </h3> <div id="item-images"> <?php echo files_for_item(); ?> </div> <?php if (metadata('item', 'Collection Name')) { ?> <div id="collection" class="element"> <h3><?php echo __('Collection'); ?> </h3> <div class="element-text"><p><?php echo link_to_collection_for_item(); ?> </p></div>
?> ; "> <div class="carousel-navigation" style="max-width:100%; max-height:100%; width:<?php echo $tempwidth; ?> ; display:<?php echo $setPos; ?> "> <?php foreach ($items as $item) { set_current_record('Item', $item); if (metadata($item, 'has files')) { ?> <?php echo files_for_item(array('linkToFile' => false, 'imageSize' => 'square_thumbnail')); ?> <?php } ?> <?php } ?> </div> <div class="carousel-stage" style="max-width:100%; max-height:100%; width:<?php echo $tempwidth; ?> ;" > <?php foreach ($items as $item) {
<?php echo head(array('title' => metadata($item, array('Dublin Core', 'Title')), 'bodyclass' => 'items show')); ?> <h1><?php echo metadata($item, array('Dublin Core', 'Title')); ?> </h1> <div id="primary"> <?php if (get_theme_option('Item FileGallery') == 0 && metadata('item', 'has files')) { ?> <div id="itemfiles" class="element"> <?php echo files_for_item(array('imageSize' => 'fullsize')); ?> </div> <?php } ?> <!--<h2>Title</h2>--> <!--<?php echo metadata('item', array('Dublin Core', 'Title')); ?> --> <?php if (metadata('item', array('Zotero', 'Author'))) { ?> <h2>Author</h2>
$homepageRecentItems = (int) get_theme_option('Homepage Recent Items') ? get_theme_option('Homepage Recent Items') : '3'; set_loop_records('items', get_item_obj(array('recent' => true, 'type' => 'Text'), $homepageRecentItems)); if (has_loop_records('items')) { ?> <ul class="items-list"> <?php foreach (loop('items') as $item) { ?> <li class="item"> <?php if (metadata('item', 'has thumbnail')) { ?> <?php echo files_for_item(array('item_image' => 'square_thumbnail', 'imgAttributes' => array('alt' => 'Thumbnail for the first content page of the item, linking to the full file.'))); ?> <?php } ?> <h3><?php echo link_to_item(metadata('item', array('Dublin Core', 'Title'), array('snippet' => 150)), array('class' => 'permalink')); ?> </h3> </li> <?php } ?> </ul> <?php