includes/clientside/tinymce/plugins/searchreplace/searchreplace.htm
changeset 1 fe660c52c48f
child 335 67bd3121a12e
equal deleted inserted replaced
0:902822492a68 1:fe660c52c48f
       
     1 <html xmlns="http://www.w3.org/1999/xhtml">
       
     2 <head>
       
     3 	<title>{$lang_searchreplace_replace_title}</title>
       
     4 	<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
       
     5 	<script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script>
       
     6 	<script language="javascript" type="text/javascript" src="../../utils/form_utils.js"></script>
       
     7 	<script language="javascript" type="text/javascript" src="jscripts/searchreplace.js"></script>
       
     8 	<link rel="stylesheet" type="text/css" href="css/searchreplace.css" />
       
     9 	<base target="_self" />
       
    10 </head>
       
    11 <body onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none; margin: 4px;">
       
    12 <form onsubmit="return false;" action="#">
       
    13 	<div class="tabs">
       
    14 		<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="replace_tab"><span><a href="javascript:mcTabs.displayTab('replace_tab','replace_panel');manageReplaceButtons();" onmousedown="return copyValues(this);">{$lang_searchreplace_replace}</a></span></li>
       
    17 		</ul>
       
    18 	</div>
       
    19 
       
    20 	<div class="panel_wrapper">
       
    21 
       
    22 		<div id="search_panel" class="panel">
       
    23 			<table border="0" cellspacing="0" cellpadding="2">
       
    24 				<tr>
       
    25 					<td><label for="search_panel_searchstring">{$lang_searchreplace_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>{$lang_searchreplace_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">{$lang_searchreplace_up}</label></td>
       
    35 								<td><input id="search_panel_backwardsd" name="search_panel_backwards" class="radio" type="radio" /></td>
       
    36 								<td><label for="search_panel_backwardsd">{$lang_searchreplace_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">{$lang_searchreplace_case}</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">{$lang_searchreplace_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">{$lang_searchreplace_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>{$lang_searchreplace_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">{$lang_searchreplace_up}</label></td>
       
    71 								<td><input id="replace_panel_backwardsd" name="replace_panel_backwards" class="radio" type="radio" /></td>
       
    72 								<td><label for="replace_panel_backwardsd">{$lang_searchreplace_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">{$lang_searchreplace_case}</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="button" id="insert" name="insert" value="{$lang_searchreplace_findnext}" onclick="searchNext('none');" />
       
    95 			<span id="replace_buttons">
       
    96 				<input type="button" id="replaceBtn" name="replaceBtn" value="{$lang_searchreplace_replace}" onclick="searchNext('current');" />
       
    97 				<input type="button" id="replaceAllBtn" name="replaceAllBtn" value="{$lang_searchreplace_replaceall}" onclick="searchNext('all');;" />
       
    98 			</span>
       
    99 		</div>
       
   100 
       
   101 		<div style="float: right">	
       
   102 			<input type="button" id="cancel" name="cancel" value="{$lang_searchreplace_cancel}" onclick="tinyMCEPopup.close();" />
       
   103 		</div>
       
   104 	</div>
       
   105 </form>
       
   106 </body>
       
   107 </html>