Friday 24 October 2003 12:00:32 am
In my site I did it so:
{section name=Announcements loop=$announcement_list}
...
{section show=eq($current_user.contentobject_id, $Announcements:item.object.owner_id)}
<form name="edit_announcement" method="post" action={"content/action"|ezurl}>
<input type="hidden" name="ContentObjectID" value="{$Announcements:item.contentobject_id}" />
<input class="button" type="submit" name="EditButton" value="{'Edit'|i18n('design/standard/node/view')}" />
</form>
{/section} ... I hope this help you
Regards Adolfo Barragán
|