comparison static/js/tinymce/jscripts/tiny_mce/plugins/media/media.htm @ 45:966cde8635c0

For issue #3, created a separate news app. Created import management command. Using TinyMCE editor in the admin. News model now stores HTML. The news page is now paginated. Each story has a perma-link now.
author Brian Neal <bgneal@gmail.com>
date Thu, 15 Mar 2012 20:02:39 -0500
parents
children
comparison
equal deleted inserted replaced
44:42a6bde9913c 45:966cde8635c0
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>{#media_dlg.title}</title>
5 <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
6 <script type="text/javascript" src="js/media.js"></script>
7 <script type="text/javascript" src="../../utils/mctabs.js"></script>
8 <script type="text/javascript" src="../../utils/validate.js"></script>
9 <script type="text/javascript" src="../../utils/form_utils.js"></script>
10 <script type="text/javascript" src="../../utils/editable_selects.js"></script>
11 <link href="css/media.css" rel="stylesheet" type="text/css" />
12 </head>
13 <body style="display: none" role="application">
14 <form onsubmit="Media.insert();return false;" action="#">
15 <div class="tabs" role="presentation">
16 <ul>
17 <li id="general_tab" class="current" aria-controls="general_panel"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');Media.formToData();" onmousedown="return false;">{#media_dlg.general}</a></span></li>
18 <li id="advanced_tab" aria-controls="advanced_panel"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');Media.formToData();" onmousedown="return false;">{#media_dlg.advanced}</a></span></li>
19 <li id="source_tab" aria-controls="source_panel"><span><a href="javascript:mcTabs.displayTab('source_tab','source_panel');Media.formToData('source');" onmousedown="return false;">{#media_dlg.source}</a></span></li>
20 </ul>
21 </div>
22
23 <div class="panel_wrapper">
24 <div id="general_panel" class="panel current">
25 <fieldset>
26 <legend>{#media_dlg.general}</legend>
27
28 <table role="presentation" border="0" cellpadding="4" cellspacing="0">
29 <tr>
30 <td><label for="media_type">{#media_dlg.type}</label></td>
31 <td>
32 <select id="media_type"></select>
33 </td>
34 </tr>
35 <tr>
36 <td><label for="src">{#media_dlg.file}</label></td>
37 <td>
38 <table role="presentation" border="0" cellspacing="0" cellpadding="0">
39 <tr>
40 <td><input id="src" name="src" type="text" value="" class="mceFocus" onchange="Media.formToData();" /></td>
41 <td id="filebrowsercontainer">&nbsp;</td>
42 </tr>
43 </table>
44 </td>
45 </tr>
46 <tr id="linklistrow">
47 <td><label for="linklist">{#media_dlg.list}</label></td>
48 <td id="linklistcontainer"><select id="linklist"><option value=""></option></select></td>
49 </tr>
50 <tr>
51 <td><label for="width">{#media_dlg.size}</label></td>
52 <td>
53 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
54 <tr>
55 <td><input type="text" id="width" name="width" value="" class="size" onchange="Media.formToData('width');" onfocus="Media.beforeResize();" /> x <input type="text" id="height" name="height" value="" class="size" onfocus="Media.beforeResize();" onchange="Media.formToData('height');" /></td>
56 <td>&nbsp;&nbsp;<input id="constrain" type="checkbox" name="constrain" class="checkbox" checked="checked" /></td>
57 <td><label id="constrainlabel" for="constrain">{#media_dlg.constrain_proportions}</label></td>
58 </tr>
59 </table>
60 </td>
61 </tr>
62 </table>
63 </fieldset>
64
65 <fieldset>
66 <legend>{#media_dlg.preview}</legend>
67 <div id="prev"></div>
68 </fieldset>
69 </div>
70
71 <div id="advanced_panel" class="panel">
72 <fieldset>
73 <legend>{#media_dlg.advanced}</legend>
74
75 <table role="presentation" border="0" cellpadding="4" cellspacing="0" width="100%">
76 <tr>
77 <td><label for="id">{#media_dlg.id}</label></td>
78 <td><input type="text" id="id" name="id" onchange="Media.formToData();" /></td>
79 <td><label for="name">{#media_dlg.name}</label></td>
80 <td><input type="text" id="name" name="name" onchange="Media.formToData();" /></td>
81 </tr>
82
83 <tr>
84 <td><label for="align">{#media_dlg.align}</label></td>
85 <td>
86 <select id="align" name="align" onchange="Media.formToData();">
87 <option value="">{#not_set}</option>
88 <option value="top">{#media_dlg.align_top}</option>
89 <option value="right">{#media_dlg.align_right}</option>
90 <option value="bottom">{#media_dlg.align_bottom}</option>
91 <option value="left">{#media_dlg.align_left}</option>
92 </select>
93 </td>
94
95 <td><label for="bgcolor">{#media_dlg.bgcolor}</label></td>
96 <td>
97 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
98 <tr>
99 <td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');Media.formToData();" /></td>
100 <td id="bgcolor_pickcontainer">&nbsp;</td>
101 </tr>
102 </table>
103 </td>
104 </tr>
105
106 <tr>
107 <td><label for="vspace">{#media_dlg.vspace}</label></td>
108 <td><input type="text" id="vspace" name="vspace" class="number" onchange="Media.formToData();" /></td>
109 <td><label for="hspace">{#media_dlg.hspace}</label></td>
110 <td><input type="text" id="hspace" name="hspace" class="number" onchange="Media.formToData();" /></td>
111 </tr>
112 </table>
113 </fieldset>
114
115 <fieldset id="video_options">
116 <legend>{#media_dlg.html5_video_options}</legend>
117
118 <table role="presentation">
119 <tr>
120 <td><label for="video_altsource1">{#media_dlg.altsource1}</label></td>
121 <td>
122 <table role="presentation" border="0" cellspacing="0" cellpadding="0">
123 <tr>
124 <td><input type="text" id="video_altsource1" name="video_altsource1" onchange="Media.formToData();" style="width: 240px" /></td>
125 <td id="video_altsource1_filebrowser">&nbsp;</td>
126 </tr>
127 </table>
128 </td>
129 </tr>
130
131 <tr>
132 <td><label for="video_altsource2">{#media_dlg.altsource2}</label></td>
133 <td>
134 <table role="presentation" border="0" cellspacing="0" cellpadding="0">
135 <tr>
136 <td><input type="text" id="video_altsource2" name="video_altsource2" onchange="Media.formToData();" style="width: 240px" /></td>
137 <td id="video_altsource2_filebrowser">&nbsp;</td>
138 </tr>
139 </table>
140 </td>
141 </tr>
142
143 <tr>
144 <td><label for="video_poster">{#media_dlg.poster}</label></td>
145 <td>
146 <table role="presentation" border="0" cellspacing="0" cellpadding="0">
147 <tr>
148 <td><input type="text" id="video_poster" name="video_poster" onchange="Media.formToData();" style="width: 240px" /></td>
149 <td id="video_poster_filebrowser">&nbsp;</td>
150 </tr>
151 </table>
152 </td>
153 </tr>
154
155 <tr>
156 <td><label for="video_preload">{#media_dlg.preload}</label></td>
157 <td>
158 <select id="video_preload" name="video_preload" onchange="Media.formToData();">
159 <option value="none">{#media_dlg.preload_none}</option>
160 <option value="metadata">{#media_dlg.preload_metadata}</option>
161 <option value="auto">{#media_dlg.preload_auto}</option>
162 </select>
163 </td>
164 </tr>
165 </table>
166
167 <table role="presentation" border="0" cellpadding="4" cellspacing="0">
168 <tr>
169 <td>
170 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
171 <tr>
172 <td><input type="checkbox" class="checkbox" id="video_autoplay" name="video_autoplay" onchange="Media.formToData();" /></td>
173 <td><label for="video_autoplay">{#media_dlg.play}</label></td>
174 </tr>
175 </table>
176 </td>
177
178 <td>
179 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
180 <tr>
181 <td><input type="checkbox" class="checkbox" id="video_muted" name="video_muted" onchange="Media.formToData();" /></td>
182 <td><label for="video_muted">{#media_dlg.mute}</label></td>
183 </tr>
184 </table>
185 </td>
186
187 <td>
188 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
189 <tr>
190 <td><input type="checkbox" class="checkbox" id="video_loop" name="video_loop" onchange="Media.formToData();" /></td>
191 <td><label for="video_loop">{#media_dlg.loop}</label></td>
192 </tr>
193 </table>
194 </td>
195
196 <td>
197 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
198 <tr>
199 <td><input type="checkbox" class="checkbox" id="video_controls" name="video_controls" onchange="Media.formToData();" /></td>
200 <td><label for="video_controls">{#media_dlg.controls}</label></td>
201 </tr>
202 </table>
203 </td>
204 </tr>
205 </table>
206 </fieldset>
207
208 <fieldset id="embeddedaudio_options">
209 <legend>{#media_dlg.embedded_audio_options}</legend>
210
211 <table role="presentation" border="0" cellpadding="4" cellspacing="0">
212 <tr>
213 <td>
214 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
215 <tr>
216 <td><input type="checkbox" class="checkbox" id="embeddedaudio_autoplay" name="audio_autoplay" onchange="Media.formToData();" /></td>
217 <td><label for="audio_autoplay">{#media_dlg.play}</label></td>
218 </tr>
219 </table>
220 </td>
221
222 <td>
223 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
224 <tr>
225 <td><input type="checkbox" class="checkbox" id="embeddedaudio_loop" name="audio_loop" onchange="Media.formToData();" /></td>
226 <td><label for="audio_loop">{#media_dlg.loop}</label></td>
227 </tr>
228 </table>
229 </td>
230
231 <td>
232 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
233 <tr>
234 <td><input type="checkbox" class="checkbox" id="embeddedaudio_controls" name="audio_controls" onchange="Media.formToData();" /></td>
235 <td><label for="audio_controls">{#media_dlg.controls}</label></td>
236 </tr>
237 </table>
238 </td>
239 </tr>
240 </table>
241 </fieldset>
242
243 <fieldset id="audio_options">
244 <legend>{#media_dlg.html5_audio_options}</legend>
245
246 <table role="presentation">
247 <tr>
248 <td><label for="audio_altsource1">{#media_dlg.altsource1}</label></td>
249 <td>
250 <table role="presentation" border="0" cellspacing="0" cellpadding="0">
251 <tr>
252 <td><input type="text" id="audio_altsource1" name="audio_altsource1" onchange="Media.formToData();" style="width: 240px" /></td>
253 <td id="audio_altsource1_filebrowser">&nbsp;</td>
254 </tr>
255 </table>
256 </td>
257 </tr>
258
259 <tr>
260 <td><label for="audio_altsource2">{#media_dlg.altsource2}</label></td>
261 <td>
262 <table role="presentation" border="0" cellspacing="0" cellpadding="0">
263 <tr>
264 <td><input type="text" id="audio_altsource2" name="audio_altsource2" onchange="Media.formToData();" style="width: 240px" /></td>
265 <td id="audio_altsource2_filebrowser">&nbsp;</td>
266 </tr>
267 </table>
268 </td>
269 </tr>
270
271 <tr>
272 <td><label for="audio_preload">{#media_dlg.preload}</label></td>
273 <td>
274 <select id="audio_preload" name="audio_preload" onchange="Media.formToData();">
275 <option value="none">{#media_dlg.preload_none}</option>
276 <option value="metadata">{#media_dlg.preload_metadata}</option>
277 <option value="auto">{#media_dlg.preload_auto}</option>
278 </select>
279 </td>
280 </tr>
281 </table>
282
283 <table role="presentation" border="0" cellpadding="4" cellspacing="0">
284 <tr>
285 <td>
286 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
287 <tr>
288 <td><input type="checkbox" class="checkbox" id="audio_autoplay" name="audio_autoplay" onchange="Media.formToData();" /></td>
289 <td><label for="audio_autoplay">{#media_dlg.play}</label></td>
290 </tr>
291 </table>
292 </td>
293
294 <td>
295 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
296 <tr>
297 <td><input type="checkbox" class="checkbox" id="audio_loop" name="audio_loop" onchange="Media.formToData();" /></td>
298 <td><label for="audio_loop">{#media_dlg.loop}</label></td>
299 </tr>
300 </table>
301 </td>
302
303 <td>
304 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
305 <tr>
306 <td><input type="checkbox" class="checkbox" id="audio_controls" name="audio_controls" onchange="Media.formToData();" /></td>
307 <td><label for="audio_controls">{#media_dlg.controls}</label></td>
308 </tr>
309 </table>
310 </td>
311 </tr>
312 </table>
313 </fieldset>
314
315 <fieldset id="flash_options">
316 <legend>{#media_dlg.flash_options}</legend>
317
318 <table role="presentation" border="0" cellpadding="4" cellspacing="0">
319 <tr>
320 <td><label for="flash_quality">{#media_dlg.quality}</label></td>
321 <td>
322 <select id="flash_quality" name="flash_quality" onchange="Media.formToData();">
323 <option value="">{#not_set}</option>
324 <option value="high">high</option>
325 <option value="low">low</option>
326 <option value="autolow">autolow</option>
327 <option value="autohigh">autohigh</option>
328 <option value="best">best</option>
329 </select>
330 </td>
331
332 <td><label for="flash_scale">{#media_dlg.scale}</label></td>
333 <td>
334 <select id="flash_scale" name="flash_scale" onchange="Media.formToData();">
335 <option value="">{#not_set}</option>
336 <option value="showall">showall</option>
337 <option value="noborder">noborder</option>
338 <option value="exactfit">exactfit</option>
339 <option value="noscale">noscale</option>
340 </select>
341 </td>
342 </tr>
343
344 <tr>
345 <td><label for="flash_wmode">{#media_dlg.wmode}</label></td>
346 <td>
347 <select id="flash_wmode" name="flash_wmode" onchange="Media.formToData();">
348 <option value="">{#not_set}</option>
349 <option value="window">window</option>
350 <option value="opaque">opaque</option>
351 <option value="transparent">transparent</option>
352 </select>
353 </td>
354
355 <td><label for="flash_salign">{#media_dlg.salign}</label></td>
356 <td>
357 <select id="flash_salign" name="flash_salign" onchange="Media.formToData();">
358 <option value="">{#not_set}</option>
359 <option value="l">{#media_dlg.align_left}</option>
360 <option value="t">{#media_dlg.align_top}</option>
361 <option value="r">{#media_dlg.align_right}</option>
362 <option value="b">{#media_dlg.align_bottom}</option>
363 <option value="tl">{#media_dlg.align_top_left}</option>
364 <option value="tr">{#media_dlg.align_top_right}</option>
365 <option value="bl">{#media_dlg.align_bottom_left}</option>
366 <option value="br">{#media_dlg.align_bottom_right}</option>
367 </select>
368 </td>
369 </tr>
370
371 <tr>
372 <td colspan="2">
373 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
374 <tr>
375 <td><input type="checkbox" class="checkbox" id="flash_play" name="flash_play" checked="checked" onchange="Media.formToData();" /></td>
376 <td><label for="flash_play">{#media_dlg.play}</label></td>
377 </tr>
378 </table>
379 </td>
380
381 <td colspan="2">
382 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
383 <tr>
384 <td><input type="checkbox" class="checkbox" id="flash_loop" name="flash_loop" checked="checked" onchange="Media.formToData();" /></td>
385 <td><label for="flash_loop">{#media_dlg.loop}</label></td>
386 </tr>
387 </table>
388 </td>
389 </tr>
390
391 <tr>
392 <td colspan="2">
393 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
394 <tr>
395 <td><input type="checkbox" class="checkbox" id="flash_menu" name="flash_menu" checked="checked" onchange="Media.formToData();" /></td>
396 <td><label for="flash_menu">{#media_dlg.menu}</label></td>
397 </tr>
398 </table>
399 </td>
400
401 <td colspan="2">
402 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
403 <tr>
404 <td><input type="checkbox" class="checkbox" id="flash_swliveconnect" name="flash_swliveconnect" onchange="Media.formToData();" /></td>
405 <td><label for="flash_swliveconnect">{#media_dlg.liveconnect}</label></td>
406 </tr>
407 </table>
408 </td>
409 </tr>
410 </table>
411
412 <table role="presentation">
413 <tr>
414 <td><label for="flash_base">{#media_dlg.base}</label></td>
415 <td><input type="text" id="flash_base" name="flash_base" onchange="Media.formToData();" /></td>
416 </tr>
417
418 <tr>
419 <td><label for="flash_flashvars">{#media_dlg.flashvars}</label></td>
420 <td><input type="text" id="flash_flashvars" name="flash_flashvars" onchange="Media.formToData();" /></td>
421 </tr>
422 </table>
423 </fieldset>
424
425 <fieldset id="quicktime_options">
426 <legend>{#media_dlg.qt_options}</legend>
427
428 <table role="presentation" border="0" cellpadding="4" cellspacing="0">
429 <tr>
430 <td colspan="2">
431 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
432 <tr>
433 <td><input type="checkbox" class="checkbox" id="quicktime_loop" name="quicktime_loop" onchange="Media.formToData();" /></td>
434 <td><label for="quicktime_loop">{#media_dlg.loop}</label></td>
435 </tr>
436 </table>
437 </td>
438
439 <td colspan="2">
440 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
441 <tr>
442 <td><input type="checkbox" class="checkbox" id="quicktime_autoplay" name="quicktime_autoplay" checked="checked" onchange="Media.formToData();" /></td>
443 <td><label for="quicktime_autoplay">{#media_dlg.play}</label></td>
444 </tr>
445 </table>
446 </td>
447 </tr>
448
449 <tr>
450 <td colspan="2">
451 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
452 <tr>
453 <td><input type="checkbox" class="checkbox" id="quicktime_cache" name="quicktime_cache" onchange="Media.formToData();" /></td>
454 <td><label for="quicktime_cache">{#media_dlg.cache}</label></td>
455 </tr>
456 </table>
457 </td>
458
459 <td colspan="2">
460 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
461 <tr>
462 <td><input type="checkbox" class="checkbox" id="quicktime_controller" name="quicktime_controller" checked="checked" onchange="Media.formToData();" /></td>
463 <td><label for="quicktime_controller">{#media_dlg.controller}</label></td>
464 </tr>
465 </table>
466 </td>
467 </tr>
468
469 <tr>
470 <td colspan="2">
471 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
472 <tr>
473 <td><input type="checkbox" class="checkbox" id="quicktime_correction" name="quicktime_correction" onchange="Media.formToData();" /></td>
474 <td><label for="quicktime_correction">{#media_dlg.correction}</label></td>
475 </tr>
476 </table>
477 </td>
478
479 <td colspan="2">
480 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
481 <tr>
482 <td><input type="checkbox" class="checkbox" id="quicktime_enablejavascript" name="quicktime_enablejavascript" onchange="Media.formToData();" /></td>
483 <td><label for="quicktime_enablejavascript">{#media_dlg.enablejavascript}</label></td>
484 </tr>
485 </table>
486 </td>
487 </tr>
488
489 <tr>
490 <td colspan="2">
491 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
492 <tr>
493 <td><input type="checkbox" class="checkbox" id="quicktime_kioskmode" name="quicktime_kioskmode" onchange="Media.formToData();" /></td>
494 <td><label for="quicktime_kioskmode">{#media_dlg.kioskmode}</label></td>
495 </tr>
496 </table>
497 </td>
498
499 <td colspan="2">
500 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
501 <tr>
502 <td><input type="checkbox" class="checkbox" id="quicktime_autohref" name="quicktime_autohref" onchange="Media.formToData();" /></td>
503 <td><label for="quicktime_autohref">{#media_dlg.autohref}</label></td>
504 </tr>
505 </table>
506 </td>
507 </tr>
508
509 <tr>
510 <td colspan="2">
511 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
512 <tr>
513 <td><input type="checkbox" class="checkbox" id="quicktime_playeveryframe" name="quicktime_playeveryframe" onchange="Media.formToData();" /></td>
514 <td><label for="quicktime_playeveryframe">{#media_dlg.playeveryframe}</label></td>
515 </tr>
516 </table>
517 </td>
518
519 <td colspan="2">
520 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
521 <tr>
522 <td><input type="checkbox" class="checkbox" id="quicktime_targetcache" name="quicktime_targetcache" onchange="Media.formToData();" /></td>
523 <td><label for="quicktime_targetcache">{#media_dlg.targetcache}</label></td>
524 </tr>
525 </table>
526 </td>
527 </tr>
528
529 <tr>
530 <td><label for="quicktime_scale">{#media_dlg.scale}</label></td>
531 <td><select id="quicktime_scale" name="quicktime_scale" class="mceEditableSelect" onchange="Media.formToData();">
532 <option value="">{#not_set}</option>
533 <option value="tofit">tofit</option>
534 <option value="aspect">aspect</option>
535 </select>
536 </td>
537
538 <td colspan="2">&nbsp;</td>
539 </tr>
540
541 <tr>
542 <td><label for="quicktime_starttime">{#media_dlg.starttime}</label></td>
543 <td><input type="text" id="quicktime_starttime" name="quicktime_starttime" onchange="Media.formToData();" /></td>
544
545 <td><label for="quicktime_endtime">{#media_dlg.endtime}</label></td>
546 <td><input type="text" id="quicktime_endtime" name="quicktime_endtime" onchange="Media.formToData();" /></td>
547 </tr>
548
549 <tr>
550 <td><label for="quicktime_target">{#media_dlg.target}</label></td>
551 <td><input type="text" id="quicktime_target" name="quicktime_target" onchange="Media.formToData();" /></td>
552
553 <td><label for="quicktime_href">{#media_dlg.href}</label></td>
554 <td><input type="text" id="quicktime_href" name="quicktime_href" onchange="Media.formToData();" /></td>
555 </tr>
556
557 <tr>
558 <td><label for="quicktime_qtsrcchokespeed">{#media_dlg.qtsrcchokespeed}</label></td>
559 <td><input type="text" id="quicktime_qtsrcchokespeed" name="quicktime_qtsrcchokespeed" onchange="Media.formToData();" /></td>
560
561 <td><label for="quicktime_volume">{#media_dlg.volume}</label></td>
562 <td><input type="text" id="quicktime_volume" name="quicktime_volume" onchange="Media.formToData();" /></td>
563 </tr>
564
565 <tr>
566 <td><label for="quicktime_qtsrc">{#media_dlg.qtsrc}</label></td>
567 <td colspan="4">
568 <table role="presentation" border="0" cellspacing="0" cellpadding="0">
569 <tr>
570 <td><input type="text" id="quicktime_qtsrc" name="quicktime_qtsrc" onchange="Media.formToData();" /></td>
571 <td id="qtsrcfilebrowsercontainer">&nbsp;</td>
572 </tr>
573 </table>
574 </td>
575 </tr>
576 </table>
577 </fieldset>
578
579 <fieldset id="windowsmedia_options">
580 <legend>{#media_dlg.wmp_options}</legend>
581
582 <table role="presentation" border="0" cellpadding="4" cellspacing="0">
583 <tr>
584 <td colspan="2">
585 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
586 <tr>
587 <td><input type="checkbox" class="checkbox" id="windowsmedia_autostart" name="windowsmedia_autostart" checked="checked" onchange="Media.formToData();" /></td>
588 <td><label for="windowsmedia_autostart">{#media_dlg.autostart}</label></td>
589 </tr>
590 </table>
591 </td>
592
593 <td colspan="2">
594 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
595 <tr>
596 <td><input type="checkbox" class="checkbox" id="windowsmedia_enabled" name="windowsmedia_enabled" onchange="Media.formToData();" /></td>
597 <td><label for="windowsmedia_enabled">{#media_dlg.enabled}</label></td>
598 </tr>
599 </table>
600 </td>
601 </tr>
602
603 <tr>
604 <td colspan="2">
605 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
606 <tr>
607 <td><input type="checkbox" class="checkbox" id="windowsmedia_enablecontextmenu" name="windowsmedia_enablecontextmenu" checked="checked" onchange="Media.formToData();" /></td>
608 <td><label for="windowsmedia_enablecontextmenu">{#media_dlg.menu}</label></td>
609 </tr>
610 </table>
611 </td>
612
613 <td colspan="2">
614 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
615 <tr>
616 <td><input type="checkbox" class="checkbox" id="windowsmedia_fullscreen" name="windowsmedia_fullscreen" onchange="Media.formToData();" /></td>
617 <td><label for="windowsmedia_fullscreen">{#media_dlg.fullscreen}</label></td>
618 </tr>
619 </table>
620 </td>
621 </tr>
622
623 <tr>
624 <td colspan="2">
625 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
626 <tr>
627 <td><input type="checkbox" class="checkbox" id="windowsmedia_invokeurls" name="windowsmedia_invokeurls" checked="checked" onchange="Media.formToData();" /></td>
628 <td><label for="windowsmedia_invokeurls">{#media_dlg.invokeurls}</label></td>
629 </tr>
630 </table>
631 </td>
632
633 <td colspan="2">
634 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
635 <tr>
636 <td><input type="checkbox" class="checkbox" id="windowsmedia_mute" name="windowsmedia_mute" onchange="Media.formToData();" /></td>
637 <td><label for="windowsmedia_mute">{#media_dlg.mute}</label></td>
638 </tr>
639 </table>
640 </td>
641 </tr>
642
643 <tr>
644 <td colspan="2">
645 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
646 <tr>
647 <td><input type="checkbox" class="checkbox" id="windowsmedia_stretchtofit" name="windowsmedia_stretchtofit" onchange="Media.formToData();" /></td>
648 <td><label for="windowsmedia_stretchtofit">{#media_dlg.stretchtofit}</label></td>
649 </tr>
650 </table>
651 </td>
652
653 <td colspan="2">
654 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
655 <tr>
656 <td><input type="checkbox" class="checkbox" id="windowsmedia_windowlessvideo" name="windowsmedia_windowlessvideo" onchange="Media.formToData();" /></td>
657 <td><label for="windowsmedia_windowlessvideo">{#media_dlg.windowlessvideo}</label></td>
658 </tr>
659 </table>
660 </td>
661 </tr>
662
663 <tr>
664 <td><label for="windowsmedia_balance">{#media_dlg.balance}</label></td>
665 <td><input type="text" id="windowsmedia_balance" name="windowsmedia_balance" onchange="Media.formToData();" /></td>
666
667 <td><label for="windowsmedia_baseurl">{#media_dlg.baseurl}</label></td>
668 <td><input type="text" id="windowsmedia_baseurl" name="windowsmedia_baseurl" onchange="Media.formToData();" /></td>
669 </tr>
670
671 <tr>
672 <td><label for="windowsmedia_captioningid">{#media_dlg.captioningid}</label></td>
673 <td><input type="text" id="windowsmedia_captioningid" name="windowsmedia_captioningid" onchange="Media.formToData();" /></td>
674
675 <td><label for="windowsmedia_currentmarker">{#media_dlg.currentmarker}</label></td>
676 <td><input type="text" id="windowsmedia_currentmarker" name="windowsmedia_currentmarker" onchange="Media.formToData();" /></td>
677 </tr>
678
679 <tr>
680 <td><label for="windowsmedia_currentposition">{#media_dlg.currentposition}</label></td>
681 <td><input type="text" id="windowsmedia_currentposition" name="windowsmedia_currentposition" onchange="Media.formToData();" /></td>
682
683 <td><label for="windowsmedia_defaultframe">{#media_dlg.defaultframe}</label></td>
684 <td><input type="text" id="windowsmedia_defaultframe" name="windowsmedia_defaultframe" onchange="Media.formToData();" /></td>
685 </tr>
686
687 <tr>
688 <td><label for="windowsmedia_playcount">{#media_dlg.playcount}</label></td>
689 <td><input type="text" id="windowsmedia_playcount" name="windowsmedia_playcount" onchange="Media.formToData();" /></td>
690
691 <td><label for="windowsmedia_rate">{#media_dlg.rate}</label></td>
692 <td><input type="text" id="windowsmedia_rate" name="windowsmedia_rate" onchange="Media.formToData();" /></td>
693 </tr>
694
695 <tr>
696 <td><label for="windowsmedia_uimode">{#media_dlg.uimode}</label></td>
697 <td><input type="text" id="windowsmedia_uimode" name="windowsmedia_uimode" onchange="Media.formToData();" /></td>
698
699 <td><label for="windowsmedia_volume">{#media_dlg.volume}</label></td>
700 <td><input type="text" id="windowsmedia_volume" name="windowsmedia_volume" onchange="Media.formToData();" /></td>
701 </tr>
702
703 </table>
704 </fieldset>
705
706 <fieldset id="realmedia_options">
707 <legend>{#media_dlg.rmp_options}</legend>
708
709 <table role="presentation" border="0" cellpadding="4" cellspacing="0">
710 <tr>
711 <td colspan="2">
712 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
713 <tr>
714 <td><input type="checkbox" class="checkbox" id="realmedia_autostart" name="realmedia_autostart" onchange="Media.formToData();" /></td>
715 <td><label for="realmedia_autostart">{#media_dlg.autostart}</label></td>
716 </tr>
717 </table>
718 </td>
719
720 <td colspan="2">
721 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
722 <tr>
723 <td><input type="checkbox" class="checkbox" id="realmedia_loop" name="realmedia_loop" onchange="Media.formToData();" /></td>
724 <td><label for="realmedia_loop">{#media_dlg.loop}</label></td>
725 </tr>
726 </table>
727 </td>
728 </tr>
729
730 <tr>
731 <td colspan="2">
732 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
733 <tr>
734 <td><input type="checkbox" class="checkbox" id="realmedia_autogotourl" name="realmedia_autogotourl" checked="checked" onchange="Media.formToData();" /></td>
735 <td><label for="realmedia_autogotourl">{#media_dlg.autogotourl}</label></td>
736 </tr>
737 </table>
738 </td>
739
740 <td colspan="2">
741 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
742 <tr>
743 <td><input type="checkbox" class="checkbox" id="realmedia_center" name="realmedia_center" onchange="Media.formToData();" /></td>
744 <td><label for="realmedia_center">{#media_dlg.center}</label></td>
745 </tr>
746 </table>
747 </td>
748 </tr>
749
750 <tr>
751 <td colspan="2">
752 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
753 <tr>
754 <td><input type="checkbox" class="checkbox" id="realmedia_imagestatus" name="realmedia_imagestatus" checked="checked" onchange="Media.formToData();" /></td>
755 <td><label for="realmedia_imagestatus">{#media_dlg.imagestatus}</label></td>
756 </tr>
757 </table>
758 </td>
759
760 <td colspan="2">
761 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
762 <tr>
763 <td><input type="checkbox" class="checkbox" id="realmedia_maintainaspect" name="realmedia_maintainaspect" onchange="Media.formToData();" /></td>
764 <td><label for="realmedia_maintainaspect">{#media_dlg.maintainaspect}</label></td>
765 </tr>
766 </table>
767 </td>
768 </tr>
769
770 <tr>
771 <td colspan="2">
772 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
773 <tr>
774 <td><input type="checkbox" class="checkbox" id="realmedia_nojava" name="realmedia_nojava" onchange="Media.formToData();" /></td>
775 <td><label for="realmedia_nojava">{#media_dlg.nojava}</label></td>
776 </tr>
777 </table>
778 </td>
779
780 <td colspan="2">
781 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
782 <tr>
783 <td><input type="checkbox" class="checkbox" id="realmedia_prefetch" name="realmedia_prefetch" onchange="Media.formToData();" /></td>
784 <td><label for="realmedia_prefetch">{#media_dlg.prefetch}</label></td>
785 </tr>
786 </table>
787 </td>
788 </tr>
789
790 <tr>
791 <td colspan="2">
792 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
793 <tr>
794 <td><input type="checkbox" class="checkbox" id="realmedia_shuffle" name="realmedia_shuffle" onchange="Media.formToData();" /></td>
795 <td><label for="realmedia_shuffle">{#media_dlg.shuffle}</label></td>
796 </tr>
797 </table>
798 </td>
799
800 <td colspan="2">
801 &nbsp;
802 </td>
803 </tr>
804
805 <tr>
806 <td><label for="realmedia_console">{#media_dlg.console}</label></td>
807 <td><input type="text" id="realmedia_console" name="realmedia_console" onchange="Media.formToData();" /></td>
808
809 <td><label for="realmedia_controls">{#media_dlg.controls}</label></td>
810 <td><input type="text" id="realmedia_controls" name="realmedia_controls" onchange="Media.formToData();" /></td>
811 </tr>
812
813 <tr>
814 <td><label for="realmedia_numloop">{#media_dlg.numloop}</label></td>
815 <td><input type="text" id="realmedia_numloop" name="realmedia_numloop" onchange="Media.formToData();" /></td>
816
817 <td><label for="realmedia_scriptcallbacks">{#media_dlg.scriptcallbacks}</label></td>
818 <td><input type="text" id="realmedia_scriptcallbacks" name="realmedia_scriptcallbacks" onchange="Media.formToData();" /></td>
819 </tr>
820 </table>
821 </fieldset>
822
823 <fieldset id="shockwave_options">
824 <legend>{#media_dlg.shockwave_options}</legend>
825
826 <table role="presentation" border="0" cellpadding="4" cellspacing="0">
827 <tr>
828 <td><label for="shockwave_swstretchstyle">{#media_dlg.swstretchstyle}</label></td>
829 <td>
830 <select id="shockwave_swstretchstyle" name="shockwave_swstretchstyle" onchange="Media.formToData();">
831 <option value="none">{#not_set}</option>
832 <option value="meet">Meet</option>
833 <option value="fill">Fill</option>
834 <option value="stage">Stage</option>
835 </select>
836 </td>
837
838 <td><label for="shockwave_swvolume">{#media_dlg.volume}</label></td>
839 <td><input type="text" id="shockwave_swvolume" name="shockwave_swvolume" onchange="Media.formToData();" /></td>
840 </tr>
841
842 <tr>
843 <td><label for="shockwave_swstretchhalign">{#media_dlg.swstretchhalign}</label></td>
844 <td>
845 <select id="shockwave_swstretchhalign" name="shockwave_swstretchhalign" onchange="Media.formToData();">
846 <option value="none">{#not_set}</option>
847 <option value="left">{#media_dlg.align_left}</option>
848 <option value="center">{#media_dlg.align_center}</option>
849 <option value="right">{#media_dlg.align_right}</option>
850 </select>
851 </td>
852
853 <td><label for="shockwave_swstretchvalign">{#media_dlg.swstretchvalign}</label></td>
854 <td>
855 <select id="shockwave_swstretchvalign" name="shockwave_swstretchvalign" onchange="Media.formToData();">
856 <option value="none">{#not_set}</option>
857 <option value="meet">Meet</option>
858 <option value="fill">Fill</option>
859 <option value="stage">Stage</option>
860 </select>
861 </td>
862 </tr>
863
864 <tr>
865 <td colspan="2">
866 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
867 <tr>
868 <td><input type="checkbox" class="checkbox" id="shockwave_autostart" name="shockwave_autostart" onchange="Media.formToData();" checked="checked" /></td>
869 <td><label for="shockwave_autostart">{#media_dlg.autostart}</label></td>
870 </tr>
871 </table>
872 </td>
873
874 <td colspan="2">
875 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
876 <tr>
877 <td><input type="checkbox" class="checkbox" id="shockwave_sound" name="shockwave_sound" onchange="Media.formToData();" checked="checked" /></td>
878 <td><label for="shockwave_sound">{#media_dlg.sound}</label></td>
879 </tr>
880 </table>
881 </td>
882 </tr>
883
884
885 <tr>
886 <td colspan="2">
887 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
888 <tr>
889 <td><input type="checkbox" class="checkbox" id="shockwave_swliveconnect" name="shockwave_swliveconnect" onchange="Media.formToData();" /></td>
890 <td><label for="shockwave_swliveconnect">{#media_dlg.liveconnect}</label></td>
891 </tr>
892 </table>
893 </td>
894
895 <td colspan="2">
896 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
897 <tr>
898 <td><input type="checkbox" class="checkbox" id="shockwave_progress" name="shockwave_progress" onchange="Media.formToData();" checked="checked" /></td>
899 <td><label for="shockwave_progress">{#media_dlg.progress}</label></td>
900 </tr>
901 </table>
902 </td>
903 </tr>
904 </table>
905 </fieldset>
906 </div>
907
908 <div id="source_panel" class="panel">
909 <fieldset>
910 <legend>{#media_dlg.source}</legend>
911 <textarea id="source" style="width: 99%; height: 390px"></textarea>
912 </fieldset>
913 </div>
914 </div>
915
916 <div class="mceActionPanel">
917 <input type="submit" id="insert" name="insert" value="{#insert}" />
918 <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
919 </div>
920 </form>
921 </body>
922 </html>