A QCodo powered CMS
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.

105 lines
4.8 KiB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>{#searchreplace_dlg.replace_title}</title>
  5. <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
  6. <script type="text/javascript" src="../../utils/mctabs.js"></script>
  7. <script type="text/javascript" src="../../utils/form_utils.js"></script>
  8. <script type="text/javascript" src="js/searchreplace.js"></script>
  9. <link rel="stylesheet" type="text/css" href="css/searchreplace.css" />
  10. <base target="_self" />
  11. </head>
  12. <body style="display:none;">
  13. <form onsubmit="SearchReplaceDialog.searchNext('none');return false;" action="#">
  14. <div class="tabs">
  15. <ul>
  16. <li id="search_tab"><span><a href="javascript:SearchReplaceDialog.switchMode('search');" onmousedown="return false;">{#searchreplace.search_desc}</a></span></li>
  17. <li id="replace_tab"><span><a href="javascript:SearchReplaceDialog.switchMode('replace');" onmousedown="return false;">{#searchreplace_dlg.replace}</a></span></li>
  18. </ul>
  19. </div>
  20. <div class="panel_wrapper">
  21. <div id="search_panel" class="panel">
  22. <table border="0" cellspacing="0" cellpadding="2">
  23. <tr>
  24. <td><label for="search_panel_searchstring">{#searchreplace_dlg.findwhat}</label></td>
  25. <td><input type="text" id="search_panel_searchstring" name="search_panel_searchstring" style="width: 200px" /></td>
  26. </tr>
  27. <tr>
  28. <td colspan="2">
  29. <table border="0" cellspacing="0" cellpadding="0" class="direction">
  30. <tr>
  31. <td><label>{#searchreplace_dlg.direction}</label></td>
  32. <td><input id="search_panel_backwardsu" name="search_panel_backwards" class="radio" type="radio" /></td>
  33. <td><label for="search_panel_backwardsu">{#searchreplace_dlg.up}</label></td>
  34. <td><input id="search_panel_backwardsd" name="search_panel_backwards" class="radio" type="radio" checked="checked" /></td>
  35. <td><label for="search_panel_backwardsd">{#searchreplace_dlg.down}</label></td>
  36. </tr>
  37. </table>
  38. </td>
  39. </tr>
  40. <tr>
  41. <td colspan="2">
  42. <table border="0" cellspacing="0" cellpadding="0">
  43. <tr>
  44. <td><input id="search_panel_casesensitivebox" name="search_panel_casesensitivebox" class="checkbox" type="checkbox" /></td>
  45. <td><label for="search_panel_casesensitivebox">{#searchreplace_dlg.mcase}</label></td>
  46. </tr>
  47. </table>
  48. </td>
  49. </tr>
  50. </table>
  51. </div>
  52. <div id="replace_panel" class="panel">
  53. <table border="0" cellspacing="0" cellpadding="2">
  54. <tr>
  55. <td><label for="replace_panel_searchstring">{#searchreplace_dlg.findwhat}</label></td>
  56. <td><input type="text" id="replace_panel_searchstring" name="replace_panel_searchstring" style="width: 200px" /></td>
  57. </tr>
  58. <tr>
  59. <td><label for="replace_panel_replacestring">{#searchreplace_dlg.replacewith}</label></td>
  60. <td><input type="text" id="replace_panel_replacestring" name="replace_panel_replacestring" style="width: 200px" /></td>
  61. </tr>
  62. <tr>
  63. <td colspan="2">
  64. <table border="0" cellspacing="0" cellpadding="0" class="direction">
  65. <tr>
  66. <td><label>{#searchreplace_dlg.direction}</label></td>
  67. <td><input id="replace_panel_backwardsu" name="replace_panel_backwards" class="radio" type="radio" /></td>
  68. <td><label for="replace_panel_backwardsu">{#searchreplace_dlg.up}</label></td>
  69. <td><input id="replace_panel_backwardsd" name="replace_panel_backwards" class="radio" type="radio" checked="checked" /></td>
  70. <td><label for="replace_panel_backwardsd">{#searchreplace_dlg.down}</label></td>
  71. </tr>
  72. </table>
  73. </td>
  74. </tr>
  75. <tr>
  76. <td colspan="2">
  77. <table border="0" cellspacing="0" cellpadding="0">
  78. <tr>
  79. <td><input id="replace_panel_casesensitivebox" name="replace_panel_casesensitivebox" class="checkbox" type="checkbox" /></td>
  80. <td><label for="replace_panel_casesensitivebox">{#searchreplace_dlg.mcase}</label></td>
  81. </tr>
  82. </table>
  83. </td>
  84. </tr>
  85. </table>
  86. </div>
  87. </div>
  88. <div class="mceActionPanel">
  89. <div style="float: left">
  90. <input type="submit" id="insert" name="insert" value="{#searchreplace_dlg.findnext}" />
  91. <input type="button" class="button" id="replaceBtn" name="replaceBtn" value="{#searchreplace_dlg.replace}" onclick="SearchReplaceDialog.searchNext('current');" />
  92. <input type="button" class="button" id="replaceAllBtn" name="replaceAllBtn" value="{#searchreplace_dlg.replaceall}" onclick="SearchReplaceDialog.searchNext('all');" />
  93. </div>
  94. <div style="float: right">
  95. <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
  96. </div>
  97. </div>
  98. </form>
  99. </body>
  100. </html>