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">
4 <title>{#style_dlg.title}</title>
5 <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
6 <script type="text/javascript" src="../../utils/mctabs.js"></script>
7 <script type="text/javascript" src="../../utils/editable_selects.js"></script>
8 <script type="text/javascript" src="../../utils/form_utils.js"></script>
9 <script type="text/javascript" src="js/props.js"></script>
10 <link href="css/props.css" rel="stylesheet" type="text/css" />
13 <body id="styleprops" style="display: none">
14 <form onsubmit="updateAction();return false;" action="#">
17 <li id="text_tab" class="current"><span><a href="javascript:mcTabs.displayTab('text_tab','text_panel');" onMouseDown="return false;">{#style_dlg.text_tab}</a></span></li>
18 <li id="background_tab"><span><a href="javascript:mcTabs.displayTab('background_tab','background_panel');" onMouseDown="return false;">{#style_dlg.background_tab}</a></span></li>
19 <li id="block_tab"><span><a href="javascript:mcTabs.displayTab('block_tab','block_panel');" onMouseDown="return false;">{#style_dlg.block_tab}</a></span></li>
20 <li id="box_tab"><span><a href="javascript:mcTabs.displayTab('box_tab','box_panel');" onMouseDown="return false;">{#style_dlg.box_tab}</a></span></li>
21 <li id="border_tab"><span><a href="javascript:mcTabs.displayTab('border_tab','border_panel');" onMouseDown="return false;">{#style_dlg.border_tab}</a></span></li>
22 <li id="list_tab"><span><a href="javascript:mcTabs.displayTab('list_tab','list_panel');" onMouseDown="return false;">{#style_dlg.list_tab}</a></span></li>
23 <li id="positioning_tab"><span><a href="javascript:mcTabs.displayTab('positioning_tab','positioning_panel');" onMouseDown="return false;">{#style_dlg.positioning_tab}</a></span></li>
27 <div class="panel_wrapper">
28 <div id="text_panel" class="panel current">
29 <table border="0" width="100%">
31 <td><label for="text_font">{#style_dlg.text_font}</label></td>
33 <select id="text_font" name="text_font" class="mceEditableSelect mceFocus"></select>
37 <td><label for="text_size">{#style_dlg.text_size}</label></td>
39 <table border="0" cellspacing="0" cellpadding="0">
41 <td><select id="text_size" name="text_size" class="mceEditableSelect"></select></td>
43 <td><select id="text_size_measurement" name="text_size_measurement"></select></td>
47 <td><label for="text_weight">{#style_dlg.text_weight}</label></td>
49 <select id="text_weight" name="text_weight"></select>
53 <td><label for="text_style">{#style_dlg.text_style}</label></td>
55 <select id="text_style" name="text_style" class="mceEditableSelect"></select>
57 <td><label for="text_variant">{#style_dlg.text_variant}</label></td>
59 <select id="text_variant" name="text_variant"></select>
63 <td><label for="text_lineheight">{#style_dlg.text_lineheight}</label></td>
65 <table border="0" cellspacing="0" cellpadding="0">
68 <select id="text_lineheight" name="text_lineheight" class="mceEditableSelect"></select>
71 <td><select id="text_lineheight_measurement" name="text_lineheight_measurement"></select></td>
75 <td><label for="text_case">{#style_dlg.text_case}</label></td>
77 <select id="text_case" name="text_case"></select>
81 <td><label for="text_color">{#style_dlg.text_color}</label></td>
83 <table border="0" cellpadding="0" cellspacing="0">
85 <td><input id="text_color" name="text_color" type="text" value="" size="9" onChange="updateColor('text_color_pick','text_color');" /></td>
86 <td id="text_color_pickcontainer"> </td>
92 <td valign="top" style="vertical-align: top; padding-top: 3px;">{#style_dlg.text_decoration}</td>
94 <table border="0" cellspacing="0" cellpadding="0">
96 <td><input id="text_underline" name="text_underline" class="checkbox" type="checkbox" /></td>
97 <td><label for="text_underline">{#style_dlg.text_underline}</label></td>
100 <td><input id="text_overline" name="text_overline" class="checkbox" type="checkbox" /></td>
101 <td><label for="text_overline">{#style_dlg.text_overline}</label></td>
104 <td><input id="text_linethrough" name="text_linethrough" class="checkbox" type="checkbox" /></td>
105 <td><label for="text_linethrough">{#style_dlg.text_striketrough}</label></td>
108 <td><input id="text_blink" name="text_blink" class="checkbox" type="checkbox" /></td>
109 <td><label for="text_blink">{#style_dlg.text_blink}</label></td>
112 <td><input id="text_none" name="text_none" class="checkbox" type="checkbox" /></td>
113 <td><label for="text_none">{#style_dlg.text_none}</label></td>
121 <div id="background_panel" class="panel">
124 <td><label for="background_color">{#style_dlg.background_color}</label></td>
126 <table border="0" cellpadding="0" cellspacing="0">
128 <td><input id="background_color" name="background_color" type="text" value="" size="9" onChange="updateColor('background_color_pick','background_color');" /></td>
129 <td id="background_color_pickcontainer"> </td>
136 <td><label for="background_image">{#style_dlg.background_image}</label></td>
137 <td><table border="0" cellspacing="0" cellpadding="0">
139 <td><input id="background_image" name="background_image" type="text" /></td>
140 <td id="background_image_browser"> </td>
147 <td><label for="background_repeat">{#style_dlg.background_repeat}</label></td>
148 <td><select id="background_repeat" name="background_repeat" class="mceEditableSelect"></select></td>
152 <td><label for="background_attachment">{#style_dlg.background_attachment}</label></td>
153 <td><select id="background_attachment" name="background_attachment" class="mceEditableSelect"></select></td>
157 <td><label for="background_hpos">{#style_dlg.background_hpos}</label></td>
159 <table border="0" cellspacing="0" cellpadding="0">
161 <td><select id="background_hpos" name="background_hpos" class="mceEditableSelect"></select></td>
163 <td><select id="background_hpos_measurement" name="background_hpos_measurement"></select></td>
170 <td><label for="background_vpos">{#style_dlg.background_vpos}</label></td>
172 <table border="0" cellspacing="0" cellpadding="0">
174 <td><select id="background_vpos" name="background_vpos" class="mceEditableSelect"></select></td>
176 <td><select id="background_vpos_measurement" name="background_vpos_measurement"></select></td>
184 <div id="block_panel" class="panel">
187 <td><label for="block_wordspacing">{#style_dlg.block_wordspacing}</label></td>
189 <table border="0" cellspacing="0" cellpadding="0">
191 <td><select id="block_wordspacing" name="block_wordspacing" class="mceEditableSelect"></select></td>
193 <td><select id="block_wordspacing_measurement" name="block_wordspacing_measurement"></select></td>
200 <td><label for="block_letterspacing">{#style_dlg.block_letterspacing}</label></td>
202 <table border="0" cellspacing="0" cellpadding="0">
204 <td><select id="block_letterspacing" name="block_letterspacing" class="mceEditableSelect"></select></td>
206 <td><select id="block_letterspacing_measurement" name="block_letterspacing_measurement"></select></td>
213 <td><label for="block_vertical_alignment">{#style_dlg.block_vertical_alignment}</label></td>
214 <td><select id="block_vertical_alignment" name="block_vertical_alignment" class="mceEditableSelect"></select></td>
218 <td><label for="block_text_align">{#style_dlg.block_text_align}</label></td>
219 <td><select id="block_text_align" name="block_text_align" class="mceEditableSelect"></select></td>
223 <td><label for="block_text_indent">{#style_dlg.block_text_indent}</label></td>
225 <table border="0" cellspacing="0" cellpadding="0">
227 <td><input type="text" id="block_text_indent" name="block_text_indent" /></td>
229 <td><select id="block_text_indent_measurement" name="block_text_indent_measurement"></select></td>
236 <td><label for="block_whitespace">{#style_dlg.block_whitespace}</label></td>
237 <td><select id="block_whitespace" name="block_whitespace" class="mceEditableSelect"></select></td>
241 <td><label for="block_display">{#style_dlg.block_display}</label></td>
242 <td><select id="block_display" name="block_display" class="mceEditableSelect"></select></td>
247 <div id="box_panel" class="panel">
250 <td><label for="box_width">{#style_dlg.box_width}</label></td>
252 <table border="0" cellspacing="0" cellpadding="0">
254 <td><input type="text" id="box_width" name="box_width" class="mceEditableSelect" onChange="synch('box_width','positioning_width');" /></td>
256 <td><select id="box_width_measurement" name="box_width_measurement"></select></td>
260 <td> <label for="box_float">{#style_dlg.box_float}</label></td>
261 <td><select id="box_float" name="box_float" class="mceEditableSelect"></select></td>
265 <td><label for="box_height">{#style_dlg.box_height}</label></td>
267 <table border="0" cellspacing="0" cellpadding="0">
269 <td><input type="text" id="box_height" name="box_height" class="mceEditableSelect" onChange="synch('box_height','positioning_height');" /></td>
271 <td><select id="box_height_measurement" name="box_height_measurement"></select></td>
275 <td> <label for="box_clear">{#style_dlg.box_clear}</label></td>
276 <td><select id="box_clear" name="box_clear" class="mceEditableSelect"></select></td>
279 <div style="float: left; width: 49%">
281 <legend>{#style_dlg.padding}</legend>
286 <td><input type="checkbox" id="box_padding_same" name="box_padding_same" class="checkbox" checked="checked" onClick="toggleSame(this,'box_padding');" /> <label for="box_padding_same">{#style_dlg.same}</label></td>
289 <td><label for="box_padding_top">{#style_dlg.top}</label></td>
291 <table border="0" cellspacing="0" cellpadding="0">
293 <td><input type="text" id="box_padding_top" name="box_padding_top" class="mceEditableSelect" /></td>
295 <td><select id="box_padding_top_measurement" name="box_padding_top_measurement"></select></td>
301 <td><label for="box_padding_right">{#style_dlg.right}</label></td>
303 <table border="0" cellspacing="0" cellpadding="0">
305 <td><input type="text" id="box_padding_right" name="box_padding_right" class="mceEditableSelect" disabled="disabled" /></td>
307 <td><select id="box_padding_right_measurement" name="box_padding_right_measurement" disabled="disabled"></select></td>
313 <td><label for="box_padding_bottom">{#style_dlg.bottom}</label></td>
315 <table border="0" cellspacing="0" cellpadding="0">
317 <td><input type="text" id="box_padding_bottom" name="box_padding_bottom" class="mceEditableSelect" disabled="disabled" /></td>
319 <td><select id="box_padding_bottom_measurement" name="box_padding_bottom_measurement" disabled="disabled"></select></td>
325 <td><label for="box_padding_left">{#style_dlg.left}</label></td>
327 <table border="0" cellspacing="0" cellpadding="0">
329 <td><input type="text" id="box_padding_left" name="box_padding_left" class="mceEditableSelect" disabled="disabled" /></td>
331 <td><select id="box_padding_left_measurement" name="box_padding_left_measurement" disabled="disabled"></select></td>
340 <div style="float: right; width: 49%">
342 <legend>{#style_dlg.margin}</legend>
347 <td><input type="checkbox" id="box_margin_same" name="box_margin_same" class="checkbox" checked="checked" onClick="toggleSame(this,'box_margin');" /> <label for="box_margin_same">{#style_dlg.same}</label></td>
350 <td><label for="box_margin_top">{#style_dlg.top}</label></td>
352 <table border="0" cellspacing="0" cellpadding="0">
354 <td><input type="text" id="box_margin_top" name="box_margin_top" class="mceEditableSelect" /></td>
356 <td><select id="box_margin_top_measurement" name="box_margin_top_measurement"></select></td>
362 <td><label for="box_margin_right">{#style_dlg.right}</label></td>
364 <table border="0" cellspacing="0" cellpadding="0">
366 <td><input type="text" id="box_margin_right" name="box_margin_right" class="mceEditableSelect" disabled="disabled" /></td>
368 <td><select id="box_margin_right_measurement" name="box_margin_right_measurement" disabled="disabled"></select></td>
374 <td><label for="box_margin_bottom">{#style_dlg.bottom}</label></td>
376 <table border="0" cellspacing="0" cellpadding="0">
378 <td><input type="text" id="box_margin_bottom" name="box_margin_bottom" class="mceEditableSelect" disabled="disabled" /></td>
380 <td><select id="box_margin_bottom_measurement" name="box_margin_bottom_measurement" disabled="disabled"></select></td>
386 <td><label for="box_margin_left">{#style_dlg.left}</label></td>
388 <table border="0" cellspacing="0" cellpadding="0">
390 <td><input type="text" id="box_margin_left" name="box_margin_left" class="mceEditableSelect" disabled="disabled" /></td>
392 <td><select id="box_margin_left_measurement" name="box_margin_left_measurement" disabled="disabled"></select></td>
400 <br style="clear: both" />
403 <div id="border_panel" class="panel">
404 <table border="0" cellspacing="0" cellpadding="0" width="100%">
406 <td class="tdelim"> </td>
407 <td class="tdelim delim"> </td>
408 <td class="tdelim">{#style_dlg.style}</td>
409 <td class="tdelim delim"> </td>
410 <td class="tdelim">{#style_dlg.width}</td>
411 <td class="tdelim delim"> </td>
412 <td class="tdelim">{#style_dlg.color}</td>
417 <td class="delim"> </td>
418 <td><input type="checkbox" id="border_style_same" name="border_style_same" class="checkbox" checked="checked" onClick="toggleSame(this,'border_style');" /> <label for="border_style_same">{#style_dlg.same}</label></td>
419 <td class="delim"> </td>
420 <td><input type="checkbox" id="border_width_same" name="border_width_same" class="checkbox" checked="checked" onClick="toggleSame(this,'border_width');" /> <label for="border_width_same">{#style_dlg.same}</label></td>
421 <td class="delim"> </td>
422 <td><input type="checkbox" id="border_color_same" name="border_color_same" class="checkbox" checked="checked" onClick="toggleSame(this,'border_color');" /> <label for="border_color_same">{#style_dlg.same}</label></td>
426 <td>{#style_dlg.top}</td>
427 <td class="delim"> </td>
428 <td><select id="border_style_top" name="border_style_top" class="mceEditableSelect"></select></td>
429 <td class="delim"> </td>
431 <table border="0" cellspacing="0" cellpadding="0">
433 <td><select id="border_width_top" name="border_width_top" class="mceEditableSelect"></select></td>
435 <td><select id="border_width_top_measurement" name="border_width_top_measurement"></select></td>
439 <td class="delim"> </td>
441 <table border="0" cellpadding="0" cellspacing="0">
443 <td><input id="border_color_top" name="border_color_top" type="text" value="" size="9" onChange="updateColor('border_color_top_pick','border_color_top');" /></td>
444 <td id="border_color_top_pickcontainer"> </td>
451 <td>{#style_dlg.right}</td>
452 <td class="delim"> </td>
453 <td><select id="border_style_right" name="border_style_right" class="mceEditableSelect" disabled="disabled"></select></td>
454 <td class="delim"> </td>
456 <table border="0" cellspacing="0" cellpadding="0">
458 <td><select id="border_width_right" name="border_width_right" class="mceEditableSelect" disabled="disabled"></select></td>
460 <td><select id="border_width_right_measurement" name="border_width_right_measurement" disabled="disabled"></select></td>
464 <td class="delim"> </td>
466 <table border="0" cellpadding="0" cellspacing="0">
468 <td><input id="border_color_right" name="border_color_right" type="text" value="" size="9" onChange="updateColor('border_color_right_pick','border_color_right');" disabled="disabled" /></td>
469 <td id="border_color_right_pickcontainer"> </td>
476 <td>{#style_dlg.bottom}</td>
477 <td class="delim"> </td>
478 <td><select id="border_style_bottom" name="border_style_bottom" class="mceEditableSelect" disabled="disabled"></select></td>
479 <td class="delim"> </td>
481 <table border="0" cellspacing="0" cellpadding="0">
483 <td><select id="border_width_bottom" name="border_width_bottom" class="mceEditableSelect" disabled="disabled"></select></td>
485 <td><select id="border_width_bottom_measurement" name="border_width_bottom_measurement" disabled="disabled"></select></td>
489 <td class="delim"> </td>
491 <table border="0" cellpadding="0" cellspacing="0">
493 <td><input id="border_color_bottom" name="border_color_bottom" type="text" value="" size="9" onChange="updateColor('border_color_bottom_pick','border_color_bottom');" disabled="disabled" /></td>
494 <td id="border_color_bottom_pickcontainer"> </td>
501 <td>{#style_dlg.left}</td>
502 <td class="delim"> </td>
503 <td><select id="border_style_left" name="border_style_left" class="mceEditableSelect" disabled="disabled"></select></td>
504 <td class="delim"> </td>
506 <table border="0" cellspacing="0" cellpadding="0">
508 <td><select id="border_width_left" name="border_width_left" class="mceEditableSelect" disabled="disabled"></select></td>
510 <td><select id="border_width_left_measurement" name="border_width_left_measurement" disabled="disabled"></select></td>
514 <td class="delim"> </td>
516 <table border="0" cellpadding="0" cellspacing="0">
518 <td><input id="border_color_left" name="border_color_left" type="text" value="" size="9" onChange="updateColor('border_color_left_pick','border_color_left');" disabled="disabled" /></td>
519 <td id="border_color_left_pickcontainer"> </td>
527 <div id="list_panel" class="panel">
530 <td><label for="list_type">{#style_dlg.list_type}</label></td>
531 <td><select id="list_type" name="list_type" class="mceEditableSelect"></select></td>
535 <td><label for="list_bullet_image">{#style_dlg.bullet_image}</label></td>
536 <td><input id="list_bullet_image" name="list_bullet_image" type="text" /></td>
540 <td><label for="list_position">{#style_dlg.position}</label></td>
541 <td><select id="list_position" name="list_position" class="mceEditableSelect"></select></td>
546 <div id="positioning_panel" class="panel">
549 <td><label for="positioning_type">{#style_dlg.positioning_type}</label></td>
550 <td><select id="positioning_type" name="positioning_type" class="mceEditableSelect"></select></td>
551 <td> <label for="positioning_visibility">{#style_dlg.visibility}</label></td>
552 <td><select id="positioning_visibility" name="positioning_visibility" class="mceEditableSelect"></select></td>
556 <td><label for="positioning_width">{#style_dlg.width}</label></td>
558 <table border="0" cellspacing="0" cellpadding="0">
560 <td><input type="text" id="positioning_width" name="positioning_width" onChange="synch('positioning_width','box_width');" /></td>
562 <td><select id="positioning_width_measurement" name="positioning_width_measurement"></select></td>
566 <td> <label for="positioning_zindex">{#style_dlg.zindex}</label></td>
567 <td><input type="text" id="positioning_zindex" name="positioning_zindex" /></td>
571 <td><label for="positioning_height">{#style_dlg.height}</label></td>
573 <table border="0" cellspacing="0" cellpadding="0">
575 <td><input type="text" id="positioning_height" name="positioning_height" onChange="synch('positioning_height','box_height');" /></td>
577 <td><select id="positioning_height_measurement" name="positioning_height_measurement"></select></td>
581 <td> <label for="positioning_overflow">{#style_dlg.overflow}</label></td>
582 <td><select id="positioning_overflow" name="positioning_overflow" class="mceEditableSelect"></select></td>
586 <div style="float: left; width: 49%">
588 <legend>{#style_dlg.placement}</legend>
593 <td><input type="checkbox" id="positioning_placement_same" name="positioning_placement_same" class="checkbox" checked="checked" onClick="toggleSame(this,'positioning_placement');" /> <label for="positioning_placement_same">{#style_dlg.same}</label></td>
596 <td>{#style_dlg.top}</td>
598 <table border="0" cellspacing="0" cellpadding="0">
600 <td><input type="text" id="positioning_placement_top" name="positioning_placement_top" /></td>
602 <td><select id="positioning_placement_top_measurement" name="positioning_placement_top_measurement"></select></td>
608 <td>{#style_dlg.right}</td>
610 <table border="0" cellspacing="0" cellpadding="0">
612 <td><input type="text" id="positioning_placement_right" name="positioning_placement_right" disabled="disabled" /></td>
614 <td><select id="positioning_placement_right_measurement" name="positioning_placement_right_measurement" disabled="disabled"></select></td>
620 <td>{#style_dlg.bottom}</td>
622 <table border="0" cellspacing="0" cellpadding="0">
624 <td><input type="text" id="positioning_placement_bottom" name="positioning_placement_bottom" disabled="disabled" /></td>
626 <td><select id="positioning_placement_bottom_measurement" name="positioning_placement_bottom_measurement" disabled="disabled"></select></td>
632 <td>{#style_dlg.left}</td>
634 <table border="0" cellspacing="0" cellpadding="0">
636 <td><input type="text" id="positioning_placement_left" name="positioning_placement_left" disabled="disabled" /></td>
638 <td><select id="positioning_placement_left_measurement" name="positioning_placement_left_measurement" disabled="disabled"></select></td>
647 <div style="float: right; width: 49%">
649 <legend>{#style_dlg.clip}</legend>
654 <td><input type="checkbox" id="positioning_clip_same" name="positioning_clip_same" class="checkbox" checked="checked" onClick="toggleSame(this,'positioning_clip');" /> <label for="positioning_clip_same">{#style_dlg.same}</label></td>
657 <td>{#style_dlg.top}</td>
659 <table border="0" cellspacing="0" cellpadding="0">
661 <td><input type="text" id="positioning_clip_top" name="positioning_clip_top" /></td>
663 <td><select id="positioning_clip_top_measurement" name="positioning_clip_top_measurement"></select></td>
669 <td>{#style_dlg.right}</td>
671 <table border="0" cellspacing="0" cellpadding="0">
673 <td><input type="text" id="positioning_clip_right" name="positioning_clip_right" disabled="disabled" /></td>
675 <td><select id="positioning_clip_right_measurement" name="positioning_clip_right_measurement" disabled="disabled"></select></td>
681 <td>{#style_dlg.bottom}</td>
683 <table border="0" cellspacing="0" cellpadding="0">
685 <td><input type="text" id="positioning_clip_bottom" name="positioning_clip_bottom" disabled="disabled" /></td>
687 <td><select id="positioning_clip_bottom_measurement" name="positioning_clip_bottom_measurement" disabled="disabled"></select></td>
693 <td>{#style_dlg.left}</td>
695 <table border="0" cellspacing="0" cellpadding="0">
697 <td><input type="text" id="positioning_clip_left" name="positioning_clip_left" disabled="disabled" /></td>
699 <td><select id="positioning_clip_left_measurement" name="positioning_clip_left_measurement" disabled="disabled"></select></td>
707 <br style="clear: both" />
711 <div class="mceActionPanel">
712 <input type="submit" id="insert" name="insert" value="{#update}" />
713 <input type="button" class="button" id="apply" name="apply" value="{#style_dlg.apply}" onClick="applyAction();" />
714 <input type="button" id="cancel" name="cancel" value="{#cancel}" onClick="tinyMCEPopup.close();" />
718 <div style="display: none">
719 <div id="container"></div>