Mercurial > hg > drupalISMI
view openmindattribute/templates/openmindattribute-item-thumbnail.tpl.php @ 33:7e2e344c3b87
make name of type attribute configurable. default '_type' for nodes.
author | casties |
---|---|
date | Tue, 02 Feb 2016 14:41:08 +0100 |
parents | 667b6597a676 |
children |
line wrap: on
line source
<div class="digitalobjects_item"> <table class="digitalobjects_item_short"> <tr> <td class="digitalobjects_item_image"> <?php if ($type=="WITNESS"):?> <a href="/om4-ismi/public/publicWitness.jsp?eid=<?php print $entid ?>"><img src="<?php print $objdata['thumburl']; ?>"/></a> <?php endif;?> <?php if ($type=="CODEX"):?> <a href="/om4-ismi/public/publicCodex.jsp?eid=<?php print $entid ?>"><img src="<?php print $objdata['thumburl']; ?>"/></a> <?php endif;?> </td> </tr> </table> </div>