Mercurial > public > sg101
comparison static/js/tiny_mce/plugins/xhtmlxtras/ins.htm @ 442:6c182ceb7147
Fixing #217; upgrade TinyMCE to 3.4.2 and enable the paste plugin.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 26 May 2011 00:43:49 +0000 |
parents | 88b2b9cb8c1f |
children |
comparison
equal
deleted
inserted
replaced
441:33d0c55e57a9 | 442:6c182ceb7147 |
---|---|
8 <script type="text/javascript" src="../../utils/editable_selects.js"></script> | 8 <script type="text/javascript" src="../../utils/editable_selects.js"></script> |
9 <script type="text/javascript" src="js/element_common.js"></script> | 9 <script type="text/javascript" src="js/element_common.js"></script> |
10 <script type="text/javascript" src="js/ins.js"></script> | 10 <script type="text/javascript" src="js/ins.js"></script> |
11 <link rel="stylesheet" type="text/css" href="css/popup.css" /> | 11 <link rel="stylesheet" type="text/css" href="css/popup.css" /> |
12 </head> | 12 </head> |
13 <body id="xhtmlxtrasins" style="display: none"> | 13 <body id="xhtmlxtrasins" style="display: none" role="application" aria-labelledby="app_title"> |
14 <span style="display:none;" id="app_title">{#xhtmlxtras_dlg.title_ins_element}</span> | |
14 <form onsubmit="insertIns();return false;" action="#"> | 15 <form onsubmit="insertIns();return false;" action="#"> |
15 <div class="tabs"> | 16 <div class="tabs"> |
16 <ul> | 17 <ul> |
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> | 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> |
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> --> | 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> --> |
19 </ul> | 20 </ul> |
20 </div> | 21 </div> |
21 | 22 |
22 <div class="panel_wrapper"> | 23 <div class="panel_wrapper"> |
23 <div id="general_panel" class="panel current"> | 24 <div id="general_panel" class="panel current"> |
24 <fieldset> | 25 <fieldset> |
25 <legend>{#xhtmlxtras_dlg.fieldset_general_tab}</legend> | 26 <legend>{#xhtmlxtras_dlg.fieldset_general_tab}</legend> |
26 <table border="0" cellpadding="0" cellspacing="4"> | 27 <table role="presentation" border="0" cellpadding="0" cellspacing="4"> |
27 <tr> | 28 <tr> |
28 <td class="label"><label id="datetimelabel" for="datetime">{#xhtmlxtras_dlg.attribute_label_datetime}</label>:</td> | 29 <td class="label"><label id="datetimelabel" for="datetime">{#xhtmlxtras_dlg.attribute_label_datetime}</label>:</td> |
29 <td> | 30 <td> |
30 <table border="0" cellspacing="0" cellpadding="0"> | 31 <table role="presentation" border="0" cellspacing="0" cellpadding="0"> |
31 <tr> | 32 <tr> |
32 <td><input id="datetime" name="datetime" type="text" value="" maxlength="19" class="field mceFocus" /></td> | 33 <td><input id="datetime" name="datetime" type="text" value="" maxlength="19" class="field mceFocus" /></td> |
33 <td><a href="javascript:insertDateTime('datetime');" onmousedown="return false;" class="browse"><span class="datetime" title="{#xhtmlxtras_dlg.insert_date}"></span></a></td> | 34 <td ><a href="javascript:insertDateTime('datetime');" onmousedown="return false;" class="browse" role="button" aria-labelledby="datetimelabel"><span class="datetime" title="{#xhtmlxtras_dlg.insert_date}"></span></a></td> |
34 </tr> | 35 </tr> |
35 </table> | 36 </table> |
36 </td> | 37 </td> |
37 </tr> | 38 </tr> |
38 <tr> | 39 <tr > |
39 <td class="label"><label id="citelabel" for="cite">{#xhtmlxtras_dlg.attribute_label_cite}</label>:</td> | 40 <td class="label"><label id="citelabel" for="cite">{#xhtmlxtras_dlg.attribute_label_cite}</label>:</td> |
40 <td><input id="cite" name="cite" type="text" value="" class="field" /></td> | 41 <td><input id="cite" name="cite" type="text" value="" class="field" /></td> |
41 </tr> | 42 </tr> |
42 </table> | 43 </table> |
43 </fieldset> | 44 </fieldset> |
44 <fieldset> | 45 <fieldset> |
45 <legend>{#xhtmlxtras_dlg.fieldset_attrib_tab}</legend> | 46 <legend>{#xhtmlxtras_dlg.fieldset_attrib_tab}</legend> |
46 <table border="0" cellpadding="0" cellspacing="4"> | 47 <table role="presentation" border="0" cellpadding="0" cellspacing="4"> |
47 <tr> | 48 <tr> |
48 <td class="label"><label id="titlelabel" for="title">{#xhtmlxtras_dlg.attribute_label_title}</label>:</td> | 49 <td class="label"><label id="titlelabel" for="title">{#xhtmlxtras_dlg.attribute_label_title}</label>:</td> |
49 <td><input id="title" name="title" type="text" value="" class="field" /></td> | 50 <td><input id="title" name="title" type="text" value="" class="field" /></td> |
50 </tr> | 51 </tr> |
51 <tr> | 52 <tr> |
52 <td class="label"><label id="idlabel" for="id">{#xhtmlxtras_dlg.attribute_label_id}</label>:</td> | 53 <td class="label"><label id="idlabel" for="id">{#xhtmlxtras_dlg.attribute_label_id}</label>:</td> |
53 <td><input id="id" name="id" type="text" value="" class="field" /></td> | 54 <td><input id="id" name="id" type="text" value="" class="field" /></td> |
59 <option value="">{#not_set}</option> | 60 <option value="">{#not_set}</option> |
60 </select> | 61 </select> |
61 </td> | 62 </td> |
62 </tr> | 63 </tr> |
63 <tr> | 64 <tr> |
64 <td class="label"><label id="stylelabel" for="class">{#xhtmlxtras_dlg.attribute_label_style}</label>:</td> | 65 <td class="label"><label id="stylelabel" for="style">{#xhtmlxtras_dlg.attribute_label_style}</label>:</td> |
65 <td><input id="style" name="style" type="text" value="" class="field" /></td> | 66 <td><input id="style" name="style" type="text" value="" class="field" /></td> |
66 </tr> | 67 </tr> |
67 <tr> | 68 <tr> |
68 <td class="label"><label id="dirlabel" for="dir">{#xhtmlxtras_dlg.attribute_label_langdir}</label>:</td> | 69 <td class="label"><label id="dirlabel" for="dir">{#xhtmlxtras_dlg.attribute_label_langdir}</label>:</td> |
69 <td> | 70 <td> |
85 </div> | 86 </div> |
86 <div id="events_panel" class="panel"> | 87 <div id="events_panel" class="panel"> |
87 <fieldset> | 88 <fieldset> |
88 <legend>{#xhtmlxtras_dlg.fieldset_events_tab}</legend> | 89 <legend>{#xhtmlxtras_dlg.fieldset_events_tab}</legend> |
89 | 90 |
90 <table border="0" cellpadding="0" cellspacing="4"> | 91 <table role="presentation" border="0" cellpadding="0" cellspacing="4"> |
91 <tr> | 92 <tr> |
92 <td class="label"><label for="onfocus">onfocus</label>:</td> | 93 <td class="label"><label for="onfocus">onfocus</label>:</td> |
93 <td><input id="onfocus" name="onfocus" type="text" value="" class="field" /></td> | 94 <td><input id="onfocus" name="onfocus" type="text" value="" class="field" /></td> |
94 </tr> | 95 </tr> |
95 | 96 |