issue 2282, fixed a bug that does not display uploaded image

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@11092 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flyskyko 2012-08-27 06:27:16 +00:00
parent d884a771ca
commit edde8702bc

View file

@ -78,7 +78,7 @@
<block cond="$var->type == 'image'">
<input type="hidden" name="{$name}" id="file_{$name}" value="{$var->value}" />
<div id="preview_{$name}" style="display:none;"|cond="!$var->value">
<img src="../../../{$var->value}" cond="$var->value" alt="" style="max-width: 250px" />
<img src="../../../{$var->value}"|cond="$var->value" alt="" style="max-width: 250px" />
<input type="button" value="{$lang->cmd_delete}" onclick="deleteImage('{$name}')" />
</div>
<form action="./" enctype="multipart/form-data" method="post" target="hiddenIframe" class="imageUpload">