This commit is contained in:
parent
b8be9cb27a
commit
a5d37a6602
@ -20,7 +20,7 @@
|
||||
</ul>
|
||||
{/if}
|
||||
|
||||
{html_form}
|
||||
{html_form enctype='multipart/form-data'}
|
||||
|
||||
|
||||
{if $smarty.request.mod != 'inline'}
|
||||
@ -43,4 +43,4 @@
|
||||
{html_submit name="upload" id="upload" value=$panelstrings.submit}
|
||||
</div>
|
||||
|
||||
{/html_form}
|
||||
{/html_form}
|
||||
|
@ -46,7 +46,7 @@ function smarty_block_html_form($params, $content, &$smarty)
|
||||
$params['action']=BLOG_BASEURL . "admin.php?p=". ADMIN_PANEL.'&action=' .ADMIN_PANEL_ACTION;
|
||||
|
||||
if (!isset($params['enctype']))
|
||||
$params['enctype']="multipart/form-data";
|
||||
$params['enctype']="application/x-www-form-urlencoded"; // multipart/form-data
|
||||
|
||||
|
||||
foreach ($params as $key => $val) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user