
This reverts commit e9ad11742876f9f78d743a28afd547ee7480c7f9, reversing changes made to f30fc6204a6bc7643d7952b1df98a3aa7b462dea.
47 lines
1.1 KiB
Smarty
Executable File
47 lines
1.1 KiB
Smarty
Executable File
{if !isset($smarty.request.mod) || $smarty.request.mod != 'inline'}
|
|
<h2>{$panelstrings.head}</h2>
|
|
<p>{$panelstrings.descr}</p>
|
|
{/if}
|
|
|
|
{include file='shared:errorlist.tpl'}
|
|
|
|
|
|
{if $success}
|
|
<ul id="admin-uploader-filelist">
|
|
{foreach from=$uploaded_files item=file}
|
|
{*
|
|
|
|
memo: this did the trick in the panel
|
|
<a href="javascript:window.parent.window.insImage('{$file}');">
|
|
|
|
*}
|
|
<li>{$file}</li>
|
|
{/foreach}
|
|
</ul>
|
|
{/if}
|
|
|
|
{html_form enctype='multipart/form-data'}
|
|
|
|
|
|
{if !isset($smarty.request.mod) || $smarty.request.mod != 'inline'}
|
|
<fieldset><legend>{$panelstrings.fset1}</legend>
|
|
{/if}
|
|
<input type="file" name="upload[]" />
|
|
<input type="file" name="upload[]" />
|
|
<input type="file" name="upload[]" />
|
|
<input type="file" name="upload[]" />
|
|
<input type="file" name="upload[]" />
|
|
<input type="file" name="upload[]" />
|
|
<input type="file" name="upload[]" />
|
|
<input type="file" name="upload[]" />
|
|
|
|
{if !isset($smarty.request.mod) || $smarty.request.mod != 'inline'}
|
|
</fieldset>
|
|
{/if}
|
|
|
|
<div class="buttonbar">
|
|
{html_submit name="upload" id="upload" value=$panelstrings.submit}
|
|
</div>
|
|
|
|
{/html_form}
|