diff digitalobjects-item-thumbnail.tpl.php~ @ 0:6f6e07baad80 default tip

initial
author Dirk Wintergruen <dwinter@mpiwg-berlin.mpg.de>
date Tue, 02 Jun 2015 08:57:48 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/digitalobjects-item-thumbnail.tpl.php~	Tue Jun 02 08:57:48 2015 +0200
@@ -0,0 +1,22 @@
+
+
+<?php if($access): ?>
+
+<div class="digitalobjects_item">
+<table class="digitalobjects_item_short">
+<tr>
+<td class="digitalobjects_item_image">
+<?php if ($objdata['access_type'] !="free"):?>
+<span class="solrsearch_internal" >
+intern
+</span>
+<?php endif ;?>
+<a href="<?php print $objdata['viewerurl']; ?>"><img src="<?php print $objdata['thumburl']; ?>"/></a>
+</td>
+</tr>
+</table>
+</div>
+<?php else: ?>
+<p> <?php print $objid ?>: restricted - due to copyright reasons </p>
+
+<?php endif; ?>