2008-10-08 17:34:36 +02:00
|
|
|
<h1 id='LSrelation_title_{$item.id}' class='LSrelation'>{$item.label}</h1>
|
2008-02-26 18:40:05 +01:00
|
|
|
{if $item.actions!=''}
|
2008-07-05 22:28:49 +02:00
|
|
|
<ul class='LSview-actions'>
|
2008-02-26 18:40:05 +01:00
|
|
|
{foreach from=$item.actions item=action}
|
2008-10-09 03:31:33 +02:00
|
|
|
<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>
|
2008-02-26 18:40:05 +01:00
|
|
|
{/foreach}
|
2008-07-05 22:28:49 +02:00
|
|
|
</ul>
|
2008-02-26 18:40:05 +01:00
|
|
|
{/if}
|
|
|
|
<ul id='LSrelation_ul_{$item.id}' class='LSrelation'>
|
|
|
|
{foreach from=$item.objectList item=object}
|
2009-11-11 21:00:59 +01:00
|
|
|
<li class='LSrelation'><a href='view.php?LSobject={$item.LSobject}&dn={$object.dn}' class='LSrelation{if $object.canEdit} LSrelation_editable{/if}' id='{$object.dn}'>{$object.text}</a></li>
|
2008-10-08 17:34:36 +02:00
|
|
|
{foreachelse}
|
|
|
|
<li class='LSrelation'>{$item.emptyText}</li>
|
2008-02-26 18:40:05 +01:00
|
|
|
{/foreach}
|
|
|
|
</ul>
|