Example #1
0
    <?php 
fire_plugin_hook('public_items_show', array('view' => $this, 'item' => $item));
?>

</div><!-- end primary -->

<div id="secondary">

    <!-- The following returns all of the files associated with an item. -->
    <?php 
if (get_theme_option('Item FileGallery') == 1 && metadata($item, 'has files')) {
    ?>
    <div id="itemfiles" class="element">
        <h2>Files</h2>
        <div class="element-text"><?php 
    echo item_image_gallery();
    ?>
</div>
    </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">
        <h2>Topics</h2>
Example #2
0
    <?php 
if ($images) {
    ?>

    <div id="images">
    <?php 
    echo item_image_gallery(array('linkWrapper' => array('class' => 'show-item-images')), 'square_thumbnail', false, null, $description, true);
    ?>
    </div>
    <?php 
}
Example #3
0
    <?php 
    if (!is_array($doc->tag)) {
        $url = SolrSearch_Helpers_Facet::addFacet("tag", $doc->tag);
        ?>
        <div class="tags"><p><strong><?php 
        echo __('Tags');
        ?>
:</strong>
        <a href="<?php 
        echo $url;
        ?>
" class="facet-value"><?php 
        echo $doc->tag;
        ?>
</a>
    <?php 
    }
    ?>
    

    <?php 
    $item = get_db()->getTable($doc->model)->find($doc->modelid);
    echo item_image_gallery(array('wrapper' => null, 'linkWrapper' => array('class' => 'admin-thumb panel', 'style' => 'display:inline; margin:10px'), 'link' => array('class' => 'link'), 'image' => array('class' => 'image')), 'square_thumbnail', true, $item);
    ?>

  </div>
  
  <hr>

<?php 
}
Example #4
0
if ($itemTitle != '' && $itemTitle != __('[Untitled]')) {
    $itemTitle = ': &quot;' . $itemTitle . '&quot; ';
} else {
    $itemTitle = '';
}
$itemTitle = __('Item #%s', metadata('item', 'id')) . $itemTitle;
echo head(array('title' => $itemTitle, 'bodyclass' => 'items show'));
echo flash();
?>

<section class="seven columns alpha">
    <?php 
echo flash();
?>
    <?php 
echo item_image_gallery(array('linkWrapper' => array('class' => 'admin-thumb panel')), 'square_thumbnail', true);
?>
    <?php 
echo all_element_texts('item');
?>
    <?php 
fire_plugin_hook('admin_items_show', array('item' => $item, 'view' => $this));
?>
</section>

<section class="three columns omega">
    <ul class="pagination">
        <?php 
if ($prevLink = link_to_previous_item_show(__('Prev Item'))) {
    ?>
        <li id="previous-item" class="previous">