<table class="list">
    <thead>
        <tr>
            <th></th>
            <th>{$i.correspondence_subject}</th>
            <th>{$i.correspondence_project_number}</th>
            <th>{$i.correspondence_project_name2}</th>
            <th>{ucfirst($i.correspondence_lock2)}</th>
            <th>{$i.basic_status}</th>
        </tr>
    </thead>
{foreach item="corrlock" from=$correspondence_locked_list}
    <tr class="smallbtns">
        <td>
            <span class="dialog_make_text_btn smallbtnslike ui-corner-all"
                onclick="$(this).css('visibility', 'hidden'); openx('portlet', 'correspondence_locked', 'unlock', '{$corrlock->id}', '{$portlet_id}');">{$i.correspondence_rem_lock}
            </span>

            <a href="{site_url url="start/open/correspondence/index/$xjxcookie/view/{$corrlock->id}/"}"
                onclick="usComm.windowOpen(this.href); return false;" style="margin-left: 10px;"
                class="dialog_make_btn16 correspondence smallbtns ui-corner-all" title="{$i.basic_view}"></a>
        </td>
        <td title="{$corrlock->correspondence_subject}">{$corrlock->correspondence_subject|truncate:80}</td>
        <td>{$corrlock->project_number}</td>
        <td>{$corrlock->project_name}</td>
        <td>{$corrlock->lock_time->us_date_time()}</td>
        <td>{if $corrlock->is_active}{$i.basic_active}{else}{$i.basic_inactive}{/if}</td>
    </tr>
{/foreach}
</table>
