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-2009 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 src="common/fck_dialog_common.js" type="text/javascript"></script> 30 <script type="text/javascript" src="tw-sack.js"></script> 31 <script src="fck_link/fck_link.js" type="text/javascript"></script> 32 <style type="text/css"> 33 option { font-size: 12pt; } 34 </style> 35 </head> 36 37 <body scroll="yes" style="OVERFLOW: auto;"> 38 39 <div id="divInfo" style="DISPLAY: block"> 40 <span fckLang="DlgLnkType" style = 'font-size:larger'>Link Type</span><br /> 41 <select id="cmbLinkType" style = 'font-size:larger' onchange="SetLinkType(this.value);"> 42 <option value="url" fckLang="DlgLnkTypeURL" selected="selected">URL</option> 43 <option value="internal" fckLang="DlgLnkTypeInternal">DokuWiki internal link</option> 44 <option value="other_mime" fckLang="DlgLnkTypeMime">Non-DokuWiki Internal Files</option> 45 <option value="samba" fckLang="DlgLnkTypeSamba">SMB Share</option> 46 <!-- option value="anchor" fckLang="DlgLnkTypeAnchor">Anchor in this page</option --> 47 <option value="email" fckLang="DlgLnkTypeEMail">E-Mail</option> 48 </select> 49 <br /> 50 <br /> 51 <div id="divLinkTypeUrl"> 52 <table cellspacing="0" cellpadding="0" width="100%" border="0" dir="ltr"> 53 <tr> 54 <td nowrap="nowrap"> 55 <span fckLang="DlgLnkProto" style = 'font-size:125%; '>Protocol</span><br /> 56 <select id="cmbLinkProtocol" style = 'font-size:larger'> 57 <option value="http://" selected="selected">http://</option> 58 <option value="https://">https://</option> 59 <option value="ftp://">ftp://</option> 60 <!-- option value="news://">news://</option --> 61 <option value="" fckLang="DlgLnkProtoOther"><other></option> 62 </select> 63 </td> 64 <td nowrap="nowrap"> </td> 65 <td nowrap="nowrap" width="100%"> 66 <span fckLang="DlgLnkURL" style = 'font-size:125%;' >URL</span><br /> 67 <input id="txtUrl" style="WIDTH: 100%" type="text" onkeyup="OnUrlChange();" onchange="OnUrlChange();" /> 68 </td> 69 </tr> 70 </table> 71 <br /> 72 <div id="divBrowseServer"> 73 <input type="button" value="Browse Server" fckLang="DlgBtnBrowseServer" style = 'font-size:larger' onclick="BrowseServer();" /> 74 </div> 75 </div> 76 77 <div id="divLinkTypeInternal" style="DISPLAY: none" align="center"> 78 79 <table cellspacing="3" cellpadding="0" width="100%" border="0" dir="ltr"> 80 <tr> 81 <th><span fckLang="DlgLnkTypeInternal"> DokuWiki Internal link </span></th> 82 </tr> 83 <tr> 84 <td> </td> 85 </tr> 86 <tr> 87 <td> 88 <span style = 'font-size:100%' fckLang="DlgLnkIntText">Enter namespace Or Select from Browser</span><br /> 89 <span style = 'font-size:100%' fckLang="DlgLnkIntExample">For example: <i>:directory:directory:file</i></span><br /> 90 <input id="txtDokuWikiId" style="WIDTH: 100%;font-size:larger" type="text" /> 91 </td> 92 </tr> 93 </table> 94 95 <div> 96 <input type="button" value="Browse Server" style = 'font-size:larger' fckLang="DlgBtnBrowseServer" onclick="BrowseServer();" /> 97 <br /><br /> 98 <span style = 'font-size:larger' fckLang="DlgLnkIntExtras"> 99 To create a query string and/or to set a page anchor from Dokuwiki headers, click the 100 Advanced tab. 101 </span> 102 </div> 103 </div> 104 105 106 <div id="divLinkTypeOtherMime" style="DISPLAY: none" align="center"> 107 <table cellspacing="0" cellpadding="0" width="100%" border="0" dir="ltr"> 108 <tr> 109 <th><span fckLang="DlgLnkTypeMime"> Internal link for Non-Dokuwiki File Types</span></th> 110 </tr> 111 <tr> 112 <td> 113 <span style = 'font-size:larger' fckLang="DlgLnkMimeText">Enter DokuWiki namespace Or Select File Browser</span><br /> 114 <span style = 'font-size:larger' fckLang="DlgLnkMimeExample">For example: <i>:directory:directory:zipfile.zip</i></span><br /> 115 <input id="txtExternalMime" style="WIDTH: 100%" type="text" /> 116 </td> 117 </tr> 118 </table> 119 <br /> 120 <div> 121 <input type="button" value="Browse Server" style = 'font-size:larger' fckLang="DlgBtnBrowseServer" onclick="BrowseServer();" /> 122 </div> 123 </div> 124 125 126 127 128 <div id="divLinkTypeSMB" style="DISPLAY: none" align="center"> 129 <table cellspacing="0" cellpadding="0" width="100%" border="0" dir="ltr"> 130 <tr> 131 <th><span fckLang="DlgLnkTypeSamba"> Samba Share </span></th> 132 </tr> 133 <tr> 134 <td> 135 <span style = 'font-size:larger' fckLang="DlgLnkSambaText">Enter the share</span><br /> 136 <span style = 'font-size:larger' fckLang="DlgLnkSambaExample">For example: \\Server\directory_path\file</span><br /> 137 <input id="txtSMBShareId" style="WIDTH: 100%" type="text" /> 138 </td> 139 </tr> 140 </table> 141 </div> 142 143 144 <div id="divLinkTypeAnchor" style="DISPLAY: none" align="center"> 145 <div id="divSelAnchor" style="DISPLAY: none"> 146 <table cellspacing="0" cellpadding="0" border="0" width="70%"> 147 <tr> 148 <td colspan="3"> 149 <span fckLang="DlgLnkAnchorSel">Select an Anchor</span> 150 </td> 151 </tr> 152 <tr> 153 <td width="50%"> 154 <span fckLang="DlgLnkAnchorByName">By Anchor Name</span><br /> 155 <select id="cmbAnchorName" onchange="GetE('cmbAnchorId').value='';" style="WIDTH: 100%"> 156 <option value="" selected="selected"></option> 157 </select> 158 </td> 159 <td> </td> 160 <td width="50%"> 161 <span fckLang="DlgLnkAnchorById">By Element Id</span><br /> 162 <select id="cmbAnchorId" onchange="GetE('cmbAnchorName').value='';" style="WIDTH: 100%"> 163 <option value="" selected="selected"></option> 164 </select> 165 </td> 166 </tr> 167 </table> 168 </div> 169 <div id="divNoAnchor" style="DISPLAY: none"> 170 <span fckLang="DlgLnkNoAnchors"><No anchors available in the document></span> 171 </div> 172 </div> 173 <div id="divLinkTypeEMail" style="DISPLAY: none"> 174 <span fckLang="DlgLnkEMail" style = 'font-size:larger'>E-Mail Address</span><br /> 175 <input id="txtEMailAddress" style="WIDTH: 100%" type="text" /><br /> 176 <div style="DISPLAY: none"> 177 <span fckLang="DlgLnkEMailSubject">Message Subject</span><br /> 178 <input id="txtEMailSubject" style="WIDTH: 100%" type="text" /><br /> 179 <span fckLang="DlgLnkEMailBody" style="DISPLAY: none">Message Body</span><br /> 180 <textarea id="txtEMailBody" style="WIDTH: 100%" rows="3" cols="20"></textarea> 181 </div> 182 </div> 183 </div> 184 <div id="divUpload" style="DISPLAY: none"> 185 <form id="frmUpload" method="post" target="UploadWindow" enctype="multipart/form-data" action="" onsubmit="return CheckUpload();"> 186 <span fckLang="DlgLnkUpload">Upload</span><br /> 187 <input id="txtUploadFile" style="WIDTH: 100%" type="file" size="40" name="NewFile" /><br /> 188 <br /> 189 <input id="btnUpload" type="submit" value="Send it to the Server" fckLang="DlgLnkBtnUpload" /> 190 <script type="text/javascript"> 191 document.write( '<iframe name="UploadWindow" style="display: none" src="' + FCKTools.GetVoidUrl() + '"><\/iframe>' ) ; 192 </script> 193 </form> 194 </div> 195 <div id="divTarget" style="DISPLAY: none"> 196 <table cellspacing="0" cellpadding="0" width="100%" border="0"> 197 <tr> 198 <td nowrap="nowrap"> 199 <span fckLang="DlgLnkTarget">Target</span><br /> 200 <select id="cmbTarget" onchange="SetTarget(this.value);"> 201 <option value="" fckLang="DlgGenNotSet" selected="selected"><not set></option> 202 <option value="frame" fckLang="DlgLnkTargetFrame"><frame></option> 203 <option value="popup" fckLang="DlgLnkTargetPopup"><popup window></option> 204 <option value="_blank" fckLang="DlgLnkTargetBlank">New Window (_blank)</option> 205 <option value="_top" fckLang="DlgLnkTargetTop">Topmost Window (_top)</option> 206 <option value="_self" fckLang="DlgLnkTargetSelf">Same Window (_self)</option> 207 <option value="_parent" fckLang="DlgLnkTargetParent">Parent Window (_parent)</option> 208 </select> 209 </td> 210 <td> </td> 211 <td id="tdTargetFrame" nowrap="nowrap" width="100%"> 212 <span fckLang="DlgLnkTargetFrameName">Target Frame Name</span><br /> 213 <input id="txtTargetFrame" style="WIDTH: 100%" type="text" onkeyup="OnTargetNameChange();" 214 onchange="OnTargetNameChange();" /> 215 </td> 216 <td id="tdPopupName" style="DISPLAY: none" nowrap="nowrap" width="100%"> 217 <span fckLang="DlgLnkPopWinName">Popup Window Name</span><br /> 218 <input id="txtPopupName" style="WIDTH: 100%" type="text" /> 219 </td> 220 </tr> 221 </table> 222 <br /> 223 <table id="tablePopupFeatures" style="DISPLAY: none" cellspacing="0" cellpadding="0" align="center" 224 border="0"> 225 <tr> 226 <td> 227 <span fckLang="DlgLnkPopWinFeat">Popup Window Features</span><br /> 228 <table cellspacing="0" cellpadding="0" border="0"> 229 <tr> 230 <td valign="top" nowrap="nowrap" width="50%"> 231 <input id="chkPopupResizable" name="chkFeature" value="resizable" type="checkbox" /><label for="chkPopupResizable" fckLang="DlgLnkPopResize">Resizable</label><br /> 232 <input id="chkPopupLocationBar" name="chkFeature" value="location" type="checkbox" /><label for="chkPopupLocationBar" fckLang="DlgLnkPopLocation">Location 233 Bar</label><br /> 234 <input id="chkPopupManuBar" name="chkFeature" value="menubar" type="checkbox" /><label for="chkPopupManuBar" fckLang="DlgLnkPopMenu">Menu 235 Bar</label><br /> 236 <input id="chkPopupScrollBars" name="chkFeature" value="scrollbars" type="checkbox" /><label for="chkPopupScrollBars" fckLang="DlgLnkPopScroll">Scroll 237 Bars</label> 238 </td> 239 <td></td> 240 <td valign="top" nowrap="nowrap" width="50%"> 241 <input id="chkPopupStatusBar" name="chkFeature" value="status" type="checkbox" /><label for="chkPopupStatusBar" fckLang="DlgLnkPopStatus">Status 242 Bar</label><br /> 243 <input id="chkPopupToolbar" name="chkFeature" value="toolbar" type="checkbox" /><label for="chkPopupToolbar" fckLang="DlgLnkPopToolbar">Toolbar</label><br /> 244 <input id="chkPopupFullScreen" name="chkFeature" value="fullscreen" type="checkbox" /><label for="chkPopupFullScreen" fckLang="DlgLnkPopFullScrn">Full 245 Screen (IE)</label><br /> 246 <input id="chkPopupDependent" name="chkFeature" value="dependent" type="checkbox" /><label for="chkPopupDependent" fckLang="DlgLnkPopDependent">Dependent 247 (Netscape)</label> 248 </td> 249 </tr> 250 <tr> 251 <td valign="top" nowrap="nowrap" width="50%"> </td> 252 <td></td> 253 <td valign="top" nowrap="nowrap" width="50%"></td> 254 </tr> 255 <tr> 256 <td valign="top"> 257 <table cellspacing="0" cellpadding="0" border="0"> 258 <tr> 259 <td nowrap="nowrap"><span fckLang="DlgLnkPopWidth">Width</span></td> 260 <td> <input id="txtPopupWidth" type="text" maxlength="4" size="4" /></td> 261 </tr> 262 <tr> 263 <td nowrap="nowrap"><span fckLang="DlgLnkPopHeight">Height</span></td> 264 <td> <input id="txtPopupHeight" type="text" maxlength="4" size="4" /></td> 265 </tr> 266 </table> 267 </td> 268 <td> </td> 269 <td valign="top"> 270 <table cellspacing="0" cellpadding="0" border="0"> 271 <tr> 272 <td nowrap="nowrap"><span fckLang="DlgLnkPopLeft">Left Position</span></td> 273 <td> <input id="txtPopupLeft" type="text" maxlength="4" size="4" /></td> 274 </tr> 275 <tr> 276 <td nowrap="nowrap"><span fckLang="DlgLnkPopTop">Top Position</span></td> 277 <td> <input id="txtPopupTop" type="text" maxlength="4" size="4" /></td> 278 </tr> 279 </table> 280 </td> 281 </tr> 282 </table> 283 </td> 284 </tr> 285 </table> 286 </div> 287 <div id="divAttribs" style="DISPLAY: none"> 288 <table cellspacing="0" cellpadding="0" width="100%" align="center" border="0"> 289 <tr> 290 <td valign="top" width="50%"> 291 <span fckLang="DlgGenId">Id</span><br /> 292 <input id="txtAttId" style="WIDTH: 100%" type="text" /> 293 </td> 294 <td width="1"></td> 295 <td valign="top"> 296 <table cellspacing="0" cellpadding="0" width="100%" align="center" border="0"> 297 <tr> 298 <td width="60%"> 299 <span fckLang="DlgGenLangDir">Language Direction</span><br /> 300 <select id="cmbAttLangDir" style="WIDTH: 100%"> 301 <option value="" fckLang="DlgGenNotSet" selected><not set></option> 302 <option value="ltr" fckLang="DlgGenLangDirLtr">Left to Right (LTR)</option> 303 <option value="rtl" fckLang="DlgGenLangDirRtl">Right to Left (RTL)</option> 304 </select> 305 </td> 306 <td width="1%"> </td> 307 <td nowrap="nowrap"><span fckLang="DlgGenAccessKey">Access Key</span><br /> 308 <input id="txtAttAccessKey" style="WIDTH: 100%" type="text" maxlength="1" size="1" /> 309 </td> 310 </tr> 311 </table> 312 </td> 313 </tr> 314 <tr> 315 <td valign="top" width="50%"> 316 <span fckLang="DlgGenName">Name</span><br /> 317 <input id="txtAttName" style="WIDTH: 100%" type="text" /> 318 </td> 319 <td width="1"></td> 320 <td valign="top"> 321 <table cellspacing="0" cellpadding="0" width="100%" align="center" border="0"> 322 <tr> 323 <td width="60%"> 324 <span fckLang="DlgGenLangCode">Language Code</span><br /> 325 <input id="txtAttLangCode" style="WIDTH: 100%" type="text" /> 326 </td> 327 <td width="1%"> </td> 328 <td nowrap="nowrap"> 329 <span fckLang="DlgGenTabIndex">Tab Index</span><br /> 330 <input id="txtAttTabIndex" style="WIDTH: 100%" type="text" maxlength="5" size="5" /> 331 </td> 332 </tr> 333 </table> 334 </td> 335 </tr> 336 <tr> 337 <td valign="top" width="50%"> </td> 338 <td width="1"></td> 339 <td valign="top"></td> 340 </tr> 341 <tr> 342 <td valign="top" width="50%"> 343 <span fckLang="DlgGenTitle">Advisory Title</span><br /> 344 <input id="txtAttTitle" style="WIDTH: 100%" type="text" /> 345 </td> 346 <td width="1"> </td> 347 <td valign="top"> 348 <span fckLang="DlgGenContType">Advisory Content Type</span><br /> 349 <input id="txtAttContentType" style="WIDTH: 100%" type="text" /> 350 </td> 351 </tr> 352 <tr> 353 <td valign="top"> 354 <span fckLang="DlgGenClass">Stylesheet Classes</span><br /> 355 <input id="txtAttClasses" style="WIDTH: 100%" type="text" /> 356 </td> 357 <td></td> 358 <td valign="top"> 359 <span fckLang="DlgGenLinkCharset">Linked Resource Charset</span><br /> 360 <input id="txtAttCharSet" style="WIDTH: 100%" type="text" /> 361 </td> 362 </tr> 363 </table> 364 <table cellspacing="0" cellpadding="0" width="100%" align="center" border="0"> 365 <tr> 366 <td> 367 <span fckLang="DlgGenStyle">Style</span><br /> 368 <input id="txtAttStyle" style="WIDTH: 100%" type="text" /> 369 </td> 370 </tr> 371 </table> 372 </div> 373 <div id="divInternalExtras" style="DISPLAY: none"> 374 <br /> 375 <span style = 'font-size:larger' fckLang="DlgLnkQSExample">Query String (For example: value_1=1&value_2=2)</span></br> 376 <input id="txtDokuWikiQS" style="WIDTH: 100%; font-size:larger" type="text" /> 377 <br /> 378 <!-- Get list of page anchors --> 379 <table> 380 <tr><td> 381 <span style = 'font-size:larger' fckLang="DlgLnkCreateAnchors"> Create page anchors from Dokuwiki headers</span> 382 <tr><td> 383 <form name='headings'> 384 <input type="button" value="Get Headings" fckLang="DlgLnkGetHeaders" style = 'font-size:larger' onclick="getHeaders();" /> 385 <Select name = 'anchors' onchange="anchorOption.selected(this)" style = 'font-size:larger'> 386 </select> 387 </form> 388 </td> 389 </tr> 390 </table> 391 392 393 </div> 394 395 </body> 396</html> 397