<form id="internal_files_form">
    <fieldset class="noborder">
        {include file='r/file-only.tpl' name="internal_file_upload" targettype="image" targetdata="internal"}
    </fieldset>
    
</form>
    
{foreach from=$images_list key="image_name" item="thumb_name"}
    <p class="dialog_make_text_btn ui-corner-all" style="display:block; float:left; width:100px; height:75px; padding:5px; margin:20px 10px 10px 20px; text-align:center;"
        onclick="window.opener.usMceFile.setFile('{img_url uri=$image_name}'); window.close();">
        <img src="{img_url uri=$thumb_name}" style="max-height:75px;max-width:100px;" alt="{$image_name}" />
    </p>
{foreachelse}
    <p>
        {$i.basic_no_result1}
    </p>
{/foreach}
