annotate static/js/tiny_mce/plugins/xhtmlxtras/abbr.htm @ 631:f36d1a168be7

For issue 27, disable login dialog button during POST. This seems to prevent multiple logins most of the time. You can still bang on the enter key and sometimes get more through.
author Brian Neal <bgneal@gmail.com>
date Wed, 14 Nov 2012 20:57:05 -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>{#xhtmlxtras_dlg.title_abbr_element}</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/editable_selects.js"></script>
bgneal@312 9 <script type="text/javascript" src="js/element_common.js"></script>
bgneal@312 10 <script type="text/javascript" src="js/abbr.js"></script>
bgneal@312 11 <link rel="stylesheet" type="text/css" href="css/popup.css" />
bgneal@312 12 </head>
bgneal@442 13 <body style="display: none" role="application" aria-labelledby="app_title">
bgneal@442 14 <span style="display:none;" id="app_title">{#xhtmlxtras_dlg.title_abbr_element}</span>
bgneal@312 15 <form onsubmit="insertAbbr();return false;" action="#">
bgneal@312 16 <div class="tabs">
bgneal@312 17 <ul>
bgneal@442 18 <li id="general_tab" class="current" aria-controls="general_panel"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#xhtmlxtras_dlg.general_tab}</a></span></li>
bgneal@312 19 <!-- <li id="events_tab"><span><a href="javascript:mcTabs.displayTab('events_tab','events_panel');" onmousedown="return false;">{#xhtmlxtras_dlg.events_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>{#xhtmlxtras_dlg.fieldset_attrib_tab}</legend>
bgneal@442 27 <table role="presentation" border="0" cellpadding="0" cellspacing="4">
bgneal@312 28 <tr>
bgneal@312 29 <td class="label"><label id="titlelabel" for="title">{#xhtmlxtras_dlg.attribute_label_title}</label>:</td>
bgneal@312 30 <td><input id="title" name="title" type="text" value="" class="field mceFocus" /></td>
bgneal@312 31 </tr>
bgneal@312 32 <tr>
bgneal@312 33 <td class="label"><label id="idlabel" for="id">{#xhtmlxtras_dlg.attribute_label_id}</label>:</td>
bgneal@312 34 <td><input id="id" name="id" type="text" value="" class="field" /></td>
bgneal@312 35 </tr>
bgneal@312 36 <tr>
bgneal@312 37 <td class="label"><label id="classlabel" for="class">{#xhtmlxtras_dlg.attribute_label_class}</label>:</td>
bgneal@312 38 <td>
bgneal@312 39 <select id="class" name="class" class="field mceEditableSelect">
bgneal@312 40 <option value="">{#not_set}</option>
bgneal@312 41 </select>
bgneal@312 42 </td>
bgneal@312 43 </tr>
bgneal@312 44 <tr>
bgneal@442 45 <td class="label"><label id="stylelabel" for="style">{#xhtmlxtras_dlg.attribute_label_style}</label>:</td>
bgneal@312 46 <td><input id="style" name="style" type="text" value="" class="field" /></td>
bgneal@312 47 </tr>
bgneal@312 48 <tr>
bgneal@312 49 <td class="label"><label id="dirlabel" for="dir">{#xhtmlxtras_dlg.attribute_label_langdir}</label>:</td>
bgneal@312 50 <td>
bgneal@312 51 <select id="dir" name="dir" class="field">
bgneal@312 52 <option value="">{#not_set}</option>
bgneal@312 53 <option value="ltr">{#xhtmlxtras_dlg.attribute_option_ltr}</option>
bgneal@312 54 <option value="rtl">{#xhtmlxtras_dlg.attribute_option_rtl}</option>
bgneal@312 55 </select>
bgneal@312 56 </td>
bgneal@312 57 </tr>
bgneal@312 58 <tr>
bgneal@312 59 <td class="label"><label id="langlabel" for="lang">{#xhtmlxtras_dlg.attribute_label_langcode}</label>:</td>
bgneal@312 60 <td>
bgneal@312 61 <input id="lang" name="lang" type="text" value="" class="field" />
bgneal@312 62 </td>
bgneal@312 63 </tr>
bgneal@312 64 </table>
bgneal@312 65 </fieldset>
bgneal@312 66 </div>
bgneal@312 67 <div id="events_panel" class="panel">
bgneal@312 68 <fieldset>
bgneal@312 69 <legend>{#xhtmlxtras_dlg.fieldset_events_tab}</legend>
bgneal@312 70
bgneal@442 71 <table role="presentation" border="0" cellpadding="0" cellspacing="4">
bgneal@312 72 <tr>
bgneal@312 73 <td class="label"><label for="onfocus">onfocus</label>:</td>
bgneal@312 74 <td><input id="onfocus" name="onfocus" type="text" value="" class="field" /></td>
bgneal@312 75 </tr>
bgneal@312 76
bgneal@312 77 <tr>
bgneal@312 78 <td class="label"><label for="onblur">onblur</label>:</td>
bgneal@312 79 <td><input id="onblur" name="onblur" type="text" value="" class="field" /></td>
bgneal@312 80 </tr>
bgneal@312 81
bgneal@312 82 <tr>
bgneal@312 83 <td class="label"><label for="onclick">onclick</label>:</td>
bgneal@312 84 <td><input id="onclick" name="onclick" type="text" value="" class="field" /></td>
bgneal@312 85 </tr>
bgneal@312 86
bgneal@312 87 <tr>
bgneal@312 88 <td class="label"><label for="ondblclick">ondblclick</label>:</td>
bgneal@312 89 <td><input id="ondblclick" name="ondblclick" type="text" value="" class="field" /></td>
bgneal@312 90 </tr>
bgneal@312 91
bgneal@312 92 <tr>
bgneal@312 93 <td class="label"><label for="onmousedown">onmousedown</label>:</td>
bgneal@312 94 <td><input id="onmousedown" name="onmousedown" type="text" value="" class="field" /></td>
bgneal@312 95 </tr>
bgneal@312 96
bgneal@312 97 <tr>
bgneal@312 98 <td class="label"><label for="onmouseup">onmouseup</label>:</td>
bgneal@312 99 <td><input id="onmouseup" name="onmouseup" type="text" value="" class="field" /></td>
bgneal@312 100 </tr>
bgneal@312 101
bgneal@312 102 <tr>
bgneal@312 103 <td class="label"><label for="onmouseover">onmouseover</label>:</td>
bgneal@312 104 <td><input id="onmouseover" name="onmouseover" type="text" value="" class="field" /></td>
bgneal@312 105 </tr>
bgneal@312 106
bgneal@312 107 <tr>
bgneal@312 108 <td class="label"><label for="onmousemove">onmousemove</label>:</td>
bgneal@312 109 <td><input id="onmousemove" name="onmousemove" type="text" value="" class="field" /></td>
bgneal@312 110 </tr>
bgneal@312 111
bgneal@312 112 <tr>
bgneal@312 113 <td class="label"><label for="onmouseout">onmouseout</label>:</td>
bgneal@312 114 <td><input id="onmouseout" name="onmouseout" type="text" value="" class="field" /></td>
bgneal@312 115 </tr>
bgneal@312 116
bgneal@312 117 <tr>
bgneal@312 118 <td class="label"><label for="onkeypress">onkeypress</label>:</td>
bgneal@312 119 <td><input id="onkeypress" name="onkeypress" type="text" value="" class="field" /></td>
bgneal@312 120 </tr>
bgneal@312 121
bgneal@312 122 <tr>
bgneal@312 123 <td class="label"><label for="onkeydown">onkeydown</label>:</td>
bgneal@312 124 <td><input id="onkeydown" name="onkeydown" type="text" value="" class="field" /></td>
bgneal@312 125 </tr>
bgneal@312 126
bgneal@312 127 <tr>
bgneal@312 128 <td class="label"><label for="onkeyup">onkeyup</label>:</td>
bgneal@312 129 <td><input id="onkeyup" name="onkeyup" type="text" value="" class="field" /></td>
bgneal@312 130 </tr>
bgneal@312 131 </table>
bgneal@312 132 </fieldset>
bgneal@312 133 </div>
bgneal@312 134 </div>
bgneal@312 135 <div class="mceActionPanel">
bgneal@312 136 <input type="submit" id="insert" name="insert" value="{#update}" />
bgneal@312 137 <input type="button" id="remove" name="remove" class="button" value="{#xhtmlxtras_dlg.remove}" onclick="removeAbbr();" style="display: none;" />
bgneal@312 138 <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
bgneal@312 139 </div>
bgneal@312 140 </form>
bgneal@312 141 </body>
bgneal@312 142 </html>