This commit is contained in:
real_nowhereman 2009-12-17 17:52:49 +00:00
parent b8be9cb27a
commit a5d37a6602
2 changed files with 3 additions and 3 deletions

View File

@ -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}

View File

@ -46,7 +46,7 @@ function smarty_block_html_form($params, $content, &$smarty)
$params['action']=BLOG_BASEURL . "admin.php?p=". ADMIN_PANEL.'&amp;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) {