app/tiny_mce/plugins/searchreplace/searchreplace.htm
changeset 154 d2377425d3f2
parent 126 6186c115a210
equal deleted inserted replaced
153:79d52c2d50a2 154:d2377425d3f2
       
     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 	<base target="_self" />
       
    11 </head>
       
    12 <body style="display:none;">
       
    13 <form onsubmit="SearchReplaceDialog.searchNext('none');return false;" action="#">
       
    14 	<div class="tabs">
       
    15 		<ul>
       
    16 			<li id="search_tab"><span><a href="javascript:SearchReplaceDialog.switchMode('search');" onmousedown="return false;">{#searchreplace.search_desc}</a></span></li>
       
    17 			<li id="replace_tab"><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 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" /></td>
       
    27 				</tr>
       
    28 				<tr>
       
    29 					<td colspan="2">
       
    30 						<table border="0" cellspacing="0" cellpadding="0" class="direction">
       
    31 							<tr>
       
    32 								<td><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 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 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" /></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" /></td>
       
    63 				</tr>
       
    64 				<tr>
       
    65 					<td colspan="2">
       
    66 						<table border="0" cellspacing="0" cellpadding="0" class="direction">
       
    67 							<tr>
       
    68 								<td><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 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 		<div style="float: left">
       
    94 			<input type="submit" id="insert" name="insert" value="{#searchreplace_dlg.findnext}" />
       
    95 			<input type="button" class="button" id="replaceBtn" name="replaceBtn" value="{#searchreplace_dlg.replace}" onclick="SearchReplaceDialog.searchNext('current');" />
       
    96 			<input type="button" class="button" id="replaceAllBtn" name="replaceAllBtn" value="{#searchreplace_dlg.replaceall}" onclick="SearchReplaceDialog.searchNext('all');" />
       
    97 		</div>
       
    98 
       
    99 		<div style="float: right">	
       
   100 			<input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
       
   101 		</div>
       
   102 	</div>
       
   103 </form>
       
   104 </body>
       
   105 </html>