includes/clientside/tinymce/plugins/searchreplace/searchreplace.htm
changeset 335 67bd3121a12e
parent 1 fe660c52c48f
child 459 31c23016ab62
equal deleted inserted replaced
334:c72b545f1304 335:67bd3121a12e
       
     1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
     1 <html xmlns="http://www.w3.org/1999/xhtml">
     2 <html xmlns="http://www.w3.org/1999/xhtml">
     2 <head>
     3 <head>
     3 	<title>{$lang_searchreplace_replace_title}</title>
     4 	<title>{#searchreplace_dlg.replace_title}</title>
     4 	<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
     5 	<script type="text/javascript" src="../../tiny_mce_popup.js"></script>
     5 	<script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script>
     6 	<script type="text/javascript" src="../../utils/mctabs.js"></script>
     6 	<script language="javascript" type="text/javascript" src="../../utils/form_utils.js"></script>
     7 	<script type="text/javascript" src="../../utils/form_utils.js"></script>
     7 	<script language="javascript" type="text/javascript" src="jscripts/searchreplace.js"></script>
     8 	<script type="text/javascript" src="js/searchreplace.js"></script>
     8 	<link rel="stylesheet" type="text/css" href="css/searchreplace.css" />
     9 	<link rel="stylesheet" type="text/css" href="css/searchreplace.css" />
     9 	<base target="_self" />
    10 	<base target="_self" />
    10 </head>
    11 </head>
    11 <body onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none; margin: 4px;">
    12 <body style="display:none;">
    12 <form onsubmit="return false;" action="#">
    13 <form onsubmit="return false;" action="#">
    13 	<div class="tabs">
    14 	<div class="tabs">
    14 		<ul>
    15 		<ul>
    15 			<li id="search_tab"><span><a href="javascript:mcTabs.displayTab('search_tab','search_panel');manageReplaceButtons();" onmousedown="return copyValues(this);">{$lang_searchreplace_search_desc}</a></span></li>
    16 			<li id="search_tab"><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:mcTabs.displayTab('replace_tab','replace_panel');manageReplaceButtons();" onmousedown="return copyValues(this);">{$lang_searchreplace_replace}</a></span></li>
    17 			<li id="replace_tab"><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 
       
    22 		<div id="search_panel" class="panel">
    22 		<div id="search_panel" class="panel">
    23 			<table border="0" cellspacing="0" cellpadding="2">
    23 			<table border="0" cellspacing="0" cellpadding="2">
    24 				<tr>
    24 				<tr>
    25 					<td><label for="search_panel_searchstring">{$lang_searchreplace_findwhat}</label></td>
    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>
    26 					<td><input type="text" id="search_panel_searchstring" name="search_panel_searchstring" style="width: 200px" /></td>
    27 				</tr>
    27 				</tr>
    28 				<tr>
    28 				<tr>
    29 					<td colspan="2">
    29 					<td colspan="2">
    30 						<table border="0" cellspacing="0" cellpadding="0" class="direction">
    30 						<table border="0" cellspacing="0" cellpadding="0" class="direction">
    31 							<tr>
    31 							<tr>
    32 								<td><label>{$lang_searchreplace_direction}</label></td>
    32 								<td><label>{#searchreplace_dlg.direction}</label></td>
    33 								<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>
    34 								<td><label for="search_panel_backwardsu">{$lang_searchreplace_up}</label></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" /></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">{$lang_searchreplace_down}</label></td>
    36 								<td><label for="search_panel_backwardsd">{#searchreplace_dlg.down}</label></td>
    37 							</tr>
    37 							</tr>
    38 						</table>
    38 						</table>
    39 					</td>
    39 					</td>
    40 				</tr>
    40 				</tr>
    41 				<tr>
    41 				<tr>
    42 					<td colspan="2">
    42 					<td colspan="2">
    43 						<table border="0" cellspacing="0" cellpadding="0">
    43 						<table border="0" cellspacing="0" cellpadding="0">
    44 							<tr>
    44 							<tr>
    45 								<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>
    46 								<td><label for="search_panel_casesensitivebox">{$lang_searchreplace_case}</label></td>
    46 								<td><label for="search_panel_casesensitivebox">{#searchreplace_dlg.mcase}</label></td>
    47 							</tr>
    47 							</tr>
    48 						</table>
    48 						</table>
    49 					</td>
    49 					</td>
    50 				</tr>
    50 				</tr>
    51 			</table>
    51 			</table>
    52 		</div>
    52 		</div>
    53 
    53 
    54 		<div id="replace_panel" class="panel">
    54 		<div id="replace_panel" class="panel">
    55 			<table border="0" cellspacing="0" cellpadding="2">
    55 			<table border="0" cellspacing="0" cellpadding="2">
    56 				<tr>
    56 				<tr>
    57 					<td><label for="replace_panel_searchstring">{$lang_searchreplace_findwhat}</label></td>
    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>
    58 					<td><input type="text" id="replace_panel_searchstring" name="replace_panel_searchstring" style="width: 200px" /></td>
    59 				</tr>
    59 				</tr>
    60 				<tr>
    60 				<tr>
    61 					<td><label for="replace_panel_replacestring">{$lang_searchreplace_replacewith}</label></td>
    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>
    62 					<td><input type="text" id="replace_panel_replacestring" name="replace_panel_replacestring" style="width: 200px" /></td>
    63 				</tr>
    63 				</tr>
    64 				<tr>
    64 				<tr>
    65 					<td colspan="2">
    65 					<td colspan="2">
    66 						<table border="0" cellspacing="0" cellpadding="0" class="direction">
    66 						<table border="0" cellspacing="0" cellpadding="0" class="direction">
    67 							<tr>
    67 							<tr>
    68 								<td><label>{$lang_searchreplace_direction}</label></td>
    68 								<td><label>{#searchreplace_dlg.direction}</label></td>
    69 								<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>
    70 								<td><label for="replace_panel_backwardsu">{$lang_searchreplace_up}</label></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" /></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">{$lang_searchreplace_down}</label></td>
    72 								<td><label for="replace_panel_backwardsd">{#searchreplace_dlg.down}</label></td>
    73 							</tr>
    73 							</tr>
    74 						</table>
    74 						</table>
    75 					</td>
    75 					</td>
    76 				</tr>
    76 				</tr>
    77 				<tr>
    77 				<tr>
    78 					<td colspan="2">
    78 					<td colspan="2">
    79 						<table border="0" cellspacing="0" cellpadding="0">
    79 						<table border="0" cellspacing="0" cellpadding="0">
    80 							<tr>
    80 							<tr>
    81 								<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>
    82 								<td><label for="replace_panel_casesensitivebox">{$lang_searchreplace_case}</label></td>
    82 								<td><label for="replace_panel_casesensitivebox">{#searchreplace_dlg.mcase}</label></td>
    83 							</tr>
    83 							</tr>
    84 						</table>
    84 						</table>
    85 					</td>
    85 					</td>
    86 				</tr>
    86 				</tr>
    87 			</table>
    87 			</table>
    89 
    89 
    90 	</div>
    90 	</div>
    91 
    91 
    92 	<div class="mceActionPanel">
    92 	<div class="mceActionPanel">
    93 		<div style="float: left">
    93 		<div style="float: left">
    94 			<input type="button" id="insert" name="insert" value="{$lang_searchreplace_findnext}" onclick="searchNext('none');" />
    94 			<input type="button" id="insert" name="insert" value="{#searchreplace_dlg.findnext}" onclick="SearchReplaceDialog.searchNext('none');" />
    95 			<span id="replace_buttons">
    95 			<span id="replace_buttons">
    96 				<input type="button" id="replaceBtn" name="replaceBtn" value="{$lang_searchreplace_replace}" onclick="searchNext('current');" />
    96 				<input type="button" class="button" id="replaceBtn" name="replaceBtn" value="{#searchreplace_dlg.replace}" onclick="SearchReplaceDialog.searchNext('current');" />
    97 				<input type="button" id="replaceAllBtn" name="replaceAllBtn" value="{$lang_searchreplace_replaceall}" onclick="searchNext('all');;" />
    97 				<input type="button" class="button" id="replaceAllBtn" name="replaceAllBtn" value="{#searchreplace_dlg.replaceall}" onclick="SearchReplaceDialog.searchNext('all');" />
    98 			</span>
    98 			</span>
    99 		</div>
    99 		</div>
   100 
   100 
   101 		<div style="float: right">	
   101 		<div style="float: right">	
   102 			<input type="button" id="cancel" name="cancel" value="{$lang_searchreplace_cancel}" onclick="tinyMCEPopup.close();" />
   102 			<input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
   103 		</div>
   103 		</div>
   104 	</div>
   104 	</div>
   105 </form>
   105 </form>
   106 </body>
   106 </body>
   107 </html>
   107 </html>