You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
73 lines
2.7 KiB
73 lines
2.7 KiB
13 years ago
|
<?php
|
||
|
|
||
|
/*
|
||
13 years ago
|
* islandora-basic-image.tpl.php
|
||
13 years ago
|
*
|
||
13 years ago
|
*
|
||
13 years ago
|
*
|
||
13 years ago
|
* This file is part of Islandora.
|
||
13 years ago
|
*
|
||
|
* This program is free software: you can redistribute it and/or modify
|
||
|
* it under the terms of the GNU General Public License as published by
|
||
|
* the Free Software Foundation, either version 3 of the License, or
|
||
|
* (at your option) any later version.
|
||
|
*
|
||
|
* This program is distributed in the hope that it will be useful,
|
||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
* GNU General Public License for more details.
|
||
|
*
|
||
|
* You should have received a copy of the GNU General Public License
|
||
|
* along with the program. If not, see <http ://www.gnu.org/licenses/>.
|
||
|
*/
|
||
|
?>
|
||
13 years ago
|
<?php if(isset($islandora_object_label)): ?>
|
||
13 years ago
|
<?php drupal_set_title("$islandora_object_label"); ?>
|
||
|
<?php endif; ?>
|
||
13 years ago
|
|
||
13 years ago
|
<div class="islandora-basic-image-object islandora">
|
||
13 years ago
|
<div class="islandora-basic-image-content-wrapper clearfix">
|
||
|
<?php if(isset($islandora_medium_img)): ?>
|
||
|
<div class="islandora-basic-image-content">
|
||
|
<?php if(isset($islandora_full_url)): ?>
|
||
|
<?php print l($islandora_medium_img, $islandora_full_url, array('html' => TRUE)); ?>
|
||
13 years ago
|
<?php elseif(isset($islandora_medium_img)): ?>
|
||
|
<?php print $islandora_medium_img; ?>
|
||
13 years ago
|
<?php endif; ?>
|
||
|
</div>
|
||
13 years ago
|
<?php endif; ?>
|
||
13 years ago
|
<div class="islandora-basic-image-sidebar">
|
||
13 years ago
|
<?php if(isset($dc_array['dc:description']['value'])): ?>
|
||
13 years ago
|
<h2><?php print $dc_array['dc:description']['label']; ?></h2>
|
||
13 years ago
|
<p><?php print $dc_array['dc:description']['value']; ?></p>
|
||
|
<?php endif; ?>
|
||
13 years ago
|
<?php if($parent_collections): ?>
|
||
13 years ago
|
<div>
|
||
13 years ago
|
<h2>In Collections</h2>
|
||
13 years ago
|
<ul>
|
||
|
<?php foreach($parent_collections as $key => $value): ?>
|
||
|
<li><?php print $value['label_link'] ?></li>
|
||
|
<?php endforeach; ?>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<?php endif; ?>
|
||
13 years ago
|
</div>
|
||
13 years ago
|
</div>
|
||
13 years ago
|
<fieldset class="collapsible collapsed islandora-basic-image-metadata">
|
||
|
<legend><span class="fieldset-legend">Extended Details</span></legend>
|
||
|
<div class="fieldset-wrapper">
|
||
13 years ago
|
<dl class="islandora-inline-metadata islandora-basic-image-fields">
|
||
13 years ago
|
<?php $row_field = 0; ?>
|
||
|
<?php foreach($dc_array as $key => $value): ?>
|
||
|
<dt class="<?php print $value['class']; ?><?php print $row_field == 0 ? ' first' : ''; ?>">
|
||
|
<?php print $value['label']; ?>
|
||
|
</dt>
|
||
|
<dd class="<?php print $value['class']; ?><?php print $row_field == 0 ? ' first' : ''; ?>">
|
||
|
<?php print $value['value']; ?>
|
||
|
</dd>
|
||
|
<?php $row_field++; ?>
|
||
|
<?php endforeach; ?>
|
||
|
</dl>
|
||
|
</div>
|
||
|
</fieldset>
|
||
|
</div>
|