<link href="include/umeditor/themes/default/css/umeditor.css" type="text/css" rel="stylesheet">
<!-- {if $js neq 'no'} --> 
<script type="text/javascript" src="include/umeditor/umeditor.config.js"></script> 
<script type="text/javascript" src="include/umeditor/umeditor.min.js"></script> 
<script type="text/javascript" src="include/umeditor/lang/zh-cn/zh-cn.js"></script> 
<!-- {/if} -->
<div class="fileBox">
 <div id="{$name}File" class="fileBtn" onclick="fileBox('content', '{$name}', '{$cur}', '{$item_id}');">
  <span class="btnFile">{$lang.file_insert_image}</span>
  <span class="fileStatus" style="display:none"><img src="images/loader.gif" alt="uploading"/></span>
 </div>
 <div id="{$name}BigFile" class="fileBtn" onChange="fileBig('content', '{$name}', '{$cur}', '{$item_id}');">
  <input type="file" class="field">
  <span class="btnFile">{$lang.file_insert_media}<em class="percent"></em></span>
 </div>
</div>
<script type="text/plain" id="{$name}" name="{$name}" class="editor">{$value}</script> 
<script type="text/javascript">var um = UM.getEditor('{$name}')</script>