2 <form method="post" action="{$post}" enctype="multipart/form-data">
3 <input type="hidden" name="dir" value="{$smarty.request.dir}" />
4 <input type="hidden" name="MAX_FILE_SIZE" value="{$maxsize}" />
5 <table class="light" style="width: 90%; margin-bottom: 15px;">
7 <td><input type="radio" name="action" value="file_upload" {if !$smarty.request.action || ($smarty.request.action == "file_upload")}checked="checked" {/if}/> {$msg_import}</td>
8 <td><input type="file" name="userfile" /></td>
9 <td rowspan="3"><input type="submit" value="{$msg_btn_fileop}" /></td>
13 <input type="radio" name="action" value="fileop" {if $smarty.request.action == "fileop"}checked="checked" {/if}/>
17 {html_options name='file_action' options=$fileops selected=$smarty.request.file_action}
18 <select name="fileop_sfile">
19 {foreach from=$childfiles item=entry}
20 <option value="{$entry.file}" {if $entry.file == $smarty.request.fileop_sfile}selected="selected" {/if}>{$entry.file}</option>
24 {html_options name='fileop_ddir' options=$fileop_ddirs selected=$smarty.request.fileop_ddir}
28 <td><input type="radio" name="action" value="file_create" {if $smarty.request.action == "file_create"}checked="checked" {/if}/> {$msg_create}</td>
29 <td><input type="text" name="createfile" value="{$smarty.request.createfile}" /></td>
35 {include file='page-browser.tpl'}