comparison static/js/tiny_mce/plugins/searchreplace/searchreplace.htm @ 442:6c182ceb7147

Fixing #217; upgrade TinyMCE to 3.4.2 and enable the paste plugin.
author Brian Neal <bgneal@gmail.com>
date Thu, 26 May 2011 00:43:49 +0000
parents 88b2b9cb8c1f
children
comparison
equal deleted inserted replaced
441:33d0c55e57a9 442:6c182ceb7147
6 <script type="text/javascript" src="../../utils/mctabs.js"></script> 6 <script type="text/javascript" src="../../utils/mctabs.js"></script>
7 <script type="text/javascript" src="../../utils/form_utils.js"></script> 7 <script type="text/javascript" src="../../utils/form_utils.js"></script>
8 <script type="text/javascript" src="js/searchreplace.js"></script> 8 <script type="text/javascript" src="js/searchreplace.js"></script>
9 <link rel="stylesheet" type="text/css" href="css/searchreplace.css" /> 9 <link rel="stylesheet" type="text/css" href="css/searchreplace.css" />
10 </head> 10 </head>
11 <body style="display:none;"> 11 <body style="display:none;" role="application" aria-labelledby="app_title">
12 <span id="app_title" style="display:none">{#searchreplace_dlg.replace_title}</span>
12 <form onsubmit="SearchReplaceDialog.searchNext('none');return false;" action="#"> 13 <form onsubmit="SearchReplaceDialog.searchNext('none');return false;" action="#">
13 <div class="tabs"> 14 <div class="tabs">
14 <ul> 15 <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="search_tab" aria-controls="search_panel"><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 <li id="replace_tab" aria-controls="replace_panel"><span><a href="javascript:SearchReplaceDialog.switchMode('replace');" onmousedown="return false;">{#searchreplace_dlg.replace}</a></span></li>
17 </ul> 18 </ul>
18 </div> 19 </div>
19 20
20 <div class="panel_wrapper"> 21 <div class="panel_wrapper">
21 <div id="search_panel" class="panel"> 22 <div id="search_panel" class="panel">
22 <table border="0" cellspacing="0" cellpadding="2"> 23 <table role="presentation" border="0" cellspacing="0" cellpadding="2">
23 <tr> 24 <tr>
24 <td><label for="search_panel_searchstring">{#searchreplace_dlg.findwhat}</label></td> 25 <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 <td><input type="text" id="search_panel_searchstring" name="search_panel_searchstring" style="width: 200px" aria-required="true" /></td>
26 </tr> 27 </tr>
27 <tr> 28 <tr>
28 <td colspan="2"> 29 <td colspan="2">
29 <table border="0" cellspacing="0" cellpadding="0" class="direction"> 30 <table role="presentation" border="0" cellspacing="0" cellpadding="0" class="direction">
30 <tr> 31 <tr role="group" aria-labelledby="search_panel_backwards_label">
31 <td><label>{#searchreplace_dlg.direction}</label></td> 32 <td><label id="search_panel_backwards_label">{#searchreplace_dlg.direction}</label></td>
32 <td><input id="search_panel_backwardsu" name="search_panel_backwards" class="radio" type="radio" /></td> 33 <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><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><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 <td><label for="search_panel_backwardsd">{#searchreplace_dlg.down}</label></td>
36 </tr> 37 </tr>
37 </table> 38 </table>
38 </td> 39 </td>
39 </tr> 40 </tr>
40 <tr> 41 <tr>
41 <td colspan="2"> 42 <td colspan="2">
42 <table border="0" cellspacing="0" cellpadding="0"> 43 <table role="presentation" border="0" cellspacing="0" cellpadding="0">
43 <tr> 44 <tr>
44 <td><input id="search_panel_casesensitivebox" name="search_panel_casesensitivebox" class="checkbox" type="checkbox" /></td> 45 <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 <td><label for="search_panel_casesensitivebox">{#searchreplace_dlg.mcase}</label></td>
46 </tr> 47 </tr>
47 </table> 48 </table>
49 </tr> 50 </tr>
50 </table> 51 </table>
51 </div> 52 </div>
52 53
53 <div id="replace_panel" class="panel"> 54 <div id="replace_panel" class="panel">
54 <table border="0" cellspacing="0" cellpadding="2"> 55 <table role="presentation" border="0" cellspacing="0" cellpadding="2">
55 <tr> 56 <tr>
56 <td><label for="replace_panel_searchstring">{#searchreplace_dlg.findwhat}</label></td> 57 <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 <td><input type="text" id="replace_panel_searchstring" name="replace_panel_searchstring" style="width: 200px" aria-required="true" /></td>
58 </tr> 59 </tr>
59 <tr> 60 <tr>
60 <td><label for="replace_panel_replacestring">{#searchreplace_dlg.replacewith}</label></td> 61 <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 <td><input type="text" id="replace_panel_replacestring" name="replace_panel_replacestring" style="width: 200px" aria-required="true" /></td>
62 </tr> 63 </tr>
63 <tr> 64 <tr>
64 <td colspan="2"> 65 <td colspan="2">
65 <table border="0" cellspacing="0" cellpadding="0" class="direction"> 66 <table role="presentation" border="0" cellspacing="0" cellpadding="0" class="direction">
66 <tr> 67 <tr role="group" aria-labelledby="replace_panel_dir_label">
67 <td><label>{#searchreplace_dlg.direction}</label></td> 68 <td><label id="replace_panel_dir_label">{#searchreplace_dlg.direction}</label></td>
68 <td><input id="replace_panel_backwardsu" name="replace_panel_backwards" class="radio" type="radio" /></td> 69 <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><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><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 <td><label for="replace_panel_backwardsd">{#searchreplace_dlg.down}</label></td>
72 </tr> 73 </tr>
73 </table> 74 </table>
74 </td> 75 </td>
75 </tr> 76 </tr>
76 <tr> 77 <tr>
77 <td colspan="2"> 78 <td colspan="2">
78 <table border="0" cellspacing="0" cellpadding="0"> 79 <table role="presentation" border="0" cellspacing="0" cellpadding="0">
79 <tr> 80 <tr>
80 <td><input id="replace_panel_casesensitivebox" name="replace_panel_casesensitivebox" class="checkbox" type="checkbox" /></td> 81 <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 <td><label for="replace_panel_casesensitivebox">{#searchreplace_dlg.mcase}</label></td>
82 </tr> 83 </tr>
83 </table> 84 </table>