Browse Source

cleaned up the template file a bit

pull/166/head
DannyJoris 12 years ago
parent
commit
2d9e82b79e
  1. 16
      theme/islandora-object.tpl.php

16
theme/islandora-object.tpl.php

@ -58,11 +58,11 @@
<?php endif; ?> <?php endif; ?>
<div class="islandora-object islandora"> <div class="islandora-object islandora">
<h2>Details</h2> <h2><?php print t('Details'); ?></h2>
<dl class="islandora-object-tn"> <dl class="islandora-object-tn">
<dt> <dt>
<?php if (isset($variables['islandora_thumbnail_url'])): ?> <?php if (isset($variables['islandora_thumbnail_url'])): ?>
<?php print('<img src = "'.$variables['islandora_thumbnail_url'].'"/>'); ?></dt> <img src="<?php print $variables['islandora_thumbnail_url']; ?>"/></dt>
<?php endif; ?> <?php endif; ?>
<dd></dd> <dd></dd>
</dl> </dl>
@ -88,15 +88,15 @@
</dl> </dl>
</div> </div>
<fieldset class="collapsible collapsed" style="display: block; clear:both"> <fieldset class="collapsible collapsed" style="display: block; clear:both">
<legend><span class="fieldset-legend">File Details</span></legend> <legend><span class="fieldset-legend"><?php print t('File details'); ?></span></legend>
<div class="fieldset-wrapper"> <div class="fieldset-wrapper">
<table> <table>
<tr> <tr>
<th>ID</th> <th><?php print t('ID'); ?></th>
<th>Label</th> <th><?php print t('Label'); ?></th>
<th>Size</th> <th><?php print t('Size'); ?></th>
<th>Mimetype</th> <th><?php print t('Mimetype'); ?></th>
<th>Created</th> <th><?php print t('Created'); ?></th>
</tr> </tr>
<?php foreach($datastreams as $key => $value): ?> <?php foreach($datastreams as $key => $value): ?>
<tr> <tr>

Loading…
Cancel
Save