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