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,19 @@
+<?php if($access): ?>
+    <div class="digitalobjects_item digitalobjects_item_short">
+        <div class="digitalobjects_item_image thumbnail">
+            <?php if ($objdata['access_type'] !="free"):?>
+                <a href="<?php print $objdata['viewerurl']; ?>">
+                    <img src="<?php print $objdata['thumburl']; ?>"/>
+                    <p class="solrsearch_internal">internal</p>
+                </a>
+            <?php else: ?>
+                <a href="<?php print $objdata['viewerurl']; ?>">
+                    <img src="<?php print $objdata['thumburl']; ?>"/>
+                </a>
+            <?php endif ;?>
+        </div>
+    </div>
+<?php else: ?>
+    <p class="copyright"> <?php print $objid ?>: restricted - due to copyright reasons </p>
+
+<?php endif; ?>