annotate static/js/tiny_mce/plugins/searchreplace/searchreplace.htm @ 337:b4f0980506e0 rollout

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