]> git.p6c8.net - devedit.git/blobdiff - templates/confirm_replace.htm
Improved file editing using another filename:
[devedit.git] / templates / confirm_replace.htm
index 52450f5e7bcb771581a5167d453e23722f2f1dea..bd1f15c6e549c977bd8c5596db600d93925b41bc 100644 (file)
 
 <h1>Replace exisiting file</h1>
 
-<p>A file called '{FILE}' already exists. Do you want to replace it?</p>
+<p>A file called '{NEW_FILE}' already exists. Do you want to replace it?</p>
 
-<form action="{SCRIPT}" method="get">
+<form action="{SCRIPT}" method="post">
 <input type="hidden" name="command" value="{COMMAND}">
 <input type="hidden" name="file" value="{FILE}">
-<input type="hidden" name="newfile" value="{NEW_FILE}">
+<input type="hidden" name="newfile" value="{NEW_FILENAME}">
+<input type="hidden" name="curdir" value="{NEW_DIR}">
 <input type="hidden" name="confirmed" value="1">
 
 <p><input type="submit" value="Yes"></p>

patrick-canterino.de