Sin descripción
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

release_field.htm 26KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416
  1. {volist name="$addonFieldExtList" id="vo"}
  2. {if !isset($vo.ifeditable) || $vo.ifeditable}
  3. {switch name="vo.dtype"}
  4. {case value="hidden"}
  5. <!-- 隐藏域 start -->
  6. <dl class="row" style="display: none;">
  7. <dt class="tit">
  8. <label>{if condition="isset($vo['ifrequire']) AND !empty($vo['ifrequire'])"}<em>*</em>{/if}{$vo.title|default=''}</label>
  9. </dt>
  10. <dd class="opt">
  11. <input type="hidden" class="input-txt" id="{$vo.fieldArr}_{$vo.name|default=''}" name="{$vo.fieldArr}[{$vo.name|default=''}]" value="{$vo.dfvalue|default=''}">
  12. <span class="err"></span>
  13. <p class="notic">{$vo.remark|default=''}</p>
  14. </dd>
  15. </dl>
  16. <!-- 隐藏域 start -->
  17. {/case}
  18. {case value="region"}
  19. <!-- 区域选项 start -->
  20. <div class="row">
  21. <div class="col-xs-2">
  22. <label for="title">{if condition="isset($vo['ifrequire']) AND !empty($vo['ifrequire'])"}<em>*</em>{/if}{$vo.title|default=''}</label>
  23. </div>
  24. <div class="col-xs-9">
  25. {volist name="$vo.dfvalue" id="v2"}
  26. <label>
  27. <input type="radio" id="{$vo.fieldArr}_{$vo.name|default=''}" name="{$vo.fieldArr}[{$vo.name|default=''}]" value="{$v2['id']}" {if condition="isset($vo['trueValue']) AND in_array($v2['id'], $vo['trueValue'])"}checked="checked"{/if}>{$v2['name']}
  28. </label>&nbsp;
  29. {/volist}
  30. <span class="err"></span>
  31. <p class="notic">{$vo.remark|default=''}</p>
  32. </div>
  33. </div>
  34. <!-- 区域选项 end -->
  35. {/case}
  36. {case value="text"}
  37. <!-- 单行文本框 start -->
  38. <div class="row">
  39. <div class="col-xs-2">
  40. <label for="title">{if condition="isset($vo['ifrequire']) AND !empty($vo['ifrequire'])"}<em>*</em>{/if}{$vo.title|default=''}</label>
  41. </div>
  42. <div class="col-xs-9">
  43. <input type="text" class="input-txt" id="{$vo.fieldArr}_{$vo.name|default=''}" name="{$vo.fieldArr}[{$vo.name|default=''}]" value="{$vo.dfvalue|default=''}">&nbsp;{$vo.dfvalue_unit|default=''}
  44. <span class="err"></span>
  45. <p class="notic">{$vo.remark|default=''}</p>
  46. </div>
  47. </div>
  48. <!-- 单行文本框 end -->
  49. {/case}
  50. {case value="multitext"}
  51. <!-- 多行文本框 start -->
  52. <div class="row">
  53. <div class="col-xs-2">
  54. <label for="title">{if condition="isset($vo['ifrequire']) AND !empty($vo['ifrequire'])"}<em>*</em>{/if}{$vo.title|default=''}</label>
  55. </div>
  56. <div class="col-xs-9">
  57. <textarea rows="5" cols="60" id="{$vo.fieldArr}_{$vo.name|default=''}" name="{$vo.fieldArr}[{$vo.name|default=''}]" style="height:60px;">{$vo.dfvalue|default=''}</textarea>
  58. <span class="err"></span>
  59. <p class="notic">{$vo.remark|default=''}</p>
  60. </div>
  61. </div>
  62. <!-- 多行文本框 end -->
  63. {/case}
  64. {case value="checkbox"}
  65. <!-- 复选框 start -->
  66. <div class="row">
  67. <div class="col-xs-2">
  68. <label for="title">{if condition="isset($vo['ifrequire']) AND !empty($vo['ifrequire'])"}<em>*</em>{/if}{$vo.title|default=''}</label>
  69. </div>
  70. <div class="col-xs-9">
  71. {volist name="$vo.dfvalue" id="v2"}
  72. <label><input type="checkbox" name="{$vo.fieldArr}[{$vo.name|default=''}][]" value="{$v2}" {if condition="isset($vo['trueValue']) AND in_array($v2, $vo['trueValue'])"}checked="checked"{/if}>{$v2}</label>&nbsp;
  73. {/volist}
  74. <span class="err"></span>
  75. <p class="notic">{$vo.remark|default=''}</p>
  76. </div>
  77. </div>
  78. <!-- 复选框 end -->
  79. {/case}
  80. {case value="radio"}
  81. <!-- 单选项 start -->
  82. <div class="row">
  83. <div class="col-xs-2">
  84. <label for="title">{if condition="isset($vo['ifrequire']) AND !empty($vo['ifrequire'])"}<em>*</em>{/if}{$vo.title|default=''}</label>
  85. </div>
  86. <div class="col-xs-9">
  87. {volist name="$vo.dfvalue" id="v2"}
  88. <label><input type="radio" id="{$vo.fieldArr}_{$vo.name|default=''}" name="{$vo.fieldArr}[{$vo.name|default=''}]" value="{$v2}" {if condition="isset($vo['trueValue']) AND in_array($v2, $vo['trueValue'])"}checked="checked"{/if}>{$v2}</label>&nbsp;
  89. {/volist}
  90. <span class="err"></span>
  91. <p class="notic">{$vo.remark|default=''}</p>
  92. </div>
  93. </div>
  94. <!-- 单选项 end -->
  95. {/case}
  96. {case value="switch"}
  97. <!-- 开关 start -->
  98. <div class="row">
  99. <div class="col-xs-2">
  100. <label for="title">{if condition="isset($vo['ifrequire']) AND !empty($vo['ifrequire'])"}<em>*</em>{/if}{$vo.title|default=''}</label>
  101. </div>
  102. <div class="col-xs-9">
  103. <div class="onoff">
  104. <label for="{$vo.fieldArr}_{$vo.name|default=''}1" class="cb-enable {if condition="0 != $vo['dfvalue']"}selected{/if}">是</label>
  105. <label for="{$vo.fieldArr}_{$vo.name|default=''}0" class="cb-disable {if condition="0 == $vo['dfvalue']"}selected{/if}">否</label>
  106. <input id="{$vo.fieldArr}_{$vo.name|default=''}1" name="{$vo.fieldArr}[{$vo.name|default=''}]" value="1" type="radio" {if condition="0 != $vo['dfvalue']"}checked="checked"{/if}>
  107. <input id="{$vo.fieldArr}_{$vo.name|default=''}0" name="{$vo.fieldArr}[{$vo.name|default=''}]" value="0" type="radio" {if condition="0 == $vo['dfvalue']"}checked="checked"{/if}>
  108. </div>
  109. <span class="err"></span>
  110. <p class="notic">{$vo.remark|default=''}</p>
  111. </div>
  112. </div>
  113. <!-- 开关 end -->
  114. {/case}
  115. {case value="select"}
  116. <!-- 下拉框 start -->
  117. <div class="row">
  118. <div class="col-xs-2">
  119. <label for="title">{if condition="isset($vo['ifrequire']) AND !empty($vo['ifrequire'])"}<em>*</em>{/if}{$vo.title|default=''}</label>
  120. </div>
  121. <div class="col-xs-9">
  122. <select name="{$vo.fieldArr}[{$vo.name|default=''}]" id="{$vo.fieldArr}_{$vo.name|default=''}">
  123. {volist name="$vo.dfvalue" id="v2"}
  124. <option value="{$v2}" {if condition="isset($vo['trueValue']) AND in_array($v2, $vo['trueValue'])"}selected{/if}>{$v2}</option>
  125. {/volist}
  126. </select>
  127. <span class="err"></span>
  128. <p class="notic">{$vo.remark|default=''}</p>
  129. </div>
  130. </div>
  131. <!-- 下拉框 end -->
  132. {/case}
  133. {case value="img"}
  134. <!-- 单张图 start -->
  135. <div class="row">
  136. <div class="col-xs-2">
  137. <label for="title">{if condition="isset($vo['ifrequire']) AND !empty($vo['ifrequire'])"}<em>*</em>{/if}{$vo.title|default=''}</label>
  138. </div>
  139. <div class="col-xs-9">
  140. <div class="input-file-show div_{$vo.fieldArr}_{$vo.name|default=''}_eyou_local" {neq name="$vo[$vo['name'].'_eyou_is_remote']" value="0"}style="display: none;"{/neq}>
  141. <span class="show">
  142. <a id="img_a_{$vo.fieldArr}_{$vo.name|default=''}" class="nyroModal" rel="gal" href="{$vo[$vo['name'].'_eyou_local']|default='javascript:void(0);'}">
  143. <i id="img_i_{$vo.fieldArr}_{$vo.name|default=''}" class="fa fa-picture-o" {notempty name="$vo[$vo['name'].'_eyou_local']"}onmouseover="layer_tips=layer.tips('<img src={$vo[$vo['name'].'_eyou_local']} class=\'layer_tips_img\'>',this,{tips: [1, '#fff']});"{/notempty} onmouseout="layer.close(layer_tips);"></i>
  144. </a>
  145. </span>
  146. <span class="type-file-box">
  147. <input type="text" id="{$vo.fieldArr}_{$vo.name|default=''}_eyou_local" name="{$vo.fieldArr}[{$vo.name|default=''}_eyou_local]" value="{$vo[$vo['name'].'_eyou_local']|default=''}" class="type-file-text" autocomplete="off">
  148. <input type="button" name="button" id="button1" value="选择上传..." class="type-file-button">
  149. <input class="type-file-file" onClick="GetUploadify(1,'','allimg','{$vo.fieldArr}_{$vo.name|default=''}_call_back')" size="30" hidefocus="true" nc_type="change_site_{$vo.fieldArr}_{$vo.name|default=''}"
  150. title="点击前方预览图可查看大图,点击按钮选择文件并提交表单后上传生效">
  151. </span>
  152. </div>
  153. <input type="text" id="{$vo.fieldArr}_{$vo.name|default=''}_eyou_remote" name="{$vo.fieldArr}[{$vo.name|default=''}_eyou_remote]" value="{$vo[$vo['name'].'_eyou_remote']|default=''}" placeholder="http://" class="input-txt" {neq name="$vo[$vo['name'].'_eyou_is_remote']" value="1"}style="display: none;"{/neq}>
  154. &nbsp;
  155. <label><input type="checkbox" name="{$vo.fieldArr}[{$vo.name|default=''}_eyou_is_remote]" id="{$vo.fieldArr}_{$vo.name|default=''}_eyou_is_remote" value="1" {eq name="$vo[$vo['name'].'_eyou_is_remote']" value="1"}checked="checked"{/eq} onClick="clickRemote(this, '{$vo.fieldArr}_{$vo.name|default=''}_eyou');">远程图片</label>
  156. <span class="err"></span>
  157. <p class="notic">{$vo.remark|default=''}</p>
  158. </div>
  159. </div>
  160. <script type="text/javascript">
  161. function {$vo.fieldArr}_{$vo.name|default=''}_call_back(fileurl_tmp)
  162. {
  163. $("#{$vo.fieldArr}_{$vo.name|default=''}_eyou_local").val(fileurl_tmp);
  164. $("#img_a_{$vo.fieldArr}_{$vo.name|default=''}").attr('href', fileurl_tmp);
  165. $("#img_i_{$vo.fieldArr}_{$vo.name|default=''}").attr('onmouseover', "layer_tips=layer.tips('<img src="+fileurl_tmp+" class=\\'layer_tips_img\\'>',this,{tips: [1, '#fff']});");
  166. }
  167. </script>
  168. <!-- 单张图 end -->
  169. {/case}
  170. {case value="imgs"}
  171. <!-- 多张图 start -->
  172. <div class="row">
  173. <div class="col-xs-2">
  174. <label for="title">{if condition="isset($vo['ifrequire']) AND !empty($vo['ifrequire'])"}<em>*</em>{/if}{$vo.title|default=''}</label>
  175. </div>
  176. <div class="col-xs-9">
  177. <div class="tab-pane" id="tab_{$vo.fieldArr}_{$vo.name|default=''}">
  178. <table class="table table-bordered">
  179. <tbody>
  180. <tr>
  181. <td class="sort-list-{$vo.fieldArr}_{$vo.name|default=''}">
  182. {volist name="$vo[$vo['name'].'_eyou_imgupload_list']" id="v2" key="k2"}
  183. <div class="fieldext_upload" style="display:inline-block;">
  184. <input type="hidden" name="{$vo.fieldArr}[{$vo.name|default=''}][]" value="{$v2}">
  185. <a href="{$v2}" onclick="" class="upimg" >
  186. <img src="{$v2}" width="100" height="100">
  187. </a>
  188. <br>
  189. <a href="javascript:void(0)" onclick="{$vo.fieldArr}_{$vo.name|default=''}_ClearPicArr2(this,'{$v2}')">删除</a>
  190. </div>
  191. {/volist}
  192. <div class="fieldext_upload" style="display:inline-block;">
  193. <a href="javascript:void(0);" onClick="GetUploadify(100,'','allimg','{$vo.fieldArr}_{$vo.name|default=''}_call_back');" class="upimg">
  194. <i class="fa fa-upload"></i>
  195. 上传
  196. </a>
  197. <br/>
  198. <a href="javascript:void(0)">&nbsp;&nbsp;</a>
  199. </div>
  200. </td>
  201. </tr>
  202. </tbody>
  203. </table>
  204. </div>
  205. <!-- 上传图片显示的样板 start -->
  206. <div class="{$vo.fieldArr}_{$vo.name|default=''}_upload_tpl none">
  207. <div class="fieldext_upload" style="display:inline-block;">
  208. <input type="hidden" name="{$vo.fieldArr}[{$vo.name|default=''}][]" value="" />
  209. <a href="javascript:void(0);" onClick="" class="upimg">
  210. <img src="__STATIC__/admin/images/add-button.jpg" width="100" height="100" />
  211. </a>
  212. <br/>
  213. <a href="javascript:void(0)">&nbsp;&nbsp;</a>
  214. </div>
  215. </div>
  216. <!-- 上传图片显示的样板 end -->
  217. </div>
  218. </div>
  219. <script type="text/javascript">
  220. // 上传多图回调函数
  221. function {$vo.fieldArr}_{$vo.name|default=''}_call_back(paths){
  222. var last_div = $(".{$vo.fieldArr}_{$vo.name|default=''}_upload_tpl").html();
  223. for (var i=0;i<paths.length ;i++ )
  224. {
  225. $("#dl_{$vo.fieldArr}_{$vo.name|default=''}").find(".fieldext_upload:eq(0)").before(last_div); // 插入一个 新图片
  226. $("#dl_{$vo.fieldArr}_{$vo.name|default=''}").find(".fieldext_upload:eq(0)").find('a:eq(0)').attr('href',paths[i]).attr('onclick','').attr('target', "_blank");// 修改他的链接地址
  227. $("#dl_{$vo.fieldArr}_{$vo.name|default=''}").find(".fieldext_upload:eq(0)").find('img').attr('src',paths[i]);// 修改他的图片路径
  228. $("#dl_{$vo.fieldArr}_{$vo.name|default=''}").find(".fieldext_upload:eq(0)").find('a:eq(1)').attr('onclick',"{$vo.fieldArr}_{$vo.name|default=''}_ClearPicArr2(this,'"+paths[i]+"')").text('删除');
  229. $("#dl_{$vo.fieldArr}_{$vo.name|default=''}").find(".fieldext_upload:eq(0)").find('input').val(paths[i]); // 设置隐藏域 要提交的值
  230. }
  231. }
  232. /*
  233. * 上传之后删除组图input
  234. * @access public
  235. * @val string 删除的图片input
  236. */
  237. function {$vo.fieldArr}_{$vo.name|default=''}_ClearPicArr2(obj,path)
  238. {
  239. // 删除数据库记录
  240. $.ajax({
  241. type:'GET',
  242. url:"{:url('Field/del_channelimgs')}",
  243. data:{filename:path,channel:"{$channeltype|default='0'}",fieldname:"{$vo.name}",aid:"{$aid|default='0'}"},
  244. success:function(){
  245. $(obj).parent().remove(); // 删除完服务器的, 再删除 html上的图片
  246. $.ajax({
  247. type:'GET',
  248. url:"{:url('Uploadify/delupload')}",
  249. data:{action:"del", filename:path},
  250. success:function(){}
  251. });
  252. }
  253. });
  254. }
  255. /** 以下 产品相册的拖动排序相关 js*/
  256. $( ".sort-list-{$vo.fieldArr}_{$vo.name|default=''}" ).sortable({
  257. start: function( event, ui) {
  258. }
  259. ,stop: function( event, ui ) {
  260. }
  261. });
  262. $( ".sort-list-{$vo.fieldArr}_{$vo.name|default=''}" ).disableSelection();
  263. </script>
  264. <!-- 多张图 end -->
  265. {/case}
  266. {case value="int"}
  267. <!-- 整数类型 start -->
  268. <div class="row">
  269. <div class="col-xs-2">
  270. <label for="title">{if condition="isset($vo['ifrequire']) AND !empty($vo['ifrequire'])"}<em>*</em>{/if}{$vo.title|default=''}</label>
  271. </div>
  272. <div class="col-xs-9">
  273. <input type="text" value="{$vo.dfvalue|default=''}" name="{$vo.fieldArr}[{$vo.name|default=''}]" id="{$vo.fieldArr}_{$vo.name|default=''}" placeholder="只允许纯数字" class="input-txt" onkeyup="this.value=this.value.replace(/[^0-9]/g,'');" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^0-9]/g,''));">&nbsp;{$vo.dfvalue_unit|default=''}
  274. <span class="err"></span>
  275. <p class="notic">{$vo.remark|default=''}</p>
  276. </div>
  277. </div>
  278. <!-- 整数类型 end -->
  279. {/case}
  280. {case value="float"}
  281. <!-- 小数类型 start -->
  282. <div class="row">
  283. <div class="col-xs-2">
  284. <label for="title">{if condition="isset($vo['ifrequire']) AND !empty($vo['ifrequire'])"}<em>*</em>{/if}{$vo.title|default=''}</label>
  285. </div>
  286. <div class="col-xs-9">
  287. <input type="text" value="{$vo.dfvalue|default=''}" name="{$vo.fieldArr}[{$vo.name|default=''}]" id="{$vo.fieldArr}_{$vo.name|default=''}" placeholder="允许带有小数点的数值" class="input-txt" onkeyup="this.value=this.value.replace(/[^0-9\.]/g,'');" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^0-9\.]/g,''));">&nbsp;{$vo.dfvalue_unit|default=''}
  288. <span class="err"></span>
  289. <p class="notic">{$vo.remark|default=''}</p>
  290. </div>
  291. </div>
  292. <!-- 小数类型 end -->
  293. {/case}
  294. {case value="decimal"}
  295. <!-- 金额类型 start -->
  296. <div class="row">
  297. <div class="col-xs-2">
  298. <label for="title">{if condition="isset($vo['ifrequire']) AND !empty($vo['ifrequire'])"}<em>*</em>{/if}{$vo.title|default=''}</label>
  299. </div>
  300. <div class="col-xs-9">
  301. <input type="text" value="{$vo.dfvalue|default=''}" name="{$vo.fieldArr}[{$vo.name|default=''}]" id="{$vo.fieldArr}_{$vo.name|default=''}" placeholder="允许带有小数点的金额" class="input-txt" onkeyup="this.value=this.value.replace(/[^0-9\.]/g,'');" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^0-9\.]/g,''));">&nbsp;{$vo.dfvalue_unit|default=''}
  302. <span class="err"></span>
  303. <p class="notic">{$vo.remark|default=''}</p>
  304. </div>
  305. </div>
  306. <!-- 金额类型 end -->
  307. {/case}
  308. {case value="datetime"}
  309. <!-- 日期和时间 start -->
  310. <div class="row">
  311. <div class="col-xs-2">
  312. <label for="title">{if condition="isset($vo['ifrequire']) AND !empty($vo['ifrequire'])"}<em>*</em>{/if}{$vo.title|default=''}</label>
  313. </div>
  314. <div class="col-xs-9">
  315. <input type="text" class="input-txt" name="{$vo.fieldArr}[{$vo.name|default=''}]" id="{$vo.fieldArr}_{$vo.name|default=''}" value="{$vo['dfvalue']}">
  316. <span class="add-on input-group-addon">
  317. <i class="glyphicon glyphicon-calendar fa fa-calendar"></i>
  318. </span>
  319. <span class="err"></span>
  320. <p class="notic">{$vo.remark|default=''}</p>
  321. </div>
  322. </div>
  323. <script type="text/javascript">
  324. $(function () {
  325. $('#{$vo.fieldArr}_{$vo.name|default=''}').layDate();
  326. });
  327. </script>
  328. <!-- 日期和时间 end -->
  329. {/case}
  330. {case value="htmltext"}
  331. <!-- HTML文本 start -->
  332. <div class="row">
  333. <div class="col-xs-2">
  334. <label for="title">{if condition="isset($vo['ifrequire']) AND !empty($vo['ifrequire'])"}<em>*</em>{/if}{$vo.title|default=''}</label>
  335. </div>
  336. <div class="col-xs-9">
  337. <textarea class="span12 ckeditor" id="{$vo.fieldArr}_{$vo.name|default=''}" data-func="{$vo.fieldArr}_{$vo.name|default=''}" name="{$vo.fieldArr}[{$vo.name|default=''}]" title="">{$vo.dfvalue|default=''}</textarea>
  338. <span class="err"></span>
  339. <p class="notic">{$vo.remark|default=''}</p>
  340. </div>
  341. </div>
  342. <script type="text/javascript">
  343. UE.getEditor('{$vo.fieldArr}_{$vo.name|default=''}',{
  344. serverUrl :"{:url('Uploadify/index',array('savepath'=>'allimg'))}",
  345. zIndex: 999,
  346. initialFrameWidth: "100%", //初化宽度
  347. initialFrameHeight: 450, //初化高度
  348. focus: false, //初始化时,是否让编辑器获得焦点true或false
  349. maximumWords: 999999,
  350. removeFormatAttributes: 'class,style,lang,width,height,align,hspace,valign',//允许的最大字符数 'fullscreen',
  351. pasteplain:false, //是否默认为纯文本粘贴。false为不使用纯文本粘贴,true为使用纯文本粘贴
  352. autoHeightEnabled: false,
  353. toolbars: [["forecolor", "backcolor", "removeformat", "|", "simpleupload", "insertimage"]],
  354. });
  355. //必须在提交前渲染编辑器;
  356. function {$vo.fieldArr}_{$vo.name|default=''}() {
  357. //判断编辑模式状态:0表示【源代码】HTML视图;1是【设计】视图,即可见即所得;-1表示不可用
  358. if(UE.getEditor("{$vo.fieldArr}_{$vo.name|default=''}").queryCommandState('source') != 0) {
  359. UE.getEditor("{$vo.fieldArr}_{$vo.name|default=''}").execCommand('source'); //切换到【设计】视图
  360. }
  361. }
  362. </script>
  363. <!-- HTML文本 end -->
  364. {/case}
  365. {case value="files"}
  366. <!-- 多文件 start -->
  367. <!-- <dl class="row">
  368. <dt class="tit">
  369. <label>{if condition="isset($vo['ifrequire']) AND !empty($vo['ifrequire'])"}<em>*</em>{/if}{$vo.title|default=''}</label>
  370. </dt>
  371. <dd class="opt">
  372. <div id="uploader" class="wu-example">
  373. 用来存放文件信息
  374. <div id="thelist" class="uploader-list"></div>
  375. <div class="btns left">
  376. <div id="picker">选择文件</div>
  377. <input type="button" id="ctlBtn" class="btn btn-default" value="开始上传" />
  378. </div>
  379. </div>
  380. <span class="err"></span>
  381. <p class="notic">只允许上传文件的类型:{$global.file_type|default=''}</p>
  382. </dd>
  383. </dl>
  384. <link rel="stylesheet" type="text/css" href="__PUBLIC__/plugins/webuploader/webuploader.css">
  385. <script type="text/javascript" src="__PUBLIC__/plugins/webuploader/webuploader.min.js"></script>
  386. <script type="text/javascript">
  387. var uploader_swf = '__PUBLIC__/plugins/webuploader/Uploader.swf';
  388. var server_url="{:url('Ueditor/downFileUp',array('savepath'=>'soft'))}";
  389. </script>
  390. <script src="__SKIN__/js/getting-started.js"></script> -->
  391. <!-- 多文件 end -->
  392. {/case}
  393. {/switch}
  394. {/if}
  395. {/volist}