|
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
|
2 <!-- |
|
3 * FCKeditor - The text editor for Internet - http://www.fckeditor.net |
|
4 * Copyright (C) 2003-2007 Frederico Caldeira Knabben |
|
5 * |
|
6 * == BEGIN LICENSE == |
|
7 * |
|
8 * Licensed under the terms of any of the following licenses at your |
|
9 * choice: |
|
10 * |
|
11 * - GNU General Public License Version 2 or later (the "GPL") |
|
12 * http://www.gnu.org/licenses/gpl.html |
|
13 * |
|
14 * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") |
|
15 * http://www.gnu.org/licenses/lgpl.html |
|
16 * |
|
17 * - Mozilla Public License Version 1.1 or later (the "MPL") |
|
18 * http://www.mozilla.org/MPL/MPL-1.1.html |
|
19 * |
|
20 * == END LICENSE == |
|
21 * |
|
22 * Link dialog window. |
|
23 --> |
|
24 <html> |
|
25 <head> |
|
26 <title>Link Properties</title> |
|
27 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
|
28 <meta name="robots" content="noindex, nofollow" /> |
|
29 <script type="text/javascript"> |
|
30 var oEditor = window.parent.InnerDialogLoaded() ; |
|
31 var FCK = oEditor.FCK ; |
|
32 var FCKLang = oEditor.FCKLang ; |
|
33 var FCKConfig = oEditor.FCKConfig ; |
|
34 var FCKRegexLib = oEditor.FCKRegexLib ; |
|
35 var FCKTools = oEditor.FCKTools ; |
|
36 |
|
37 // this is a hack to get rid of errors coming from references to tinyMCE in |
|
38 // original functions.js tahen from linktonode |
|
39 tinyMCE = new Object(); |
|
40 var baseUrl = FCKConfig.BasePath; |
|
41 |
|
42 document.write( '<script src="' + FCKConfig.BasePath + 'dialog/common/fck_dialog_common.js" type="text/javascript"><\/script>' ) ; |
|
43 |
|
44 //<!-- linktonode START --> |
|
45 //source: popup.php |
|
46 function appendScripts() { |
|
47 var jquery = document.createElement("script"); |
|
48 var functions = document.createElement("script"); |
|
49 var url = FCKConfig.BasePath.substring(0, FCKConfig.BasePath.indexOf('modules/')); |
|
50 if (url.indexOf('sites/') > -1) { |
|
51 url = url.substring(0, url.indexOf('sites/')); |
|
52 } |
|
53 jquery.type = functions.type = "text/javascript"; |
|
54 jquery.src = url + "misc/jquery.js"; |
|
55 functions.src = "jscripts/functions.js"; |
|
56 document.getElementsByTagName("head")[0].appendChild(jquery); |
|
57 document.getElementsByTagName("head")[0].appendChild(functions); |
|
58 } |
|
59 appendScripts(); |
|
60 //<!-- linktonode END --> |
|
61 </script> |
|
62 |
|
63 <!-- |
|
64 The original fck_link.js taken from FCKeditor |
|
65 Injected code is between tags: |
|
66 !-- linktonode START -- |
|
67 and |
|
68 !-- linktonode END -- |
|
69 --> |
|
70 <script src="jscripts/fck_link.js" type="text/javascript"></script> |
|
71 <script src="jscripts/utils.js" type="text/javascript"></script> |
|
72 |
|
73 <!-- linktonode START --> |
|
74 <link rel="stylesheet" href="css/linktocontent.css" type="text/css" /> |
|
75 <!-- linktonode END --> |
|
76 |
|
77 </head> |
|
78 <body scroll="no" style="OVERFLOW: hidden"> |
|
79 <div id="divInfo"> |
|
80 <input id="txtUrl" style="WIDTH: 100%" type="hidden" onkeyup="OnUrlChange();" onchange="OnUrlChange();" /> |
|
81 <!-- linktonode START --> |
|
82 <!-- insert panels --> |
|
83 <div class="panel_wrap"> |
|
84 <div id="browse_panel" class="panel current"> |
|
85 <form id="form_browse" action="#" onsubmit="return false;"> |
|
86 <label fckLang="DlgBrowse">Browse</label> |
|
87 </form> |
|
88 </div> |
|
89 </div> |
|
90 |
|
91 <!-- node list --> |
|
92 <div class="panel_wrap" id="list"> |
|
93 <div class="nodes"> |
|
94 <div id="nodelist" class="scrollable accessible"> |
|
95 <table cellspacing="0" summary="item list"> |
|
96 <thead> |
|
97 <tr> |
|
98 <th><span fckLang="DlgTitle">Title</span></th> |
|
99 </tr> |
|
100 </thead> |
|
101 <tbody> |
|
102 </tbody> |
|
103 </table> |
|
104 </div> |
|
105 </div> |
|
106 </div> |
|
107 <!-- linktonode END --> |
|
108 |
|
109 <!-- linktonode START --> |
|
110 <div id="statusImg"><img alt="loading" src="images/loading.gif" /><span fckLang="DlgLoading">loading...</span></div> |
|
111 <!-- linktonode END --> |
|
112 |
|
113 <div id="divLinkTypeAnchor" style="DISPLAY: none" align="center"> |
|
114 <div id="divSelAnchor" style="DISPLAY: none"> |
|
115 <table cellspacing="0" cellpadding="0" border="0" width="70%"> |
|
116 <tr> |
|
117 <td colspan="3"> |
|
118 <span fckLang="DlgLnkAnchorSel">Select an Anchor</span> |
|
119 </td> |
|
120 </tr> |
|
121 <tr> |
|
122 <td width="50%"> |
|
123 <span fckLang="DlgLnkAnchorByName">By Anchor Name</span><br /> |
|
124 <select id="cmbAnchorName" onchange="GetE('cmbAnchorId').value='';" style="WIDTH: 100%"> |
|
125 <option value="" selected="selected"></option> |
|
126 </select> |
|
127 </td> |
|
128 <td> </td> |
|
129 <td width="50%"> |
|
130 <span fckLang="DlgLnkAnchorById">By Element Id</span><br /> |
|
131 <select id="cmbAnchorId" onchange="GetE('cmbAnchorName').value='';" style="WIDTH: 100%"> |
|
132 <option value="" selected="selected"></option> |
|
133 </select> |
|
134 </td> |
|
135 </tr> |
|
136 </table> |
|
137 </div> |
|
138 <div id="divNoAnchor" style="DISPLAY: none"> |
|
139 <span fckLang="DlgLnkNoAnchors"><No anchors available in the document></span> |
|
140 </div> |
|
141 </div> |
|
142 <div id="divLinkTypeEMail" style="DISPLAY: none"> |
|
143 <span fckLang="DlgLnkEMail">E-Mail Address</span><br /> |
|
144 <input id="txtEMailAddress" style="WIDTH: 100%" type="text" /><br /> |
|
145 <span fckLang="DlgLnkEMailSubject">Message Subject</span><br /> |
|
146 <input id="txtEMailSubject" style="WIDTH: 100%" type="text" /><br /> |
|
147 <span fckLang="DlgLnkEMailBody">Message Body</span><br /> |
|
148 <textarea id="txtEMailBody" style="WIDTH: 100%" rows="3" cols="20"></textarea> |
|
149 </div> |
|
150 </div> |
|
151 <div id="divUpload" style="DISPLAY: none"> |
|
152 <form id="frmUpload" method="post" target="UploadWindow" enctype="multipart/form-data" action="" onsubmit="return CheckUpload();"> |
|
153 <span fckLang="DlgLnkUpload">Upload</span><br /> |
|
154 <input id="txtUploadFile" style="WIDTH: 100%" type="file" size="40" name="NewFile" /><br /> |
|
155 <br /> |
|
156 <input id="btnUpload" type="submit" value="Send it to the Server" fckLang="DlgLnkBtnUpload" /> |
|
157 <iframe name="UploadWindow" style="DISPLAY: none" src="javascript:void(0)"></iframe> |
|
158 </form> |
|
159 </div> |
|
160 <div id="divTarget" style="DISPLAY: none"> |
|
161 <table cellspacing="0" cellpadding="0" width="100%" border="0"> |
|
162 <tr> |
|
163 <td nowrap="nowrap"> |
|
164 <span fckLang="DlgLnkTarget">Target</span><br /> |
|
165 <select id="cmbTarget" onchange="SetTarget(this.value);"> |
|
166 <option value="" fckLang="DlgGenNotSet" selected="selected"><not set></option> |
|
167 <option value="frame" fckLang="DlgLnkTargetFrame"><frame></option> |
|
168 <option value="popup" fckLang="DlgLnkTargetPopup"><popup window></option> |
|
169 <option value="_blank" fckLang="DlgLnkTargetBlank">New Window (_blank)</option> |
|
170 <option value="_top" fckLang="DlgLnkTargetTop">Topmost Window (_top)</option> |
|
171 <option value="_self" fckLang="DlgLnkTargetSelf">Same Window (_self)</option> |
|
172 <option value="_parent" fckLang="DlgLnkTargetParent">Parent Window (_parent)</option> |
|
173 </select> |
|
174 </td> |
|
175 <td> </td> |
|
176 <td id="tdTargetFrame" nowrap="nowrap" width="100%"> |
|
177 <span fckLang="DlgLnkTargetFrameName">Target Frame Name</span><br /> |
|
178 <input id="txtTargetFrame" style="WIDTH: 100%" type="text" onkeyup="OnTargetNameChange();" |
|
179 onchange="OnTargetNameChange();" /> |
|
180 </td> |
|
181 <td id="tdPopupName" style="DISPLAY: none" nowrap="nowrap" width="100%"> |
|
182 <span fckLang="DlgLnkPopWinName">Popup Window Name</span><br /> |
|
183 <input id="txtPopupName" style="WIDTH: 100%" type="text" /> |
|
184 </td> |
|
185 </tr> |
|
186 </table> |
|
187 <br /> |
|
188 <table id="tablePopupFeatures" style="DISPLAY: none" cellspacing="0" cellpadding="0" align="center" |
|
189 border="0"> |
|
190 <tr> |
|
191 <td> |
|
192 <span fckLang="DlgLnkPopWinFeat">Popup Window Features</span><br /> |
|
193 <table cellspacing="0" cellpadding="0" border="0"> |
|
194 <tr> |
|
195 <td valign="top" nowrap="nowrap" width="50%"> |
|
196 <input id="chkPopupResizable" name="chkFeature" value="resizable" type="checkbox" /><label for="chkPopupResizable" fckLang="DlgLnkPopResize">Resizable</label><br /> |
|
197 <input id="chkPopupLocationBar" name="chkFeature" value="location" type="checkbox" /><label for="chkPopupLocationBar" fckLang="DlgLnkPopLocation">Location |
|
198 Bar</label><br /> |
|
199 <input id="chkPopupManuBar" name="chkFeature" value="menubar" type="checkbox" /><label for="chkPopupManuBar" fckLang="DlgLnkPopMenu">Menu |
|
200 Bar</label><br /> |
|
201 <input id="chkPopupScrollBars" name="chkFeature" value="scrollbars" type="checkbox" /><label for="chkPopupScrollBars" fckLang="DlgLnkPopScroll">Scroll |
|
202 Bars</label> |
|
203 </td> |
|
204 <td></td> |
|
205 <td valign="top" nowrap="nowrap" width="50%"> |
|
206 <input id="chkPopupStatusBar" name="chkFeature" value="status" type="checkbox" /><label for="chkPopupStatusBar" fckLang="DlgLnkPopStatus">Status |
|
207 Bar</label><br /> |
|
208 <input id="chkPopupToolbar" name="chkFeature" value="toolbar" type="checkbox" /><label for="chkPopupToolbar" fckLang="DlgLnkPopToolbar">Toolbar</label><br /> |
|
209 <input id="chkPopupFullScreen" name="chkFeature" value="fullscreen" type="checkbox" /><label for="chkPopupFullScreen" fckLang="DlgLnkPopFullScrn">Full |
|
210 Screen (IE)</label><br /> |
|
211 <input id="chkPopupDependent" name="chkFeature" value="dependent" type="checkbox" /><label for="chkPopupDependent" fckLang="DlgLnkPopDependent">Dependent |
|
212 (Netscape)</label> |
|
213 </td> |
|
214 </tr> |
|
215 <tr> |
|
216 <td valign="top" nowrap="nowrap" width="50%"> </td> |
|
217 <td></td> |
|
218 <td valign="top" nowrap="nowrap" width="50%"></td> |
|
219 </tr> |
|
220 <tr> |
|
221 <td valign="top"> |
|
222 <table cellspacing="0" cellpadding="0" border="0"> |
|
223 <tr> |
|
224 <td nowrap="nowrap"><span fckLang="DlgLnkPopWidth">Width</span></td> |
|
225 <td> <input id="txtPopupWidth" type="text" maxlength="4" size="4" /></td> |
|
226 </tr> |
|
227 <tr> |
|
228 <td nowrap="nowrap"><span fckLang="DlgLnkPopHeight">Height</span></td> |
|
229 <td> <input id="txtPopupHeight" type="text" maxlength="4" size="4" /></td> |
|
230 </tr> |
|
231 </table> |
|
232 </td> |
|
233 <td> </td> |
|
234 <td valign="top"> |
|
235 <table cellspacing="0" cellpadding="0" border="0"> |
|
236 <tr> |
|
237 <td nowrap="nowrap"><span fckLang="DlgLnkPopLeft">Left Position</span></td> |
|
238 <td> <input id="txtPopupLeft" type="text" maxlength="4" size="4" /></td> |
|
239 </tr> |
|
240 <tr> |
|
241 <td nowrap="nowrap"><span fckLang="DlgLnkPopTop">Top Position</span></td> |
|
242 <td> <input id="txtPopupTop" type="text" maxlength="4" size="4" /></td> |
|
243 </tr> |
|
244 </table> |
|
245 </td> |
|
246 </tr> |
|
247 </table> |
|
248 </td> |
|
249 </tr> |
|
250 </table> |
|
251 </div> |
|
252 <div id="divAttribs" style="DISPLAY: none"> |
|
253 <table cellspacing="0" cellpadding="0" width="100%" align="center" border="0"> |
|
254 <tr> |
|
255 <td valign="top" width="50%"> |
|
256 <span fckLang="DlgGenId">Id</span><br /> |
|
257 <input id="txtAttId" style="WIDTH: 100%" type="text" /> |
|
258 </td> |
|
259 <td width="1"></td> |
|
260 <td valign="top"> |
|
261 <table cellspacing="0" cellpadding="0" width="100%" align="center" border="0"> |
|
262 <tr> |
|
263 <td width="60%"> |
|
264 <span fckLang="DlgGenLangDir">Language Direction</span><br /> |
|
265 <select id="cmbAttLangDir" style="WIDTH: 100%"> |
|
266 <option value="" fckLang="DlgGenNotSet" selected><not set></option> |
|
267 <option value="ltr" fckLang="DlgGenLangDirLtr">Left to Right (LTR)</option> |
|
268 <option value="rtl" fckLang="DlgGenLangDirRtl">Right to Left (RTL)</option> |
|
269 </select> |
|
270 </td> |
|
271 <td width="1%"> </td> |
|
272 <td nowrap="nowrap"><span fckLang="DlgGenAccessKey">Access Key</span><br /> |
|
273 <input id="txtAttAccessKey" style="WIDTH: 100%" type="text" maxlength="1" size="1" /> |
|
274 </td> |
|
275 </tr> |
|
276 </table> |
|
277 </td> |
|
278 </tr> |
|
279 <tr> |
|
280 <td valign="top" width="50%"> |
|
281 <span fckLang="DlgGenName">Name</span><br /> |
|
282 <input id="txtAttName" style="WIDTH: 100%" type="text" /> |
|
283 </td> |
|
284 <td width="1"></td> |
|
285 <td valign="top"> |
|
286 <table cellspacing="0" cellpadding="0" width="100%" align="center" border="0"> |
|
287 <tr> |
|
288 <td width="60%"> |
|
289 <span fckLang="DlgGenLangCode">Language Code</span><br /> |
|
290 <input id="txtAttLangCode" style="WIDTH: 100%" type="text" /> |
|
291 </td> |
|
292 <td width="1%"> </td> |
|
293 <td nowrap="nowrap"> |
|
294 <span fckLang="DlgGenTabIndex">Tab Index</span><br /> |
|
295 <input id="txtAttTabIndex" style="WIDTH: 100%" type="text" maxlength="5" size="5" /> |
|
296 </td> |
|
297 </tr> |
|
298 </table> |
|
299 </td> |
|
300 </tr> |
|
301 <tr> |
|
302 <td valign="top" width="50%"> </td> |
|
303 <td width="1"></td> |
|
304 <td valign="top"></td> |
|
305 </tr> |
|
306 <tr> |
|
307 <td valign="top" width="50%"> |
|
308 <span fckLang="DlgGenTitle">Advisory Title</span><br /> |
|
309 <input id="txtAttTitle" style="WIDTH: 100%" type="text" /> |
|
310 </td> |
|
311 <td width="1"> </td> |
|
312 <td valign="top"> |
|
313 <span fckLang="DlgGenContType">Advisory Content Type</span><br /> |
|
314 <input id="txtAttContentType" style="WIDTH: 100%" type="text" /> |
|
315 </td> |
|
316 </tr> |
|
317 <tr> |
|
318 <td valign="top"> |
|
319 <span fckLang="DlgGenClass">Stylesheet Classes</span><br /> |
|
320 <input id="txtAttClasses" style="WIDTH: 100%" type="text" /> |
|
321 </td> |
|
322 <td></td> |
|
323 <td valign="top"> |
|
324 <span fckLang="DlgGenLinkCharset">Linked Resource Charset</span><br /> |
|
325 <input id="txtAttCharSet" style="WIDTH: 100%" type="text" /> |
|
326 </td> |
|
327 </tr> |
|
328 </table> |
|
329 <table cellspacing="0" cellpadding="0" width="100%" align="center" border="0"> |
|
330 <tr> |
|
331 <td> |
|
332 <span fckLang="DlgGenStyle">Style</span><br /> |
|
333 <input id="txtAttStyle" style="WIDTH: 100%" type="text" /> |
|
334 </td> |
|
335 </tr> |
|
336 </table> |
|
337 </div> |
|
338 </body> |
|
339 </html> |