<table class="list">
{foreach item="opta" from=$opentasks}
    <tr id="portlet_unread_opentasks_{$opta->id}" class="portlettooltip smallbtns" onclick="usComm.loadPage('opentasks','index', 'view', {$opta->id})">
        <td><span class="dialog_make_btn14 not_read">x</span></td>
        <td>{$opta->todo_date->us_date()}</td>
        <td  style="width:100%">{$opta->purpose}
            {include file='Opentasks/_portlet_tooltip.tpl' id="portlet_unread_opentasks_{$opta->id}" data=$opta lang=$i}
        </td>
        <td style="width: 10px;" onClick="event.stopPropagation();">
            {include file='Opentasks/_module_list.tpl' 
                opentask=$opta small=true}
        </td>
    </tr>
{/foreach}
</table>