|
|
@@ -26,9 +26,9 @@ if ($fmdo == "rename") { |
|
|
|
$win->AddHidden("fmdo", $fmdo); |
|
|
|
$win->AddHidden("activepath", $activepath); |
|
|
|
$win->AddHidden("filename", $filename); |
|
|
|
$win->AddTitle("修改文件名,当前路径:$ndirstring"); |
|
|
|
$win->AddItem("旧名称:", "<input type='input' name='oldfilename' id='oldfilename' class='admin-input-md' value='$filename'>"); |
|
|
|
$win->AddItem("新名称:", "<input type='input' name='newfilename' id='newfilename' class='admin-input-md'>"); |
|
|
|
$win->AddTitle("修改文件名,当前位置:".$ndirstring.""); |
|
|
|
$win->AddItem("旧名称", "<input type='input' name='oldfilename' id='oldfilename' class='admin-input-md' value='$filename'>"); |
|
|
|
$win->AddItem("新名称", "<input type='input' name='newfilename' id='newfilename' class='admin-input-md'>"); |
|
|
|
$winform = $win->GetWindow("ok"); |
|
|
|
$win->Display(); |
|
|
|
} |
|
|
@@ -42,8 +42,8 @@ else if ($fmdo == "newdir") { |
|
|
|
$win->AddHidden("fmdo", $fmdo); |
|
|
|
$win->AddHidden("activepath", $activepath); |
|
|
|
$win->AddHidden("token", make_hash()); |
|
|
|
$win->AddTitle("当前目录 $activepathname "); |
|
|
|
$win->AddItem("新目录:", "<input type='input' name='newpath' id='newpath' class='admin-input-md'>"); |
|
|
|
$win->AddTitle("当前目录:".$activepathname.""); |
|
|
|
$win->AddItem("新目录", "<input type='input' name='newpath' id='newpath' class='admin-input-md'>"); |
|
|
|
$winform = $win->GetWindow("ok"); |
|
|
|
$win->Display(); |
|
|
|
} |
|
|
@@ -56,9 +56,9 @@ else if ($fmdo == "move") { |
|
|
|
$win->AddHidden("activepath", $activepath); |
|
|
|
$win->AddHidden("filename", $filename); |
|
|
|
$win->AddTitle("新位置前面不加斜杆/表示相对于当前位置,加斜杆/表示相对于根目录"); |
|
|
|
$win->AddItem("被移动文件:", $filename); |
|
|
|
$win->AddItem("当前位置:", $activepath); |
|
|
|
$win->AddItem("新位置:", "<input type='input' name='newpath' id='newpath' class='admin-input-md'>"); |
|
|
|
$win->AddItem("移动文件", $filename); |
|
|
|
$win->AddItem("当前位置", $activepath); |
|
|
|
$win->AddItem("新位置", "<input type='input' name='newpath' id='newpath' class='admin-input-md'>"); |
|
|
|
$winform = $win->GetWindow("ok"); |
|
|
|
$win->Display(); |
|
|
|
} |
|
|
|