annotate static/js/tiny_mce/plugins/advlink/link.htm @ 349:a43add8af83d

Fix #171; forums weren't assigning badge ownership correctly when pre-fetching data.
author Brian Neal <bgneal@gmail.com>
date Wed, 02 Mar 2011 02:34:57 +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>{#advlink_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="js/advlink.js"></script>
bgneal@312 10 <link href="css/advlink.css" rel="stylesheet" type="text/css" />
bgneal@312 11 </head>
bgneal@312 12 <body id="advlink" style="display: none">
bgneal@312 13 <form onsubmit="insertAction();return false;" action="#">
bgneal@312 14 <div class="tabs">
bgneal@312 15 <ul>
bgneal@312 16 <li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#advlink_dlg.general_tab}</a></span></li>
bgneal@312 17 <li id="popup_tab"><span><a href="javascript:mcTabs.displayTab('popup_tab','popup_panel');" onmousedown="return false;">{#advlink_dlg.popup_tab}</a></span></li>
bgneal@312 18 <li id="events_tab"><span><a href="javascript:mcTabs.displayTab('events_tab','events_panel');" onmousedown="return false;">{#advlink_dlg.events_tab}</a></span></li>
bgneal@312 19 <li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{#advlink_dlg.advanced_tab}</a></span></li>
bgneal@312 20 </ul>
bgneal@312 21 </div>
bgneal@312 22
bgneal@312 23 <div class="panel_wrapper">
bgneal@312 24 <div id="general_panel" class="panel current">
bgneal@312 25 <fieldset>
bgneal@312 26 <legend>{#advlink_dlg.general_props}</legend>
bgneal@312 27
bgneal@312 28 <table border="0" cellpadding="4" cellspacing="0">
bgneal@312 29 <tr>
bgneal@312 30 <td class="nowrap"><label id="hreflabel" for="href">{#advlink_dlg.url}</label></td>
bgneal@312 31 <td><table border="0" cellspacing="0" cellpadding="0">
bgneal@312 32 <tr>
bgneal@312 33 <td><input id="href" name="href" type="text" class="mceFocus" value="" onchange="selectByValue(this.form,'linklisthref',this.value);" /></td>
bgneal@312 34 <td id="hrefbrowsercontainer">&nbsp;</td>
bgneal@312 35 </tr>
bgneal@312 36 </table></td>
bgneal@312 37 </tr>
bgneal@312 38 <tr id="linklisthrefrow">
bgneal@312 39 <td class="column1"><label for="linklisthref">{#advlink_dlg.list}</label></td>
bgneal@312 40 <td colspan="2" id="linklisthrefcontainer"><select id="linklisthref"><option value=""></option></select></td>
bgneal@312 41 </tr>
bgneal@312 42 <tr>
bgneal@312 43 <td class="column1"><label for="anchorlist">{#advlink_dlg.anchor_names}</label></td>
bgneal@312 44 <td colspan="2" id="anchorlistcontainer"><select id="anchorlist"><option value=""></option></select></td>
bgneal@312 45 </tr>
bgneal@312 46 <tr>
bgneal@312 47 <td><label id="targetlistlabel" for="targetlist">{#advlink_dlg.target}</label></td>
bgneal@312 48 <td id="targetlistcontainer"><select id="targetlist"><option value=""></option></select></td>
bgneal@312 49 </tr>
bgneal@312 50 <tr>
bgneal@312 51 <td class="nowrap"><label id="titlelabel" for="title">{#advlink_dlg.titlefield}</label></td>
bgneal@312 52 <td><input id="title" name="title" type="text" value="" /></td>
bgneal@312 53 </tr>
bgneal@312 54 <tr>
bgneal@312 55 <td><label id="classlabel" for="classlist">{#class_name}</label></td>
bgneal@312 56 <td>
bgneal@312 57 <select id="classlist" name="classlist" onchange="changeClass();">
bgneal@312 58 <option value="" selected="selected">{#not_set}</option>
bgneal@312 59 </select>
bgneal@312 60 </td>
bgneal@312 61 </tr>
bgneal@312 62 </table>
bgneal@312 63 </fieldset>
bgneal@312 64 </div>
bgneal@312 65
bgneal@312 66 <div id="popup_panel" class="panel">
bgneal@312 67 <fieldset>
bgneal@312 68 <legend>{#advlink_dlg.popup_props}</legend>
bgneal@312 69
bgneal@312 70 <input type="checkbox" id="ispopup" name="ispopup" class="radio" onclick="setPopupControlsDisabled(!this.checked);buildOnClick();" />
bgneal@312 71 <label id="ispopuplabel" for="ispopup">{#advlink_dlg.popup}</label>
bgneal@312 72
bgneal@312 73 <table border="0" cellpadding="0" cellspacing="4">
bgneal@312 74 <tr>
bgneal@312 75 <td class="nowrap"><label for="popupurl">{#advlink_dlg.popup_url}</label>&nbsp;</td>
bgneal@312 76 <td>
bgneal@312 77 <table border="0" cellspacing="0" cellpadding="0">
bgneal@312 78 <tr>
bgneal@312 79 <td><input type="text" name="popupurl" id="popupurl" value="" onchange="buildOnClick();" /></td>
bgneal@312 80 <td id="popupurlbrowsercontainer">&nbsp;</td>
bgneal@312 81 </tr>
bgneal@312 82 </table>
bgneal@312 83 </td>
bgneal@312 84 </tr>
bgneal@312 85 <tr>
bgneal@312 86 <td class="nowrap"><label for="popupname">{#advlink_dlg.popup_name}</label>&nbsp;</td>
bgneal@312 87 <td><input type="text" name="popupname" id="popupname" value="" onchange="buildOnClick();" /></td>
bgneal@312 88 </tr>
bgneal@312 89 <tr>
bgneal@312 90 <td class="nowrap"><label>{#advlink_dlg.popup_size}</label>&nbsp;</td>
bgneal@312 91 <td class="nowrap">
bgneal@312 92 <input type="text" id="popupwidth" name="popupwidth" value="" onchange="buildOnClick();" /> x
bgneal@312 93 <input type="text" id="popupheight" name="popupheight" value="" onchange="buildOnClick();" /> px
bgneal@312 94 </td>
bgneal@312 95 </tr>
bgneal@312 96 <tr>
bgneal@312 97 <td class="nowrap" id="labelleft"><label>{#advlink_dlg.popup_position}</label>&nbsp;</td>
bgneal@312 98 <td class="nowrap">
bgneal@312 99 <input type="text" id="popupleft" name="popupleft" value="" onchange="buildOnClick();" /> /
bgneal@312 100 <input type="text" id="popuptop" name="popuptop" value="" onchange="buildOnClick();" /> (c /c = center)
bgneal@312 101 </td>
bgneal@312 102 </tr>
bgneal@312 103 </table>
bgneal@312 104
bgneal@312 105 <fieldset>
bgneal@312 106 <legend>{#advlink_dlg.popup_opts}</legend>
bgneal@312 107
bgneal@312 108 <table border="0" cellpadding="0" cellspacing="4">
bgneal@312 109 <tr>
bgneal@312 110 <td><input type="checkbox" id="popuplocation" name="popuplocation" class="checkbox" onchange="buildOnClick();" /></td>
bgneal@312 111 <td class="nowrap"><label id="popuplocationlabel" for="popuplocation">{#advlink_dlg.popup_location}</label></td>
bgneal@312 112 <td><input type="checkbox" id="popupscrollbars" name="popupscrollbars" class="checkbox" onchange="buildOnClick();" /></td>
bgneal@312 113 <td class="nowrap"><label id="popupscrollbarslabel" for="popupscrollbars">{#advlink_dlg.popup_scrollbars}</label></td>
bgneal@312 114 </tr>
bgneal@312 115 <tr>
bgneal@312 116 <td><input type="checkbox" id="popupmenubar" name="popupmenubar" class="checkbox" onchange="buildOnClick();" /></td>
bgneal@312 117 <td class="nowrap"><label id="popupmenubarlabel" for="popupmenubar">{#advlink_dlg.popup_menubar}</label></td>
bgneal@312 118 <td><input type="checkbox" id="popupresizable" name="popupresizable" class="checkbox" onchange="buildOnClick();" /></td>
bgneal@312 119 <td class="nowrap"><label id="popupresizablelabel" for="popupresizable">{#advlink_dlg.popup_resizable}</label></td>
bgneal@312 120 </tr>
bgneal@312 121 <tr>
bgneal@312 122 <td><input type="checkbox" id="popuptoolbar" name="popuptoolbar" class="checkbox" onchange="buildOnClick();" /></td>
bgneal@312 123 <td class="nowrap"><label id="popuptoolbarlabel" for="popuptoolbar">{#advlink_dlg.popup_toolbar}</label></td>
bgneal@312 124 <td><input type="checkbox" id="popupdependent" name="popupdependent" class="checkbox" onchange="buildOnClick();" /></td>
bgneal@312 125 <td class="nowrap"><label id="popupdependentlabel" for="popupdependent">{#advlink_dlg.popup_dependent}</label></td>
bgneal@312 126 </tr>
bgneal@312 127 <tr>
bgneal@312 128 <td><input type="checkbox" id="popupstatus" name="popupstatus" class="checkbox" onchange="buildOnClick();" /></td>
bgneal@312 129 <td class="nowrap"><label id="popupstatuslabel" for="popupstatus">{#advlink_dlg.popup_statusbar}</label></td>
bgneal@312 130 <td><input type="checkbox" id="popupreturn" name="popupreturn" class="checkbox" onchange="buildOnClick();" checked="checked" /></td>
bgneal@312 131 <td class="nowrap"><label id="popupreturnlabel" for="popupreturn">{#advlink_dlg.popup_return}</label></td>
bgneal@312 132 </tr>
bgneal@312 133 </table>
bgneal@312 134 </fieldset>
bgneal@312 135 </fieldset>
bgneal@312 136 </div>
bgneal@312 137
bgneal@312 138 <div id="advanced_panel" class="panel">
bgneal@312 139 <fieldset>
bgneal@312 140 <legend>{#advlink_dlg.advanced_props}</legend>
bgneal@312 141
bgneal@312 142 <table border="0" cellpadding="0" cellspacing="4">
bgneal@312 143 <tr>
bgneal@312 144 <td class="column1"><label id="idlabel" for="id">{#advlink_dlg.id}</label></td>
bgneal@312 145 <td><input id="id" name="id" type="text" value="" /></td>
bgneal@312 146 </tr>
bgneal@312 147
bgneal@312 148 <tr>
bgneal@312 149 <td><label id="stylelabel" for="style">{#advlink_dlg.style}</label></td>
bgneal@312 150 <td><input type="text" id="style" name="style" value="" /></td>
bgneal@312 151 </tr>
bgneal@312 152
bgneal@312 153 <tr>
bgneal@312 154 <td><label id="classeslabel" for="classes">{#advlink_dlg.classes}</label></td>
bgneal@312 155 <td><input type="text" id="classes" name="classes" value="" onchange="selectByValue(this.form,'classlist',this.value,true);" /></td>
bgneal@312 156 </tr>
bgneal@312 157
bgneal@312 158 <tr>
bgneal@312 159 <td><label id="targetlabel" for="target">{#advlink_dlg.target_name}</label></td>
bgneal@312 160 <td><input type="text" id="target" name="target" value="" onchange="selectByValue(this.form,'targetlist',this.value,true);" /></td>
bgneal@312 161 </tr>
bgneal@312 162
bgneal@312 163 <tr>
bgneal@312 164 <td class="column1"><label id="dirlabel" for="dir">{#advlink_dlg.langdir}</label></td>
bgneal@312 165 <td>
bgneal@312 166 <select id="dir" name="dir">
bgneal@312 167 <option value="">{#not_set}</option>
bgneal@312 168 <option value="ltr">{#advlink_dlg.ltr}</option>
bgneal@312 169 <option value="rtl">{#advlink_dlg.rtl}</option>
bgneal@312 170 </select>
bgneal@312 171 </td>
bgneal@312 172 </tr>
bgneal@312 173
bgneal@312 174 <tr>
bgneal@312 175 <td><label id="hreflanglabel" for="hreflang">{#advlink_dlg.target_langcode}</label></td>
bgneal@312 176 <td><input type="text" id="hreflang" name="hreflang" value="" /></td>
bgneal@312 177 </tr>
bgneal@312 178
bgneal@312 179 <tr>
bgneal@312 180 <td class="column1"><label id="langlabel" for="lang">{#advlink_dlg.langcode}</label></td>
bgneal@312 181 <td>
bgneal@312 182 <input id="lang" name="lang" type="text" value="" />
bgneal@312 183 </td>
bgneal@312 184 </tr>
bgneal@312 185
bgneal@312 186 <tr>
bgneal@312 187 <td><label id="charsetlabel" for="charset">{#advlink_dlg.encoding}</label></td>
bgneal@312 188 <td><input type="text" id="charset" name="charset" value="" /></td>
bgneal@312 189 </tr>
bgneal@312 190
bgneal@312 191 <tr>
bgneal@312 192 <td><label id="typelabel" for="type">{#advlink_dlg.mime}</label></td>
bgneal@312 193 <td><input type="text" id="type" name="type" value="" /></td>
bgneal@312 194 </tr>
bgneal@312 195
bgneal@312 196 <tr>
bgneal@312 197 <td><label id="rellabel" for="rel">{#advlink_dlg.rel}</label></td>
bgneal@312 198 <td><select id="rel" name="rel">
bgneal@312 199 <option value="">{#not_set}</option>
bgneal@312 200 <option value="lightbox">Lightbox</option>
bgneal@312 201 <option value="alternate">Alternate</option>
bgneal@312 202 <option value="designates">Designates</option>
bgneal@312 203 <option value="stylesheet">Stylesheet</option>
bgneal@312 204 <option value="start">Start</option>
bgneal@312 205 <option value="next">Next</option>
bgneal@312 206 <option value="prev">Prev</option>
bgneal@312 207 <option value="contents">Contents</option>
bgneal@312 208 <option value="index">Index</option>
bgneal@312 209 <option value="glossary">Glossary</option>
bgneal@312 210 <option value="copyright">Copyright</option>
bgneal@312 211 <option value="chapter">Chapter</option>
bgneal@312 212 <option value="subsection">Subsection</option>
bgneal@312 213 <option value="appendix">Appendix</option>
bgneal@312 214 <option value="help">Help</option>
bgneal@312 215 <option value="bookmark">Bookmark</option>
bgneal@312 216 <option value="nofollow">No Follow</option>
bgneal@312 217 <option value="tag">Tag</option>
bgneal@312 218 </select>
bgneal@312 219 </td>
bgneal@312 220 </tr>
bgneal@312 221
bgneal@312 222 <tr>
bgneal@312 223 <td><label id="revlabel" for="rev">{#advlink_dlg.rev}</label></td>
bgneal@312 224 <td><select id="rev" name="rev">
bgneal@312 225 <option value="">{#not_set}</option>
bgneal@312 226 <option value="alternate">Alternate</option>
bgneal@312 227 <option value="designates">Designates</option>
bgneal@312 228 <option value="stylesheet">Stylesheet</option>
bgneal@312 229 <option value="start">Start</option>
bgneal@312 230 <option value="next">Next</option>
bgneal@312 231 <option value="prev">Prev</option>
bgneal@312 232 <option value="contents">Contents</option>
bgneal@312 233 <option value="index">Index</option>
bgneal@312 234 <option value="glossary">Glossary</option>
bgneal@312 235 <option value="copyright">Copyright</option>
bgneal@312 236 <option value="chapter">Chapter</option>
bgneal@312 237 <option value="subsection">Subsection</option>
bgneal@312 238 <option value="appendix">Appendix</option>
bgneal@312 239 <option value="help">Help</option>
bgneal@312 240 <option value="bookmark">Bookmark</option>
bgneal@312 241 </select>
bgneal@312 242 </td>
bgneal@312 243 </tr>
bgneal@312 244
bgneal@312 245 <tr>
bgneal@312 246 <td><label id="tabindexlabel" for="tabindex">{#advlink_dlg.tabindex}</label></td>
bgneal@312 247 <td><input type="text" id="tabindex" name="tabindex" value="" /></td>
bgneal@312 248 </tr>
bgneal@312 249
bgneal@312 250 <tr>
bgneal@312 251 <td><label id="accesskeylabel" for="accesskey">{#advlink_dlg.accesskey}</label></td>
bgneal@312 252 <td><input type="text" id="accesskey" name="accesskey" value="" /></td>
bgneal@312 253 </tr>
bgneal@312 254 </table>
bgneal@312 255 </fieldset>
bgneal@312 256 </div>
bgneal@312 257
bgneal@312 258 <div id="events_panel" class="panel">
bgneal@312 259 <fieldset>
bgneal@312 260 <legend>{#advlink_dlg.event_props}</legend>
bgneal@312 261
bgneal@312 262 <table border="0" cellpadding="0" cellspacing="4">
bgneal@312 263 <tr>
bgneal@312 264 <td class="column1"><label for="onfocus">onfocus</label></td>
bgneal@312 265 <td><input id="onfocus" name="onfocus" type="text" value="" /></td>
bgneal@312 266 </tr>
bgneal@312 267
bgneal@312 268 <tr>
bgneal@312 269 <td class="column1"><label for="onblur">onblur</label></td>
bgneal@312 270 <td><input id="onblur" name="onblur" type="text" value="" /></td>
bgneal@312 271 </tr>
bgneal@312 272
bgneal@312 273 <tr>
bgneal@312 274 <td class="column1"><label for="onclick">onclick</label></td>
bgneal@312 275 <td><input id="onclick" name="onclick" type="text" value="" /></td>
bgneal@312 276 </tr>
bgneal@312 277
bgneal@312 278 <tr>
bgneal@312 279 <td class="column1"><label for="ondblclick">ondblclick</label></td>
bgneal@312 280 <td><input id="ondblclick" name="ondblclick" type="text" value="" /></td>
bgneal@312 281 </tr>
bgneal@312 282
bgneal@312 283 <tr>
bgneal@312 284 <td class="column1"><label for="onmousedown">onmousedown</label></td>
bgneal@312 285 <td><input id="onmousedown" name="onmousedown" type="text" value="" /></td>
bgneal@312 286 </tr>
bgneal@312 287
bgneal@312 288 <tr>
bgneal@312 289 <td class="column1"><label for="onmouseup">onmouseup</label></td>
bgneal@312 290 <td><input id="onmouseup" name="onmouseup" type="text" value="" /></td>
bgneal@312 291 </tr>
bgneal@312 292
bgneal@312 293 <tr>
bgneal@312 294 <td class="column1"><label for="onmouseover">onmouseover</label></td>
bgneal@312 295 <td><input id="onmouseover" name="onmouseover" type="text" value="" /></td>
bgneal@312 296 </tr>
bgneal@312 297
bgneal@312 298 <tr>
bgneal@312 299 <td class="column1"><label for="onmousemove">onmousemove</label></td>
bgneal@312 300 <td><input id="onmousemove" name="onmousemove" type="text" value="" /></td>
bgneal@312 301 </tr>
bgneal@312 302
bgneal@312 303 <tr>
bgneal@312 304 <td class="column1"><label for="onmouseout">onmouseout</label></td>
bgneal@312 305 <td><input id="onmouseout" name="onmouseout" type="text" value="" /></td>
bgneal@312 306 </tr>
bgneal@312 307
bgneal@312 308 <tr>
bgneal@312 309 <td class="column1"><label for="onkeypress">onkeypress</label></td>
bgneal@312 310 <td><input id="onkeypress" name="onkeypress" type="text" value="" /></td>
bgneal@312 311 </tr>
bgneal@312 312
bgneal@312 313 <tr>
bgneal@312 314 <td class="column1"><label for="onkeydown">onkeydown</label></td>
bgneal@312 315 <td><input id="onkeydown" name="onkeydown" type="text" value="" /></td>
bgneal@312 316 </tr>
bgneal@312 317
bgneal@312 318 <tr>
bgneal@312 319 <td class="column1"><label for="onkeyup">onkeyup</label></td>
bgneal@312 320 <td><input id="onkeyup" name="onkeyup" type="text" value="" /></td>
bgneal@312 321 </tr>
bgneal@312 322 </table>
bgneal@312 323 </fieldset>
bgneal@312 324 </div>
bgneal@312 325 </div>
bgneal@312 326
bgneal@312 327 <div class="mceActionPanel">
bgneal@312 328 <input type="submit" id="insert" name="insert" value="{#insert}" />
bgneal@312 329 <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
bgneal@312 330 </div>
bgneal@312 331 </form>
bgneal@312 332 </body>
bgneal@312 333 </html>