No Description
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.

movefile.htm 2.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {include file="header.htm" /}
  2. <body class="bodystyle">
  3. <div id="toolTipLayer" style="position: absolute; z-index: 9999; display: none; visibility: visible; left: 95px; top: 573px;"></div>
  4. <div id="append_parent"></div>
  5. <div id="ajaxwaitid"></div>
  6. <div class="page">
  7. <form class="form-horizontal" id="post_form" action="{:weapp_url('Systemdoctor/Filetool/movefile')}" method="post">
  8. <div class="ncap-form-default">
  9. <dl class="row">
  10. <dt class="tit">被移动文件</dt>
  11. <dd class="opt">
  12. {$filename}
  13. <input type="hidden" name="filename" value="{$filename}" id="filename" class="input-txt">
  14. <span class="err"></span>
  15. <p class="notic"></p>
  16. </dd>
  17. </dl>
  18. <dl class="row">
  19. <dt class="tit">
  20. <label for="activepath">当前位置</label>
  21. </dt>
  22. <dd class="opt">
  23. {$activepath}
  24. <input type="hidden" name="activepath" value="{$activepath}" id="activepath" class="input-txt">
  25. <span class="err"></span>
  26. <p class="notic"></p>
  27. </dd>
  28. </dl>
  29. <dl class="row">
  30. <dt class="tit">
  31. <label for="newpath"><em>*</em>新位置</label>
  32. </dt>
  33. <dd class="opt">
  34. <input type="text" name="newpath" value="" id="newpath" class="input-txt" autocomplete="off" onkeyup='this.value=this.value.replace(/[\\\\/\:\*\?\"\<\>\|]/g,"");' onpaste='this.value=this.value.replace(/[\\\\/\:\*\?\"\<\>\|]/g,"")'>
  35. <span class="err"></span>
  36. <p class="notic2">新位置前面不加 / 表示相对于当前位置,加 / 表示相对于根目录</p>
  37. </dd>
  38. </dl>
  39. <div class="bot">
  40. <a href="JavaScript:void(0);" onclick="checkForm();" class="ncap-btn-big ncap-btn-green" id="submitBtn">确认提交</a>
  41. <a href="JavaScript:history.back(-1);" class="ncap-btn-big ncap-btn-green" style="border: 1px solid #C9C9C9; background-color: #fff;color: #555;" >返回</a>
  42. </div>
  43. </div>
  44. </form>
  45. </div>
  46. <script type="text/javascript">
  47. // 判断输入框是否为空
  48. function checkForm(){
  49. if($.trim($('input[name=newpath]').val()) == ''){
  50. showErrorMsg('新位置不能为空!');
  51. $('input[name=newpath]').focus();
  52. return false;
  53. }
  54. layer_loading('正在处理');
  55. $('#post_form').submit();
  56. }
  57. </script>
  58. {include file="footer.htm" /}