]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - include/javascript/tiny_mce/plugins/searchreplace/searchreplace.htm
Release 6.5.0
[Github/sugarcrm.git] / include / javascript / tiny_mce / plugins / searchreplace / searchreplace.htm
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 </head>
11 <body style="display:none;" role="application" aria-labelledby="app_title">
12 <span id="app_title" style="display:none">{#searchreplace_dlg.replace_title}</span>
13 <form onsubmit="SearchReplaceDialog.searchNext('none');return false;" action="#">
14         <div class="tabs">
15                 <ul>
16                         <li id="search_tab" aria-controls="search_panel"><span><a href="javascript:SearchReplaceDialog.switchMode('search');" onmousedown="return false;">{#searchreplace.search_desc}</a></span></li>
17                         <li id="replace_tab" aria-controls="replace_panel"><span><a href="javascript:SearchReplaceDialog.switchMode('replace');" onmousedown="return false;">{#searchreplace_dlg.replace}</a></span></li>
18                 </ul>
19         </div>
20
21         <div class="panel_wrapper">
22                 <div id="search_panel" class="panel">
23                         <table role="presentation" border="0" cellspacing="0" cellpadding="2">
24                                 <tr>
25                                         <td><label for="search_panel_searchstring">{#searchreplace_dlg.findwhat}</label></td>
26                                         <td><input type="text" id="search_panel_searchstring" name="search_panel_searchstring" style="width: 200px" aria-required="true" /></td>
27                                 </tr>
28                                 <tr>
29                                         <td colspan="2">
30                                                 <table role="presentation" border="0" cellspacing="0" cellpadding="0" class="direction">
31                                                         <tr role="group" aria-labelledby="search_panel_backwards_label">
32                                                                 <td><label id="search_panel_backwards_label">{#searchreplace_dlg.direction}</label></td>
33                                                                 <td><input id="search_panel_backwardsu" name="search_panel_backwards" class="radio" type="radio" /></td>
34                                                                 <td><label for="search_panel_backwardsu">{#searchreplace_dlg.up}</label></td>
35                                                                 <td><input id="search_panel_backwardsd" name="search_panel_backwards" class="radio" type="radio" checked="checked" /></td>
36                                                                 <td><label for="search_panel_backwardsd">{#searchreplace_dlg.down}</label></td>
37                                                         </tr>
38                                                 </table>
39                                         </td>
40                                 </tr>
41                                 <tr>
42                                         <td colspan="2">
43                                                 <table role="presentation" border="0" cellspacing="0" cellpadding="0">
44                                                         <tr>
45                                                                 <td><input id="search_panel_casesensitivebox" name="search_panel_casesensitivebox" class="checkbox" type="checkbox" /></td>
46                                                                 <td><label for="search_panel_casesensitivebox">{#searchreplace_dlg.mcase}</label></td>
47                                                         </tr>
48                                                 </table>
49                                         </td>
50                                 </tr>
51                         </table>
52                 </div>
53
54                 <div id="replace_panel" class="panel">
55                         <table role="presentation" border="0" cellspacing="0" cellpadding="2">
56                                 <tr>
57                                         <td><label for="replace_panel_searchstring">{#searchreplace_dlg.findwhat}</label></td>
58                                         <td><input type="text" id="replace_panel_searchstring" name="replace_panel_searchstring" style="width: 200px" aria-required="true" /></td>
59                                 </tr>
60                                 <tr>
61                                         <td><label for="replace_panel_replacestring">{#searchreplace_dlg.replacewith}</label></td>
62                                         <td><input type="text" id="replace_panel_replacestring" name="replace_panel_replacestring" style="width: 200px" aria-required="true" /></td>
63                                 </tr>
64                                 <tr>
65                                         <td colspan="2">
66                                                 <table role="presentation" border="0" cellspacing="0" cellpadding="0" class="direction">
67                                                         <tr role="group" aria-labelledby="replace_panel_dir_label">
68                                                                 <td><label id="replace_panel_dir_label">{#searchreplace_dlg.direction}</label></td>
69                                                                 <td><input id="replace_panel_backwardsu" name="replace_panel_backwards" class="radio" type="radio" /></td>
70                                                                 <td><label for="replace_panel_backwardsu">{#searchreplace_dlg.up}</label></td>
71                                                                 <td><input id="replace_panel_backwardsd" name="replace_panel_backwards" class="radio" type="radio" checked="checked" /></td>
72                                                                 <td><label for="replace_panel_backwardsd">{#searchreplace_dlg.down}</label></td>
73                                                         </tr>
74                                                 </table>
75                                         </td>
76                                 </tr>
77                                 <tr>
78                                         <td colspan="2">
79                                                 <table role="presentation" border="0" cellspacing="0" cellpadding="0">
80                                                         <tr>
81                                                                 <td><input id="replace_panel_casesensitivebox" name="replace_panel_casesensitivebox" class="checkbox" type="checkbox" /></td>
82                                                                 <td><label for="replace_panel_casesensitivebox">{#searchreplace_dlg.mcase}</label></td>
83                                                         </tr>
84                                                 </table>
85                                         </td>
86                                 </tr>
87                         </table>
88                 </div>
89
90         </div>
91
92         <div class="mceActionPanel">
93                 <input type="submit" id="insert" name="insert" value="{#searchreplace_dlg.findnext}" />
94                 <input type="button" class="button" id="replaceBtn" name="replaceBtn" value="{#searchreplace_dlg.replace}" onclick="SearchReplaceDialog.searchNext('current');" />
95                 <input type="button" class="button" id="replaceAllBtn" name="replaceAllBtn" value="{#searchreplace_dlg.replaceall}" onclick="SearchReplaceDialog.searchNext('all');" />
96                 <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
97         </div>
98 </form>
99 </body>
100 </html>