annotate media/js/tiny_mce/plugins/style/props.htm @ 265:1ba2c6bf6eb7

Closing #98. Animated GIFs were losing their transparency and animated properties when saved as avatars. Reworked the avatar save process to only run the avatar through PIL if it is too big. This preserves the original uploaded file if it is within the desired size settings. This may still mangle big animated gifs. If this becomes a problem, then maybe look into calling the PIL Image.resize() method directly. Moved the PIL image specific functions from bio.forms to a new module: core.image for better reusability in the future.
author Brian Neal <bgneal@gmail.com>
date Fri, 24 Sep 2010 02:12:09 +0000
parents 237710206167
children
rev   line source
bgneal@45 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
bgneal@45 2 <html xmlns="http://www.w3.org/1999/xhtml">
bgneal@45 3 <head>
bgneal@45 4 <title>{#style_dlg.title}</title>
bgneal@45 5 <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
bgneal@45 6 <script type="text/javascript" src="../../utils/mctabs.js"></script>
bgneal@45 7 <script type="text/javascript" src="../../utils/editable_selects.js"></script>
bgneal@45 8 <script type="text/javascript" src="../../utils/form_utils.js"></script>
bgneal@45 9 <script type="text/javascript" src="js/props.js"></script>
bgneal@45 10 <link href="css/props.css" rel="stylesheet" type="text/css" />
bgneal@45 11 </head>
bgneal@45 12
bgneal@45 13 <body id="styleprops" style="display: none">
bgneal@45 14 <form onsubmit="updateAction();return false;" action="#">
bgneal@45 15 <div class="tabs">
bgneal@45 16 <ul>
bgneal@45 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>
bgneal@45 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>
bgneal@45 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>
bgneal@45 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>
bgneal@45 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>
bgneal@45 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>
bgneal@45 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>
bgneal@45 24 </ul>
bgneal@45 25 </div>
bgneal@45 26
bgneal@45 27 <div class="panel_wrapper">
bgneal@45 28 <div id="text_panel" class="panel current">
bgneal@45 29 <table border="0" width="100%">
bgneal@45 30 <tr>
bgneal@45 31 <td><label for="text_font">{#style_dlg.text_font}</label></td>
bgneal@45 32 <td colspan="3">
bgneal@45 33 <select id="text_font" name="text_font" class="mceEditableSelect mceFocus"></select>
bgneal@45 34 </td>
bgneal@45 35 </tr>
bgneal@45 36 <tr>
bgneal@45 37 <td><label for="text_size">{#style_dlg.text_size}</label></td>
bgneal@45 38 <td>
bgneal@45 39 <table border="0" cellspacing="0" cellpadding="0">
bgneal@45 40 <tr>
bgneal@45 41 <td><select id="text_size" name="text_size" class="mceEditableSelect"></select></td>
bgneal@45 42 <td>&nbsp;</td>
bgneal@183 43 <td><select id="text_size_measurement" name="text_size_measurement"></select></td>
bgneal@45 44 </tr>
bgneal@45 45 </table>
bgneal@45 46 </td>
bgneal@45 47 <td><label for="text_weight">{#style_dlg.text_weight}</label></td>
bgneal@45 48 <td>
bgneal@45 49 <select id="text_weight" name="text_weight"></select>
bgneal@45 50 </td>
bgneal@45 51 </tr>
bgneal@45 52 <tr>
bgneal@45 53 <td><label for="text_style">{#style_dlg.text_style}</label></td>
bgneal@45 54 <td>
bgneal@45 55 <select id="text_style" name="text_style" class="mceEditableSelect"></select>
bgneal@45 56 </td>
bgneal@45 57 <td><label for="text_variant">{#style_dlg.text_variant}</label></td>
bgneal@45 58 <td>
bgneal@45 59 <select id="text_variant" name="text_variant"></select>
bgneal@45 60 </td>
bgneal@45 61 </tr>
bgneal@45 62 <tr>
bgneal@45 63 <td><label for="text_lineheight">{#style_dlg.text_lineheight}</label></td>
bgneal@45 64 <td>
bgneal@45 65 <table border="0" cellspacing="0" cellpadding="0">
bgneal@45 66 <tr>
bgneal@45 67 <td>
bgneal@45 68 <select id="text_lineheight" name="text_lineheight" class="mceEditableSelect"></select>
bgneal@45 69 </td>
bgneal@45 70 <td>&nbsp;</td>
bgneal@45 71 <td><select id="text_lineheight_measurement" name="text_lineheight_measurement"></select></td>
bgneal@45 72 </tr>
bgneal@45 73 </table>
bgneal@45 74 </td>
bgneal@45 75 <td><label for="text_case">{#style_dlg.text_case}</label></td>
bgneal@45 76 <td>
bgneal@45 77 <select id="text_case" name="text_case"></select>
bgneal@45 78 </td>
bgneal@45 79 </tr>
bgneal@45 80 <tr>
bgneal@45 81 <td><label for="text_color">{#style_dlg.text_color}</label></td>
bgneal@45 82 <td colspan="2">
bgneal@45 83 <table border="0" cellpadding="0" cellspacing="0">
bgneal@45 84 <tr>
bgneal@45 85 <td><input id="text_color" name="text_color" type="text" value="" size="9" onChange="updateColor('text_color_pick','text_color');" /></td>
bgneal@45 86 <td id="text_color_pickcontainer">&nbsp;</td>
bgneal@45 87 </tr>
bgneal@45 88 </table>
bgneal@45 89 </td>
bgneal@45 90 </tr>
bgneal@45 91 <tr>
bgneal@45 92 <td valign="top" style="vertical-align: top; padding-top: 3px;">{#style_dlg.text_decoration}</td>
bgneal@45 93 <td colspan="2">
bgneal@45 94 <table border="0" cellspacing="0" cellpadding="0">
bgneal@45 95 <tr>
bgneal@45 96 <td><input id="text_underline" name="text_underline" class="checkbox" type="checkbox" /></td>
bgneal@45 97 <td><label for="text_underline">{#style_dlg.text_underline}</label></td>
bgneal@45 98 </tr>
bgneal@45 99 <tr>
bgneal@45 100 <td><input id="text_overline" name="text_overline" class="checkbox" type="checkbox" /></td>
bgneal@45 101 <td><label for="text_overline">{#style_dlg.text_overline}</label></td>
bgneal@45 102 </tr>
bgneal@45 103 <tr>
bgneal@45 104 <td><input id="text_linethrough" name="text_linethrough" class="checkbox" type="checkbox" /></td>
bgneal@45 105 <td><label for="text_linethrough">{#style_dlg.text_striketrough}</label></td>
bgneal@45 106 </tr>
bgneal@45 107 <tr>
bgneal@45 108 <td><input id="text_blink" name="text_blink" class="checkbox" type="checkbox" /></td>
bgneal@45 109 <td><label for="text_blink">{#style_dlg.text_blink}</label></td>
bgneal@45 110 </tr>
bgneal@45 111 <tr>
bgneal@45 112 <td><input id="text_none" name="text_none" class="checkbox" type="checkbox" /></td>
bgneal@45 113 <td><label for="text_none">{#style_dlg.text_none}</label></td>
bgneal@45 114 </tr>
bgneal@45 115 </table>
bgneal@45 116 </td>
bgneal@45 117 </tr>
bgneal@45 118 </table>
bgneal@45 119 </div>
bgneal@45 120
bgneal@45 121 <div id="background_panel" class="panel">
bgneal@45 122 <table border="0">
bgneal@45 123 <tr>
bgneal@45 124 <td><label for="background_color">{#style_dlg.background_color}</label></td>
bgneal@45 125 <td>
bgneal@45 126 <table border="0" cellpadding="0" cellspacing="0">
bgneal@45 127 <tr>
bgneal@45 128 <td><input id="background_color" name="background_color" type="text" value="" size="9" onChange="updateColor('background_color_pick','background_color');" /></td>
bgneal@45 129 <td id="background_color_pickcontainer">&nbsp;</td>
bgneal@45 130 </tr>
bgneal@45 131 </table>
bgneal@45 132 </td>
bgneal@45 133 </tr>
bgneal@45 134
bgneal@45 135 <tr>
bgneal@45 136 <td><label for="background_image">{#style_dlg.background_image}</label></td>
bgneal@45 137 <td><table border="0" cellspacing="0" cellpadding="0">
bgneal@45 138 <tr>
bgneal@45 139 <td><input id="background_image" name="background_image" type="text" /></td>
bgneal@45 140 <td id="background_image_browser">&nbsp;</td>
bgneal@45 141 </tr>
bgneal@45 142 </table>
bgneal@45 143 </td>
bgneal@45 144 </tr>
bgneal@45 145
bgneal@45 146 <tr>
bgneal@45 147 <td><label for="background_repeat">{#style_dlg.background_repeat}</label></td>
bgneal@45 148 <td><select id="background_repeat" name="background_repeat" class="mceEditableSelect"></select></td>
bgneal@45 149 </tr>
bgneal@45 150
bgneal@45 151 <tr>
bgneal@45 152 <td><label for="background_attachment">{#style_dlg.background_attachment}</label></td>
bgneal@45 153 <td><select id="background_attachment" name="background_attachment" class="mceEditableSelect"></select></td>
bgneal@45 154 </tr>
bgneal@45 155
bgneal@45 156 <tr>
bgneal@45 157 <td><label for="background_hpos">{#style_dlg.background_hpos}</label></td>
bgneal@45 158 <td>
bgneal@45 159 <table border="0" cellspacing="0" cellpadding="0">
bgneal@45 160 <tr>
bgneal@45 161 <td><select id="background_hpos" name="background_hpos" class="mceEditableSelect"></select></td>
bgneal@45 162 <td>&nbsp;</td>
bgneal@45 163 <td><select id="background_hpos_measurement" name="background_hpos_measurement"></select></td>
bgneal@45 164 </tr>
bgneal@45 165 </table>
bgneal@45 166 </td>
bgneal@45 167 </tr>
bgneal@45 168
bgneal@45 169 <tr>
bgneal@45 170 <td><label for="background_vpos">{#style_dlg.background_vpos}</label></td>
bgneal@45 171 <td>
bgneal@45 172 <table border="0" cellspacing="0" cellpadding="0">
bgneal@45 173 <tr>
bgneal@45 174 <td><select id="background_vpos" name="background_vpos" class="mceEditableSelect"></select></td>
bgneal@45 175 <td>&nbsp;</td>
bgneal@45 176 <td><select id="background_vpos_measurement" name="background_vpos_measurement"></select></td>
bgneal@45 177 </tr>
bgneal@45 178 </table>
bgneal@45 179 </td>
bgneal@45 180 </tr>
bgneal@45 181 </table>
bgneal@45 182 </div>
bgneal@45 183
bgneal@45 184 <div id="block_panel" class="panel">
bgneal@45 185 <table border="0">
bgneal@45 186 <tr>
bgneal@45 187 <td><label for="block_wordspacing">{#style_dlg.block_wordspacing}</label></td>
bgneal@45 188 <td>
bgneal@45 189 <table border="0" cellspacing="0" cellpadding="0">
bgneal@45 190 <tr>
bgneal@45 191 <td><select id="block_wordspacing" name="block_wordspacing" class="mceEditableSelect"></select></td>
bgneal@45 192 <td>&nbsp;</td>
bgneal@45 193 <td><select id="block_wordspacing_measurement" name="block_wordspacing_measurement"></select></td>
bgneal@45 194 </tr>
bgneal@45 195 </table>
bgneal@45 196 </td>
bgneal@45 197 </tr>
bgneal@45 198
bgneal@45 199 <tr>
bgneal@45 200 <td><label for="block_letterspacing">{#style_dlg.block_letterspacing}</label></td>
bgneal@45 201 <td>
bgneal@45 202 <table border="0" cellspacing="0" cellpadding="0">
bgneal@45 203 <tr>
bgneal@45 204 <td><select id="block_letterspacing" name="block_letterspacing" class="mceEditableSelect"></select></td>
bgneal@45 205 <td>&nbsp;</td>
bgneal@45 206 <td><select id="block_letterspacing_measurement" name="block_letterspacing_measurement"></select></td>
bgneal@45 207 </tr>
bgneal@45 208 </table>
bgneal@45 209 </td>
bgneal@45 210 </tr>
bgneal@45 211
bgneal@45 212 <tr>
bgneal@45 213 <td><label for="block_vertical_alignment">{#style_dlg.block_vertical_alignment}</label></td>
bgneal@45 214 <td><select id="block_vertical_alignment" name="block_vertical_alignment" class="mceEditableSelect"></select></td>
bgneal@45 215 </tr>
bgneal@45 216
bgneal@45 217 <tr>
bgneal@45 218 <td><label for="block_text_align">{#style_dlg.block_text_align}</label></td>
bgneal@45 219 <td><select id="block_text_align" name="block_text_align" class="mceEditableSelect"></select></td>
bgneal@45 220 </tr>
bgneal@45 221
bgneal@45 222 <tr>
bgneal@45 223 <td><label for="block_text_indent">{#style_dlg.block_text_indent}</label></td>
bgneal@45 224 <td>
bgneal@45 225 <table border="0" cellspacing="0" cellpadding="0">
bgneal@45 226 <tr>
bgneal@45 227 <td><input type="text" id="block_text_indent" name="block_text_indent" /></td>
bgneal@45 228 <td>&nbsp;</td>
bgneal@45 229 <td><select id="block_text_indent_measurement" name="block_text_indent_measurement"></select></td>
bgneal@45 230 </tr>
bgneal@45 231 </table>
bgneal@45 232 </td>
bgneal@45 233 </tr>
bgneal@45 234
bgneal@45 235 <tr>
bgneal@45 236 <td><label for="block_whitespace">{#style_dlg.block_whitespace}</label></td>
bgneal@45 237 <td><select id="block_whitespace" name="block_whitespace" class="mceEditableSelect"></select></td>
bgneal@45 238 </tr>
bgneal@45 239
bgneal@45 240 <tr>
bgneal@45 241 <td><label for="block_display">{#style_dlg.block_display}</label></td>
bgneal@45 242 <td><select id="block_display" name="block_display" class="mceEditableSelect"></select></td>
bgneal@45 243 </tr>
bgneal@45 244 </table>
bgneal@45 245 </div>
bgneal@45 246
bgneal@45 247 <div id="box_panel" class="panel">
bgneal@45 248 <table border="0">
bgneal@45 249 <tr>
bgneal@45 250 <td><label for="box_width">{#style_dlg.box_width}</label></td>
bgneal@45 251 <td>
bgneal@45 252 <table border="0" cellspacing="0" cellpadding="0">
bgneal@45 253 <tr>
bgneal@45 254 <td><input type="text" id="box_width" name="box_width" class="mceEditableSelect" onChange="synch('box_width','positioning_width');" /></td>
bgneal@45 255 <td>&nbsp;</td>
bgneal@45 256 <td><select id="box_width_measurement" name="box_width_measurement"></select></td>
bgneal@45 257 </tr>
bgneal@45 258 </table>
bgneal@45 259 </td>
bgneal@45 260 <td>&nbsp;&nbsp;&nbsp;<label for="box_float">{#style_dlg.box_float}</label></td>
bgneal@45 261 <td><select id="box_float" name="box_float" class="mceEditableSelect"></select></td>
bgneal@45 262 </tr>
bgneal@45 263
bgneal@45 264 <tr>
bgneal@45 265 <td><label for="box_height">{#style_dlg.box_height}</label></td>
bgneal@45 266 <td>
bgneal@45 267 <table border="0" cellspacing="0" cellpadding="0">
bgneal@45 268 <tr>
bgneal@45 269 <td><input type="text" id="box_height" name="box_height" class="mceEditableSelect" onChange="synch('box_height','positioning_height');" /></td>
bgneal@45 270 <td>&nbsp;</td>
bgneal@45 271 <td><select id="box_height_measurement" name="box_height_measurement"></select></td>
bgneal@45 272 </tr>
bgneal@45 273 </table>
bgneal@45 274 </td>
bgneal@45 275 <td>&nbsp;&nbsp;&nbsp;<label for="box_clear">{#style_dlg.box_clear}</label></td>
bgneal@45 276 <td><select id="box_clear" name="box_clear" class="mceEditableSelect"></select></td>
bgneal@45 277 </tr>
bgneal@45 278 </table>
bgneal@45 279 <div style="float: left; width: 49%">
bgneal@45 280 <fieldset>
bgneal@45 281 <legend>{#style_dlg.padding}</legend>
bgneal@45 282
bgneal@45 283 <table border="0">
bgneal@45 284 <tr>
bgneal@45 285 <td>&nbsp;</td>
bgneal@45 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>
bgneal@45 287 </tr>
bgneal@45 288 <tr>
bgneal@45 289 <td><label for="box_padding_top">{#style_dlg.top}</label></td>
bgneal@45 290 <td>
bgneal@45 291 <table border="0" cellspacing="0" cellpadding="0">
bgneal@45 292 <tr>
bgneal@45 293 <td><input type="text" id="box_padding_top" name="box_padding_top" class="mceEditableSelect" /></td>
bgneal@45 294 <td>&nbsp;</td>
bgneal@45 295 <td><select id="box_padding_top_measurement" name="box_padding_top_measurement"></select></td>
bgneal@45 296 </tr>
bgneal@45 297 </table>
bgneal@45 298 </td>
bgneal@45 299 </tr>
bgneal@45 300 <tr>
bgneal@45 301 <td><label for="box_padding_right">{#style_dlg.right}</label></td>
bgneal@45 302 <td>
bgneal@45 303 <table border="0" cellspacing="0" cellpadding="0">
bgneal@45 304 <tr>
bgneal@45 305 <td><input type="text" id="box_padding_right" name="box_padding_right" class="mceEditableSelect" disabled="disabled" /></td>
bgneal@45 306 <td>&nbsp;</td>
bgneal@45 307 <td><select id="box_padding_right_measurement" name="box_padding_right_measurement" disabled="disabled"></select></td>
bgneal@45 308 </tr>
bgneal@45 309 </table>
bgneal@45 310 </td>
bgneal@45 311 </tr>
bgneal@45 312 <tr>
bgneal@45 313 <td><label for="box_padding_bottom">{#style_dlg.bottom}</label></td>
bgneal@45 314 <td>
bgneal@45 315 <table border="0" cellspacing="0" cellpadding="0">
bgneal@45 316 <tr>
bgneal@45 317 <td><input type="text" id="box_padding_bottom" name="box_padding_bottom" class="mceEditableSelect" disabled="disabled" /></td>
bgneal@45 318 <td>&nbsp;</td>
bgneal@45 319 <td><select id="box_padding_bottom_measurement" name="box_padding_bottom_measurement" disabled="disabled"></select></td>
bgneal@45 320 </tr>
bgneal@45 321 </table>
bgneal@45 322 </td>
bgneal@45 323 </tr>
bgneal@45 324 <tr>
bgneal@45 325 <td><label for="box_padding_left">{#style_dlg.left}</label></td>
bgneal@45 326 <td>
bgneal@45 327 <table border="0" cellspacing="0" cellpadding="0">
bgneal@45 328 <tr>
bgneal@45 329 <td><input type="text" id="box_padding_left" name="box_padding_left" class="mceEditableSelect" disabled="disabled" /></td>
bgneal@45 330 <td>&nbsp;</td>
bgneal@45 331 <td><select id="box_padding_left_measurement" name="box_padding_left_measurement" disabled="disabled"></select></td>
bgneal@45 332 </tr>
bgneal@45 333 </table>
bgneal@45 334 </td>
bgneal@45 335 </tr>
bgneal@45 336 </table>
bgneal@45 337 </fieldset>
bgneal@45 338 </div>
bgneal@45 339
bgneal@45 340 <div style="float: right; width: 49%">
bgneal@45 341 <fieldset>
bgneal@45 342 <legend>{#style_dlg.margin}</legend>
bgneal@45 343
bgneal@45 344 <table border="0">
bgneal@45 345 <tr>
bgneal@45 346 <td>&nbsp;</td>
bgneal@45 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>
bgneal@45 348 </tr>
bgneal@45 349 <tr>
bgneal@45 350 <td><label for="box_margin_top">{#style_dlg.top}</label></td>
bgneal@45 351 <td>
bgneal@45 352 <table border="0" cellspacing="0" cellpadding="0">
bgneal@45 353 <tr>
bgneal@45 354 <td><input type="text" id="box_margin_top" name="box_margin_top" class="mceEditableSelect" /></td>
bgneal@45 355 <td>&nbsp;</td>
bgneal@45 356 <td><select id="box_margin_top_measurement" name="box_margin_top_measurement"></select></td>
bgneal@45 357 </tr>
bgneal@45 358 </table>
bgneal@45 359 </td>
bgneal@45 360 </tr>
bgneal@45 361 <tr>
bgneal@45 362 <td><label for="box_margin_right">{#style_dlg.right}</label></td>
bgneal@45 363 <td>
bgneal@45 364 <table border="0" cellspacing="0" cellpadding="0">
bgneal@45 365 <tr>
bgneal@45 366 <td><input type="text" id="box_margin_right" name="box_margin_right" class="mceEditableSelect" disabled="disabled" /></td>
bgneal@45 367 <td>&nbsp;</td>
bgneal@45 368 <td><select id="box_margin_right_measurement" name="box_margin_right_measurement" disabled="disabled"></select></td>
bgneal@45 369 </tr>
bgneal@45 370 </table>
bgneal@45 371 </td>
bgneal@45 372 </tr>
bgneal@45 373 <tr>
bgneal@45 374 <td><label for="box_margin_bottom">{#style_dlg.bottom}</label></td>
bgneal@45 375 <td>
bgneal@45 376 <table border="0" cellspacing="0" cellpadding="0">
bgneal@45 377 <tr>
bgneal@45 378 <td><input type="text" id="box_margin_bottom" name="box_margin_bottom" class="mceEditableSelect" disabled="disabled" /></td>
bgneal@45 379 <td>&nbsp;</td>
bgneal@45 380 <td><select id="box_margin_bottom_measurement" name="box_margin_bottom_measurement" disabled="disabled"></select></td>
bgneal@45 381 </tr>
bgneal@45 382 </table>
bgneal@45 383 </td>
bgneal@45 384 </tr>
bgneal@45 385 <tr>
bgneal@45 386 <td><label for="box_margin_left">{#style_dlg.left}</label></td>
bgneal@45 387 <td>
bgneal@45 388 <table border="0" cellspacing="0" cellpadding="0">
bgneal@45 389 <tr>
bgneal@45 390 <td><input type="text" id="box_margin_left" name="box_margin_left" class="mceEditableSelect" disabled="disabled" /></td>
bgneal@45 391 <td>&nbsp;</td>
bgneal@45 392 <td><select id="box_margin_left_measurement" name="box_margin_left_measurement" disabled="disabled"></select></td>
bgneal@45 393 </tr>
bgneal@45 394 </table>
bgneal@45 395 </td>
bgneal@45 396 </tr>
bgneal@45 397 </table>
bgneal@45 398 </fieldset>
bgneal@45 399 </div>
bgneal@45 400 <br style="clear: both" />
bgneal@45 401 </div>
bgneal@45 402
bgneal@45 403 <div id="border_panel" class="panel">
bgneal@45 404 <table border="0" cellspacing="0" cellpadding="0" width="100%">
bgneal@45 405 <tr>
bgneal@45 406 <td class="tdelim">&nbsp;</td>
bgneal@45 407 <td class="tdelim delim">&nbsp;</td>
bgneal@45 408 <td class="tdelim">{#style_dlg.style}</td>
bgneal@45 409 <td class="tdelim delim">&nbsp;</td>
bgneal@45 410 <td class="tdelim">{#style_dlg.width}</td>
bgneal@45 411 <td class="tdelim delim">&nbsp;</td>
bgneal@45 412 <td class="tdelim">{#style_dlg.color}</td>
bgneal@45 413 </tr>
bgneal@45 414
bgneal@45 415 <tr>
bgneal@45 416 <td>&nbsp;</td>
bgneal@45 417 <td class="delim">&nbsp;</td>
bgneal@45 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>
bgneal@45 419 <td class="delim">&nbsp;</td>
bgneal@45 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>
bgneal@45 421 <td class="delim">&nbsp;</td>
bgneal@45 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>
bgneal@45 423 </tr>
bgneal@45 424
bgneal@45 425 <tr>
bgneal@45 426 <td>{#style_dlg.top}</td>
bgneal@45 427 <td class="delim">&nbsp;</td>
bgneal@45 428 <td><select id="border_style_top" name="border_style_top" class="mceEditableSelect"></select></td>
bgneal@45 429 <td class="delim">&nbsp;</td>
bgneal@45 430 <td>
bgneal@45 431 <table border="0" cellspacing="0" cellpadding="0">
bgneal@45 432 <tr>
bgneal@45 433 <td><select id="border_width_top" name="border_width_top" class="mceEditableSelect"></select></td>
bgneal@45 434 <td>&nbsp;</td>
bgneal@45 435 <td><select id="border_width_top_measurement" name="border_width_top_measurement"></select></td>
bgneal@45 436 </tr>
bgneal@45 437 </table>
bgneal@45 438 </td>
bgneal@45 439 <td class="delim">&nbsp;</td>
bgneal@45 440 <td>
bgneal@45 441 <table border="0" cellpadding="0" cellspacing="0">
bgneal@45 442 <tr>
bgneal@45 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>
bgneal@45 444 <td id="border_color_top_pickcontainer">&nbsp;</td>
bgneal@45 445 </tr>
bgneal@45 446 </table>
bgneal@45 447 </td>
bgneal@45 448 </tr>
bgneal@45 449
bgneal@45 450 <tr>
bgneal@45 451 <td>{#style_dlg.right}</td>
bgneal@45 452 <td class="delim">&nbsp;</td>
bgneal@45 453 <td><select id="border_style_right" name="border_style_right" class="mceEditableSelect" disabled="disabled"></select></td>
bgneal@45 454 <td class="delim">&nbsp;</td>
bgneal@45 455 <td>
bgneal@45 456 <table border="0" cellspacing="0" cellpadding="0">
bgneal@45 457 <tr>
bgneal@45 458 <td><select id="border_width_right" name="border_width_right" class="mceEditableSelect" disabled="disabled"></select></td>
bgneal@45 459 <td>&nbsp;</td>
bgneal@45 460 <td><select id="border_width_right_measurement" name="border_width_right_measurement" disabled="disabled"></select></td>
bgneal@45 461 </tr>
bgneal@45 462 </table>
bgneal@45 463 </td>
bgneal@45 464 <td class="delim">&nbsp;</td>
bgneal@45 465 <td>
bgneal@45 466 <table border="0" cellpadding="0" cellspacing="0">
bgneal@45 467 <tr>
bgneal@45 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>
bgneal@45 469 <td id="border_color_right_pickcontainer">&nbsp;</td>
bgneal@45 470 </tr>
bgneal@45 471 </table>
bgneal@45 472 </td>
bgneal@45 473 </tr>
bgneal@45 474
bgneal@45 475 <tr>
bgneal@45 476 <td>{#style_dlg.bottom}</td>
bgneal@45 477 <td class="delim">&nbsp;</td>
bgneal@45 478 <td><select id="border_style_bottom" name="border_style_bottom" class="mceEditableSelect" disabled="disabled"></select></td>
bgneal@45 479 <td class="delim">&nbsp;</td>
bgneal@45 480 <td>
bgneal@45 481 <table border="0" cellspacing="0" cellpadding="0">
bgneal@45 482 <tr>
bgneal@45 483 <td><select id="border_width_bottom" name="border_width_bottom" class="mceEditableSelect" disabled="disabled"></select></td>
bgneal@45 484 <td>&nbsp;</td>
bgneal@45 485 <td><select id="border_width_bottom_measurement" name="border_width_bottom_measurement" disabled="disabled"></select></td>
bgneal@45 486 </tr>
bgneal@45 487 </table>
bgneal@45 488 </td>
bgneal@45 489 <td class="delim">&nbsp;</td>
bgneal@45 490 <td>
bgneal@45 491 <table border="0" cellpadding="0" cellspacing="0">
bgneal@45 492 <tr>
bgneal@45 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>
bgneal@45 494 <td id="border_color_bottom_pickcontainer">&nbsp;</td>
bgneal@45 495 </tr>
bgneal@45 496 </table>
bgneal@45 497 </td>
bgneal@45 498 </tr>
bgneal@45 499
bgneal@45 500 <tr>
bgneal@45 501 <td>{#style_dlg.left}</td>
bgneal@45 502 <td class="delim">&nbsp;</td>
bgneal@45 503 <td><select id="border_style_left" name="border_style_left" class="mceEditableSelect" disabled="disabled"></select></td>
bgneal@45 504 <td class="delim">&nbsp;</td>
bgneal@45 505 <td>
bgneal@45 506 <table border="0" cellspacing="0" cellpadding="0">
bgneal@45 507 <tr>
bgneal@45 508 <td><select id="border_width_left" name="border_width_left" class="mceEditableSelect" disabled="disabled"></select></td>
bgneal@45 509 <td>&nbsp;</td>
bgneal@45 510 <td><select id="border_width_left_measurement" name="border_width_left_measurement" disabled="disabled"></select></td>
bgneal@45 511 </tr>
bgneal@45 512 </table>
bgneal@45 513 </td>
bgneal@45 514 <td class="delim">&nbsp;</td>
bgneal@45 515 <td>
bgneal@45 516 <table border="0" cellpadding="0" cellspacing="0">
bgneal@45 517 <tr>
bgneal@45 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>
bgneal@45 519 <td id="border_color_left_pickcontainer">&nbsp;</td>
bgneal@45 520 </tr>
bgneal@45 521 </table>
bgneal@45 522 </td>
bgneal@45 523 </tr>
bgneal@45 524 </table>
bgneal@45 525 </div>
bgneal@45 526
bgneal@45 527 <div id="list_panel" class="panel">
bgneal@45 528 <table border="0">
bgneal@45 529 <tr>
bgneal@45 530 <td><label for="list_type">{#style_dlg.list_type}</label></td>
bgneal@45 531 <td><select id="list_type" name="list_type" class="mceEditableSelect"></select></td>
bgneal@45 532 </tr>
bgneal@45 533
bgneal@45 534 <tr>
bgneal@45 535 <td><label for="list_bullet_image">{#style_dlg.bullet_image}</label></td>
bgneal@45 536 <td><input id="list_bullet_image" name="list_bullet_image" type="text" /></td>
bgneal@45 537 </tr>
bgneal@45 538
bgneal@45 539 <tr>
bgneal@45 540 <td><label for="list_position">{#style_dlg.position}</label></td>
bgneal@45 541 <td><select id="list_position" name="list_position" class="mceEditableSelect"></select></td>
bgneal@45 542 </tr>
bgneal@45 543 </table>
bgneal@45 544 </div>
bgneal@45 545
bgneal@45 546 <div id="positioning_panel" class="panel">
bgneal@45 547 <table border="0">
bgneal@45 548 <tr>
bgneal@45 549 <td><label for="positioning_type">{#style_dlg.positioning_type}</label></td>
bgneal@45 550 <td><select id="positioning_type" name="positioning_type" class="mceEditableSelect"></select></td>
bgneal@45 551 <td>&nbsp;&nbsp;&nbsp;<label for="positioning_visibility">{#style_dlg.visibility}</label></td>
bgneal@45 552 <td><select id="positioning_visibility" name="positioning_visibility" class="mceEditableSelect"></select></td>
bgneal@45 553 </tr>
bgneal@45 554
bgneal@45 555 <tr>
bgneal@45 556 <td><label for="positioning_width">{#style_dlg.width}</label></td>
bgneal@45 557 <td>
bgneal@45 558 <table border="0" cellspacing="0" cellpadding="0">
bgneal@45 559 <tr>
bgneal@45 560 <td><input type="text" id="positioning_width" name="positioning_width" onChange="synch('positioning_width','box_width');" /></td>
bgneal@45 561 <td>&nbsp;</td>
bgneal@45 562 <td><select id="positioning_width_measurement" name="positioning_width_measurement"></select></td>
bgneal@45 563 </tr>
bgneal@45 564 </table>
bgneal@45 565 </td>
bgneal@45 566 <td>&nbsp;&nbsp;&nbsp;<label for="positioning_zindex">{#style_dlg.zindex}</label></td>
bgneal@45 567 <td><input type="text" id="positioning_zindex" name="positioning_zindex" /></td>
bgneal@45 568 </tr>
bgneal@45 569
bgneal@45 570 <tr>
bgneal@45 571 <td><label for="positioning_height">{#style_dlg.height}</label></td>
bgneal@45 572 <td>
bgneal@45 573 <table border="0" cellspacing="0" cellpadding="0">
bgneal@45 574 <tr>
bgneal@45 575 <td><input type="text" id="positioning_height" name="positioning_height" onChange="synch('positioning_height','box_height');" /></td>
bgneal@45 576 <td>&nbsp;</td>
bgneal@45 577 <td><select id="positioning_height_measurement" name="positioning_height_measurement"></select></td>
bgneal@45 578 </tr>
bgneal@45 579 </table>
bgneal@45 580 </td>
bgneal@45 581 <td>&nbsp;&nbsp;&nbsp;<label for="positioning_overflow">{#style_dlg.overflow}</label></td>
bgneal@45 582 <td><select id="positioning_overflow" name="positioning_overflow" class="mceEditableSelect"></select></td>
bgneal@45 583 </tr>
bgneal@45 584 </table>
bgneal@45 585
bgneal@45 586 <div style="float: left; width: 49%">
bgneal@45 587 <fieldset>
bgneal@45 588 <legend>{#style_dlg.placement}</legend>
bgneal@45 589
bgneal@45 590 <table border="0">
bgneal@45 591 <tr>
bgneal@45 592 <td>&nbsp;</td>
bgneal@45 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>
bgneal@45 594 </tr>
bgneal@45 595 <tr>
bgneal@45 596 <td>{#style_dlg.top}</td>
bgneal@45 597 <td>
bgneal@45 598 <table border="0" cellspacing="0" cellpadding="0">
bgneal@45 599 <tr>
bgneal@45 600 <td><input type="text" id="positioning_placement_top" name="positioning_placement_top" /></td>
bgneal@45 601 <td>&nbsp;</td>
bgneal@45 602 <td><select id="positioning_placement_top_measurement" name="positioning_placement_top_measurement"></select></td>
bgneal@45 603 </tr>
bgneal@45 604 </table>
bgneal@45 605 </td>
bgneal@45 606 </tr>
bgneal@45 607 <tr>
bgneal@45 608 <td>{#style_dlg.right}</td>
bgneal@45 609 <td>
bgneal@45 610 <table border="0" cellspacing="0" cellpadding="0">
bgneal@45 611 <tr>
bgneal@45 612 <td><input type="text" id="positioning_placement_right" name="positioning_placement_right" disabled="disabled" /></td>
bgneal@45 613 <td>&nbsp;</td>
bgneal@45 614 <td><select id="positioning_placement_right_measurement" name="positioning_placement_right_measurement" disabled="disabled"></select></td>
bgneal@45 615 </tr>
bgneal@45 616 </table>
bgneal@45 617 </td>
bgneal@45 618 </tr>
bgneal@45 619 <tr>
bgneal@45 620 <td>{#style_dlg.bottom}</td>
bgneal@45 621 <td>
bgneal@45 622 <table border="0" cellspacing="0" cellpadding="0">
bgneal@45 623 <tr>
bgneal@45 624 <td><input type="text" id="positioning_placement_bottom" name="positioning_placement_bottom" disabled="disabled" /></td>
bgneal@45 625 <td>&nbsp;</td>
bgneal@45 626 <td><select id="positioning_placement_bottom_measurement" name="positioning_placement_bottom_measurement" disabled="disabled"></select></td>
bgneal@45 627 </tr>
bgneal@45 628 </table>
bgneal@45 629 </td>
bgneal@45 630 </tr>
bgneal@45 631 <tr>
bgneal@45 632 <td>{#style_dlg.left}</td>
bgneal@45 633 <td>
bgneal@45 634 <table border="0" cellspacing="0" cellpadding="0">
bgneal@45 635 <tr>
bgneal@45 636 <td><input type="text" id="positioning_placement_left" name="positioning_placement_left" disabled="disabled" /></td>
bgneal@45 637 <td>&nbsp;</td>
bgneal@45 638 <td><select id="positioning_placement_left_measurement" name="positioning_placement_left_measurement" disabled="disabled"></select></td>
bgneal@45 639 </tr>
bgneal@45 640 </table>
bgneal@45 641 </td>
bgneal@45 642 </tr>
bgneal@45 643 </table>
bgneal@45 644 </fieldset>
bgneal@45 645 </div>
bgneal@45 646
bgneal@45 647 <div style="float: right; width: 49%">
bgneal@45 648 <fieldset>
bgneal@45 649 <legend>{#style_dlg.clip}</legend>
bgneal@45 650
bgneal@45 651 <table border="0">
bgneal@45 652 <tr>
bgneal@45 653 <td>&nbsp;</td>
bgneal@45 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>
bgneal@45 655 </tr>
bgneal@45 656 <tr>
bgneal@45 657 <td>{#style_dlg.top}</td>
bgneal@45 658 <td>
bgneal@45 659 <table border="0" cellspacing="0" cellpadding="0">
bgneal@45 660 <tr>
bgneal@45 661 <td><input type="text" id="positioning_clip_top" name="positioning_clip_top" /></td>
bgneal@45 662 <td>&nbsp;</td>
bgneal@45 663 <td><select id="positioning_clip_top_measurement" name="positioning_clip_top_measurement"></select></td>
bgneal@45 664 </tr>
bgneal@45 665 </table>
bgneal@45 666 </td>
bgneal@45 667 </tr>
bgneal@45 668 <tr>
bgneal@45 669 <td>{#style_dlg.right}</td>
bgneal@45 670 <td>
bgneal@45 671 <table border="0" cellspacing="0" cellpadding="0">
bgneal@45 672 <tr>
bgneal@45 673 <td><input type="text" id="positioning_clip_right" name="positioning_clip_right" disabled="disabled" /></td>
bgneal@45 674 <td>&nbsp;</td>
bgneal@45 675 <td><select id="positioning_clip_right_measurement" name="positioning_clip_right_measurement" disabled="disabled"></select></td>
bgneal@45 676 </tr>
bgneal@45 677 </table>
bgneal@45 678 </td>
bgneal@45 679 </tr>
bgneal@45 680 <tr>
bgneal@45 681 <td>{#style_dlg.bottom}</td>
bgneal@45 682 <td>
bgneal@45 683 <table border="0" cellspacing="0" cellpadding="0">
bgneal@45 684 <tr>
bgneal@45 685 <td><input type="text" id="positioning_clip_bottom" name="positioning_clip_bottom" disabled="disabled" /></td>
bgneal@45 686 <td>&nbsp;</td>
bgneal@45 687 <td><select id="positioning_clip_bottom_measurement" name="positioning_clip_bottom_measurement" disabled="disabled"></select></td>
bgneal@45 688 </tr>
bgneal@45 689 </table>
bgneal@45 690 </td>
bgneal@45 691 </tr>
bgneal@45 692 <tr>
bgneal@45 693 <td>{#style_dlg.left}</td>
bgneal@45 694 <td>
bgneal@45 695 <table border="0" cellspacing="0" cellpadding="0">
bgneal@45 696 <tr>
bgneal@45 697 <td><input type="text" id="positioning_clip_left" name="positioning_clip_left" disabled="disabled" /></td>
bgneal@45 698 <td>&nbsp;</td>
bgneal@45 699 <td><select id="positioning_clip_left_measurement" name="positioning_clip_left_measurement" disabled="disabled"></select></td>
bgneal@45 700 </tr>
bgneal@45 701 </table>
bgneal@45 702 </td>
bgneal@45 703 </tr>
bgneal@45 704 </table>
bgneal@45 705 </fieldset>
bgneal@45 706 </div>
bgneal@45 707 <br style="clear: both" />
bgneal@45 708 </div>
bgneal@45 709 </div>
bgneal@45 710
bgneal@45 711 <div class="mceActionPanel">
bgneal@217 712 <input type="submit" id="insert" name="insert" value="{#update}" />
bgneal@217 713 <input type="button" class="button" id="apply" name="apply" value="{#style_dlg.apply}" onClick="applyAction();" />
bgneal@183 714 <input type="button" id="cancel" name="cancel" value="{#cancel}" onClick="tinyMCEPopup.close();" />
bgneal@45 715 </div>
bgneal@45 716 </form>
bgneal@45 717
bgneal@45 718 <div style="display: none">
bgneal@45 719 <div id="container"></div>
bgneal@45 720 </div>
bgneal@45 721
bgneal@45 722 </body>
bgneal@45 723 </html>