page.move.tmpl 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <tmpl_include name="inc.head.tmpl">
  2. <tmpl_include name="inc.subhead.tmpl">
  3. <tmpl_if name="is_start">
  4. <form method="POST" action="index.php?iid=move" name="move_form">
  5. <p>
  6. <label for="T1"><tmpl_var name="_MOVE_FILE"></label>
  7. <input disabled="true" type="text" name="T1" id="T1" size="91" value="<tmpl_var name="path">">
  8. </p>
  9. <p>
  10. <label for="<tmpl_if name="move_start">selector<tmpl_else>dest</tmpl_if>"><tmpl_var name="_MOVE_STRING"></label><br>
  11. <tmpl_if name="move_start">
  12. <select size="1" name="selector" id="selector">
  13. <tmpl_loop name="dir_list">
  14. <option value="<tmpl_var name="target">"><tmpl_var name="target"></option>
  15. </tmpl_loop>
  16. </select>
  17. <br><label for="dest">or:</label><br>
  18. </tmpl_if>
  19. <input name="dest" id="dest" type="Text" maxlength="254" value="" size="55">
  20. <br><br>
  21. <input type="submit" value="OK" name="OK">
  22. <input type="hidden" name="file" value="<tmpl_var name="path">"/>
  23. </p>
  24. </form>
  25. <tmpl_else>
  26. <tmpl_if name="not_absolute">
  27. Target-dirs must be specified with absolute and not relative paths. <br>
  28. </tmpl_if>
  29. <tmpl_if name="is_valid">
  30. <tmpl_var name="messages">
  31. <tmpl_if name="got_no_error">
  32. Done<br>
  33. moved <em><tmpl_var name="file"></em> to <em><tmpl_var name="targetDir"></em>
  34. <tmpl_else>
  35. An error occurred.
  36. </tmpl_if>
  37. <tmpl_else>
  38. Invalid Target-dir : <tmpl_var name="targetDir">
  39. </tmpl_if>
  40. </tmpl_if>
  41. </td>
  42. </tr>
  43. </table>
  44. [<a href="#" onclick="window.opener.location.reload();window.close();">Close Window</a>]
  45. </td>
  46. </tr>
  47. </table>
  48. </body>
  49. </html>