738d3e7225dffab254ab4218f1f5b6aebe41f198
[ldapsaisie.git] / public_html / templates / default / LSrelations.tpl
1 <h1 id='LSrelation_title_{$item.id}' class='LSrelation'>{$item.label}</h1>
2 {if $item.actions!=''}
3   <ul class='LSview-actions'>
4   {foreach from=$item.actions item=action}
5     <li class='LSview-actions'><a href='{$action.url}' class='LSview-actions LSrelation_modify' id='{$item.id}'><img src='{$LS_IMAGES_DIR}/{$action.action}.png' alt='{$action.label}' title='{$action.label}' /> {$action.label}</a></li>
6   {/foreach}
7   </ul>
8 {/if}
9 <ul id='LSrelation_ul_{$item.id}' class='LSrelation'>
10 {foreach from=$item.objectList item=object}
11   <li class='LSrelation'><a href='view.php?LSobject={$item.LSobject}&amp;dn={$object.dn}' class='LSrelation{if $object.canEdit} LSrelation_editable{/if}' id='{$object.dn}'>{$object.text}</a></li>
12 {foreachelse}
13   <li class='LSrelation'>{$item.emptyText}</li>
14 {/foreach}
15 </ul>