diff sites/all/modules/custom/digitalobjects/digitalobjects-item.tpl.php @ 0:015d06b10d37 default tip

initial
author dwinter
date Wed, 31 Jul 2013 13:49:13 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/modules/custom/digitalobjects/digitalobjects-item.tpl.php	Wed Jul 31 13:49:13 2013 +0200
@@ -0,0 +1,40 @@
+
+
+<?php if($access): ?>
+
+<div class="digitalobjects_item">
+<table class="digitalobjects_item_full>
+<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>
+<td>
+<table><?php print $objdata['bibdata']; ?></table>
+
+
+          <table>
+              <tr>
+                <td class="type">Document ID:</td>
+              <td class="content"> <?php print $objid ?></td>
+            </tr>
+            <tr>
+              <td   class="type">Permanent URL:</td>
+              <td class="content"> <a href="<?php print $objdata['viewerurl']; ?>"><?php print $objdata['viewerurl']; ?> </a></td>
+            </tr>
+          </table>
+
+</table>
+</td>
+</tr>
+</table>
+</div>
+<?php else: ?>
+<p> <?php print $objid ?>: restricted - do to copyright reasons </p>
+
+<?php endif; ?>