{if $user_can_add}
    <h4>{$i.basic_edit}</h4>
        <li><a href="javascript:correspondence.us_attachment.open();">{$i.correspondence_add_us_attachment}</a></li>
        {if $user_can_multidelete}
            <li><del><a href="javascript:correspondence.delete_selected();">{$i.correspondence_delete_selected}</a></del></li>
        {/if}
{/if}

{if $user_can_add}
    <h4>{$i.correspondence_left_new}</h4>
        <li>
            <span class="dialog_make_btn16 add ui-corner-all" onclick="correspondence.open('add', '', '{addslashes($i.correspondence_create_fee)}. {addslashes($i.correspondence_create_fee1)}.', false, true)">{$i.correspondence_create_fee}</span>
        </li>
        <li>
            <span class="dialog_make_btn16 add ui-corner-all" onclick="correspondence.new_from_file.open();">{$i.correspondence_new_from_file}</span>
        </li>
{/if}

<h4>{$i.basic_actions}</h4>
    <li>
        <span onclick="correspondence.send_selected();">{$i.correspondence_send_selected}</span>
    </li>
    <li>
        <span class="dialog_make_btn16 open_win ui-corner-all" onclick="correspondence.download_zip();">{$i.correspondence_download_zip}</span>
    </li>
    <li>
        <span class="dialog_make_btn16 parent ui-corner-all" title="{$i.basic_global_actions}" onclick="correspondence.auto_update_fulltext();">{$i.correspondence_auto_update_fulltext}</span>
    </li>
    <li>
        <span class="dialog_make_btn16 parent ui-corner-all" title="{$i.basic_global_actions}" onclick="correspondence.auto_update_fulltext_full();">{$i.correspondence_auto_update_fulltext_full}</span>
    </li>

