
<form id="selected_delete_form" style=""
    action="{site_url url="/start/open/mailinboxandoutbox/selected_delete_do/`$xjxcookie`/"}"
    method="POST" enctype="multipart/form-data">

    <div class="ui-dialog-maxheight-scroll" style="max-height:250px; min-height:250px; margin-top:5px;">
        <ul>
            {foreach item="selected_mail" from=$selected_mails}
                <li class="dialog_make_text_btn ui-corner-all" onclick="basicForm.selectable_row.unselect_from_dlg('{$selectable_row_key}',{$selected_mail->id}, this); mailinoutbox.selected_delete_update();">
                    <span class="dialog_make_btn16 delete ui-corner-all"></span>
                {$selected_mail->date->us_date()} {strtok($selected_mail->content, "\n")|truncate:45:"...":true}{*$selected_mail->content|truncate:50*}
                </li>
                {include file='r/hidden.tpl' name="mail_ids[]" default=$selected_mail->id}
            {/foreach}         
        </ul>    
    </div>
</form>