annotate static/js/tiny_mce/plugins/table/table.htm @ 348:d1b11096595b

Fix #168; when nailing a spammer, clear their profile text fields. Guard against topics and forums that don't exist when deleting posts in the signal handler. Make the forum stats template tag only display the latest active users.
author Brian Neal <bgneal@gmail.com>
date Wed, 02 Mar 2011 02:18:28 +0000
parents 88b2b9cb8c1f
children 6c182ceb7147
rev   line source
bgneal@312 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
bgneal@312 2 <html xmlns="http://www.w3.org/1999/xhtml">
bgneal@312 3 <head>
bgneal@312 4 <title>{#table_dlg.title}</title>
bgneal@312 5 <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
bgneal@312 6 <script type="text/javascript" src="../../utils/mctabs.js"></script>
bgneal@312 7 <script type="text/javascript" src="../../utils/form_utils.js"></script>
bgneal@312 8 <script type="text/javascript" src="../../utils/validate.js"></script>
bgneal@312 9 <script type="text/javascript" src="../../utils/editable_selects.js"></script>
bgneal@312 10 <script type="text/javascript" src="js/table.js"></script>
bgneal@312 11 <link href="css/table.css" rel="stylesheet" type="text/css" />
bgneal@312 12 </head>
bgneal@312 13 <body id="table" style="display: none">
bgneal@312 14 <form onsubmit="insertTable();return false;" action="#">
bgneal@312 15 <div class="tabs">
bgneal@312 16 <ul>
bgneal@312 17 <li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#table_dlg.general_tab}</a></span></li>
bgneal@312 18 <li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{#table_dlg.advanced_tab}</a></span></li>
bgneal@312 19 </ul>
bgneal@312 20 </div>
bgneal@312 21
bgneal@312 22 <div class="panel_wrapper">
bgneal@312 23 <div id="general_panel" class="panel current">
bgneal@312 24 <fieldset>
bgneal@312 25 <legend>{#table_dlg.general_props}</legend>
bgneal@312 26 <table border="0" cellpadding="4" cellspacing="0" width="100%">
bgneal@312 27 <tr>
bgneal@312 28 <td><label id="colslabel" for="cols">{#table_dlg.cols}</label></td>
bgneal@312 29 <td><input id="cols" name="cols" type="text" value="" size="3" maxlength="3" class="required number min1 mceFocus" /></td>
bgneal@312 30 <td><label id="rowslabel" for="rows">{#table_dlg.rows}</label></td>
bgneal@312 31 <td><input id="rows" name="rows" type="text" value="" size="3" maxlength="3" class="required number min1" /></td>
bgneal@312 32 </tr>
bgneal@312 33 <tr>
bgneal@312 34 <td><label id="cellpaddinglabel" for="cellpadding">{#table_dlg.cellpadding}</label></td>
bgneal@312 35 <td><input id="cellpadding" name="cellpadding" type="text" value="" size="3" maxlength="3" class="number" /></td>
bgneal@312 36 <td><label id="cellspacinglabel" for="cellspacing">{#table_dlg.cellspacing}</label></td>
bgneal@312 37 <td><input id="cellspacing" name="cellspacing" type="text" value="" size="3" maxlength="3" class="number" /></td>
bgneal@312 38 </tr>
bgneal@312 39 <tr>
bgneal@312 40 <td><label id="alignlabel" for="align">{#table_dlg.align}</label></td>
bgneal@312 41 <td><select id="align" name="align">
bgneal@312 42 <option value="">{#not_set}</option>
bgneal@312 43 <option value="center">{#table_dlg.align_middle}</option>
bgneal@312 44 <option value="left">{#table_dlg.align_left}</option>
bgneal@312 45 <option value="right">{#table_dlg.align_right}</option>
bgneal@312 46 </select></td>
bgneal@312 47 <td><label id="borderlabel" for="border">{#table_dlg.border}</label></td>
bgneal@312 48 <td><input id="border" name="border" type="text" value="" size="3" maxlength="3" onchange="changedBorder();" class="number" /></td>
bgneal@312 49 </tr>
bgneal@312 50 <tr id="width_row">
bgneal@312 51 <td><label id="widthlabel" for="width">{#table_dlg.width}</label></td>
bgneal@312 52 <td><input name="width" type="text" id="width" value="" size="4" maxlength="4" onchange="changedSize();" class="size" /></td>
bgneal@312 53 <td><label id="heightlabel" for="height">{#table_dlg.height}</label></td>
bgneal@312 54 <td><input name="height" type="text" id="height" value="" size="4" maxlength="4" onchange="changedSize();" class="size" /></td>
bgneal@312 55 </tr>
bgneal@312 56 <tr id="styleSelectRow">
bgneal@312 57 <td><label id="classlabel" for="class">{#class_name}</label></td>
bgneal@312 58 <td colspan="3">
bgneal@312 59 <select id="class" name="class" class="mceEditableSelect">
bgneal@312 60 <option value="" selected="selected">{#not_set}</option>
bgneal@312 61 </select></td>
bgneal@312 62 </tr>
bgneal@312 63 <tr>
bgneal@312 64 <td class="column1"><label for="caption">{#table_dlg.caption}</label></td>
bgneal@312 65 <td><input id="caption" name="caption" type="checkbox" class="checkbox" value="true" /></td>
bgneal@312 66 </tr>
bgneal@312 67 </table>
bgneal@312 68 </fieldset>
bgneal@312 69 </div>
bgneal@312 70
bgneal@312 71 <div id="advanced_panel" class="panel">
bgneal@312 72 <fieldset>
bgneal@312 73 <legend>{#table_dlg.advanced_props}</legend>
bgneal@312 74
bgneal@312 75 <table border="0" cellpadding="0" cellspacing="4">
bgneal@312 76 <tr>
bgneal@312 77 <td class="column1"><label for="id">{#table_dlg.id}</label></td>
bgneal@312 78 <td><input id="id" name="id" type="text" value="" class="advfield" /></td>
bgneal@312 79 </tr>
bgneal@312 80
bgneal@312 81 <tr>
bgneal@312 82 <td class="column1"><label for="summary">{#table_dlg.summary}</label></td>
bgneal@312 83 <td><input id="summary" name="summary" type="text" value="" class="advfield" /></td>
bgneal@312 84 </tr>
bgneal@312 85
bgneal@312 86 <tr>
bgneal@312 87 <td><label for="style">{#table_dlg.style}</label></td>
bgneal@312 88 <td><input type="text" id="style" name="style" value="" class="advfield" onchange="changedStyle();" /></td>
bgneal@312 89 </tr>
bgneal@312 90
bgneal@312 91 <tr>
bgneal@312 92 <td class="column1"><label id="langlabel" for="lang">{#table_dlg.langcode}</label></td>
bgneal@312 93 <td>
bgneal@312 94 <input id="lang" name="lang" type="text" value="" class="advfield" />
bgneal@312 95 </td>
bgneal@312 96 </tr>
bgneal@312 97
bgneal@312 98 <tr>
bgneal@312 99 <td class="column1"><label for="backgroundimage">{#table_dlg.bgimage}</label></td>
bgneal@312 100 <td>
bgneal@312 101 <table border="0" cellpadding="0" cellspacing="0">
bgneal@312 102 <tr>
bgneal@312 103 <td><input id="backgroundimage" name="backgroundimage" type="text" value="" class="advfield" onchange="changedBackgroundImage();" /></td>
bgneal@312 104 <td id="backgroundimagebrowsercontainer">&nbsp;</td>
bgneal@312 105 </tr>
bgneal@312 106 </table>
bgneal@312 107 </td>
bgneal@312 108 </tr>
bgneal@312 109
bgneal@312 110 <tr>
bgneal@312 111 <td class="column1"><label for="tframe">{#table_dlg.frame}</label></td>
bgneal@312 112 <td>
bgneal@312 113 <select id="tframe" name="tframe" class="advfield">
bgneal@312 114 <option value="">{#not_set}</option>
bgneal@312 115 <option value="void">{#table_dlg.rules_void}</option>
bgneal@312 116 <option value="above">{#table_dlg.rules_above}</option>
bgneal@312 117 <option value="below">{#table_dlg.rules_below}</option>
bgneal@312 118 <option value="hsides">{#table_dlg.rules_hsides}</option>
bgneal@312 119 <option value="lhs">{#table_dlg.rules_lhs}</option>
bgneal@312 120 <option value="rhs">{#table_dlg.rules_rhs}</option>
bgneal@312 121 <option value="vsides">{#table_dlg.rules_vsides}</option>
bgneal@312 122 <option value="box">{#table_dlg.rules_box}</option>
bgneal@312 123 <option value="border">{#table_dlg.rules_border}</option>
bgneal@312 124 </select>
bgneal@312 125 </td>
bgneal@312 126 </tr>
bgneal@312 127
bgneal@312 128 <tr>
bgneal@312 129 <td class="column1"><label for="rules">{#table_dlg.rules}</label></td>
bgneal@312 130 <td>
bgneal@312 131 <select id="rules" name="rules" class="advfield">
bgneal@312 132 <option value="">{#not_set}</option>
bgneal@312 133 <option value="none">{#table_dlg.frame_none}</option>
bgneal@312 134 <option value="groups">{#table_dlg.frame_groups}</option>
bgneal@312 135 <option value="rows">{#table_dlg.frame_rows}</option>
bgneal@312 136 <option value="cols">{#table_dlg.frame_cols}</option>
bgneal@312 137 <option value="all">{#table_dlg.frame_all}</option>
bgneal@312 138 </select>
bgneal@312 139 </td>
bgneal@312 140 </tr>
bgneal@312 141
bgneal@312 142 <tr>
bgneal@312 143 <td class="column1"><label for="dir">{#table_dlg.langdir}</label></td>
bgneal@312 144 <td>
bgneal@312 145 <select id="dir" name="dir" class="advfield">
bgneal@312 146 <option value="">{#not_set}</option>
bgneal@312 147 <option value="ltr">{#table_dlg.ltr}</option>
bgneal@312 148 <option value="rtl">{#table_dlg.rtl}</option>
bgneal@312 149 </select>
bgneal@312 150 </td>
bgneal@312 151 </tr>
bgneal@312 152
bgneal@312 153 <tr>
bgneal@312 154 <td class="column1"><label for="bordercolor">{#table_dlg.bordercolor}</label></td>
bgneal@312 155 <td>
bgneal@312 156 <table border="0" cellpadding="0" cellspacing="0">
bgneal@312 157 <tr>
bgneal@312 158 <td><input id="bordercolor" name="bordercolor" type="text" value="" size="9" onchange="updateColor('bordercolor_pick','bordercolor');changedColor();" /></td>
bgneal@312 159 <td id="bordercolor_pickcontainer">&nbsp;</td>
bgneal@312 160 </tr>
bgneal@312 161 </table>
bgneal@312 162 </td>
bgneal@312 163 </tr>
bgneal@312 164
bgneal@312 165 <tr>
bgneal@312 166 <td class="column1"><label for="bgcolor">{#table_dlg.bgcolor}</label></td>
bgneal@312 167 <td>
bgneal@312 168 <table border="0" cellpadding="0" cellspacing="0">
bgneal@312 169 <tr>
bgneal@312 170 <td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');changedColor();" /></td>
bgneal@312 171 <td id="bgcolor_pickcontainer">&nbsp;</td>
bgneal@312 172 </tr>
bgneal@312 173 </table>
bgneal@312 174 </td>
bgneal@312 175 </tr>
bgneal@312 176 </table>
bgneal@312 177 </fieldset>
bgneal@312 178 </div>
bgneal@312 179 </div>
bgneal@312 180
bgneal@312 181 <div class="mceActionPanel">
bgneal@312 182 <input type="submit" id="insert" name="insert" value="{#insert}" />
bgneal@312 183 <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
bgneal@312 184 </div>
bgneal@312 185 </form>
bgneal@312 186 </body>
bgneal@312 187 </html>