Mercurial > hg > digitalobjects
comparison digitalobjects-item-tools.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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:6f6e07baad80 |
---|---|
1 <!--<div class="digitalobjects_item_tools">--> | |
2 <!-- TODO: add to basket function, put checkbox in here (if any) --> | |
3 <div class="add-annotate-tools"> | |
4 <?php if (user_access('manage private collections')):?> | |
5 <div class="addbasket"> | |
6 <?php print l(t("+ add to basket"),"digitalobject/". $variables['objid'] ."/add") ?> | |
7 </div> | |
8 <?php endif;?> | |
9 <!-- TODO: annotate function --> | |
10 <?php if (user_access('manage private collections')):?> | |
11 <div class="annotateitem"> | |
12 <?php print l(t("+ annotate item"),"digitalobject/". $variables['objid'] ."/add") ?> | |
13 </div> | |
14 <?php endif;?> | |
15 </div> | |
16 <div class="moredetails"> | |
17 <?php print l(t("details"),"digitalobject/". $variables['objid'], array('attributes' => array('class' => 'ajax-link', 'rel' => 'div.details-'. digitalobjects_clean_css_identifier($variables['objid'])))) ?> | |
18 </div> | |
19 <div class="relatedcollections"> | |
20 <?php print l(t("related collections"),"digitalobject/". $variables['objid'] ."/usage", array('attributes' => array('class' => 'ajax-link', 'rel' => 'div.details-'. digitalobjects_clean_css_identifier($variables['objid'])))) ?> | |
21 </div> | |
22 <!-- TODO: where to put this in layout?--> | |
23 <?php if (user_access('administrate digitalobjects')):?> | |
24 <div class="edititem"> | |
25 <?php print l(t("edit"),"digitalobject/". $variables['objid'] ."/edit") ?> | |
26 </div> | |
27 <?php endif;?> | |
28 <!--</div>--> | |
29 <div class="itemdetails details-<?php print digitalobjects_clean_css_identifier($variables['objid'])?>" id="content-ajax"></div> |