12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- {include file="header.htm" /}
- <body class="bodystyle">
- <div id="toolTipLayer" style="position: absolute; z-index: 9999; display: none; visibility: visible; left: 95px; top: 573px;"></div>
- <div id="append_parent"></div>
- <div id="ajaxwaitid"></div>
- <div class="page">
- <form class="form-horizontal" id="post_form" action="{:weapp_url('Systemdoctor/Filetool/movefile')}" method="post">
- <div class="ncap-form-default">
- <dl class="row">
- <dt class="tit">被移动文件</dt>
- <dd class="opt">
- {$filename}
- <input type="hidden" name="filename" value="{$filename}" id="filename" class="input-txt">
- <span class="err"></span>
- <p class="notic"></p>
- </dd>
- </dl>
- <dl class="row">
- <dt class="tit">
- <label for="activepath">当前位置</label>
- </dt>
- <dd class="opt">
- {$activepath}
- <input type="hidden" name="activepath" value="{$activepath}" id="activepath" class="input-txt">
- <span class="err"></span>
- <p class="notic"></p>
- </dd>
- </dl>
- <dl class="row">
- <dt class="tit">
- <label for="newpath"><em>*</em>新位置</label>
- </dt>
- <dd class="opt">
- <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,"")'>
- <span class="err"></span>
- <p class="notic2">新位置前面不加 / 表示相对于当前位置,加 / 表示相对于根目录</p>
- </dd>
- </dl>
- <div class="bot">
- <a href="JavaScript:void(0);" onclick="checkForm();" class="ncap-btn-big ncap-btn-green" id="submitBtn">确认提交</a>
- <a href="JavaScript:history.back(-1);" class="ncap-btn-big ncap-btn-green" style="border: 1px solid #C9C9C9; background-color: #fff;color: #555;" >返回</a>
- </div>
- </div>
- </form>
- </div>
- <script type="text/javascript">
- // 判断输入框是否为空
- function checkForm(){
- if($.trim($('input[name=newpath]').val()) == ''){
- showErrorMsg('新位置不能为空!');
- $('input[name=newpath]').focus();
- return false;
- }
- layer_loading('正在处理');
- $('#post_form').submit();
- }
- </script>
- {include file="footer.htm" /}
|