includes/clientside/tinymce/plugins/media/media.htm
changeset 335 67bd3121a12e
parent 1 fe660c52c48f
child 543 dffcbfbc4e59
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_media_title}</title>
     4 	<title>{#media_dlg.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="jscripts/media.js"></script>
     6 	<script type="text/javascript" src="js/media.js"></script>
     6 	<script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script>
     7 	<script type="text/javascript" src="../../utils/mctabs.js"></script>
     7 	<script language="javascript" type="text/javascript" src="../../utils/validate.js"></script>
     8 	<script type="text/javascript" src="../../utils/validate.js"></script>
     8 	<script language="javascript" type="text/javascript" src="../../utils/form_utils.js"></script>
     9 	<script type="text/javascript" src="../../utils/form_utils.js"></script>
     9 	<script language="javascript" type="text/javascript" src="../../utils/editable_selects.js"></script>
    10 	<script type="text/javascript" src="../../utils/editable_selects.js"></script>
    10 	<link href="css/media.css" rel="stylesheet" type="text/css" />
    11 	<link href="css/media.css" rel="stylesheet" type="text/css" />
    11 	<base target="_self" />
    12 	<base target="_self" />
    12 </head>
    13 </head>
    13 <body onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none">
    14 <body style="display: none">
    14     <form onsubmit="insertMedia();return false;" action="#">
    15     <form onsubmit="insertMedia();return false;" action="#">
    15 		<div class="tabs">
    16 		<div class="tabs">
    16 			<ul>
    17 			<ul>
    17 				<li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');generatePreview();" onmousedown="return false;">{$lang_media_general}</a></span></li>
    18 				<li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');generatePreview();" onmousedown="return false;">{#media_dlg.general}</a></span></li>
    18 				<li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{$lang_media_advanced}</a></span></li>
    19 				<li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{#media_dlg.advanced}</a></span></li>
    19 			</ul>
    20 			</ul>
    20 		</div>
    21 		</div>
    21 
    22 
    22 		<div class="panel_wrapper">
    23 		<div class="panel_wrapper">
    23 			<div id="general_panel" class="panel current">
    24 			<div id="general_panel" class="panel current">
    24 				<fieldset>
    25 				<fieldset>
    25 					<legend>{$lang_media_general}</legend>
    26 					<legend>{#media_dlg.general}</legend>
    26 
    27 
    27 					<table border="0" cellpadding="4" cellspacing="0">
    28 					<table border="0" cellpadding="4" cellspacing="0">
    28 							<tr>
    29 							<tr>
    29 								<td><label for="media_type">{$lang_media_type}</label></td>
    30 								<td><label for="media_type">{#media_dlg.type}</label></td>
    30 								<td>
    31 								<td>
    31 									<select id="media_type" name="media_type" onchange="changedType(this.value);generatePreview();">
    32 									<select id="media_type" name="media_type" onchange="changedType(this.value);generatePreview();">
    32 										<option value="flash">Flash</option>
    33 										<option value="flash">Flash</option>
       
    34 										<!-- <option value="flv">Flash video (FLV)</option> -->
    33 										<option value="qt">Quicktime</option>
    35 										<option value="qt">Quicktime</option>
    34 										<option value="shockwave">Shockware</option>
    36 										<option value="shockwave">Shockware</option>
    35 										<option value="wmp">Windows Media</option>
    37 										<option value="wmp">Windows Media</option>
    36 										<option value="rmp">Real Media</option>
    38 										<option value="rmp">Real Media</option>
    37 									</select>
    39 									</select>
    38 								</td>
    40 								</td>
    39 							</tr>
    41 							</tr>
    40 							<tr>
    42 							<tr>
    41 							<td><label for="src">{$lang_media_file}</label></td>
    43 							<td><label for="src">{#media_dlg.file}</label></td>
    42 							  <td>
    44 							  <td>
    43 									<table border="0" cellspacing="0" cellpadding="0">
    45 									<table border="0" cellspacing="0" cellpadding="0">
    44 									  <tr>
    46 									  <tr>
    45 										<td><input id="src" name="src" type="text" value="" onchange="switchType(this.value);generatePreview();" /></td>
    47 										<td><input id="src" name="src" type="text" value="" onchange="switchType(this.value);generatePreview();" /></td>
    46 										<td id="filebrowsercontainer">&nbsp;</td>
    48 										<td id="filebrowsercontainer">&nbsp;</td>
    47 									  </tr>
    49 									  </tr>
    48 									</table>
    50 									</table>
    49 								</td>
    51 								</td>
    50 							</tr>
    52 							</tr>
    51 							<tr id="linklistrow">
    53 							<tr id="linklistrow">
    52 								<td><label for="linklist">{$lang_media_list}</label></td>
    54 								<td><label for="linklist">{#media_dlg.list}</label></td>
    53 								<td id="linklistcontainer">&nbsp;</td>
    55 								<td id="linklistcontainer">&nbsp;</td>
    54 							</tr>
    56 							</tr>
    55 							<tr>
    57 							<tr>
    56 								<td><label for="width">{$lang_media_size}</label></td>
    58 								<td><label for="width">{#media_dlg.size}</label></td>
    57 								<td>
    59 								<td>
    58 								<table border="0" cellpadding="0" cellspacing="0">
    60 									<table border="0" cellpadding="0" cellspacing="0">
    59 									<tr>
    61 										<tr>
    60 										<td><input type="text" id="width" name="width" value="" class="size" onchange="generatePreview('width');" /> x <input type="text" id="height" name="height" value="" class="size"  onchange="generatePreview('height');" /></td>
    62 											<td><input type="text" id="width" name="width" value="" class="size" onchange="generatePreview('width');" /> x <input type="text" id="height" name="height" value="" class="size"  onchange="generatePreview('height');" /></td>
    61 										<td>&nbsp;&nbsp;<input id="constrain" type="checkbox" name="constrain" class="checkbox" /></td>
    63 											<td>&nbsp;&nbsp;<input id="constrain" type="checkbox" name="constrain" class="checkbox" /></td>
    62 										<td><label id="constrainlabel" for="constrain">{$lang_media_constrain_proportions}</label></td>
    64 											<td><label id="constrainlabel" for="constrain">{#media_dlg.constrain_proportions}</label></td>
    63 									</tr>
    65 										</tr>
    64 								</table>
    66 									</table>
       
    67 								</td>
    65 							</tr>
    68 							</tr>
    66 					</table>
    69 					</table>
    67 				</fieldset>
    70 				</fieldset>
    68 
    71 
    69 				<fieldset>
    72 				<fieldset>
    70 					<legend>{$lang_media_preview}</legend>
    73 					<legend>{#media_dlg.preview}</legend>
    71 					<div id="prev"></div>
    74 					<div id="prev"></div>
    72 				</fieldset>
    75 				</fieldset>
    73 			</div>
    76 			</div>
    74 
    77 
    75 			<div id="advanced_panel" class="panel">
    78 			<div id="advanced_panel" class="panel">
    76 				<fieldset>
    79 				<fieldset>
    77 					<legend>{$lang_media_advanced}</legend>
    80 					<legend>{#media_dlg.advanced}</legend>
    78 
    81 
    79 					<table border="0" cellpadding="4" cellspacing="0" width="100%">
    82 					<table border="0" cellpadding="4" cellspacing="0" width="100%">
    80 						<tr>
    83 						<tr>
    81 							<td><label for="id">{$lang_media_id}</label></td>
    84 							<td><label for="id">{#media_dlg.id}</label></td>
    82 							<td><input type="text" id="id" name="id" onchange="generatePreview();" /></td>
    85 							<td><input type="text" id="id" name="id" onchange="generatePreview();" /></td>
    83 							<td><label for="name">{$lang_media_name}</label></td>
    86 							<td><label for="name">{#media_dlg.name}</label></td>
    84 							<td><input type="text" id="name" name="name" onchange="generatePreview();" /></td>
    87 							<td><input type="text" id="name" name="name" onchange="generatePreview();" /></td>
    85 						</tr>
    88 						</tr>
    86 
    89 
    87 						<tr>
    90 						<tr>
    88 							<td><label for="align">{$lang_media_align}</label></td>
    91 							<td><label for="align">{#media_dlg.align}</label></td>
    89 							<td>
    92 							<td>
    90 								<select id="align" name="align" onchange="generatePreview();">
    93 								<select id="align" name="align" onchange="generatePreview();">
    91 									<option value="">{$lang_not_set}</option> 
    94 									<option value="">{#not_set}</option> 
    92 									<option value="top">{$lang_media_align_top}</option>
    95 									<option value="top">{#media_dlg.align_top}</option>
    93 									<option value="right">{$lang_media_align_right}</option>
    96 									<option value="right">{#media_dlg.align_right}</option>
    94 									<option value="bottom">{$lang_media_align_bottom}</option>
    97 									<option value="bottom">{#media_dlg.align_bottom}</option>
    95 									<option value="left">{$lang_media_align_left}</option>
    98 									<option value="left">{#media_dlg.align_left}</option>
    96 								</select>
    99 								</select>
    97 							</td>
   100 							</td>
    98 
   101 
    99 							<td><label for="bgcolor">{$lang_media_bgcolor}</label></td>
   102 							<td><label for="bgcolor">{#media_dlg.bgcolor}</label></td>
   100 							<td>
   103 							<td>
   101 								<table border="0" cellpadding="0" cellspacing="0">
   104 								<table border="0" cellpadding="0" cellspacing="0">
   102 									<tr>
   105 									<tr>
   103 										<td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');generatePreview();" /></td>
   106 										<td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');generatePreview();" /></td>
   104 										<td id="bgcolor_pickcontainer">&nbsp;</td>
   107 										<td id="bgcolor_pickcontainer">&nbsp;</td>
   106 								</table>
   109 								</table>
   107 							</td>
   110 							</td>
   108 						</tr>
   111 						</tr>
   109 
   112 
   110 						<tr>
   113 						<tr>
   111 							<td><label for="vspace">{$lang_media_vspace}</label></td>
   114 							<td><label for="vspace">{#media_dlg.vspace}</label></td>
   112 							<td><input type="text" id="vspace" name="vspace" class="number" onchange="generatePreview();" /></td>
   115 							<td><input type="text" id="vspace" name="vspace" class="number" onchange="generatePreview();" /></td>
   113 							<td><label for="hspace">{$lang_media_hspace}</label></td>
   116 							<td><label for="hspace">{#media_dlg.hspace}</label></td>
   114 							<td><input type="text" id="hspace" name="hspace" class="number" onchange="generatePreview();" /></td>
   117 							<td><input type="text" id="hspace" name="hspace" class="number" onchange="generatePreview();" /></td>
   115 						</tr>
   118 						</tr>
   116 					</table>
   119 					</table>
   117 				</fieldset>
   120 				</fieldset>
   118 
   121 
   119 				<fieldset id="flash_options">
   122 				<fieldset id="flash_options">
   120 					<legend>{$lang_media_flash_options}</legend>
   123 					<legend>{#media_dlg.flash_options}</legend>
   121 
   124 
   122 					<table border="0" cellpadding="4" cellspacing="0">
   125 					<table border="0" cellpadding="4" cellspacing="0">
   123 						<tr>
   126 						<tr>
   124 							<td><label for="flash_quality">{$lang_media_quality}</label></td>
   127 							<td><label for="flash_quality">{#media_dlg.quality}</label></td>
   125 							<td>
   128 							<td>
   126 								<select id="flash_quality" name="flash_quality" onchange="generatePreview();">
   129 								<select id="flash_quality" name="flash_quality" onchange="generatePreview();">
   127 									<option value="">{$lang_not_set}</option> 
   130 									<option value="">{#not_set}</option> 
   128 									<option value="high">high</option>
   131 									<option value="high">high</option>
   129 									<option value="low">low</option>
   132 									<option value="low">low</option>
   130 									<option value="autolow">autolow</option>
   133 									<option value="autolow">autolow</option>
   131 									<option value="autohigh">autohigh</option>
   134 									<option value="autohigh">autohigh</option>
   132 									<option value="best">best</option>
   135 									<option value="best">best</option>
   133 								</select>
   136 								</select>
   134 							</td>
   137 							</td>
   135 
   138 
   136 							<td><label for="flash_scale">{$lang_media_scale}</label></td>
   139 							<td><label for="flash_scale">{#media_dlg.scale}</label></td>
   137 							<td>
   140 							<td>
   138 								<select id="flash_scale" name="flash_scale" onchange="generatePreview();">
   141 								<select id="flash_scale" name="flash_scale" onchange="generatePreview();">
   139 									<option value="">{$lang_not_set}</option> 
   142 									<option value="">{#not_set}</option> 
   140 									<option value="showall">showall</option>
   143 									<option value="showall">showall</option>
   141 									<option value="noborder">noborder</option>
   144 									<option value="noborder">noborder</option>
   142 									<option value="exactfit">exactfit</option>
   145 									<option value="exactfit">exactfit</option>
   143 								</select>
   146 								</select>
   144 							</td>
   147 							</td>
   145 						</tr>
   148 						</tr>
   146 
   149 
   147 						<tr>
   150 						<tr>
   148 							<td><label for="flash_wmode">{$lang_media_wmode}</label></td>
   151 							<td><label for="flash_wmode">{#media_dlg.wmode}</label></td>
   149 							<td>
   152 							<td>
   150 								<select id="flash_wmode" name="flash_wmode" onchange="generatePreview();">
   153 								<select id="flash_wmode" name="flash_wmode" onchange="generatePreview();">
   151 									<option value="">{$lang_not_set}</option> 
   154 									<option value="">{#not_set}</option> 
   152 									<option value="window">window</option>
   155 									<option value="window">window</option>
   153 									<option value="opaque">opaque</option>
   156 									<option value="opaque">opaque</option>
   154 									<option value="transparent">transparent</option>
   157 									<option value="transparent">transparent</option>
   155 								</select>
   158 								</select>
   156 							</td>
   159 							</td>
   157 
   160 
   158 							<td><label for="flash_salign">{$lang_media_salign}</label></td>
   161 							<td><label for="flash_salign">{#media_dlg.salign}</label></td>
   159 							<td>
   162 							<td>
   160 								<select id="flash_salign" name="flash_salign" onchange="generatePreview();">
   163 								<select id="flash_salign" name="flash_salign" onchange="generatePreview();">
   161 									<option value="">{$lang_not_set}</option> 
   164 									<option value="">{#not_set}</option> 
   162 									<option value="l">{$lang_media_align_left}</option>
   165 									<option value="l">{#media_dlg.align_left}</option>
   163 									<option value="t">{$lang_media_align_top}</option>
   166 									<option value="t">{#media_dlg.align_top}</option>
   164 									<option value="r">{$lang_media_align_right}</option>
   167 									<option value="r">{#media_dlg.align_right}</option>
   165 									<option value="b">{$lang_media_align_bottom}</option>
   168 									<option value="b">{#media_dlg.align_bottom}</option>
   166 									<option value="tl">{$lang_media_align_top_left}</option>
   169 									<option value="tl">{#media_dlg.align_top_left}</option>
   167 									<option value="tr">{$lang_media_align_top_right}</option>
   170 									<option value="tr">{#media_dlg.align_top_right}</option>
   168 									<option value="bl">{$lang_media_align_bottom_left}</option>
   171 									<option value="bl">{#media_dlg.align_bottom_left}</option>
   169 									<option value="br">{$lang_media_align_bottom_right}</option>
   172 									<option value="br">{#media_dlg.align_bottom_right}</option>
   170 								</select>
   173 								</select>
   171 							</td>
   174 							</td>
   172 						</tr>
   175 						</tr>
   173 
   176 
   174 						<tr>
   177 						<tr>
   175 							<td colspan="2">
   178 							<td colspan="2">
   176 								<table border="0" cellpadding="0" cellspacing="0">
   179 								<table border="0" cellpadding="0" cellspacing="0">
   177 									<tr>
   180 									<tr>
   178 										<td><input type="checkbox" class="checkbox" id="flash_play" name="flash_play" checked="checked" onchange="generatePreview();" /></td>
   181 										<td><input type="checkbox" class="checkbox" id="flash_play" name="flash_play" checked="checked" onchange="generatePreview();" /></td>
   179 										<td><label for="flash_play">{$lang_media_play}</label></td>
   182 										<td><label for="flash_play">{#media_dlg.play}</label></td>
   180 									</tr>
   183 									</tr>
   181 								</table>
   184 								</table>
   182 							</td>
   185 							</td>
   183 
   186 
   184 							<td colspan="2">
   187 							<td colspan="2">
   185 								<table border="0" cellpadding="0" cellspacing="0">
   188 								<table border="0" cellpadding="0" cellspacing="0">
   186 									<tr>
   189 									<tr>
   187 										<td><input type="checkbox" class="checkbox" id="flash_loop" name="flash_loop" checked="checked" onchange="generatePreview();" /></td>
   190 										<td><input type="checkbox" class="checkbox" id="flash_loop" name="flash_loop" checked="checked" onchange="generatePreview();" /></td>
   188 										<td><label for="flash_loop">{$lang_media_loop}</label></td>
   191 										<td><label for="flash_loop">{#media_dlg.loop}</label></td>
   189 									</tr>
   192 									</tr>
   190 								</table>
   193 								</table>
   191 							</td>
   194 							</td>
   192 						</tr>
   195 						</tr>
   193 
   196 
   194 						<tr>
   197 						<tr>
   195 							<td colspan="2">
   198 							<td colspan="2">
   196 								<table border="0" cellpadding="0" cellspacing="0">
   199 								<table border="0" cellpadding="0" cellspacing="0">
   197 									<tr>
   200 									<tr>
   198 										<td><input type="checkbox" class="checkbox" id="flash_menu" name="flash_menu" checked="checked" onchange="generatePreview();" /></td>
   201 										<td><input type="checkbox" class="checkbox" id="flash_menu" name="flash_menu" checked="checked" onchange="generatePreview();" /></td>
   199 										<td><label for="flash_menu">{$lang_media_menu}</label></td>
   202 										<td><label for="flash_menu">{#media_dlg.menu}</label></td>
   200 									</tr>
   203 									</tr>
   201 								</table>
   204 								</table>
   202 							</td>
   205 							</td>
   203 
   206 
   204 							<td colspan="2">
   207 							<td colspan="2">
   205 								<table border="0" cellpadding="0" cellspacing="0">
   208 								<table border="0" cellpadding="0" cellspacing="0">
   206 									<tr>
   209 									<tr>
   207 										<td><input type="checkbox" class="checkbox" id="flash_swliveconnect" name="flash_swliveconnect" onchange="generatePreview();" /></td>
   210 										<td><input type="checkbox" class="checkbox" id="flash_swliveconnect" name="flash_swliveconnect" onchange="generatePreview();" /></td>
   208 										<td><label for="flash_swliveconnect">{$lang_media_liveconnect}</label></td>
   211 										<td><label for="flash_swliveconnect">{#media_dlg.liveconnect}</label></td>
   209 									</tr>
   212 									</tr>
   210 								</table>
   213 								</table>
   211 							</td>
   214 							</td>
   212 						</tr>
   215 						</tr>
   213 					</table>
   216 					</table>
   214 
   217 
   215 					<table>
   218 					<table>
   216 						<tr>
   219 						<tr>
   217 							<td><label for="flash_base">{$lang_media_base}</label></td>
   220 							<td><label for="flash_base">{#media_dlg.base}</label></td>
   218 							<td><input type="text" id="flash_base" name="flash_base" onchange="generatePreview();" /></td>
   221 							<td><input type="text" id="flash_base" name="flash_base" onchange="generatePreview();" /></td>
   219 						</tr>
   222 						</tr>
   220 
   223 
   221 						<tr>
   224 						<tr>
   222 							<td><label for="flash_flashvars">{$lang_media_flashvars}</label></td>
   225 							<td><label for="flash_flashvars">{#media_dlg.flashvars}</label></td>
   223 							<td><input type="text" id="flash_flashvars" name="flash_flashvars" onchange="generatePreview();" /></td>
   226 							<td><input type="text" id="flash_flashvars" name="flash_flashvars" onchange="generatePreview();" /></td>
   224 						</tr>
   227 						</tr>
   225 					</table>
   228 					</table>
   226 				</fieldset>
   229 				</fieldset>
   227 
   230 
       
   231 				<fieldset id="flv_options">
       
   232 					<legend>{#media_dlg.flv_options}</legend>
       
   233 
       
   234 					<table border="0" cellpadding="4" cellspacing="0">
       
   235 						<tr>
       
   236 							<td><label for="flv_scalemode">{#media_dlg.flv_scalemode}</label></td>
       
   237 							<td>
       
   238 								<select id="flv_scalemode" name="flv_scalemode" onchange="generatePreview();">
       
   239 									<option value="">{#not_set}</option> 
       
   240 									<option value="none">none</option>
       
   241 									<option value="double">double</option>
       
   242 									<option value="full">full</option>
       
   243 								</select>
       
   244 							</td>
       
   245 
       
   246 							<td><label for="flv_buffer">{#media_dlg.flv_buffer}</label></td>
       
   247 							<td><input type="text" id="flv_buffer" name="flv_buffer" onchange="generatePreview();" /></td>
       
   248 						</tr>
       
   249 
       
   250 						<tr>
       
   251 							<td><label for="flv_startimage">{#media_dlg.flv_startimage}</label></td>
       
   252 							<td><input type="text" id="flv_startimage" name="flv_startimage" onchange="generatePreview();" /></td>
       
   253 
       
   254 							<td><label for="flv_starttime">{#media_dlg.flv_starttime}</label></td>
       
   255 							<td><input type="text" id="flv_starttime" name="flv_starttime" onchange="generatePreview();" /></td>
       
   256 						</tr>
       
   257 
       
   258 						<tr>
       
   259 							<td><label for="flv_defaultvolume">{#media_dlg.flv_defaultvolume}</label></td>
       
   260 							<td><input type="text" id="flv_defaultvolume" name="flv_defaultvolume" onchange="generatePreview();" /></td>
       
   261 
       
   262 							<td><label for="flv_starttime">{#media_dlg.flv_starttime}</label></td>
       
   263 							<td><input type="text" id="flv_starttime" name="flv_starttime" onchange="generatePreview();" /></td>
       
   264 						</tr>
       
   265 
       
   266 						<tr>
       
   267 							<td colspan="2">
       
   268 								<table border="0" cellpadding="0" cellspacing="0">
       
   269 									<tr>
       
   270 										<td><input type="checkbox" class="checkbox" id="flv_hiddengui" name="flv_hiddengui" checked="checked" onchange="generatePreview();" /></td>
       
   271 										<td><label for="flv_hiddengui">{#media_dlg.flv_hiddengui}</label></td>
       
   272 									</tr>
       
   273 								</table>
       
   274 							</td>
       
   275 
       
   276 							<td colspan="2">
       
   277 								<table border="0" cellpadding="0" cellspacing="0">
       
   278 									<tr>
       
   279 										<td><input type="checkbox" class="checkbox" id="flv_autostart" name="flv_autostart" checked="checked" onchange="generatePreview();" /></td>
       
   280 										<td><label for="flv_autostart">{#media_dlg.flv_autostart}</label></td>
       
   281 									</tr>
       
   282 								</table>
       
   283 							</td>
       
   284 						</tr>
       
   285 
       
   286 						<tr>
       
   287 							<td colspan="2">
       
   288 								<table border="0" cellpadding="0" cellspacing="0">
       
   289 									<tr>
       
   290 										<td><input type="checkbox" class="checkbox" id="flv_loop" name="flv_loop" checked="checked" onchange="generatePreview();" /></td>
       
   291 										<td><label for="flv_loop">{#media_dlg.flv_loop}</label></td>
       
   292 									</tr>
       
   293 								</table>
       
   294 							</td>
       
   295 
       
   296 							<td colspan="2">
       
   297 								<table border="0" cellpadding="0" cellspacing="0">
       
   298 									<tr>
       
   299 										<td><input type="checkbox" class="checkbox" id="flv_showscalemodes" name="flv_showscalemodes" onchange="generatePreview();" /></td>
       
   300 										<td><label for="flv_showscalemodes">{#media_dlg.flv_showscalemodes}</label></td>
       
   301 									</tr>
       
   302 								</table>
       
   303 							</td>
       
   304 						</tr>
       
   305 
       
   306 						<tr>
       
   307 							<td colspan="2">
       
   308 								<table border="0" cellpadding="0" cellspacing="0">
       
   309 									<tr>
       
   310 										<td><input type="checkbox" class="checkbox" id="flv_smoothvideo" name="flash_flv_flv_smoothvideosmoothvideo" checked="checked" onchange="generatePreview();" /></td>
       
   311 										<td><label for="flv_smoothvideo">{#media_dlg.flv_smoothvideo}</label></td>
       
   312 									</tr>
       
   313 								</table>
       
   314 							</td>
       
   315 
       
   316 							<td colspan="2">
       
   317 								<table border="0" cellpadding="0" cellspacing="0">
       
   318 									<tr>
       
   319 										<td><input type="checkbox" class="checkbox" id="flv_jscallback" name="flv_jscallback" onchange="generatePreview();" /></td>
       
   320 										<td><label for="flv_jscallback">{#media_dlg.flv_jscallback}</label></td>
       
   321 									</tr>
       
   322 								</table>
       
   323 							</td>
       
   324 						</tr>
       
   325 					</table>
       
   326 				</fieldset>
       
   327 
   228 				<fieldset id="qt_options">
   328 				<fieldset id="qt_options">
   229 					<legend>{$lang_media_qt_options}</legend>
   329 					<legend>{#media_dlg.qt_options}</legend>
   230 
   330 
   231 					<table border="0" cellpadding="4" cellspacing="0">
   331 					<table border="0" cellpadding="4" cellspacing="0">
   232 						<tr>
   332 						<tr>
   233 							<td colspan="2">
   333 							<td colspan="2">
   234 								<table border="0" cellpadding="0" cellspacing="0">
   334 								<table border="0" cellpadding="0" cellspacing="0">
   235 									<tr>
   335 									<tr>
   236 										<td><input type="checkbox" class="checkbox" id="qt_loop" name="qt_loop" onchange="generatePreview();" /></td>
   336 										<td><input type="checkbox" class="checkbox" id="qt_loop" name="qt_loop" onchange="generatePreview();" /></td>
   237 										<td><label for="qt_loop">{$lang_media_loop}</label></td>
   337 										<td><label for="qt_loop">{#media_dlg.loop}</label></td>
   238 									</tr>
   338 									</tr>
   239 								</table>
   339 								</table>
   240 							</td>
   340 							</td>
   241 
   341 
   242 							<td colspan="2">
   342 							<td colspan="2">
   243 								<table border="0" cellpadding="0" cellspacing="0">
   343 								<table border="0" cellpadding="0" cellspacing="0">
   244 									<tr>
   344 									<tr>
   245 										<td><input type="checkbox" class="checkbox" id="qt_autoplay" name="qt_autoplay" onchange="generatePreview();" /></td>
   345 										<td><input type="checkbox" class="checkbox" id="qt_autoplay" name="qt_autoplay" checked="checked" onchange="generatePreview();" /></td>
   246 										<td><label for="qt_autoplay">{$lang_media_play}</label></td>
   346 										<td><label for="qt_autoplay">{#media_dlg.play}</label></td>
   247 									</tr>
   347 									</tr>
   248 								</table>
   348 								</table>
   249 							</td>
   349 							</td>
   250 						</tr>
   350 						</tr>
   251 
   351 
   252 						<tr>
   352 						<tr>
   253 							<td colspan="2">
   353 							<td colspan="2">
   254 								<table border="0" cellpadding="0" cellspacing="0">
   354 								<table border="0" cellpadding="0" cellspacing="0">
   255 									<tr>
   355 									<tr>
   256 										<td><input type="checkbox" class="checkbox" id="qt_cache" name="qt_cache" onchange="generatePreview();" /></td>
   356 										<td><input type="checkbox" class="checkbox" id="qt_cache" name="qt_cache" onchange="generatePreview();" /></td>
   257 										<td><label for="qt_cache">{$lang_media_cache}</label></td>
   357 										<td><label for="qt_cache">{#media_dlg.cache}</label></td>
   258 									</tr>
   358 									</tr>
   259 								</table>
   359 								</table>
   260 							</td>
   360 							</td>
   261 
   361 
   262 							<td colspan="2">
   362 							<td colspan="2">
   263 								<table border="0" cellpadding="0" cellspacing="0">
   363 								<table border="0" cellpadding="0" cellspacing="0">
   264 									<tr>
   364 									<tr>
   265 										<td><input type="checkbox" class="checkbox" id="qt_controller" name="qt_controller" checked="checked" onchange="generatePreview();" /></td>
   365 										<td><input type="checkbox" class="checkbox" id="qt_controller" name="qt_controller" checked="checked" onchange="generatePreview();" /></td>
   266 										<td><label for="qt_controller">{$lang_media_controller}</label></td>
   366 										<td><label for="qt_controller">{#media_dlg.controller}</label></td>
   267 									</tr>
   367 									</tr>
   268 								</table>
   368 								</table>
   269 							</td>
   369 							</td>
   270 						</tr>
   370 						</tr>
   271 
   371 
   272 						<tr>
   372 						<tr>
   273 							<td colspan="2">
   373 							<td colspan="2">
   274 								<table border="0" cellpadding="0" cellspacing="0">
   374 								<table border="0" cellpadding="0" cellspacing="0">
   275 									<tr>
   375 									<tr>
   276 										<td><input type="checkbox" class="checkbox" id="qt_correction" name="qt_correction" onchange="generatePreview();" /></td>
   376 										<td><input type="checkbox" class="checkbox" id="qt_correction" name="qt_correction" onchange="generatePreview();" /></td>
   277 										<td><label for="qt_correction">{$lang_media_correction}</label></td>
   377 										<td><label for="qt_correction">{#media_dlg.correction}</label></td>
   278 									</tr>
   378 									</tr>
   279 								</table>
   379 								</table>
   280 							</td>
   380 							</td>
   281 
   381 
   282 							<td colspan="2">
   382 							<td colspan="2">
   283 								<table border="0" cellpadding="0" cellspacing="0">
   383 								<table border="0" cellpadding="0" cellspacing="0">
   284 									<tr>
   384 									<tr>
   285 										<td><input type="checkbox" class="checkbox" id="qt_enablejavascript" name="qt_enablejavascript" onchange="generatePreview();" /></td>
   385 										<td><input type="checkbox" class="checkbox" id="qt_enablejavascript" name="qt_enablejavascript" onchange="generatePreview();" /></td>
   286 										<td><label for="qt_enablejavascript">{$lang_media_enablejavascript}</label></td>
   386 										<td><label for="qt_enablejavascript">{#media_dlg.enablejavascript}</label></td>
   287 									</tr>
   387 									</tr>
   288 								</table>
   388 								</table>
   289 							</td>
   389 							</td>
   290 						</tr>
   390 						</tr>
   291 
   391 
   292 						<tr>
   392 						<tr>
   293 							<td colspan="2">
   393 							<td colspan="2">
   294 								<table border="0" cellpadding="0" cellspacing="0">
   394 								<table border="0" cellpadding="0" cellspacing="0">
   295 									<tr>
   395 									<tr>
   296 										<td><input type="checkbox" class="checkbox" id="qt_kioskmode" name="qt_kioskmode" onchange="generatePreview();" /></td>
   396 										<td><input type="checkbox" class="checkbox" id="qt_kioskmode" name="qt_kioskmode" onchange="generatePreview();" /></td>
   297 										<td><label for="qt_kioskmode">{$lang_media_kioskmode}</label></td>
   397 										<td><label for="qt_kioskmode">{#media_dlg.kioskmode}</label></td>
   298 									</tr>
   398 									</tr>
   299 								</table>
   399 								</table>
   300 							</td>
   400 							</td>
   301 
   401 
   302 							<td colspan="2">
   402 							<td colspan="2">
   303 								<table border="0" cellpadding="0" cellspacing="0">
   403 								<table border="0" cellpadding="0" cellspacing="0">
   304 									<tr>
   404 									<tr>
   305 										<td><input type="checkbox" class="checkbox" id="qt_autohref" name="qt_autohref" onchange="generatePreview();" /></td>
   405 										<td><input type="checkbox" class="checkbox" id="qt_autohref" name="qt_autohref" onchange="generatePreview();" /></td>
   306 										<td><label for="qt_autohref">{$lang_media_autohref}</label></td>
   406 										<td><label for="qt_autohref">{#media_dlg.autohref}</label></td>
   307 									</tr>
   407 									</tr>
   308 								</table>
   408 								</table>
   309 							</td>
   409 							</td>
   310 						</tr>
   410 						</tr>
   311 
   411 
   312 						<tr>
   412 						<tr>
   313 							<td colspan="2">
   413 							<td colspan="2">
   314 								<table border="0" cellpadding="0" cellspacing="0">
   414 								<table border="0" cellpadding="0" cellspacing="0">
   315 									<tr>
   415 									<tr>
   316 										<td><input type="checkbox" class="checkbox" id="qt_playeveryframe" name="qt_playeveryframe" onchange="generatePreview();" /></td>
   416 										<td><input type="checkbox" class="checkbox" id="qt_playeveryframe" name="qt_playeveryframe" onchange="generatePreview();" /></td>
   317 										<td><label for="qt_playeveryframe">{$lang_media_playeveryframe}</label></td>
   417 										<td><label for="qt_playeveryframe">{#media_dlg.playeveryframe}</label></td>
   318 									</tr>
   418 									</tr>
   319 								</table>
   419 								</table>
   320 							</td>
   420 							</td>
   321 
   421 
   322 							<td colspan="2">
   422 							<td colspan="2">
   323 								<table border="0" cellpadding="0" cellspacing="0">
   423 								<table border="0" cellpadding="0" cellspacing="0">
   324 									<tr>
   424 									<tr>
   325 										<td><input type="checkbox" class="checkbox" id="qt_targetcache" name="qt_targetcache" onchange="generatePreview();" /></td>
   425 										<td><input type="checkbox" class="checkbox" id="qt_targetcache" name="qt_targetcache" onchange="generatePreview();" /></td>
   326 										<td><label for="qt_targetcache">{$lang_media_targetcache}</label></td>
   426 										<td><label for="qt_targetcache">{#media_dlg.targetcache}</label></td>
   327 									</tr>
   427 									</tr>
   328 								</table>
   428 								</table>
   329 							</td>
   429 							</td>
   330 						</tr>
   430 						</tr>
   331 
   431 
   332 						<tr>
   432 						<tr>
   333 							<td><label for="qt_scale">{$lang_media_scale}</label></td>
   433 							<td><label for="qt_scale">{#media_dlg.scale}</label></td>
   334 							<td><select id="qt_scale" name="qt_scale" class="mceEditableSelect" onchange="generatePreview();">
   434 							<td><select id="qt_scale" name="qt_scale" class="mceEditableSelect" onchange="generatePreview();">
   335 									<option value="">{$lang_not_set}</option> 
   435 									<option value="">{#not_set}</option> 
   336 									<option value="tofit">tofit</option>
   436 									<option value="tofit">tofit</option>
   337 									<option value="aspect">aspect</option>
   437 									<option value="aspect">aspect</option>
   338 								</select>
   438 								</select>
   339 							</td>
   439 							</td>
   340 
   440 
   341 							<td colspan="2">&nbsp;</td>
   441 							<td colspan="2">&nbsp;</td>
   342 						</tr>
   442 						</tr>
   343 
   443 
   344 						<tr>
   444 						<tr>
   345 							<td><label for="qt_starttime">{$lang_media_starttime}</label></td>
   445 							<td><label for="qt_starttime">{#media_dlg.starttime}</label></td>
   346 							<td><input type="text" id="qt_starttime" name="qt_starttime" onchange="generatePreview();" /></td>
   446 							<td><input type="text" id="qt_starttime" name="qt_starttime" onchange="generatePreview();" /></td>
   347 
   447 
   348 							<td><label for="qt_endtime">{$lang_media_endtime}</label></td>
   448 							<td><label for="qt_endtime">{#media_dlg.endtime}</label></td>
   349 							<td><input type="text" id="qt_endtime" name="qt_endtime" onchange="generatePreview();" /></td>
   449 							<td><input type="text" id="qt_endtime" name="qt_endtime" onchange="generatePreview();" /></td>
   350 						</tr>
   450 						</tr>
   351 
   451 
   352 						<tr>
   452 						<tr>
   353 							<td><label for="qt_target">{$lang_media_target}</label></td>
   453 							<td><label for="qt_target">{#media_dlg.target}</label></td>
   354 							<td><input type="text" id="qt_target" name="qt_target" onchange="generatePreview();" /></td>
   454 							<td><input type="text" id="qt_target" name="qt_target" onchange="generatePreview();" /></td>
   355 
   455 
   356 							<td><label for="qt_href">{$lang_media_href}</label></td>
   456 							<td><label for="qt_href">{#media_dlg.href}</label></td>
   357 							<td><input type="text" id="qt_href" name="qt_href" onchange="generatePreview();" /></td>
   457 							<td><input type="text" id="qt_href" name="qt_href" onchange="generatePreview();" /></td>
   358 						</tr>
   458 						</tr>
   359 
   459 
   360 						<tr>
   460 						<tr>
   361 							<td><label for="qt_qtsrcchokespeed">{$lang_media_qtsrcchokespeed}</label></td>
   461 							<td><label for="qt_qtsrcchokespeed">{#media_dlg.qtsrcchokespeed}</label></td>
   362 							<td><input type="text" id="qt_qtsrcchokespeed" name="qt_qtsrcchokespeed" onchange="generatePreview();" /></td>
   462 							<td><input type="text" id="qt_qtsrcchokespeed" name="qt_qtsrcchokespeed" onchange="generatePreview();" /></td>
   363 
   463 
   364 							<td><label for="qt_volume">{$lang_media_volume}</label></td>
   464 							<td><label for="qt_volume">{#media_dlg.volume}</label></td>
   365 							<td><input type="text" id="qt_volume" name="qt_volume" onchange="generatePreview();" /></td>
   465 							<td><input type="text" id="qt_volume" name="qt_volume" onchange="generatePreview();" /></td>
   366 						</tr>
   466 						</tr>
   367 
   467 
   368 						<tr>
   468 						<tr>
   369 							<td><label for="qt_qtsrc">{$lang_media_qtsrc}</label></td>
   469 							<td><label for="qt_qtsrc">{#media_dlg.qtsrc}</label></td>
   370 							<td colspan="4">
   470 							<td colspan="4">
   371 							<table border="0" cellspacing="0" cellpadding="0">
   471 							<table border="0" cellspacing="0" cellpadding="0">
   372 								  <tr>
   472 								  <tr>
   373 									<td><input type="text" id="qt_qtsrc" name="qt_qtsrc" onchange="generatePreview();" /></td>
   473 									<td><input type="text" id="qt_qtsrc" name="qt_qtsrc" onchange="generatePreview();" /></td>
   374 									<td id="qtsrcfilebrowsercontainer">&nbsp;</td>
   474 									<td id="qtsrcfilebrowsercontainer">&nbsp;</td>
   378 						</tr>
   478 						</tr>
   379 					</table>
   479 					</table>
   380 				</fieldset>
   480 				</fieldset>
   381 
   481 
   382 				<fieldset id="wmp_options">
   482 				<fieldset id="wmp_options">
   383 					<legend>{$lang_media_wmp_options}</legend>
   483 					<legend>{#media_dlg.wmp_options}</legend>
   384 
   484 
   385 					<table border="0" cellpadding="4" cellspacing="0">
   485 					<table border="0" cellpadding="4" cellspacing="0">
   386 						<tr>
   486 						<tr>
   387 							<td colspan="2">
   487 							<td colspan="2">
   388 								<table border="0" cellpadding="0" cellspacing="0">
   488 								<table border="0" cellpadding="0" cellspacing="0">
   389 									<tr>
   489 									<tr>
   390 										<td><input type="checkbox" class="checkbox" id="wmp_autostart" name="wmp_autostart" checked="checked" onchange="generatePreview();" /></td>
   490 										<td><input type="checkbox" class="checkbox" id="wmp_autostart" name="wmp_autostart" checked="checked" onchange="generatePreview();" /></td>
   391 										<td><label for="wmp_autostart">{$lang_media_autostart}</label></td>
   491 										<td><label for="wmp_autostart">{#media_dlg.autostart}</label></td>
   392 									</tr>
   492 									</tr>
   393 								</table>
   493 								</table>
   394 							</td>
   494 							</td>
   395 
   495 
   396 							<td colspan="2">
   496 							<td colspan="2">
   397 								<table border="0" cellpadding="0" cellspacing="0">
   497 								<table border="0" cellpadding="0" cellspacing="0">
   398 									<tr>
   498 									<tr>
   399 										<td><input type="checkbox" class="checkbox" id="wmp_enabled" name="wmp_enabled" onchange="generatePreview();" /></td>
   499 										<td><input type="checkbox" class="checkbox" id="wmp_enabled" name="wmp_enabled" onchange="generatePreview();" /></td>
   400 										<td><label for="wmp_enabled">{$lang_media_enabled}</label></td>
   500 										<td><label for="wmp_enabled">{#media_dlg.enabled}</label></td>
   401 									</tr>
   501 									</tr>
   402 								</table>
   502 								</table>
   403 							</td>
   503 							</td>
   404 						</tr>
   504 						</tr>
   405 
   505 
   406 						<tr>
   506 						<tr>
   407 							<td colspan="2">
   507 							<td colspan="2">
   408 								<table border="0" cellpadding="0" cellspacing="0">
   508 								<table border="0" cellpadding="0" cellspacing="0">
   409 									<tr>
   509 									<tr>
   410 										<td><input type="checkbox" class="checkbox" id="wmp_enablecontextmenu" name="wmp_enablecontextmenu" checked="checked" onchange="generatePreview();" /></td>
   510 										<td><input type="checkbox" class="checkbox" id="wmp_enablecontextmenu" name="wmp_enablecontextmenu" checked="checked" onchange="generatePreview();" /></td>
   411 										<td><label for="wmp_enablecontextmenu">{$lang_media_menu}</label></td>
   511 										<td><label for="wmp_enablecontextmenu">{#media_dlg.menu}</label></td>
   412 									</tr>
   512 									</tr>
   413 								</table>
   513 								</table>
   414 							</td>
   514 							</td>
   415 
   515 
   416 							<td colspan="2">
   516 							<td colspan="2">
   417 								<table border="0" cellpadding="0" cellspacing="0">
   517 								<table border="0" cellpadding="0" cellspacing="0">
   418 									<tr>
   518 									<tr>
   419 										<td><input type="checkbox" class="checkbox" id="wmp_fullscreen" name="wmp_fullscreen" onchange="generatePreview();" /></td>
   519 										<td><input type="checkbox" class="checkbox" id="wmp_fullscreen" name="wmp_fullscreen" onchange="generatePreview();" /></td>
   420 										<td><label for="wmp_fullscreen">{$lang_media_fullscreen}</label></td>
   520 										<td><label for="wmp_fullscreen">{#media_dlg.fullscreen}</label></td>
   421 									</tr>
   521 									</tr>
   422 								</table>
   522 								</table>
   423 							</td>
   523 							</td>
   424 						</tr>
   524 						</tr>
   425 
   525 
   426 						<tr>
   526 						<tr>
   427 							<td colspan="2">
   527 							<td colspan="2">
   428 								<table border="0" cellpadding="0" cellspacing="0">
   528 								<table border="0" cellpadding="0" cellspacing="0">
   429 									<tr>
   529 									<tr>
   430 										<td><input type="checkbox" class="checkbox" id="wmp_invokeurls" name="wmp_invokeurls" checked="checked" onchange="generatePreview();" /></td>
   530 										<td><input type="checkbox" class="checkbox" id="wmp_invokeurls" name="wmp_invokeurls" checked="checked" onchange="generatePreview();" /></td>
   431 										<td><label for="wmp_invokeurls">{$lang_media_invokeurls}</label></td>
   531 										<td><label for="wmp_invokeurls">{#media_dlg.invokeurls}</label></td>
   432 									</tr>
   532 									</tr>
   433 								</table>
   533 								</table>
   434 							</td>
   534 							</td>
   435 
   535 
   436 							<td colspan="2">
   536 							<td colspan="2">
   437 								<table border="0" cellpadding="0" cellspacing="0">
   537 								<table border="0" cellpadding="0" cellspacing="0">
   438 									<tr>
   538 									<tr>
   439 										<td><input type="checkbox" class="checkbox" id="wmp_mute" name="wmp_mute" onchange="generatePreview();" /></td>
   539 										<td><input type="checkbox" class="checkbox" id="wmp_mute" name="wmp_mute" onchange="generatePreview();" /></td>
   440 										<td><label for="wmp_mute">{$lang_media_mute}</label></td>
   540 										<td><label for="wmp_mute">{#media_dlg.mute}</label></td>
   441 									</tr>
   541 									</tr>
   442 								</table>
   542 								</table>
   443 							</td>
   543 							</td>
   444 						</tr>
   544 						</tr>
   445 
   545 
   446 						<tr>
   546 						<tr>
   447 							<td colspan="2">
   547 							<td colspan="2">
   448 								<table border="0" cellpadding="0" cellspacing="0">
   548 								<table border="0" cellpadding="0" cellspacing="0">
   449 									<tr>
   549 									<tr>
   450 										<td><input type="checkbox" class="checkbox" id="wmp_stretchtofit" name="wmp_stretchtofit" onchange="generatePreview();" /></td>
   550 										<td><input type="checkbox" class="checkbox" id="wmp_stretchtofit" name="wmp_stretchtofit" onchange="generatePreview();" /></td>
   451 										<td><label for="wmp_stretchtofit">{$lang_media_stretchtofit}</label></td>
   551 										<td><label for="wmp_stretchtofit">{#media_dlg.stretchtofit}</label></td>
   452 									</tr>
   552 									</tr>
   453 								</table>
   553 								</table>
   454 							</td>
   554 							</td>
   455 
   555 
   456 							<td colspan="2">
   556 							<td colspan="2">
   457 								<table border="0" cellpadding="0" cellspacing="0">
   557 								<table border="0" cellpadding="0" cellspacing="0">
   458 									<tr>
   558 									<tr>
   459 										<td><input type="checkbox" class="checkbox" id="wmp_windowlessvideo" name="wmp_windowlessvideo" onchange="generatePreview();" /></td>
   559 										<td><input type="checkbox" class="checkbox" id="wmp_windowlessvideo" name="wmp_windowlessvideo" onchange="generatePreview();" /></td>
   460 										<td><label for="wmp_windowlessvideo">{$lang_media_windowlessvideo}</label></td>
   560 										<td><label for="wmp_windowlessvideo">{#media_dlg.windowlessvideo}</label></td>
   461 									</tr>
   561 									</tr>
   462 								</table>
   562 								</table>
   463 							</td>
   563 							</td>
   464 						</tr>
   564 						</tr>
   465 
   565 
   466 						<tr>
   566 						<tr>
   467 							<td><label for="wmp_balance">{$lang_media_balance}</label></td>
   567 							<td><label for="wmp_balance">{#media_dlg.balance}</label></td>
   468 							<td><input type="text" id="wmp_balance" name="wmp_balance" onchange="generatePreview();" /></td>
   568 							<td><input type="text" id="wmp_balance" name="wmp_balance" onchange="generatePreview();" /></td>
   469 
   569 
   470 							<td><label for="wmp_baseurl">{$lang_media_baseurl}</label></td>
   570 							<td><label for="wmp_baseurl">{#media_dlg.baseurl}</label></td>
   471 							<td><input type="text" id="wmp_baseurl" name="wmp_baseurl" onchange="generatePreview();" /></td>
   571 							<td><input type="text" id="wmp_baseurl" name="wmp_baseurl" onchange="generatePreview();" /></td>
   472 						</tr>
   572 						</tr>
   473 
   573 
   474 						<tr>
   574 						<tr>
   475 							<td><label for="wmp_captioningid">{$lang_media_captioningid}</label></td>
   575 							<td><label for="wmp_captioningid">{#media_dlg.captioningid}</label></td>
   476 							<td><input type="text" id="wmp_captioningid" name="wmp_captioningid" onchange="generatePreview();" /></td>
   576 							<td><input type="text" id="wmp_captioningid" name="wmp_captioningid" onchange="generatePreview();" /></td>
   477 
   577 
   478 							<td><label for="wmp_currentmarker">{$lang_media_currentmarker}</label></td>
   578 							<td><label for="wmp_currentmarker">{#media_dlg.currentmarker}</label></td>
   479 							<td><input type="text" id="wmp_currentmarker" name="wmp_currentmarker" onchange="generatePreview();" /></td>
   579 							<td><input type="text" id="wmp_currentmarker" name="wmp_currentmarker" onchange="generatePreview();" /></td>
   480 						</tr>
   580 						</tr>
   481 
   581 
   482 						<tr>
   582 						<tr>
   483 							<td><label for="wmp_currentposition">{$lang_media_currentposition}</label></td>
   583 							<td><label for="wmp_currentposition">{#media_dlg.currentposition}</label></td>
   484 							<td><input type="text" id="wmp_currentposition" name="wmp_currentposition" onchange="generatePreview();" /></td>
   584 							<td><input type="text" id="wmp_currentposition" name="wmp_currentposition" onchange="generatePreview();" /></td>
   485 
   585 
   486 							<td><label for="wmp_defaultframe">{$lang_media_defaultframe}</label></td>
   586 							<td><label for="wmp_defaultframe">{#media_dlg.defaultframe}</label></td>
   487 							<td><input type="text" id="wmp_defaultframe" name="wmp_defaultframe" onchange="generatePreview();" /></td>
   587 							<td><input type="text" id="wmp_defaultframe" name="wmp_defaultframe" onchange="generatePreview();" /></td>
   488 						</tr>
   588 						</tr>
   489 
   589 
   490 						<tr>
   590 						<tr>
   491 							<td><label for="wmp_playcount">{$lang_media_playcount}</label></td>
   591 							<td><label for="wmp_playcount">{#media_dlg.playcount}</label></td>
   492 							<td><input type="text" id="wmp_playcount" name="wmp_playcount" onchange="generatePreview();" /></td>
   592 							<td><input type="text" id="wmp_playcount" name="wmp_playcount" onchange="generatePreview();" /></td>
   493 
   593 
   494 							<td><label for="wmp_rate">{$lang_media_rate}</label></td>
   594 							<td><label for="wmp_rate">{#media_dlg.rate}</label></td>
   495 							<td><input type="text" id="wmp_rate" name="wmp_rate" onchange="generatePreview();" /></td>
   595 							<td><input type="text" id="wmp_rate" name="wmp_rate" onchange="generatePreview();" /></td>
   496 						</tr>
   596 						</tr>
   497 
   597 
   498 						<tr>
   598 						<tr>
   499 							<td><label for="wmp_uimode">{$lang_media_uimode}</label></td>
   599 							<td><label for="wmp_uimode">{#media_dlg.uimode}</label></td>
   500 							<td><input type="text" id="wmp_uimode" name="wmp_uimode" onchange="generatePreview();" /></td>
   600 							<td><input type="text" id="wmp_uimode" name="wmp_uimode" onchange="generatePreview();" /></td>
   501 
   601 
   502 							<td><label for="wmp_volume">{$lang_media_volume}</label></td>
   602 							<td><label for="wmp_volume">{#media_dlg.volume}</label></td>
   503 							<td><input type="text" id="wmp_volume" name="wmp_volume" onchange="generatePreview();" /></td>
   603 							<td><input type="text" id="wmp_volume" name="wmp_volume" onchange="generatePreview();" /></td>
   504 						</tr>
   604 						</tr>
   505 
   605 
   506 					</table>
   606 					</table>
   507 				</fieldset>
   607 				</fieldset>
   508 
   608 
   509 				<fieldset id="rmp_options">
   609 				<fieldset id="rmp_options">
   510 					<legend>{$lang_media_rmp_options}</legend>
   610 					<legend>{#media_dlg.rmp_options}</legend>
   511 
   611 
   512 					<table border="0" cellpadding="4" cellspacing="0">
   612 					<table border="0" cellpadding="4" cellspacing="0">
   513 						<tr>
   613 						<tr>
   514 							<td colspan="2">
   614 							<td colspan="2">
   515 								<table border="0" cellpadding="0" cellspacing="0">
   615 								<table border="0" cellpadding="0" cellspacing="0">
   516 									<tr>
   616 									<tr>
   517 										<td><input type="checkbox" class="checkbox" id="rmp_autostart" name="rmp_autostart" onchange="generatePreview();" /></td>
   617 										<td><input type="checkbox" class="checkbox" id="rmp_autostart" name="rmp_autostart" onchange="generatePreview();" /></td>
   518 										<td><label for="rmp_autostart">{$lang_media_autostart}</label></td>
   618 										<td><label for="rmp_autostart">{#media_dlg.autostart}</label></td>
   519 									</tr>
   619 									</tr>
   520 								</table>
   620 								</table>
   521 							</td>
   621 							</td>
   522 
   622 
   523 							<td colspan="2">
   623 							<td colspan="2">
   524 								<table border="0" cellpadding="0" cellspacing="0">
   624 								<table border="0" cellpadding="0" cellspacing="0">
   525 									<tr>
   625 									<tr>
   526 										<td><input type="checkbox" class="checkbox" id="rmp_loop" name="rmp_loop" onchange="generatePreview();" /></td>
   626 										<td><input type="checkbox" class="checkbox" id="rmp_loop" name="rmp_loop" onchange="generatePreview();" /></td>
   527 										<td><label for="rmp_loop">{$lang_media_loop}</label></td>
   627 										<td><label for="rmp_loop">{#media_dlg.loop}</label></td>
   528 									</tr>
   628 									</tr>
   529 								</table>
   629 								</table>
   530 							</td>
   630 							</td>
   531 						</tr>
   631 						</tr>
   532 
   632 
   533 						<tr>
   633 						<tr>
   534 							<td colspan="2">
   634 							<td colspan="2">
   535 								<table border="0" cellpadding="0" cellspacing="0">
   635 								<table border="0" cellpadding="0" cellspacing="0">
   536 									<tr>
   636 									<tr>
   537 										<td><input type="checkbox" class="checkbox" id="rmp_autogotourl" name="rmp_autogotourl" checked="checked" onchange="generatePreview();" /></td>
   637 										<td><input type="checkbox" class="checkbox" id="rmp_autogotourl" name="rmp_autogotourl" checked="checked" onchange="generatePreview();" /></td>
   538 										<td><label for="rmp_autogotourl">{$lang_media_autogotourl}</label></td>
   638 										<td><label for="rmp_autogotourl">{#media_dlg.autogotourl}</label></td>
   539 									</tr>
   639 									</tr>
   540 								</table>
   640 								</table>
   541 							</td>
   641 							</td>
   542 
   642 
   543 							<td colspan="2">
   643 							<td colspan="2">
   544 								<table border="0" cellpadding="0" cellspacing="0">
   644 								<table border="0" cellpadding="0" cellspacing="0">
   545 									<tr>
   645 									<tr>
   546 										<td><input type="checkbox" class="checkbox" id="rmp_center" name="rmp_center" onchange="generatePreview();" /></td>
   646 										<td><input type="checkbox" class="checkbox" id="rmp_center" name="rmp_center" onchange="generatePreview();" /></td>
   547 										<td><label for="rmp_center">{$lang_media_center}</label></td>
   647 										<td><label for="rmp_center">{#media_dlg.center}</label></td>
   548 									</tr>
   648 									</tr>
   549 								</table>
   649 								</table>
   550 							</td>
   650 							</td>
   551 						</tr>
   651 						</tr>
   552 
   652 
   553 						<tr>
   653 						<tr>
   554 							<td colspan="2">
   654 							<td colspan="2">
   555 								<table border="0" cellpadding="0" cellspacing="0">
   655 								<table border="0" cellpadding="0" cellspacing="0">
   556 									<tr>
   656 									<tr>
   557 										<td><input type="checkbox" class="checkbox" id="rmp_imagestatus" name="rmp_imagestatus" checked="checked" onchange="generatePreview();" /></td>
   657 										<td><input type="checkbox" class="checkbox" id="rmp_imagestatus" name="rmp_imagestatus" checked="checked" onchange="generatePreview();" /></td>
   558 										<td><label for="rmp_imagestatus">{$lang_media_imagestatus}</label></td>
   658 										<td><label for="rmp_imagestatus">{#media_dlg.imagestatus}</label></td>
   559 									</tr>
   659 									</tr>
   560 								</table>
   660 								</table>
   561 							</td>
   661 							</td>
   562 
   662 
   563 							<td colspan="2">
   663 							<td colspan="2">
   564 								<table border="0" cellpadding="0" cellspacing="0">
   664 								<table border="0" cellpadding="0" cellspacing="0">
   565 									<tr>
   665 									<tr>
   566 										<td><input type="checkbox" class="checkbox" id="rmp_maintainaspect" name="rmp_maintainaspect" onchange="generatePreview();" /></td>
   666 										<td><input type="checkbox" class="checkbox" id="rmp_maintainaspect" name="rmp_maintainaspect" onchange="generatePreview();" /></td>
   567 										<td><label for="rmp_maintainaspect">{$lang_media_maintainaspect}</label></td>
   667 										<td><label for="rmp_maintainaspect">{#media_dlg.maintainaspect}</label></td>
   568 									</tr>
   668 									</tr>
   569 								</table>
   669 								</table>
   570 							</td>
   670 							</td>
   571 						</tr>
   671 						</tr>
   572 
   672 
   573 						<tr>
   673 						<tr>
   574 							<td colspan="2">
   674 							<td colspan="2">
   575 								<table border="0" cellpadding="0" cellspacing="0">
   675 								<table border="0" cellpadding="0" cellspacing="0">
   576 									<tr>
   676 									<tr>
   577 										<td><input type="checkbox" class="checkbox" id="rmp_nojava" name="rmp_nojava" onchange="generatePreview();" /></td>
   677 										<td><input type="checkbox" class="checkbox" id="rmp_nojava" name="rmp_nojava" onchange="generatePreview();" /></td>
   578 										<td><label for="rmp_nojava">{$lang_media_nojava}</label></td>
   678 										<td><label for="rmp_nojava">{#media_dlg.nojava}</label></td>
   579 									</tr>
   679 									</tr>
   580 								</table>
   680 								</table>
   581 							</td>
   681 							</td>
   582 
   682 
   583 							<td colspan="2">
   683 							<td colspan="2">
   584 								<table border="0" cellpadding="0" cellspacing="0">
   684 								<table border="0" cellpadding="0" cellspacing="0">
   585 									<tr>
   685 									<tr>
   586 										<td><input type="checkbox" class="checkbox" id="rmp_prefetch" name="rmp_prefetch" onchange="generatePreview();" /></td>
   686 										<td><input type="checkbox" class="checkbox" id="rmp_prefetch" name="rmp_prefetch" onchange="generatePreview();" /></td>
   587 										<td><label for="rmp_prefetch">{$lang_media_prefetch}</label></td>
   687 										<td><label for="rmp_prefetch">{#media_dlg.prefetch}</label></td>
   588 									</tr>
   688 									</tr>
   589 								</table>
   689 								</table>
   590 							</td>
   690 							</td>
   591 						</tr>
   691 						</tr>
   592 
   692 
   593 						<tr>
   693 						<tr>
   594 							<td colspan="2">
   694 							<td colspan="2">
   595 								<table border="0" cellpadding="0" cellspacing="0">
   695 								<table border="0" cellpadding="0" cellspacing="0">
   596 									<tr>
   696 									<tr>
   597 										<td><input type="checkbox" class="checkbox" id="rmp_shuffle" name="rmp_shuffle" onchange="generatePreview();" /></td>
   697 										<td><input type="checkbox" class="checkbox" id="rmp_shuffle" name="rmp_shuffle" onchange="generatePreview();" /></td>
   598 										<td><label for="rmp_shuffle">{$lang_media_shuffle}</label></td>
   698 										<td><label for="rmp_shuffle">{#media_dlg.shuffle}</label></td>
   599 									</tr>
   699 									</tr>
   600 								</table>
   700 								</table>
   601 							</td>
   701 							</td>
   602 
   702 
   603 							<td colspan="2">
   703 							<td colspan="2">
   604 								&nbsp;
   704 								&nbsp;
   605 							</td>
   705 							</td>
   606 						</tr>
   706 						</tr>
   607 
   707 
   608 						<tr>
   708 						<tr>
   609 							<td><label for="rmp_console">{$lang_media_console}</label></td>
   709 							<td><label for="rmp_console">{#media_dlg.console}</label></td>
   610 							<td><input type="text" id="rmp_console" name="rmp_console" onchange="generatePreview();" /></td>
   710 							<td><input type="text" id="rmp_console" name="rmp_console" onchange="generatePreview();" /></td>
   611 
   711 
   612 							<td><label for="rmp_controls">{$lang_media_controls}</label></td>
   712 							<td><label for="rmp_controls">{#media_dlg.controls}</label></td>
   613 							<td><input type="text" id="rmp_controls" name="rmp_controls" onchange="generatePreview();" /></td>
   713 							<td><input type="text" id="rmp_controls" name="rmp_controls" onchange="generatePreview();" /></td>
   614 						</tr>
   714 						</tr>
   615 
   715 
   616 						<tr>
   716 						<tr>
   617 							<td><label for="rmp_numloop">{$lang_media_numloop}</label></td>
   717 							<td><label for="rmp_numloop">{#media_dlg.numloop}</label></td>
   618 							<td><input type="text" id="rmp_numloop" name="rmp_numloop" onchange="generatePreview();" /></td>
   718 							<td><input type="text" id="rmp_numloop" name="rmp_numloop" onchange="generatePreview();" /></td>
   619 
   719 
   620 							<td><label for="rmp_scriptcallbacks">{$lang_media_scriptcallbacks}</label></td>
   720 							<td><label for="rmp_scriptcallbacks">{#media_dlg.scriptcallbacks}</label></td>
   621 							<td><input type="text" id="rmp_scriptcallbacks" name="rmp_scriptcallbacks" onchange="generatePreview();" /></td>
   721 							<td><input type="text" id="rmp_scriptcallbacks" name="rmp_scriptcallbacks" onchange="generatePreview();" /></td>
   622 						</tr>
   722 						</tr>
   623 					</table>
   723 					</table>
   624 				</fieldset>
   724 				</fieldset>
   625 
   725 
   626 				<fieldset id="shockwave_options">
   726 				<fieldset id="shockwave_options">
   627 					<legend>{$lang_media_shockwave_options}</legend>
   727 					<legend>{#media_dlg.shockwave_options}</legend>
   628 
   728 
   629 					<table border="0" cellpadding="4" cellspacing="0">
   729 					<table border="0" cellpadding="4" cellspacing="0">
   630 						<tr>
   730 						<tr>
   631 							<td><label for="shockwave_swstretchstyle">{$lang_media_swstretchstyle}</label></td>
   731 							<td><label for="shockwave_swstretchstyle">{#media_dlg.swstretchstyle}</label></td>
   632 							<td>
   732 							<td>
   633 								<select id="shockwave_swstretchstyle" name="shockwave_swstretchstyle" onchange="generatePreview();">
   733 								<select id="shockwave_swstretchstyle" name="shockwave_swstretchstyle" onchange="generatePreview();">
   634 									<option value="none">{$lang_not_set}</option>
   734 									<option value="none">{#not_set}</option>
   635 									<option value="meet">Meet</option>
   735 									<option value="meet">Meet</option>
   636 									<option value="fill">Fill</option>
   736 									<option value="fill">Fill</option>
   637 									<option value="stage">Stage</option>
   737 									<option value="stage">Stage</option>
   638 								</select>
   738 								</select>
   639 							</td>
   739 							</td>
   640 
   740 
   641 							<td><label for="shockwave_swvolume">{$lang_media_volume}</label></td>
   741 							<td><label for="shockwave_swvolume">{#media_dlg.volume}</label></td>
   642 							<td><input type="text" id="shockwave_swvolume" name="shockwave_swvolume" onchange="generatePreview();" /></td>
   742 							<td><input type="text" id="shockwave_swvolume" name="shockwave_swvolume" onchange="generatePreview();" /></td>
   643 						</tr>
   743 						</tr>
   644 
   744 
   645 						<tr>
   745 						<tr>
   646 							<td><label for="shockwave_swstretchhalign">{$lang_media_swstretchhalign}</label></td>
   746 							<td><label for="shockwave_swstretchhalign">{#media_dlg.swstretchhalign}</label></td>
   647 							<td>
   747 							<td>
   648 								<select id="shockwave_swstretchhalign" name="shockwave_swstretchhalign" onchange="generatePreview();">
   748 								<select id="shockwave_swstretchhalign" name="shockwave_swstretchhalign" onchange="generatePreview();">
   649 									<option value="none">{$lang_not_set}</option>
   749 									<option value="none">{#not_set}</option>
   650 									<option value="left">{$lang_media_align_left}</option>
   750 									<option value="left">{#media_dlg.align_left}</option>
   651 									<option value="center">{$lang_media_align_center}</option>
   751 									<option value="center">{#media_dlg.align_center}</option>
   652 									<option value="right">{$lang_media_align_right}</option>
   752 									<option value="right">{#media_dlg.align_right}</option>
   653 								</select>
   753 								</select>
   654 							</td>
   754 							</td>
   655 
   755 
   656 							<td><label for="shockwave_swstretchvalign">{$lang_media_swstretchvalign}</label></td>
   756 							<td><label for="shockwave_swstretchvalign">{#media_dlg.swstretchvalign}</label></td>
   657 							<td>
   757 							<td>
   658 								<select id="shockwave_swstretchvalign" name="shockwave_swstretchvalign" onchange="generatePreview();">
   758 								<select id="shockwave_swstretchvalign" name="shockwave_swstretchvalign" onchange="generatePreview();">
   659 									<option value="none">{$lang_not_set}</option>
   759 									<option value="none">{#not_set}</option>
   660 									<option value="meet">Meet</option>
   760 									<option value="meet">Meet</option>
   661 									<option value="fill">Fill</option>
   761 									<option value="fill">Fill</option>
   662 									<option value="stage">Stage</option>
   762 									<option value="stage">Stage</option>
   663 								</select>
   763 								</select>
   664 							</td>
   764 							</td>
   667 						<tr>
   767 						<tr>
   668 							<td colspan="2">
   768 							<td colspan="2">
   669 								<table border="0" cellpadding="0" cellspacing="0">
   769 								<table border="0" cellpadding="0" cellspacing="0">
   670 									<tr>
   770 									<tr>
   671 										<td><input type="checkbox" class="checkbox" id="shockwave_autostart" name="shockwave_autostart" onchange="generatePreview();" checked="checked" /></td>
   771 										<td><input type="checkbox" class="checkbox" id="shockwave_autostart" name="shockwave_autostart" onchange="generatePreview();" checked="checked" /></td>
   672 										<td><label for="shockwave_autostart">{$lang_media_autostart}</label></td>
   772 										<td><label for="shockwave_autostart">{#media_dlg.autostart}</label></td>
   673 									</tr>
   773 									</tr>
   674 								</table>
   774 								</table>
   675 							</td>
   775 							</td>
   676 
   776 
   677 							<td colspan="2">
   777 							<td colspan="2">
   678 								<table border="0" cellpadding="0" cellspacing="0">
   778 								<table border="0" cellpadding="0" cellspacing="0">
   679 									<tr>
   779 									<tr>
   680 										<td><input type="checkbox" class="checkbox" id="shockwave_sound" name="shockwave_sound" onchange="generatePreview();" checked="checked" /></td>
   780 										<td><input type="checkbox" class="checkbox" id="shockwave_sound" name="shockwave_sound" onchange="generatePreview();" checked="checked" /></td>
   681 										<td><label for="shockwave_sound">{$lang_media_sound}</label></td>
   781 										<td><label for="shockwave_sound">{#media_dlg.sound}</label></td>
   682 									</tr>
   782 									</tr>
   683 								</table>
   783 								</table>
   684 							</td>
   784 							</td>
   685 						</tr>
   785 						</tr>
   686 
   786 
   688 						<tr>
   788 						<tr>
   689 							<td colspan="2">
   789 							<td colspan="2">
   690 								<table border="0" cellpadding="0" cellspacing="0">
   790 								<table border="0" cellpadding="0" cellspacing="0">
   691 									<tr>
   791 									<tr>
   692 										<td><input type="checkbox" class="checkbox" id="shockwave_swliveconnect" name="shockwave_swliveconnect" onchange="generatePreview();" /></td>
   792 										<td><input type="checkbox" class="checkbox" id="shockwave_swliveconnect" name="shockwave_swliveconnect" onchange="generatePreview();" /></td>
   693 										<td><label for="shockwave_swliveconnect">{$lang_media_liveconnect}</label></td>
   793 										<td><label for="shockwave_swliveconnect">{#media_dlg.liveconnect}</label></td>
   694 									</tr>
   794 									</tr>
   695 								</table>
   795 								</table>
   696 							</td>
   796 							</td>
   697 
   797 
   698 							<td colspan="2">
   798 							<td colspan="2">
   699 								<table border="0" cellpadding="0" cellspacing="0">
   799 								<table border="0" cellpadding="0" cellspacing="0">
   700 									<tr>
   800 									<tr>
   701 										<td><input type="checkbox" class="checkbox" id="shockwave_progress" name="shockwave_progress" onchange="generatePreview();" checked="checked" /></td>
   801 										<td><input type="checkbox" class="checkbox" id="shockwave_progress" name="shockwave_progress" onchange="generatePreview();" checked="checked" /></td>
   702 										<td><label for="shockwave_progress">{$lang_media_progress}</label></td>
   802 										<td><label for="shockwave_progress">{#media_dlg.progress}</label></td>
   703 									</tr>
   803 									</tr>
   704 								</table>
   804 								</table>
   705 							</td>
   805 							</td>
   706 						</tr>
   806 						</tr>
   707 					</table>
   807 					</table>
   709 			</div>
   809 			</div>
   710 		</div>
   810 		</div>
   711 
   811 
   712 		<div class="mceActionPanel">
   812 		<div class="mceActionPanel">
   713 			<div style="float: left">
   813 			<div style="float: left">
   714 				<input type="button" id="insert" name="insert" value="{$lang_insert}" onclick="insertMedia();" />
   814 				<input type="button" id="insert" name="insert" value="{#insert}" onclick="insertMedia();" />
   715 			</div>
   815 			</div>
   716 
   816 
   717 			<div style="float: right">
   817 			<div style="float: right">
   718 				<input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" />
   818 				<input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
   719 			</div>
   819 			</div>
   720 		</div>
   820 		</div>
   721 	</form>
   821 	</form>
   722 </body>
   822 </body>
   723 </html>
   823 </html>