annotate media/js/tiny_mce/plugins/searchreplace/searchreplace.htm @ 45:a5b4c5ce0658

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