annotate static/js/tiny_mce/plugins/advlink/link.htm @ 1160:b84ce2d7e93d

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