Line # Revision Author
1 3 ahitrov@rambler.ru <!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 </head>
11 <body style="display:none;">
12 <form onsubmit="SearchReplaceDialog.searchNext('none');return false;" action="#">
13 <div class="tabs">
14 <ul>
15 <li id="search_tab"><span><a href="javascript:SearchReplaceDialog.switchMode('search');" onmousedown="return false;">{#searchreplace.search_desc}</a></span></li>
16 <li id="replace_tab"><span><a href="javascript:SearchReplaceDialog.switchMode('replace');" onmousedown="return false;">{#searchreplace_dlg.replace}</a></span></li>
17 </ul>
18 </div>
19
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
53 <div id="replace_panel" class="panel">
54 <table border="0" cellspacing="0" cellpadding="2">
55 <tr>
56 <td><label for="replace_panel_searchstring">{#searchreplace_dlg.findwhat}</label></td>
57 <td><input type="text" id="replace_panel_searchstring" name="replace_panel_searchstring" style="width: 200px" /></td>
58 </tr>
59 <tr>
60 <td><label for="replace_panel_replacestring">{#searchreplace_dlg.replacewith}</label></td>
61 <td><input type="text" id="replace_panel_replacestring" name="replace_panel_replacestring" style="width: 200px" /></td>
62 </tr>
63 <tr>
64 <td colspan="2">
65 <table border="0" cellspacing="0" cellpadding="0" class="direction">
66 <tr>
67 <td><label>{#searchreplace_dlg.direction}</label></td>
68 <td><input id="replace_panel_backwardsu" name="replace_panel_backwards" class="radio" type="radio" /></td>
69 <td><label for="replace_panel_backwardsu">{#searchreplace_dlg.up}</label></td>
70 <td><input id="replace_panel_backwardsd" name="replace_panel_backwards" class="radio" type="radio" checked="checked" /></td>
71 <td><label for="replace_panel_backwardsd">{#searchreplace_dlg.down}</label></td>
72 </tr>
73 </table>
74 </td>
75 </tr>
76 <tr>
77 <td colspan="2">
78 <table border="0" cellspacing="0" cellpadding="0">
79 <tr>
80 <td><input id="replace_panel_casesensitivebox" name="replace_panel_casesensitivebox" class="checkbox" type="checkbox" /></td>
81 <td><label for="replace_panel_casesensitivebox">{#searchreplace_dlg.mcase}</label></td>
82 </tr>
83 </table>
84 </td>
85 </tr>
86 </table>
87 </div>
88
89 </div>
90
91 <div class="mceActionPanel">
92 <input type="submit" id="insert" name="insert" value="{#searchreplace_dlg.findnext}" />
93 <input type="button" class="button" id="replaceBtn" name="replaceBtn" value="{#searchreplace_dlg.replace}" onclick="SearchReplaceDialog.searchNext('current');" />
94 <input type="button" class="button" id="replaceAllBtn" name="replaceAllBtn" value="{#searchreplace_dlg.replaceall}" onclick="SearchReplaceDialog.searchNext('all');" />
95 <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
96 </div>
97 </form>
98 </body>
99 </html>