annotate media/js/tiny_mce/plugins/xhtmlxtras/ins.htm @ 106:cb72577785df

Forums: implemented the edit post function.
author Brian Neal <bgneal@gmail.com>
date Sat, 19 Sep 2009 21:49:56 +0000
parents a5b4c5ce0658
children 149c3567fec1
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>{#xhtmlxtras_dlg.title_ins_element}</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/form_utils.js"></script>
bgneal@45 8 <script type="text/javascript" src="../../utils/editable_selects.js"></script>
bgneal@45 9 <script type="text/javascript" src="js/element_common.js"></script>
bgneal@45 10 <script type="text/javascript" src="js/ins.js"></script>
bgneal@45 11 <link rel="stylesheet" type="text/css" href="css/popup.css" />
bgneal@45 12 </head>
bgneal@45 13 <body id="xhtmlxtrasins" style="display: none">
bgneal@45 14 <form onsubmit="insertIns();return false;" action="#">
bgneal@45 15 <div class="tabs">
bgneal@45 16 <ul>
bgneal@45 17 <li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#xhtmlxtras_dlg.general_tab}</a></span></li>
bgneal@45 18 <!-- <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@45 19 </ul>
bgneal@45 20 </div>
bgneal@45 21
bgneal@45 22 <div class="panel_wrapper">
bgneal@45 23 <div id="general_panel" class="panel current">
bgneal@45 24 <fieldset>
bgneal@45 25 <legend>{#xhtmlxtras_dlg.fieldset_general_tab}</legend>
bgneal@45 26 <table border="0" cellpadding="0" cellspacing="4">
bgneal@45 27 <tr>
bgneal@45 28 <td class="label"><label id="datetimelabel" for="datetime">{#xhtmlxtras_dlg.attribute_label_datetime}</label>:</td>
bgneal@45 29 <td>
bgneal@45 30 <table border="0" cellspacing="0" cellpadding="0">
bgneal@45 31 <tr>
bgneal@45 32 <td><input id="datetime" name="datetime" type="text" value="" maxlength="19" class="field mceFocus" /></td>
bgneal@45 33 <td><a href="javascript:insertDateTime('datetime');" onmousedown="return false;" class="browse"><span class="datetime" title="{#xhtmlxtras_dlg.insert_date}"></span></a></td>
bgneal@45 34 </tr>
bgneal@45 35 </table>
bgneal@45 36 </td>
bgneal@45 37 </tr>
bgneal@45 38 <tr>
bgneal@45 39 <td class="label"><label id="citelabel" for="cite">{#xhtmlxtras_dlg.attribute_label_cite}</label>:</td>
bgneal@45 40 <td><input id="cite" name="cite" type="text" value="" class="field" /></td>
bgneal@45 41 </tr>
bgneal@45 42 </table>
bgneal@45 43 </fieldset>
bgneal@45 44 <fieldset>
bgneal@45 45 <legend>{#xhtmlxtras_dlg.fieldset_attrib_tab}</legend>
bgneal@45 46 <table border="0" cellpadding="0" cellspacing="4">
bgneal@45 47 <tr>
bgneal@45 48 <td class="label"><label id="titlelabel" for="title">{#xhtmlxtras_dlg.attribute_label_title}</label>:</td>
bgneal@45 49 <td><input id="title" name="title" type="text" value="" class="field" /></td>
bgneal@45 50 </tr>
bgneal@45 51 <tr>
bgneal@45 52 <td class="label"><label id="idlabel" for="id">{#xhtmlxtras_dlg.attribute_label_id}</label>:</td>
bgneal@45 53 <td><input id="id" name="id" type="text" value="" class="field" /></td>
bgneal@45 54 </tr>
bgneal@45 55 <tr>
bgneal@45 56 <td class="label"><label id="classlabel" for="class">{#xhtmlxtras_dlg.attribute_label_class}</label>:</td>
bgneal@45 57 <td>
bgneal@45 58 <select id="class" name="class" class="field mceEditableSelect">
bgneal@45 59 <option value="">{#not_set}</option>
bgneal@45 60 </select>
bgneal@45 61 </td>
bgneal@45 62 </tr>
bgneal@45 63 <tr>
bgneal@45 64 <td class="label"><label id="stylelabel" for="class">{#xhtmlxtras_dlg.attribute_label_style}</label>:</td>
bgneal@45 65 <td><input id="style" name="style" type="text" value="" class="field" /></td>
bgneal@45 66 </tr>
bgneal@45 67 <tr>
bgneal@45 68 <td class="label"><label id="dirlabel" for="dir">{#xhtmlxtras_dlg.attribute_label_langdir}</label>:</td>
bgneal@45 69 <td>
bgneal@45 70 <select id="dir" name="dir" class="field">
bgneal@45 71 <option value="">{#not_set}</option>
bgneal@45 72 <option value="ltr">{#xhtmlxtras_dlg.attribute_option_ltr}</option>
bgneal@45 73 <option value="rtl">{#xhtmlxtras_dlg.attribute_option_rtl}</option>
bgneal@45 74 </select>
bgneal@45 75 </td>
bgneal@45 76 </tr>
bgneal@45 77 <tr>
bgneal@45 78 <td class="label"><label id="langlabel" for="lang">{#xhtmlxtras_dlg.attribute_label_langcode}</label>:</td>
bgneal@45 79 <td>
bgneal@45 80 <input id="lang" name="lang" type="text" value="" class="field" />
bgneal@45 81 </td>
bgneal@45 82 </tr>
bgneal@45 83 </table>
bgneal@45 84 </fieldset>
bgneal@45 85 </div>
bgneal@45 86 <div id="events_panel" class="panel">
bgneal@45 87 <fieldset>
bgneal@45 88 <legend>{#xhtmlxtras_dlg.fieldset_events_tab}</legend>
bgneal@45 89
bgneal@45 90 <table border="0" cellpadding="0" cellspacing="4">
bgneal@45 91 <tr>
bgneal@45 92 <td class="label"><label for="onfocus">onfocus</label>:</td>
bgneal@45 93 <td><input id="onfocus" name="onfocus" type="text" value="" class="field" /></td>
bgneal@45 94 </tr>
bgneal@45 95
bgneal@45 96 <tr>
bgneal@45 97 <td class="label"><label for="onblur">onblur</label>:</td>
bgneal@45 98 <td><input id="onblur" name="onblur" type="text" value="" class="field" /></td>
bgneal@45 99 </tr>
bgneal@45 100
bgneal@45 101 <tr>
bgneal@45 102 <td class="label"><label for="onclick">onclick</label>:</td>
bgneal@45 103 <td><input id="onclick" name="onclick" type="text" value="" class="field" /></td>
bgneal@45 104 </tr>
bgneal@45 105
bgneal@45 106 <tr>
bgneal@45 107 <td class="label"><label for="ondblclick">ondblclick</label>:</td>
bgneal@45 108 <td><input id="ondblclick" name="ondblclick" type="text" value="" class="field" /></td>
bgneal@45 109 </tr>
bgneal@45 110
bgneal@45 111 <tr>
bgneal@45 112 <td class="label"><label for="onmousedown">onmousedown</label>:</td>
bgneal@45 113 <td><input id="onmousedown" name="onmousedown" type="text" value="" class="field" /></td>
bgneal@45 114 </tr>
bgneal@45 115
bgneal@45 116 <tr>
bgneal@45 117 <td class="label"><label for="onmouseup">onmouseup</label>:</td>
bgneal@45 118 <td><input id="onmouseup" name="onmouseup" type="text" value="" class="field" /></td>
bgneal@45 119 </tr>
bgneal@45 120
bgneal@45 121 <tr>
bgneal@45 122 <td class="label"><label for="onmouseover">onmouseover</label>:</td>
bgneal@45 123 <td><input id="onmouseover" name="onmouseover" type="text" value="" class="field" /></td>
bgneal@45 124 </tr>
bgneal@45 125
bgneal@45 126 <tr>
bgneal@45 127 <td class="label"><label for="onmousemove">onmousemove</label>:</td>
bgneal@45 128 <td><input id="onmousemove" name="onmousemove" type="text" value="" class="field" /></td>
bgneal@45 129 </tr>
bgneal@45 130
bgneal@45 131 <tr>
bgneal@45 132 <td class="label"><label for="onmouseout">onmouseout</label>:</td>
bgneal@45 133 <td><input id="onmouseout" name="onmouseout" type="text" value="" class="field" /></td>
bgneal@45 134 </tr>
bgneal@45 135
bgneal@45 136 <tr>
bgneal@45 137 <td class="label"><label for="onkeypress">onkeypress</label>:</td>
bgneal@45 138 <td><input id="onkeypress" name="onkeypress" type="text" value="" class="field" /></td>
bgneal@45 139 </tr>
bgneal@45 140
bgneal@45 141 <tr>
bgneal@45 142 <td class="label"><label for="onkeydown">onkeydown</label>:</td>
bgneal@45 143 <td><input id="onkeydown" name="onkeydown" type="text" value="" class="field" /></td>
bgneal@45 144 </tr>
bgneal@45 145
bgneal@45 146 <tr>
bgneal@45 147 <td class="label"><label for="onkeyup">onkeyup</label>:</td>
bgneal@45 148 <td><input id="onkeyup" name="onkeyup" type="text" value="" class="field" /></td>
bgneal@45 149 </tr>
bgneal@45 150 </table>
bgneal@45 151 </fieldset>
bgneal@45 152 </div>
bgneal@45 153 </div>
bgneal@45 154 <div class="mceActionPanel">
bgneal@45 155 <div style="float: left">
bgneal@45 156 <input type="submit" id="insert" name="insert" value="{#update}" />
bgneal@45 157 </div>
bgneal@45 158 <div style="float: left">
bgneal@45 159 <input type="button" id="remove" name="remove" class="button" value="{#xhtmlxtras_dlg.remove}" onclick="removeIns();" style="display: none;" />
bgneal@45 160 </div>
bgneal@45 161 <div style="float: right">
bgneal@45 162 <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
bgneal@45 163 </div>
bgneal@45 164 </div>
bgneal@45 165
bgneal@45 166 </form>
bgneal@45 167
bgneal@45 168 </body>
bgneal@45 169 </html>