Revision 1419
Added by Luisehahne almost 15 years ago
| branches/2.8.x/CHANGELOG | ||
|---|---|---|
| 11 | 11 |
! = Update/Change |
| 12 | 12 |
|
| 13 | 13 |
------------------------------------- 2.8.2 ------------------------------------- |
| 14 |
26 Jan-2011 Build 1419 Dietmar Woellbrink (Luisehahne) |
|
| 15 |
! update rel handling FCKeditor for urls |
|
| 14 | 16 |
25 Jan-2011 Build 1418 Dietmar Woellbrink (Luisehahne) |
| 15 | 17 |
# remove new function see http://www.websitebaker2.org/forum/index.php/topic,20268.msg139557.html#msg139557 |
| 16 | 18 |
24 Jan-2011 Build 1417 Dietmar Woellbrink (Luisehahne) |
| branches/2.8.x/wb/admin/interface/version.php | ||
|---|---|---|
| 52 | 52 |
|
| 53 | 53 |
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled) |
| 54 | 54 |
if(!defined('VERSION')) define('VERSION', '2.8.2.RC5');
|
| 55 |
if(!defined('REVISION')) define('REVISION', '1418');
|
|
| 55 |
if(!defined('REVISION')) define('REVISION', '1419');
|
|
| 56 | 56 |
|
| 57 | 57 |
?> |
| branches/2.8.x/wb/languages/EN.php | ||
|---|---|---|
| 363 | 363 |
$TEXT['VIEW_DELETED_PAGES'] = 'View Deleted Pages'; |
| 364 | 364 |
$TEXT['VIEW_DETAILS'] = 'View Details'; |
| 365 | 365 |
$TEXT['VISIBILITY'] = 'Visibility'; |
| 366 |
$TEXT['WARN_PAGE_LEAVE'] = 'Warn when leaving page'; |
|
| 367 | 366 |
$TEXT['WBMAILER_DEFAULT_SENDER_MAIL'] = 'Default From Mail'; |
| 368 | 367 |
$TEXT['WBMAILER_DEFAULT_SENDER_NAME'] = 'Default Sender Name'; |
| 369 | 368 |
$TEXT['WBMAILER_DEFAULT_SETTINGS_NOTICE'] = 'Please specify a default "FROM" address and "SENDER" name below. It is recommended to use a FROM address like: <strong>admin@yourdomain.com</strong>. Some mail provider (e.g. <em>mail.com</em>) may reject mails with a FROM: address like <em>name@mail.com</em> sent via a foreign relay to avoid spam.<br /><br />The default values are only used if no other values are specified by WebsiteBaker. If your server supports <acronym title="Simple mail transfer protocol">SMTP</acronym>, you may want use this option for outgoing mails.'; |
| branches/2.8.x/wb/languages/DE.php | ||
|---|---|---|
| 364 | 364 |
$TEXT['VIEW_DELETED_PAGES'] = 'gelöschte Seiten anschauen'; |
| 365 | 365 |
$TEXT['VIEW_DETAILS'] = 'Details'; |
| 366 | 366 |
$TEXT['VISIBILITY'] = 'Sichtbarkeit'; |
| 367 |
$TEXT['WARN_PAGE_LEAVE'] = 'Warnung bei Seitenwechsel'; |
|
| 368 | 367 |
$TEXT['WBMAILER_DEFAULT_SENDER_MAIL'] = 'Standard "VON" Adresse'; |
| 369 | 368 |
$TEXT['WBMAILER_DEFAULT_SENDER_NAME'] = 'Standard Absender Name'; |
| 370 | 369 |
$TEXT['WBMAILER_DEFAULT_SETTINGS_NOTICE'] = 'Bitte geben Sie eine Standard "VON" Adresse und einen Sendernamen an. Als Absender Adresse empfiehlt sich ein Format wie: <strong>admin@IhreWebseite.de</strong>. Manche E-Mail Provider (z.B. <em>mail.de</em>) stellen keine E-Mails zu, die nicht über den Provider selbst verschickt wurden, in der Absender Adresse aber den Namen des E-Mail Providers <em>name@mail.de</em> enthalten. Die Standard Werte werden nur verwendet, wenn keine anderen Werte von WebsiteBaker gesetzt wurden. Wenn Ihr Service Provider <acronym title="Simple Mail Transfer Protocol">SMTP</acronym> anbietet, sollten Sie diese Option für ausgehende E-Mails verwenden.'; |
| branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/dialog/fck_link.html | ||
|---|---|---|
| 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-2010 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 src="fck_link/fck_link.js" type="text/javascript"></script> |
|
| 31 |
</head> |
|
| 32 |
<body scroll="no" style="OVERFLOW: hidden"> |
|
| 33 |
<div id="divInfo" style="DISPLAY: none"> |
|
| 34 |
<span fckLang="DlgLnkType">Link Type</span><br /> |
|
| 35 |
<select id="cmbLinkType" onchange="SetLinkType(this.value);"> |
|
| 36 |
<option value="url" fckLang="DlgLnkTypeURL" selected="selected">URL</option> |
|
| 37 |
<option value="anchor" fckLang="DlgLnkTypeAnchor">Anchor in this page</option> |
|
| 38 |
<option value="email" fckLang="DlgLnkTypeEMail">E-Mail</option> |
|
| 39 |
</select> |
|
| 40 |
<br /> |
|
| 41 |
<br /> |
|
| 42 |
<div id="divLinkTypeUrl"> |
|
| 43 |
<table cellspacing="0" cellpadding="0" width="100%" border="0" dir="ltr"> |
|
| 44 |
<tr> |
|
| 45 |
<td nowrap="nowrap"> |
|
| 46 |
<span fckLang="DlgLnkProto">Protocol</span><br /> |
|
| 47 |
<select id="cmbLinkProtocol"> |
|
| 48 |
<option value="http://" selected="selected">http://</option> |
|
| 49 |
<option value="https://">https://</option> |
|
| 50 |
<option value="ftp://">ftp://</option> |
|
| 51 |
<option value="news://">news://</option> |
|
| 52 |
<option value="" fckLang="DlgLnkProtoOther"><other></option> |
|
| 53 |
</select> |
|
| 54 |
</td> |
|
| 55 |
<td nowrap="nowrap"> </td> |
|
| 56 |
<td nowrap="nowrap" width="100%"> |
|
| 57 |
<span fckLang="DlgLnkURL">URL</span><br /> |
|
| 58 |
<input id="txtUrl" style="WIDTH: 100%" type="text" onkeyup="OnUrlChange();" onchange="OnUrlChange();" /> |
|
| 59 |
</td> |
|
| 60 |
</tr> |
|
| 61 |
</table> |
|
| 62 |
<br /> |
|
| 63 |
<div id="divBrowseServer"> |
|
| 64 |
<input type="button" value="Browse Server" fckLang="DlgBtnBrowseServer" onclick="BrowseServer();" /> |
|
| 65 |
</div> |
|
| 66 |
</div> |
|
| 67 |
<div id="divLinkTypeAnchor" style="DISPLAY: none" align="center"> |
|
| 68 |
<div id="divSelAnchor" style="DISPLAY: none"> |
|
| 69 |
<table cellspacing="0" cellpadding="0" border="0" width="70%"> |
|
| 70 |
<tr> |
|
| 71 |
<td colspan="3"> |
|
| 72 |
<span fckLang="DlgLnkAnchorSel">Select an Anchor</span> |
|
| 73 |
</td> |
|
| 74 |
</tr> |
|
| 75 |
<tr> |
|
| 76 |
<td width="50%"> |
|
| 77 |
<span fckLang="DlgLnkAnchorByName">By Anchor Name</span><br /> |
|
| 78 |
<select id="cmbAnchorName" onchange="GetE('cmbAnchorId').value='';" style="WIDTH: 100%">
|
|
| 79 |
<option value="" selected="selected"></option> |
|
| 80 |
</select> |
|
| 81 |
</td> |
|
| 82 |
<td> </td> |
|
| 83 |
<td width="50%"> |
|
| 84 |
<span fckLang="DlgLnkAnchorById">By Element Id</span><br /> |
|
| 85 |
<select id="cmbAnchorId" onchange="GetE('cmbAnchorName').value='';" style="WIDTH: 100%">
|
|
| 86 |
<option value="" selected="selected"></option> |
|
| 87 |
</select> |
|
| 88 |
</td> |
|
| 89 |
</tr> |
|
| 90 |
</table> |
|
| 91 |
</div> |
|
| 92 |
<div id="divNoAnchor" style="DISPLAY: none"> |
|
| 93 |
<span fckLang="DlgLnkNoAnchors"><No anchors available in the document></span> |
|
| 94 |
</div> |
|
| 95 |
</div> |
|
| 96 |
<div id="divLinkTypeEMail" style="DISPLAY: none"> |
|
| 97 |
<span fckLang="DlgLnkEMail">E-Mail Address</span><br /> |
|
| 98 |
<input id="txtEMailAddress" style="WIDTH: 100%" type="text" /><br /> |
|
| 99 |
<span fckLang="DlgLnkEMailSubject">Message Subject</span><br /> |
|
| 100 |
<input id="txtEMailSubject" style="WIDTH: 100%" type="text" /><br /> |
|
| 101 |
<span fckLang="DlgLnkEMailBody">Message Body</span><br /> |
|
| 102 |
<textarea id="txtEMailBody" style="WIDTH: 100%" rows="3" cols="20"></textarea> |
|
| 103 |
</div> |
|
| 104 |
</div> |
|
| 105 |
<div id="divUpload" style="DISPLAY: none"> |
|
| 106 |
<form id="frmUpload" method="post" target="UploadWindow" enctype="multipart/form-data" action="" onsubmit="return CheckUpload();"> |
|
| 107 |
<span fckLang="DlgLnkUpload">Upload</span><br /> |
|
| 108 |
<input id="txtUploadFile" style="WIDTH: 100%" type="file" size="40" name="NewFile" /><br /> |
|
| 109 |
<br /> |
|
| 110 |
<input id="btnUpload" type="submit" value="Send it to the Server" fckLang="DlgLnkBtnUpload" /> |
|
| 111 |
<script type="text/javascript"> |
|
| 112 |
document.write( '<iframe name="UploadWindow" style="display: none" src="' + FCKTools.GetVoidUrl() + '"><\/iframe>' ) ; |
|
| 113 |
</script> |
|
| 114 |
</form> |
|
| 115 |
</div> |
|
| 116 |
<div id="divTarget" style="DISPLAY: none"> |
|
| 117 |
<table cellspacing="0" cellpadding="0" width="100%" border="0"> |
|
| 118 |
<tr> |
|
| 119 |
<td nowrap="nowrap"> |
|
| 120 |
<span fckLang="DlgLnkTarget">Target</span><br /> |
|
| 121 |
<select id="cmbTarget" onchange="SetTarget(this.value);"> |
|
| 122 |
<option value="" fckLang="DlgGenNotSet" selected="selected"><not set></option> |
|
| 123 |
<option value="frame" fckLang="DlgLnkTargetFrame"><frame></option> |
|
| 124 |
<option value="popup" fckLang="DlgLnkTargetPopup"><popup window></option> |
|
| 125 |
<option value="_blank" fckLang="DlgLnkTargetBlank">New Window (_blank)</option> |
|
| 126 |
<option value="_top" fckLang="DlgLnkTargetTop">Topmost Window (_top)</option> |
|
| 127 |
<option value="_self" fckLang="DlgLnkTargetSelf">Same Window (_self)</option> |
|
| 128 |
<option value="_parent" fckLang="DlgLnkTargetParent">Parent Window (_parent)</option> |
|
| 129 |
</select> |
|
| 130 |
</td> |
|
| 131 |
<td> </td> |
|
| 132 |
<td id="tdTargetFrame" nowrap="nowrap" width="100%"> |
|
| 133 |
<span fckLang="DlgLnkTargetFrameName">Target Frame Name</span><br /> |
|
| 134 |
<input id="txtTargetFrame" style="WIDTH: 100%" type="text" onkeyup="OnTargetNameChange();" |
|
| 135 |
onchange="OnTargetNameChange();" /> |
|
| 136 |
</td> |
|
| 137 |
<td id="tdPopupName" style="DISPLAY: none" nowrap="nowrap" width="100%"> |
|
| 138 |
<span fckLang="DlgLnkPopWinName">Popup Window Name</span><br /> |
|
| 139 |
<input id="txtPopupName" style="WIDTH: 100%" type="text" /> |
|
| 140 |
</td> |
|
| 141 |
</tr> |
|
| 142 |
</table> |
|
| 143 |
<br /> |
|
| 144 |
<table id="tablePopupFeatures" style="DISPLAY: none" cellspacing="0" cellpadding="0" align="center" |
|
| 145 |
border="0"> |
|
| 146 |
<tr> |
|
| 147 |
<td> |
|
| 148 |
<span fckLang="DlgLnkPopWinFeat">Popup Window Features</span><br /> |
|
| 149 |
<table cellspacing="0" cellpadding="0" border="0"> |
|
| 150 |
<tr> |
|
| 151 |
<td valign="top" nowrap="nowrap" width="50%"> |
|
| 152 |
<input id="chkPopupResizable" name="chkFeature" value="resizable" type="checkbox" /><label for="chkPopupResizable" fckLang="DlgLnkPopResize">Resizable</label><br /> |
|
| 153 |
<input id="chkPopupLocationBar" name="chkFeature" value="location" type="checkbox" /><label for="chkPopupLocationBar" fckLang="DlgLnkPopLocation">Location |
|
| 154 |
Bar</label><br /> |
|
| 155 |
<input id="chkPopupManuBar" name="chkFeature" value="menubar" type="checkbox" /><label for="chkPopupManuBar" fckLang="DlgLnkPopMenu">Menu |
|
| 156 |
Bar</label><br /> |
|
| 157 |
<input id="chkPopupScrollBars" name="chkFeature" value="scrollbars" type="checkbox" /><label for="chkPopupScrollBars" fckLang="DlgLnkPopScroll">Scroll |
|
| 158 |
Bars</label> |
|
| 159 |
</td> |
|
| 160 |
<td></td> |
|
| 161 |
<td valign="top" nowrap="nowrap" width="50%"> |
|
| 162 |
<input id="chkPopupStatusBar" name="chkFeature" value="status" type="checkbox" /><label for="chkPopupStatusBar" fckLang="DlgLnkPopStatus">Status |
|
| 163 |
Bar</label><br /> |
|
| 164 |
<input id="chkPopupToolbar" name="chkFeature" value="toolbar" type="checkbox" /><label for="chkPopupToolbar" fckLang="DlgLnkPopToolbar">Toolbar</label><br /> |
|
| 165 |
<input id="chkPopupFullScreen" name="chkFeature" value="fullscreen" type="checkbox" /><label for="chkPopupFullScreen" fckLang="DlgLnkPopFullScrn">Full |
|
| 166 |
Screen (IE)</label><br /> |
|
| 167 |
<input id="chkPopupDependent" name="chkFeature" value="dependent" type="checkbox" /><label for="chkPopupDependent" fckLang="DlgLnkPopDependent">Dependent |
|
| 168 |
(Netscape)</label> |
|
| 169 |
</td> |
|
| 170 |
</tr> |
|
| 171 |
<tr> |
|
| 172 |
<td valign="top" nowrap="nowrap" width="50%"> </td> |
|
| 173 |
<td></td> |
|
| 174 |
<td valign="top" nowrap="nowrap" width="50%"></td> |
|
| 175 |
</tr> |
|
| 176 |
<tr> |
|
| 177 |
<td valign="top"> |
|
| 178 |
<table cellspacing="0" cellpadding="0" border="0"> |
|
| 179 |
<tr> |
|
| 180 |
<td nowrap="nowrap"><span fckLang="DlgLnkPopWidth">Width</span></td> |
|
| 181 |
<td> <input id="txtPopupWidth" type="text" maxlength="4" size="4" /></td> |
|
| 182 |
</tr> |
|
| 183 |
<tr> |
|
| 184 |
<td nowrap="nowrap"><span fckLang="DlgLnkPopHeight">Height</span></td> |
|
| 185 |
<td> <input id="txtPopupHeight" type="text" maxlength="4" size="4" /></td> |
|
| 186 |
</tr> |
|
| 187 |
</table> |
|
| 188 |
</td> |
|
| 189 |
<td> </td> |
|
| 190 |
<td valign="top"> |
|
| 191 |
<table cellspacing="0" cellpadding="0" border="0"> |
|
| 192 |
<tr> |
|
| 193 |
<td nowrap="nowrap"><span fckLang="DlgLnkPopLeft">Left Position</span></td> |
|
| 194 |
<td> <input id="txtPopupLeft" type="text" maxlength="4" size="4" /></td> |
|
| 195 |
</tr> |
|
| 196 |
<tr> |
|
| 197 |
<td nowrap="nowrap"><span fckLang="DlgLnkPopTop">Top Position</span></td> |
|
| 198 |
<td> <input id="txtPopupTop" type="text" maxlength="4" size="4" /></td> |
|
| 199 |
</tr> |
|
| 200 |
</table> |
|
| 201 |
</td> |
|
| 202 |
</tr> |
|
| 203 |
</table> |
|
| 204 |
</td> |
|
| 205 |
</tr> |
|
| 206 |
</table> |
|
| 207 |
</div> |
|
| 208 |
<div id="divAttribs" style="DISPLAY: none"> |
|
| 209 |
<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0"> |
|
| 210 |
<tr> |
|
| 211 |
<td valign="top" width="50%"> |
|
| 212 |
<span fckLang="DlgGenId">Id</span><br /> |
|
| 213 |
<input id="txtAttId" style="WIDTH: 100%" type="text" /> |
|
| 214 |
</td> |
|
| 215 |
<td width="1"></td> |
|
| 216 |
<td valign="top"> |
|
| 217 |
<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0"> |
|
| 218 |
<tr> |
|
| 219 |
<td width="60%"> |
|
| 220 |
<span fckLang="DlgGenLangDir">Language Direction</span><br /> |
|
| 221 |
<select id="cmbAttLangDir" style="WIDTH: 100%"> |
|
| 222 |
<option value="" fckLang="DlgGenNotSet" selected><not set></option> |
|
| 223 |
<option value="ltr" fckLang="DlgGenLangDirLtr">Left to Right (LTR)</option> |
|
| 224 |
<option value="rtl" fckLang="DlgGenLangDirRtl">Right to Left (RTL)</option> |
|
| 225 |
</select> |
|
| 226 |
</td> |
|
| 227 |
<td width="1%"> </td> |
|
| 228 |
<td nowrap="nowrap"><span fckLang="DlgGenAccessKey">Access Key</span><br /> |
|
| 229 |
<input id="txtAttAccessKey" style="WIDTH: 100%" type="text" maxlength="1" size="1" /> |
|
| 230 |
</td> |
|
| 231 |
</tr> |
|
| 232 |
</table> |
|
| 233 |
</td> |
|
| 234 |
</tr> |
|
| 235 |
<tr> |
|
| 236 |
<td valign="top" width="50%"> |
|
| 237 |
<span fckLang="DlgGenName">Name</span><br /> |
|
| 238 |
<input id="txtAttName" style="WIDTH: 100%" type="text" /> |
|
| 239 |
</td> |
|
| 240 |
<td width="1"></td> |
|
| 241 |
<td valign="top"> |
|
| 242 |
<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0"> |
|
| 243 |
<tr> |
|
| 244 |
<td width="60%"> |
|
| 245 |
<span fckLang="DlgGenLangCode">Language Code</span><br /> |
|
| 246 |
<input id="txtAttLangCode" style="WIDTH: 100%" type="text" /> |
|
| 247 |
</td> |
|
| 248 |
<td width="1%"> </td> |
|
| 249 |
<td nowrap="nowrap"> |
|
| 250 |
<span fckLang="DlgGenTabIndex">Tab Index</span><br /> |
|
| 251 |
<input id="txtAttTabIndex" style="WIDTH: 100%" type="text" maxlength="5" size="5" /> |
|
| 252 |
</td> |
|
| 253 |
</tr> |
|
| 254 |
</table> |
|
| 255 |
</td> |
|
| 256 |
</tr> |
|
| 257 |
<tr> |
|
| 258 |
<td valign="top" width="50%"> </td> |
|
| 259 |
<td width="1"></td> |
|
| 260 |
<td valign="top"></td> |
|
| 261 |
</tr> |
|
| 262 |
<tr> |
|
| 263 |
<td nowrap="nowrap"> |
|
| 264 |
<span fckLang="DlgGenContRel">Advisory Relation</span><br /> |
|
| 265 |
<select id="cmbAttContentRel" style="width: 100%"> |
|
| 266 |
<option value="" fckLang="DlgGenNotSet" selected><not set></option> |
|
| 267 |
<option value="fancybox" fckLang="Fancybox">Fancybox</option> |
|
| 268 |
<option value="prettyPhoto" fckLang="PrettyPhoto">PrettyPhoto</option> |
|
| 269 |
<!-- <option value="prettyPhoto[gallery]" fckLang="PrettyPhoto Image Gallery">PrettyPhoto Image Gallery</option> |
|
| 270 |
<option value="prettyPhoto[flash]" fckLang="PrettyPhoto Flash">PrettyPhoto Flash</option> |
|
| 271 |
<option value="prettyPhoto[iframes]" fckLang="PrettyPhoto IFrames">PrettyPhoto IFrames</option> |
|
| 272 |
<option value="prettyPhoto[movies]" fckLang="PrettyPhoto Movies">PrettyPhoto Movies</option> |
|
| 273 |
<option value="prettyPopin" fckLang="PrettyPopin">Pretty Popin</option> |
|
| 274 |
<option value="prettyGallery" fckLang="PrettyGallery">Pretty Gallery</option> --> |
|
| 275 |
<option value="alternate" fckLang="Alternate">Alternate</option> |
|
| 276 |
<option value="copyright" fckLang="copyright">Copyright</option> |
|
| 277 |
<option value="designates" fckLang="designates">Designates</option> |
|
| 278 |
<option value="nofollow" fckLang="nofollow">Nofollow</option> |
|
| 279 |
<option value="lightbox" fckLang="Lightbox">Lightbox</option> |
|
| 280 |
<option value="stylesheet" fckLang="stylesheet">Stylesheet</option> |
|
| 281 |
<option value="thumbnail" fckLang="Thumbnail">Thumbnail</option> |
|
| 282 |
</select> |
|
| 283 |
</td> |
|
| 284 |
<td width="1"> </td> |
|
| 285 |
<td valign="top"> |
|
| 286 |
<span fckLang="DlgGenContType">Advisory Content Type</span><br /> |
|
| 287 |
<input id="txtAttContentType" style="WIDTH: 100%" type="text" /> |
|
| 288 |
</td> |
|
| 289 |
</tr> |
|
| 290 |
<tr> |
|
| 291 |
<td valign="top"> |
|
| 292 |
<span fckLang="DlgGenClass">Stylesheet Classes</span><br /> |
|
| 293 |
<input id="txtAttClasses" style="WIDTH: 100%" type="text" /> |
|
| 294 |
</td> |
|
| 295 |
<td></td> |
|
| 296 |
<td valign="top"> |
|
| 297 |
<span fckLang="DlgGenLinkCharset">Linked Resource Charset</span><br /> |
|
| 298 |
<input id="txtAttCharSet" style="WIDTH: 100%" type="text" /> |
|
| 299 |
</td> |
|
| 300 |
</tr> |
|
| 301 |
</table> |
|
| 302 |
<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0"> |
|
| 303 |
<tr> |
|
| 304 |
<td> |
|
| 305 |
<span fckLang="DlgGenStyle">Style</span><br /> |
|
| 306 |
<input id="txtAttStyle" style="WIDTH: 100%" type="text" /> |
|
| 307 |
</td> |
|
| 308 |
</tr> |
|
| 309 |
<tr> |
|
| 310 |
<td valign="top" width="100%"> |
|
| 311 |
<span fckLang="DlgGenTitle">Advisory Title</span><br /> |
|
| 312 |
<input id="txtAttTitle" style="WIDTH: 100%" type="text" /> |
|
| 313 |
</td> |
|
| 314 |
</tr> |
|
| 315 |
</table> |
|
| 316 |
</div> |
|
| 317 |
</body> |
|
| 318 |
</html> |
|
| 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-2010 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 src="fck_link/fck_link.js" type="text/javascript"></script> |
|
| 31 |
</head> |
|
| 32 |
<body scroll="no" style="OVERFLOW: hidden"> |
|
| 33 |
<div id="divInfo" style="DISPLAY: none"> |
|
| 34 |
<span fckLang="DlgLnkType">Link Type</span><br /> |
|
| 35 |
<select id="cmbLinkType" onchange="SetLinkType(this.value);"> |
|
| 36 |
<option value="url" fckLang="DlgLnkTypeURL" selected="selected">URL</option> |
|
| 37 |
<option value="anchor" fckLang="DlgLnkTypeAnchor">Anchor in this page</option> |
|
| 38 |
<option value="email" fckLang="DlgLnkTypeEMail">E-Mail</option> |
|
| 39 |
</select> |
|
| 40 |
<br /> |
|
| 41 |
<br /> |
|
| 42 |
<div id="divLinkTypeUrl"> |
|
| 43 |
<table cellspacing="0" cellpadding="0" width="100%" border="0" dir="ltr"> |
|
| 44 |
<tr> |
|
| 45 |
<td nowrap="nowrap"> |
|
| 46 |
<span fckLang="DlgLnkProto">Protocol</span><br /> |
|
| 47 |
<select id="cmbLinkProtocol"> |
|
| 48 |
<option value="http://" selected="selected">http://</option> |
|
| 49 |
<option value="https://">https://</option> |
|
| 50 |
<option value="ftp://">ftp://</option> |
|
| 51 |
<option value="news://">news://</option> |
|
| 52 |
<option value="" fckLang="DlgLnkProtoOther"><other></option> |
|
| 53 |
</select> |
|
| 54 |
</td> |
|
| 55 |
<td nowrap="nowrap"> </td> |
|
| 56 |
<td nowrap="nowrap" width="100%"> |
|
| 57 |
<span fckLang="DlgLnkURL">URL</span><br /> |
|
| 58 |
<input id="txtUrl" style="WIDTH: 100%" type="text" onkeyup="OnUrlChange();" onchange="OnUrlChange();" /> |
|
| 59 |
</td> |
|
| 60 |
</tr> |
|
| 61 |
</table> |
|
| 62 |
<br /> |
|
| 63 |
<div id="divBrowseServer"> |
|
| 64 |
<input type="button" value="Browse Server" fckLang="DlgBtnBrowseServer" onclick="BrowseServer();" /> |
|
| 65 |
</div> |
|
| 66 |
</div> |
|
| 67 |
<div id="divLinkTypeAnchor" style="DISPLAY: none" align="center"> |
|
| 68 |
<div id="divSelAnchor" style="DISPLAY: none"> |
|
| 69 |
<table cellspacing="0" cellpadding="0" border="0" width="70%"> |
|
| 70 |
<tr> |
|
| 71 |
<td colspan="3"> |
|
| 72 |
<span fckLang="DlgLnkAnchorSel">Select an Anchor</span> |
|
| 73 |
</td> |
|
| 74 |
</tr> |
|
| 75 |
<tr> |
|
| 76 |
<td width="50%"> |
|
| 77 |
<span fckLang="DlgLnkAnchorByName">By Anchor Name</span><br /> |
|
| 78 |
<select id="cmbAnchorName" onchange="GetE('cmbAnchorId').value='';" style="WIDTH: 100%">
|
|
| 79 |
<option value="" selected="selected"></option> |
|
| 80 |
</select> |
|
| 81 |
</td> |
|
| 82 |
<td> </td> |
|
| 83 |
<td width="50%"> |
|
| 84 |
<span fckLang="DlgLnkAnchorById">By Element Id</span><br /> |
|
| 85 |
<select id="cmbAnchorId" onchange="GetE('cmbAnchorName').value='';" style="WIDTH: 100%">
|
|
| 86 |
<option value="" selected="selected"></option> |
|
| 87 |
</select> |
|
| 88 |
</td> |
|
| 89 |
</tr> |
|
| 90 |
</table> |
|
| 91 |
</div> |
|
| 92 |
<div id="divNoAnchor" style="DISPLAY: none"> |
|
| 93 |
<span fckLang="DlgLnkNoAnchors"><No anchors available in the document></span> |
|
| 94 |
</div> |
|
| 95 |
</div> |
|
| 96 |
<div id="divLinkTypeEMail" style="DISPLAY: none"> |
|
| 97 |
<span fckLang="DlgLnkEMail">E-Mail Address</span><br /> |
|
| 98 |
<input id="txtEMailAddress" style="WIDTH: 100%" type="text" /><br /> |
|
| 99 |
<span fckLang="DlgLnkEMailSubject">Message Subject</span><br /> |
|
| 100 |
<input id="txtEMailSubject" style="WIDTH: 100%" type="text" /><br /> |
|
| 101 |
<span fckLang="DlgLnkEMailBody">Message Body</span><br /> |
|
| 102 |
<textarea id="txtEMailBody" style="WIDTH: 100%" rows="3" cols="20"></textarea> |
|
| 103 |
</div> |
|
| 104 |
</div> |
|
| 105 |
<div id="divUpload" style="DISPLAY: none"> |
|
| 106 |
<form id="frmUpload" method="post" target="UploadWindow" enctype="multipart/form-data" action="" onsubmit="return CheckUpload();"> |
|
| 107 |
<span fckLang="DlgLnkUpload">Upload</span><br /> |
|
| 108 |
<input id="txtUploadFile" style="WIDTH: 100%" type="file" size="40" name="NewFile" /><br /> |
|
| 109 |
<br /> |
|
| 110 |
<input id="btnUpload" type="submit" value="Send it to the Server" fckLang="DlgLnkBtnUpload" /> |
|
| 111 |
<script type="text/javascript"> |
|
| 112 |
document.write( '<iframe name="UploadWindow" style="display: none" src="' + FCKTools.GetVoidUrl() + '"><\/iframe>' ) ; |
|
| 113 |
</script> |
|
| 114 |
</form> |
|
| 115 |
</div> |
|
| 116 |
<div id="divTarget" style="DISPLAY: none"> |
|
| 117 |
<table cellspacing="0" cellpadding="0" width="100%" border="0"> |
|
| 118 |
<tr> |
|
| 119 |
<td nowrap="nowrap"> |
|
| 120 |
<span fckLang="DlgLnkTarget">Target</span><br /> |
|
| 121 |
<select id="cmbTarget" onchange="SetTarget(this.value);"> |
|
| 122 |
<option value="" fckLang="DlgGenNotSet" selected="selected"><not set></option> |
|
| 123 |
<option value="frame" fckLang="DlgLnkTargetFrame"><frame></option> |
|
| 124 |
<option value="popup" fckLang="DlgLnkTargetPopup"><popup window></option> |
|
| 125 |
<option value="_blank" fckLang="DlgLnkTargetBlank">New Window (_blank)</option> |
|
| 126 |
<option value="_top" fckLang="DlgLnkTargetTop">Topmost Window (_top)</option> |
|
| 127 |
<option value="_self" fckLang="DlgLnkTargetSelf">Same Window (_self)</option> |
|
| 128 |
<option value="_parent" fckLang="DlgLnkTargetParent">Parent Window (_parent)</option> |
|
| 129 |
</select> |
|
| 130 |
</td> |
|
| 131 |
<td> </td> |
|
| 132 |
<td id="tdTargetFrame" nowrap="nowrap" width="100%"> |
|
| 133 |
<span fckLang="DlgLnkTargetFrameName">Target Frame Name</span><br /> |
|
| 134 |
<input id="txtTargetFrame" style="WIDTH: 100%" type="text" onkeyup="OnTargetNameChange();" |
|
| 135 |
onchange="OnTargetNameChange();" /> |
|
| 136 |
</td> |
|
| 137 |
<td id="tdPopupName" style="DISPLAY: none" nowrap="nowrap" width="100%"> |
|
| 138 |
<span fckLang="DlgLnkPopWinName">Popup Window Name</span><br /> |
|
| 139 |
<input id="txtPopupName" style="WIDTH: 100%" type="text" /> |
|
| 140 |
</td> |
|
| 141 |
</tr> |
|
| 142 |
</table> |
|
| 143 |
<br /> |
|
| 144 |
<table id="tablePopupFeatures" style="DISPLAY: none" cellspacing="0" cellpadding="0" align="center" |
|
| 145 |
border="0"> |
|
| 146 |
<tr> |
|
| 147 |
<td> |
|
| 148 |
<span fckLang="DlgLnkPopWinFeat">Popup Window Features</span><br /> |
|
| 149 |
<table cellspacing="0" cellpadding="0" border="0"> |
|
| 150 |
<tr> |
|
| 151 |
<td valign="top" nowrap="nowrap" width="50%"> |
|
| 152 |
<input id="chkPopupResizable" name="chkFeature" value="resizable" type="checkbox" /><label for="chkPopupResizable" fckLang="DlgLnkPopResize">Resizable</label><br /> |
|
| 153 |
<input id="chkPopupLocationBar" name="chkFeature" value="location" type="checkbox" /><label for="chkPopupLocationBar" fckLang="DlgLnkPopLocation">Location |
|
| 154 |
Bar</label><br /> |
|
| 155 |
<input id="chkPopupManuBar" name="chkFeature" value="menubar" type="checkbox" /><label for="chkPopupManuBar" fckLang="DlgLnkPopMenu">Menu |
|
| 156 |
Bar</label><br /> |
|
| 157 |
<input id="chkPopupScrollBars" name="chkFeature" value="scrollbars" type="checkbox" /><label for="chkPopupScrollBars" fckLang="DlgLnkPopScroll">Scroll |
|
| 158 |
Bars</label> |
|
| 159 |
</td> |
|
| 160 |
<td></td> |
|
| 161 |
<td valign="top" nowrap="nowrap" width="50%"> |
|
| 162 |
<input id="chkPopupStatusBar" name="chkFeature" value="status" type="checkbox" /><label for="chkPopupStatusBar" fckLang="DlgLnkPopStatus">Status |
|
| 163 |
Bar</label><br /> |
|
| 164 |
<input id="chkPopupToolbar" name="chkFeature" value="toolbar" type="checkbox" /><label for="chkPopupToolbar" fckLang="DlgLnkPopToolbar">Toolbar</label><br /> |
|
| 165 |
<input id="chkPopupFullScreen" name="chkFeature" value="fullscreen" type="checkbox" /><label for="chkPopupFullScreen" fckLang="DlgLnkPopFullScrn">Full |
|
| 166 |
Screen (IE)</label><br /> |
|
| 167 |
<input id="chkPopupDependent" name="chkFeature" value="dependent" type="checkbox" /><label for="chkPopupDependent" fckLang="DlgLnkPopDependent">Dependent |
|
| 168 |
(Netscape)</label> |
|
| 169 |
</td> |
|
| 170 |
</tr> |
|
| 171 |
<tr> |
|
| 172 |
<td valign="top" nowrap="nowrap" width="50%"> </td> |
|
| 173 |
<td></td> |
|
| 174 |
<td valign="top" nowrap="nowrap" width="50%"></td> |
|
| 175 |
</tr> |
|
| 176 |
<tr> |
|
| 177 |
<td valign="top"> |
|
| 178 |
<table cellspacing="0" cellpadding="0" border="0"> |
|
| 179 |
<tr> |
|
| 180 |
<td nowrap="nowrap"><span fckLang="DlgLnkPopWidth">Width</span></td> |
|
| 181 |
<td> <input id="txtPopupWidth" type="text" maxlength="4" size="4" /></td> |
|
| 182 |
</tr> |
|
| 183 |
<tr> |
|
| 184 |
<td nowrap="nowrap"><span fckLang="DlgLnkPopHeight">Height</span></td> |
|
| 185 |
<td> <input id="txtPopupHeight" type="text" maxlength="4" size="4" /></td> |
|
| 186 |
</tr> |
|
| 187 |
</table> |
|
| 188 |
</td> |
|
| 189 |
<td> </td> |
|
| 190 |
<td valign="top"> |
|
| 191 |
<table cellspacing="0" cellpadding="0" border="0"> |
|
| 192 |
<tr> |
|
| 193 |
<td nowrap="nowrap"><span fckLang="DlgLnkPopLeft">Left Position</span></td> |
|
| 194 |
<td> <input id="txtPopupLeft" type="text" maxlength="4" size="4" /></td> |
|
| 195 |
</tr> |
|
| 196 |
<tr> |
|
| 197 |
<td nowrap="nowrap"><span fckLang="DlgLnkPopTop">Top Position</span></td> |
|
| 198 |
<td> <input id="txtPopupTop" type="text" maxlength="4" size="4" /></td> |
|
| 199 |
</tr> |
|
| 200 |
</table> |
|
| 201 |
</td> |
|
| 202 |
</tr> |
|
| 203 |
</table> |
|
| 204 |
</td> |
|
| 205 |
</tr> |
|
| 206 |
</table> |
|
| 207 |
</div> |
|
| 208 |
<div id="divAttribs" style="DISPLAY: none"> |
|
| 209 |
<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0"> |
|
| 210 |
<tr> |
|
| 211 |
<td valign="top" width="50%"> |
|
| 212 |
<span fckLang="DlgGenId">Id</span><br /> |
|
| 213 |
<input id="txtAttId" style="WIDTH: 100%" type="text" /> |
|
| 214 |
</td> |
|
| 215 |
<td width="1"></td> |
|
| 216 |
<td valign="top"> |
|
| 217 |
<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0"> |
|
| 218 |
<tr> |
|
| 219 |
<td width="60%"> |
|
| 220 |
<span fckLang="DlgGenLangDir">Language Direction</span><br /> |
|
| 221 |
<select id="cmbAttLangDir" style="WIDTH: 100%"> |
|
| 222 |
<option value="" fckLang="DlgGenNotSet" selected><not set></option> |
|
| 223 |
<option value="ltr" fckLang="DlgGenLangDirLtr">Left to Right (LTR)</option> |
|
| 224 |
<option value="rtl" fckLang="DlgGenLangDirRtl">Right to Left (RTL)</option> |
|
| 225 |
</select> |
|
| 226 |
</td> |
|
| 227 |
<td width="1%"> </td> |
|
| 228 |
<td nowrap="nowrap"><span fckLang="DlgGenAccessKey">Access Key</span><br /> |
|
| 229 |
<input id="txtAttAccessKey" style="WIDTH: 100%" type="text" maxlength="1" size="1" /> |
|
| 230 |
</td> |
|
| 231 |
</tr> |
|
| 232 |
</table> |
|
| 233 |
</td> |
|
| 234 |
</tr> |
|
| 235 |
<tr> |
|
| 236 |
<td valign="top" width="50%"> |
|
| 237 |
<span fckLang="DlgGenName">Name</span><br /> |
|
| 238 |
<input id="txtAttName" style="WIDTH: 100%" type="text" /> |
|
| 239 |
</td> |
|
| 240 |
<td width="1"></td> |
|
| 241 |
<td valign="top"> |
|
| 242 |
<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0"> |
|
| 243 |
<tr> |
|
| 244 |
<td width="60%"> |
|
| 245 |
<span fckLang="DlgGenLangCode">Language Code</span><br /> |
|
| 246 |
<input id="txtAttLangCode" style="WIDTH: 100%" type="text" /> |
|
| 247 |
</td> |
|
| 248 |
<td width="1%"> </td> |
|
| 249 |
<td nowrap="nowrap"> |
|
| 250 |
<span fckLang="DlgGenTabIndex">Tab Index</span><br /> |
|
| 251 |
<input id="txtAttTabIndex" style="WIDTH: 100%" type="text" maxlength="5" size="5" /> |
|
| 252 |
</td> |
|
| 253 |
</tr> |
|
| 254 |
</table> |
|
| 255 |
</td> |
|
| 256 |
</tr> |
|
| 257 |
<tr> |
|
| 258 |
<td valign="top" width="50%"> </td> |
|
| 259 |
<td width="1"></td> |
|
| 260 |
<td valign="top"></td> |
|
| 261 |
</tr> |
|
| 262 |
<tr> |
|
| 263 |
<td nowrap="nowrap"> |
|
| 264 |
<span fckLang="DlgGenContRel">Advisory Relation</span><br /> |
|
| 265 |
<select id="cmbAttContentRel" style="width: 100%"> |
|
| 266 |
<option value="" fckLang="DlgGenNotSet" selected><not set></option> |
|
| 267 |
<option value="cslide" fckLang="cSlide">cslide</option> |
|
| 268 |
<option value="gal" fckLang="gal">nyroModal</option> |
|
| 269 |
<option value="csingle" fckLang="cSingle">csingle</option> |
|
| 270 |
<option value="group1" fckLang="group1">Group1</option> |
|
| 271 |
<option value="fancybox" fckLang="Fancybox">Fancybox</option> |
|
| 272 |
<option value="colorbox" fckLang="Colorbox">Colorbox</option> |
|
| 273 |
<option value="prettyPhoto" fckLang="PrettyPhoto">PrettyPhoto</option> |
|
| 274 |
<option value="alternate" fckLang="Alternate">Alternate</option> |
|
| 275 |
<option value="copyright" fckLang="copyright">Copyright</option> |
|
| 276 |
<option value="designates" fckLang="designates">Designates</option> |
|
| 277 |
<option value="nofollow" fckLang="nofollow">Nofollow</option> |
|
| 278 |
<option value="lightbox" fckLang="Lightbox">Lightbox</option> |
|
| 279 |
<option value="stylesheet" fckLang="stylesheet">Stylesheet</option> |
|
| 280 |
<option value="thumbnail" fckLang="Thumbnail">Thumbnail</option> |
|
| 281 |
</select> |
|
| 282 |
</td> |
|
| 283 |
<td width="1"> </td> |
|
| 284 |
<td valign="top"> |
|
| 285 |
<span fckLang="DlgGenContType">Advisory Content Type</span><br /> |
|
| 286 |
<input id="txtAttContentType" style="WIDTH: 100%" type="text" /> |
|
| 287 |
</td> |
|
| 288 |
</tr> |
|
| 289 |
<tr> |
|
| 290 |
<td valign="top"> |
|
| 291 |
<span fckLang="DlgGenClass">Stylesheet Classes</span><br /> |
|
| 292 |
<input id="txtAttClasses" style="WIDTH: 100%" type="text" /> |
|
| 293 |
</td> |
|
| 294 |
<td> </td> |
|
| 295 |
<td valign="top"> |
|
| 296 |
<span fckLang="DlgGenLinkCharset">Linked Resource Charset</span><br /> |
|
| 297 |
<input id="txtAttCharSet" style="WIDTH: 100%" type="text" /> |
|
| 298 |
</td> |
|
| 299 |
</tr> |
|
| 300 |
</table> |
|
| 301 |
<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0"> |
|
| 302 |
<tr> |
|
| 303 |
<td> |
|
| 304 |
<span fckLang="DlgGenStyle">Style</span><br /> |
|
| 305 |
<input id="txtAttStyle" style="WIDTH: 100%" type="text" /> |
|
| 306 |
</td> |
|
| 307 |
</tr> |
|
| 308 |
<tr> |
|
| 309 |
<td valign="top" width="100%"> |
|
| 310 |
<span fckLang="DlgGenTitle">Advisory Title</span><br /> |
|
| 311 |
<input id="txtAttTitle" style="WIDTH: 100%" type="text" /> |
|
| 312 |
</td> |
|
| 313 |
</tr> |
|
| 314 |
</table> |
|
| 315 |
</div> |
|
| 316 |
</body> |
|
| 317 |
</html> |
|
| branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/dialog/fck_image/fck_image.js | ||
|---|---|---|
| 189 | 189 |
if ( sLinkUrl == null ) |
| 190 | 190 |
sLinkUrl = oLink.getAttribute('href',2) ;
|
| 191 | 191 |
|
| 192 |
var sLinkRel = GetE('cmbLnkContentRel');
|
|
| 193 |
|
|
| 194 |
if ( sLinkRel.lenght == null ) |
|
| 195 |
{
|
|
| 196 |
var myselect = document.getElementById("cmbLnkContentRel")
|
|
| 197 |
var found = false; |
|
| 198 |
|
|
| 199 |
for (var i=0; i < myselect.options.length; i++) |
|
| 200 |
{
|
|
| 201 |
if (myselect.options[i].value == oLink.rel) |
|
| 202 |
{
|
|
| 203 |
found = true; |
|
| 204 |
break; |
|
| 205 |
} |
|
| 206 |
} |
|
| 207 |
|
|
| 208 |
if ( found == false ) |
|
| 209 |
{
|
|
| 210 |
try {
|
|
| 211 |
myselect.add(new Option(oLink.rel, oLink.rel,true ), myselect.options[1]) //add new option to beginning of "cmbLnkContentRel" |
|
| 212 |
} |
|
| 213 |
catch(e) { //in IE, try the below version instead of add()
|
|
| 214 |
myselect.add(new Option( oLink.rel, oLink.rel,true ),1 ) //add new option to beginning of "cmbLnkContentRel" |
|
| 215 |
//myselect.options[1].selected=true; |
|
| 216 |
} |
|
| 217 |
} |
|
| 218 |
} |
|
| 192 | 219 |
GetE('txtLnkUrl').value = sLinkUrl ;
|
| 193 | 220 |
GetE('cmbLnkTarget').value = oLink.target ;
|
| 221 |
// Get Advances Attributes |
|
| 222 |
GetE('txtLnkTitle').value = oLink.title ;
|
|
| 223 |
GetE('cmbLnkContentRel').value = oLink.rel ;
|
|
| 224 |
GetE('txtLnkCharSet').value = oLink.charset ;
|
|
| 225 |
GetE('txtLnkId').value = oLink.id ;
|
|
| 226 |
GetE('txtLnkLangCode').value = oLink.lang ;
|
|
| 227 |
|
|
| 228 |
var sClass ; |
|
| 229 |
if ( oEditor.FCKBrowserInfo.IsIE ) |
|
| 230 |
{
|
|
| 231 |
sClass = oLink.getAttribute('className',2) || '' ;
|
|
| 232 |
// Clean up temporary classes for internal use: |
|
| 233 |
sClass = sClass.replace( FCKRegexLib.FCK_Class, '' ) ; |
|
| 234 |
GetE('txtLnkStyle').value = oLink.style.cssText ;
|
|
| 235 |
} |
|
| 236 |
else |
|
| 237 |
{
|
|
| 238 |
sClass = oLink.getAttribute('class',2) || '' ;
|
|
| 239 |
GetE('txtLnkStyle').value = oLink.getAttribute('style',2) || '' ;
|
|
| 240 |
} |
|
| 241 |
GetE('txtLnkClasses').value = sClass ;
|
|
| 194 | 242 |
} |
| 195 |
|
|
| 196 | 243 |
UpdatePreview() ; |
| 197 | 244 |
} |
| 198 | 245 |
|
| ... | ... | |
| 238 | 285 |
UpdateImage( oImage ) ; |
| 239 | 286 |
|
| 240 | 287 |
var sLnkUrl = GetE('txtLnkUrl').value.Trim() ;
|
| 241 |
|
|
| 242 | 288 |
if ( sLnkUrl.length == 0 ) |
| 243 | 289 |
{
|
| 244 | 290 |
if ( oLink ) |
| ... | ... | |
| 247 | 293 |
else |
| 248 | 294 |
{
|
| 249 | 295 |
if ( oLink ) // Modifying an existent link. |
| 296 |
{
|
|
| 250 | 297 |
oLink.href = sLnkUrl ; |
| 298 |
} |
|
| 251 | 299 |
else // Creating a new link. |
| 252 | 300 |
{
|
| 253 | 301 |
if ( !bHasImage ) |
| ... | ... | |
| 264 | 312 |
|
| 265 | 313 |
SetAttribute( oLink, '_fcksavedurl', sLnkUrl ) ; |
| 266 | 314 |
SetAttribute( oLink, 'target', GetE('cmbLnkTarget').value ) ;
|
| 315 |
// Advances Attributes |
|
| 316 |
SetAttribute( oLink, 'title' , GetE('txtLnkTitle').value ) ;
|
|
| 317 |
SetAttribute( oLink, 'rel' , GetE('cmbLnkContentRel').value ) ;
|
|
| 318 |
SetAttribute( oLink, 'lang' , GetE('txtLnkLangCode').value ) ;
|
|
| 319 |
SetAttribute( oLink, 'charset' , GetE('txtLnkCharSet').value ) ;
|
|
| 320 |
/* |
|
| 321 |
alert( FCKLang.DlgImgAlertUrl ) ; |
|
| 322 |
SetAttribute( oLink, 'name' , GetE('txtLnktName').value ) ;
|
|
| 323 |
*/ |
|
| 324 |
if ( oEditor.FCKBrowserInfo.IsIE ) |
|
| 325 |
{
|
|
| 326 |
var sClass = GetE('txtLnkClasses').value ;
|
|
| 327 |
// If it's also an anchor add an internal class |
|
| 328 |
if ( GetE('txtLnkName').value.length != 0 )
|
|
| 329 |
sClass += ' FCK__AnchorC' ; |
|
| 330 |
SetAttribute( oLink, 'className', sClass ) ; |
|
| 331 |
oLink.style.cssText = GetE('txtLnkStyle').value ;
|
|
| 332 |
} |
|
| 333 |
else |
|
| 334 |
{
|
|
| 335 |
SetAttribute( oLink, 'class', GetE('txtLnkClasses').value ) ;
|
|
| 336 |
SetAttribute( oLink, 'style', GetE('txtLnkStyle').value ) ;
|
|
| 337 |
} |
|
| 338 |
|
|
| 267 | 339 |
} |
| 268 | 340 |
|
| 269 | 341 |
return true ; |
| branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/dialog/fck_image.html | ||
|---|---|---|
| 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-2010 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 |
* Image Properties dialog window. |
|
| 23 |
--> |
|
| 24 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
|
| 25 |
<head> |
|
| 26 |
<title>Image 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 src="fck_image/fck_image.js" type="text/javascript"></script> |
|
| 31 |
<script type="text/javascript"> |
|
| 32 |
|
|
| 33 |
document.write( FCKTools.GetStyleHtml( GetCommonDialogCss() ) ) ; |
|
| 34 |
|
|
| 35 |
</script> |
|
| 36 |
</head> |
|
| 37 |
<body scroll="no" style="overflow: hidden"> |
|
| 38 |
<div id="divInfo"> |
|
| 39 |
<table cellspacing="1" cellpadding="1" border="0" width="100%" height="100%"> |
|
| 40 |
<tr> |
|
| 41 |
<td> |
|
| 42 |
<table cellspacing="0" cellpadding="0" width="100%" border="0"> |
|
| 43 |
<tr> |
|
| 44 |
<td width="100%"> |
|
| 45 |
<span fcklang="DlgImgURL">URL</span> |
|
| 46 |
</td> |
|
| 47 |
<td id="tdBrowse" style="display: none" nowrap="nowrap" rowspan="2"> |
|
| 48 |
|
|
| 49 |
<input id="btnBrowse" onclick="BrowseServer();" type="button" value="Browse Server" |
|
| 50 |
fcklang="DlgBtnBrowseServer" /> |
|
| 51 |
</td> |
|
| 52 |
</tr> |
|
| 53 |
<tr> |
|
| 54 |
<td valign="top"> |
|
| 55 |
<input id="txtUrl" style="width: 100%" type="text" onblur="UpdatePreview();" /> |
|
| 56 |
</td> |
|
| 57 |
</tr> |
|
| 58 |
</table> |
|
| 59 |
</td> |
|
| 60 |
</tr> |
|
| 61 |
<tr> |
|
| 62 |
<td> |
|
| 63 |
<span fcklang="DlgImgAlt">Short Description</span><br /> |
|
| 64 |
<input id="txtAlt" style="width: 100%" type="text" /><br /> |
|
| 65 |
</td> |
|
| 66 |
</tr> |
|
| 67 |
<tr height="100%"> |
|
| 68 |
<td valign="top"> |
|
| 69 |
<table cellspacing="0" cellpadding="0" width="100%" border="0" height="100%"> |
|
| 70 |
<tr> |
|
| 71 |
<td valign="top"> |
|
| 72 |
<br /> |
|
| 73 |
<table cellspacing="0" cellpadding="0" border="0"> |
|
| 74 |
<tr> |
|
| 75 |
<td nowrap="nowrap"> |
|
| 76 |
<span fcklang="DlgImgWidth">Width</span> </td> |
|
| 77 |
<td> |
|
| 78 |
<input type="text" size="3" id="txtWidth" onkeyup="OnSizeChanged('Width',this.value);" /></td>
|
|
| 79 |
<td rowspan="2"> |
|
| 80 |
<div id="btnLockSizes" class="BtnLocked" onmouseover="this.className = (bLockRatio ? 'BtnLocked' : 'BtnUnlocked' ) + ' BtnOver';" |
|
| 81 |
onmouseout="this.className = (bLockRatio ? 'BtnLocked' : 'BtnUnlocked' );" title="Lock Sizes" |
|
| 82 |
onclick="SwitchLock(this);"> |
|
| 83 |
</div> |
|
| 84 |
</td> |
|
| 85 |
<td rowspan="2"> |
|
| 86 |
<div id="btnResetSize" class="BtnReset" onmouseover="this.className='BtnReset BtnOver';" |
|
| 87 |
onmouseout="this.className='BtnReset';" title="Reset Size" onclick="ResetSizes();"> |
|
| 88 |
</div> |
|
| 89 |
</td> |
|
| 90 |
</tr> |
|
| 91 |
<tr> |
|
| 92 |
<td nowrap="nowrap"> |
|
| 93 |
<span fcklang="DlgImgHeight">Height</span> </td> |
|
| 94 |
<td> |
|
| 95 |
<input type="text" size="3" id="txtHeight" onkeyup="OnSizeChanged('Height',this.value);" /></td>
|
|
| 96 |
</tr> |
|
| 97 |
</table> |
|
| 98 |
<br /> |
|
| 99 |
<table cellspacing="0" cellpadding="0" border="0"> |
|
| 100 |
<tr> |
|
| 101 |
<td nowrap="nowrap"> |
|
| 102 |
<span fcklang="DlgImgBorder">Border</span> </td> |
|
| 103 |
<td> |
|
| 104 |
<input type="text" size="2" value="" id="txtBorder" onkeyup="UpdatePreview();" /></td> |
|
| 105 |
</tr> |
|
| 106 |
<tr> |
|
| 107 |
<td nowrap="nowrap"> |
|
| 108 |
<span fcklang="DlgImgHSpace">HSpace</span> </td> |
|
| 109 |
<td> |
|
| 110 |
<input type="text" size="2" id="txtHSpace" onkeyup="UpdatePreview();" /></td> |
|
| 111 |
</tr> |
|
| 112 |
<tr> |
|
| 113 |
<td nowrap="nowrap"> |
|
| 114 |
<span fcklang="DlgImgVSpace">VSpace</span> </td> |
|
| 115 |
<td> |
|
| 116 |
<input type="text" size="2" id="txtVSpace" onkeyup="UpdatePreview();" /></td> |
|
| 117 |
</tr> |
|
| 118 |
<tr> |
|
| 119 |
<td nowrap="nowrap"> |
|
| 120 |
<span fcklang="DlgImgAlign">Align</span> </td> |
|
| 121 |
<td> |
|
| 122 |
<select id="cmbAlign" onchange="UpdatePreview();"> |
|
| 123 |
<option value="" selected="selected"></option> |
|
| 124 |
<option fcklang="DlgImgAlignLeft" value="left">Left</option> |
|
| 125 |
<option fcklang="DlgImgAlignAbsBottom" value="absBottom">Abs Bottom</option> |
|
| 126 |
<option fcklang="DlgImgAlignAbsMiddle" value="absMiddle">Abs Middle</option> |
|
| 127 |
<option fcklang="DlgImgAlignBaseline" value="baseline">Baseline</option> |
|
| 128 |
<option fcklang="DlgImgAlignBottom" value="bottom">Bottom</option> |
|
| 129 |
<option fcklang="DlgImgAlignMiddle" value="middle">Middle</option> |
|
| 130 |
<option fcklang="DlgImgAlignRight" value="right">Right</option> |
|
| 131 |
<option fcklang="DlgImgAlignTextTop" value="textTop">Text Top</option> |
|
| 132 |
<option fcklang="DlgImgAlignTop" value="top">Top</option> |
|
| 133 |
</select> |
|
| 134 |
</td> |
|
| 135 |
</tr> |
|
| 136 |
</table> |
|
| 137 |
</td> |
|
| 138 |
<td> |
|
| 139 |
</td> |
|
| 140 |
<td width="100%" valign="top"> |
|
| 141 |
<table cellpadding="0" cellspacing="0" width="100%" style="table-layout: fixed"> |
|
| 142 |
<tr> |
|
| 143 |
<td> |
|
| 144 |
<span fcklang="DlgImgPreview">Preview</span></td> |
|
| 145 |
</tr> |
|
| 146 |
<tr> |
|
| 147 |
<td valign="top"> |
|
| 148 |
<iframe class="ImagePreviewArea" src="fck_image/fck_image_preview.html" frameborder="0" |
|
| 149 |
marginheight="0" marginwidth="0"></iframe> |
|
| 150 |
</td> |
|
| 151 |
</tr> |
|
| 152 |
</table> |
|
| 153 |
</td> |
|
| 154 |
</tr> |
|
| 155 |
</table> |
|
| 156 |
</td> |
|
| 157 |
</tr> |
|
| 158 |
</table> |
|
| 159 |
</div> |
|
| 160 |
<div id="divUpload" style="display: none"> |
|
| 161 |
<form id="frmUpload" method="post" target="UploadWindow" enctype="multipart/form-data" |
|
| 162 |
action="" onsubmit="return CheckUpload();"> |
|
| 163 |
<span fcklang="DlgLnkUpload">Upload</span><br /> |
|
| 164 |
<input id="txtUploadFile" style="width: 100%" type="file" size="40" name="NewFile" /><br /> |
|
| 165 |
<br /> |
|
| 166 |
<input id="btnUpload" type="submit" value="Send it to the Server" fcklang="DlgLnkBtnUpload" /> |
|
| 167 |
<script type="text/javascript"> |
|
| 168 |
document.write( '<iframe name="UploadWindow" style="display: none" src="' + FCKTools.GetVoidUrl() + '"><\/iframe>' ) ; |
|
| 169 |
</script> |
|
| 170 |
</form> |
|
| 171 |
</div> |
|
| 172 |
<div id="divLink" style="display: none"> |
|
| 173 |
<table cellspacing="1" cellpadding="1" border="0" width="100%"> |
|
| 174 |
<tr> |
|
| 175 |
<td> |
|
| 176 |
<div> |
|
| 177 |
<span fcklang="DlgLnkURL">URL</span><br /> |
|
| 178 |
<input id="txtLnkUrl" style="width: 100%" type="text" onblur="UpdatePreview();" /> |
|
| 179 |
</div> |
|
| 180 |
<div id="divLnkBrowseServer" align="right"> |
|
| 181 |
<input type="button" value="Browse Server" fcklang="DlgBtnBrowseServer" onclick="LnkBrowseServer();" /> |
|
| 182 |
</div> |
|
| 183 |
<div> |
|
| 184 |
<span fcklang="DlgLnkTarget">Target</span><br /> |
|
| 185 |
<select id="cmbLnkTarget"> |
|
| 186 |
<option value="" fcklang="DlgGenNotSet" selected="selected"><not set></option> |
|
| 187 |
<option value="_blank" fcklang="DlgLnkTargetBlank">New Window (_blank)</option> |
|
| 188 |
<option value="_top" fcklang="DlgLnkTargetTop">Topmost Window (_top)</option> |
|
| 189 |
<option value="_self" fcklang="DlgLnkTargetSelf">Same Window (_self)</option> |
|
| 190 |
<option value="_parent" fcklang="DlgLnkTargetParent">Parent Window (_parent)</option> |
|
| 191 |
</select> |
|
| 192 |
</div> |
|
| 193 |
<div> |
|
| 194 |
<span fckLang="DlgGenContRel">Advisory Relation</span><br /> |
|
| 195 |
<select id="cmbLnkContentRel"> |
|
| 196 |
<option value="" fckLang="DlgGenNotSet" selected><not set></option> |
|
| 197 |
<option value="fancybox" fckLang="Fancybox">Fancybox</option> |
|
| 198 |
<option value="prettyPhoto" fckLang="PrettyPhoto">PrettyPhoto</option> |
|
| 199 |
<!-- <option value="prettyPhoto[gallery]" fckLang="PrettyPhoto Image Gallery">PrettyPhoto Image Gallery</option> |
|
| 200 |
<option value="prettyPhoto[flash]" fckLang="PrettyPhoto Flash">PrettyPhoto Flash</option> |
|
| 201 |
<option value="prettyPhoto[iframes]" fckLang="PrettyPhoto IFrames">PrettyPhoto IFrames</option> |
|
| 202 |
<option value="prettyPhoto[movies]" fckLang="PrettyPhoto Movies">PrettyPhoto Movies</option> |
|
| 203 |
<option value="prettyPopin" fckLang="PrettyPopin">Pretty Popin</option> |
|
| 204 |
<option value="prettyGallery" fckLang="PrettyGallery">Pretty Gallery</option> --> |
|
| 205 |
<option value="alternate" fckLang="Alternate">Alternate</option> |
|
| 206 |
<option value="copyright" fckLang="copyright">Copyright</option> |
|
| 207 |
<option value="designates" fckLang="designates">Designates</option> |
|
| 208 |
<option value="nofollow" fckLang="nofollow">Nofollow</option> |
|
| 209 |
<option value="lightbox" fckLang="Lightbox">Lightbox</option> |
|
| 210 |
<option value="stylesheet" fckLang="stylesheet">Stylesheet</option> |
|
| 211 |
<option value="thumbnail" fckLang="Thumbnail">Thumbnail</option> |
|
| 212 |
</select> |
|
| 213 |
</div> |
|
| 214 |
|
|
| 215 |
</td> |
|
| 216 |
</tr> |
|
| 217 |
|
|
| 218 |
<tr> |
|
| 219 |
<td valign="top"> |
|
| 220 |
<span fckLang="DlgGenClass">Stylesheet Classes</span><br /> |
|
| 221 |
<input id="txtLnkClasses" style="WIDTH: 100%" type="text" /> |
|
| 222 |
</td> |
|
| 223 |
<td></td> |
|
| 224 |
<td valign="top" width="50%"> |
|
| 225 |
<span fckLang="DlgGenId">Id</span><br /> |
|
| 226 |
<input id="txtLnkId" style="WIDTH: 100%" type="text" /> |
|
| 227 |
</td> |
|
| 228 |
</tr> |
|
| 229 |
</table> |
|
| 230 |
<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0"> |
|
| 231 |
<tr> |
|
| 232 |
<td> |
|
| 233 |
<span fckLang="DlgGenStyle">Style</span><br /> |
|
| 234 |
<input id="txtLnkStyle" style="WIDTH: 100%" type="text" /> |
|
| 235 |
</td> |
|
| 236 |
</tr> |
|
| 237 |
<tr> |
|
| 238 |
<td valign="top" width="100%"> |
|
| 239 |
<span fckLang="DlgGenTitle">Advisory Title</span><br /> |
|
| 240 |
<input id="txtLnkTitle" style="WIDTH: 100%" type="text" /> |
|
| 241 |
</td> |
|
| 242 |
</tr> |
|
| 243 |
</table> |
|
| 244 |
</div> |
|
| 245 |
<div id="divAdvanced" style="display: none"> |
|
| 246 |
<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0"> |
|
| 247 |
<tr> |
|
| 248 |
<td valign="top" width="50%"> |
|
| 249 |
<span fcklang="DlgGenId">Id</span><br /> |
|
| 250 |
<input id="txtAttId" style="width: 100%" type="text" /> |
|
| 251 |
</td> |
|
| 252 |
<td width="1"> |
|
| 253 |
</td> |
|
| 254 |
<td valign="top"> |
|
| 255 |
<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0"> |
|
| 256 |
<tr> |
|
| 257 |
<td width="60%"> |
|
| 258 |
<span fcklang="DlgGenLangDir">Language Direction</span><br /> |
|
| 259 |
<select id="cmbAttLangDir" style="width: 100%"> |
|
| 260 |
<option value="" fcklang="DlgGenNotSet" selected="selected"><not set></option> |
|
| 261 |
<option value="ltr" fcklang="DlgGenLangDirLtr">Left to Right (LTR)</option> |
|
| 262 |
<option value="rtl" fcklang="DlgGenLangDirRtl">Right to Left (RTL)</option> |
|
| 263 |
</select> |
|
| 264 |
</td> |
|
| 265 |
<td width="1%"> |
|
| 266 |
</td> |
|
| 267 |
<td nowrap="nowrap"> |
|
| 268 |
<span fcklang="DlgGenLangCode">Language Code</span><br /> |
|
| 269 |
<input id="txtAttLangCode" style="width: 100%" type="text" /> |
|
| 270 |
</td> |
|
| 271 |
</tr> |
|
| 272 |
</table> |
|
| 273 |
</td> |
|
| 274 |
</tr> |
|
| 275 |
<tr> |
|
| 276 |
<td colspan="3"> |
|
| 277 |
</td> |
|
| 278 |
</tr> |
|
| 279 |
<tr> |
|
| 280 |
<td colspan="3"> |
|
| 281 |
<span fcklang="DlgGenLongDescr">Long Description URL</span><br /> |
|
| 282 |
<input id="txtLongDesc" style="width: 100%" type="text" /> |
|
| 283 |
</td> |
|
| 284 |
</tr> |
|
| 285 |
<tr> |
|
| 286 |
<td colspan="3"> |
|
| 287 |
</td> |
|
| 288 |
</tr> |
|
| 289 |
<tr> |
|
| 290 |
<td valign="top"> |
|
| 291 |
<span fcklang="DlgGenClass">Stylesheet Classes</span><br /> |
|
| 292 |
<input id="txtAttClasses" style="width: 100%" type="text" /> |
|
| 293 |
</td> |
|
| 294 |
<td> |
|
| 295 |
</td> |
|
| 296 |
<td valign="top"> |
|
| 297 |
<span fcklang="DlgGenTitle">Advisory Title</span><br /> |
|
| 298 |
<input id="txtAttTitle" style="width: 100%" type="text" /> |
|
| 299 |
</td> |
|
| 300 |
</tr> |
|
| 301 |
</table> |
|
| 302 |
<span fcklang="DlgGenStyle">Style</span><br /> |
|
| 303 |
<input id="txtAttStyle" style="width: 100%" type="text" /> |
|
| 304 |
</div> |
|
| 305 |
</body> |
|
| 306 |
</html> |
|
| 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-2010 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 |
* Image Properties dialog window. |
|
| 23 |
--> |
|
| 24 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
|
| 25 |
<head> |
|
| 26 |
<title>Image 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 src="fck_image/fck_image.js" type="text/javascript"></script> |
|
| 31 |
<script type="text/javascript"> |
|
| 32 |
|
|
| 33 |
document.write( FCKTools.GetStyleHtml( GetCommonDialogCss() ) ) ; |
|
| 34 |
|
|
| 35 |
</script> |
|
| 36 |
</head> |
|
| 37 |
<body scroll="no" style="overflow: hidden"> |
|
| 38 |
<div id="divInfo"> |
|
| 39 |
<table cellspacing="1" cellpadding="1" border="0" width="100%" height="100%"> |
|
| 40 |
<tr> |
|
| 41 |
<td> |
|
| 42 |
<table cellspacing="0" cellpadding="0" width="100%" border="0"> |
|
| 43 |
<tr> |
|
| 44 |
<td width="100%"> |
|
| 45 |
<span fcklang="DlgImgURL">URL</span> |
|
| 46 |
</td> |
|
| 47 |
<td id="tdBrowse" style="display: none" nowrap="nowrap" rowspan="2"> |
|
| 48 |
|
|
| 49 |
<input id="btnBrowse" onclick="BrowseServer();" type="button" value="Browse Server" |
|
| 50 |
fcklang="DlgBtnBrowseServer" /> |
|
| 51 |
</td> |
|
| 52 |
</tr> |
|
| 53 |
<tr> |
|
| 54 |
<td valign="top"> |
|
| 55 |
<input id="txtUrl" style="width: 100%" type="text" onblur="UpdatePreview();" /> |
|
| 56 |
</td> |
|
| 57 |
</tr> |
|
| 58 |
</table> |
|
| 59 |
</td> |
|
| 60 |
</tr> |
|
| 61 |
<tr> |
|
| 62 |
<td> |
|
| 63 |
<span fcklang="DlgImgAlt">Short Description</span><br /> |
|
| 64 |
<input id="txtAlt" style="width: 100%" type="text" /><br /> |
|
| 65 |
</td> |
|
| 66 |
</tr> |
|
| 67 |
<tr height="100%"> |
|
| 68 |
<td valign="top"> |
|
| 69 |
<table cellspacing="0" cellpadding="0" width="100%" border="0" height="100%"> |
|
| 70 |
<tr> |
|
| 71 |
<td valign="top"> |
|
| 72 |
<br /> |
|
| 73 |
<table cellspacing="0" cellpadding="0" border="0"> |
|
| 74 |
<tr> |
|
| 75 |
<td nowrap="nowrap"> |
|
| 76 |
<span fcklang="DlgImgWidth">Width</span> </td> |
|
| 77 |
<td> |
|
| 78 |
<input type="text" size="3" id="txtWidth" onkeyup="OnSizeChanged('Width',this.value);" /></td>
|
|
| 79 |
<td rowspan="2"> |
|
| 80 |
<div id="btnLockSizes" class="BtnLocked" onmouseover="this.className = (bLockRatio ? 'BtnLocked' : 'BtnUnlocked' ) + ' BtnOver';" |
|
| 81 |
onmouseout="this.className = (bLockRatio ? 'BtnLocked' : 'BtnUnlocked' );" title="Lock Sizes" |
|
| 82 |
onclick="SwitchLock(this);"> |
|
| 83 |
</div> |
|
| 84 |
</td> |
|
| 85 |
<td rowspan="2"> |
|
| 86 |
<div id="btnResetSize" class="BtnReset" onmouseover="this.className='BtnReset BtnOver';" |
|
| 87 |
onmouseout="this.className='BtnReset';" title="Reset Size" onclick="ResetSizes();"> |
|
| 88 |
</div> |
|
| 89 |
</td> |
|
| 90 |
</tr> |
|
| 91 |
<tr> |
|
| 92 |
<td nowrap="nowrap"> |
|
| 93 |
<span fcklang="DlgImgHeight">Height</span> </td> |
|
| 94 |
<td> |
|
| 95 |
<input type="text" size="3" id="txtHeight" onkeyup="OnSizeChanged('Height',this.value);" /></td>
|
|
| 96 |
</tr> |
|
| 97 |
</table> |
|
| 98 |
<br /> |
|
| 99 |
<table cellspacing="0" cellpadding="0" border="0"> |
|
| 100 |
<tr> |
|
| 101 |
<td nowrap="nowrap"> |
|
| 102 |
<span fcklang="DlgImgBorder">Border</span> </td> |
|
| 103 |
<td> |
|
| 104 |
<input type="text" size="2" value="" id="txtBorder" onkeyup="UpdatePreview();" /></td> |
|
| 105 |
</tr> |
|
| 106 |
<tr> |
|
| 107 |
<td nowrap="nowrap"> |
|
| 108 |
<span fcklang="DlgImgHSpace">HSpace</span> </td> |
|
| 109 |
<td> |
|
| 110 |
<input type="text" size="2" id="txtHSpace" onkeyup="UpdatePreview();" /></td> |
|
| 111 |
</tr> |
|
| 112 |
<tr> |
|
| 113 |
<td nowrap="nowrap"> |
|
| 114 |
<span fcklang="DlgImgVSpace">VSpace</span> </td> |
|
| 115 |
<td> |
|
| 116 |
<input type="text" size="2" id="txtVSpace" onkeyup="UpdatePreview();" /></td> |
|
| 117 |
</tr> |
|
| 118 |
<tr> |
|
| 119 |
<td nowrap="nowrap"> |
|
| 120 |
<span fcklang="DlgImgAlign">Align</span> </td> |
|
| 121 |
<td> |
|
| 122 |
<select id="cmbAlign" onchange="UpdatePreview();"> |
|
| 123 |
<option value="" selected="selected"></option> |
|
| 124 |
<option fcklang="DlgImgAlignLeft" value="left">Left</option> |
|
| 125 |
<option fcklang="DlgImgAlignAbsBottom" value="absBottom">Abs Bottom</option> |
|
| 126 |
<option fcklang="DlgImgAlignAbsMiddle" value="absMiddle">Abs Middle</option> |
|
| 127 |
<option fcklang="DlgImgAlignBaseline" value="baseline">Baseline</option> |
|
| 128 |
<option fcklang="DlgImgAlignBottom" value="bottom">Bottom</option> |
|
| 129 |
<option fcklang="DlgImgAlignMiddle" value="middle">Middle</option> |
|
| 130 |
<option fcklang="DlgImgAlignRight" value="right">Right</option> |
|
| 131 |
<option fcklang="DlgImgAlignTextTop" value="textTop">Text Top</option> |
|
| 132 |
<option fcklang="DlgImgAlignTop" value="top">Top</option> |
|
| 133 |
</select> |
|
| 134 |
</td> |
|
| 135 |
</tr> |
|
| 136 |
</table> |
|
| 137 |
</td> |
|
| 138 |
<td> |
|
| 139 |
</td> |
|
| 140 |
<td width="100%" valign="top"> |
|
| 141 |
<table cellpadding="0" cellspacing="0" width="100%" style="table-layout: fixed"> |
|
| 142 |
<tr> |
|
| 143 |
<td> |
|
| 144 |
<span fcklang="DlgImgPreview">Preview</span></td> |
|
| 145 |
</tr> |
|
| 146 |
<tr> |
|
| 147 |
<td valign="top"> |
|
| 148 |
<iframe class="ImagePreviewArea" src="fck_image/fck_image_preview.html" frameborder="0" |
|
| 149 |
marginheight="0" marginwidth="0"></iframe> |
|
| 150 |
</td> |
|
| 151 |
</tr> |
|
| 152 |
</table> |
|
| 153 |
</td> |
|
| 154 |
</tr> |
|
| 155 |
</table> |
|
| 156 |
</td> |
|
| 157 |
</tr> |
|
| 158 |
</table> |
|
| 159 |
</div> |
|
| 160 |
<div id="divUpload" style="display: none"> |
|
| 161 |
<form id="frmUpload" method="post" target="UploadWindow" enctype="multipart/form-data" |
|
| 162 |
action="" onsubmit="return CheckUpload();"> |
|
| 163 |
<span fcklang="DlgLnkUpload">Upload</span><br /> |
|
| 164 |
<input id="txtUploadFile" style="width: 100%" type="file" size="40" name="NewFile" /><br /> |
|
| 165 |
<br /> |
|
| 166 |
<input id="btnUpload" type="submit" value="Send it to the Server" fcklang="DlgLnkBtnUpload" /> |
|
| 167 |
<script type="text/javascript"> |
|
| 168 |
document.write( '<iframe name="UploadWindow" style="display: none" src="' + FCKTools.GetVoidUrl() + '"><\/iframe>' ) ; |
|
| 169 |
</script> |
|
| 170 |
</form> |
|
| 171 |
</div> |
|
| 172 |
<div id="divLink" style="display: none"> |
|
| 173 |
<table cellspacing="1" cellpadding="1" border="0" width="100%"> |
|
| 174 |
<tr> |
|
| 175 |
<td style="width: 100%" colspan="2"> |
|
| 176 |
<div valign="middle"> |
|
| 177 |
<span fcklang="DlgLnkURL">URL</span><br /> |
|
| 178 |
<input id="txtLnkUrl" style="width: 100%" type="text" onblur="UpdatePreview();" /> |
|
| 179 |
</div> |
|
| 180 |
</td> |
|
| 181 |
<td> |
|
| 182 |
<div id="divLnkBrowseServer" align="right"> |
|
| 183 |
<span> </span><br /> |
|
| 184 |
<input type="button" value="Browse Server" fcklang="DlgBtnBrowseServer" onclick="LnkBrowseServer();" /> |
|
| 185 |
</div> |
|
| 186 |
</td> |
|
| 187 |
</tr> |
|
| 188 |
<tr> |
|
| 189 |
<td> |
|
| 190 |
<div> |
|
| 191 |
<span fcklang="DlgLnkTarget">Target</span><br /> |
|
| 192 |
<select id="cmbLnkTarget"> |
|
| 193 |
<option value="" fcklang="DlgGenNotSet" selected="selected"><not set></option> |
|
| 194 |
<option value="_blank" fcklang="DlgLnkTargetBlank">New Window (_blank)</option> |
|
| 195 |
<option value="_top" fcklang="DlgLnkTargetTop">Topmost Window (_top)</option> |
|
| 196 |
<option value="_self" fcklang="DlgLnkTargetSelf">Same Window (_self)</option> |
|
| 197 |
<option value="_parent" fcklang="DlgLnkTargetParent">Parent Window (_parent)</option> |
|
| 198 |
</select> |
|
| 199 |
</div> |
|
| 200 |
</td> |
|
| 201 |
</tr> |
|
| 202 |
<tr> |
|
| 203 |
<td colspan="3"> </td> |
|
| 204 |
</tr> |
|
| 205 |
<tr> |
|
| 206 |
<td nowrap="nowrap"> |
|
| 207 |
<span fckLang="DlgGenContRel">Advisory Relation</span><br /> |
|
| 208 |
<select id="cmbLnkContentRel" style="width: 100%"> |
|
| 209 |
<option value="" fckLang="DlgGenNotSet" selected><not set></option> |
|
| 210 |
<option value="cslide" fckLang="cSlide">cslide</option> |
|
| 211 |
<option value="gal" fckLang="gal">nyroModal</option> |
|
| 212 |
<option value="csingle" fckLang="cSingle">csingle</option> |
|
| 213 |
<option value="group1" fckLang="group1">Group1</option> |
|
| 214 |
<option value="fancybox" fckLang="Fancybox">Fancybox</option> |
|
| 215 |
<option value="colorbox" fckLang="Colorbox">Colorbox</option> |
|
| 216 |
<option value="prettyPhoto" fckLang="PrettyPhoto">PrettyPhoto</option> |
|
| 217 |
<option value="alternate" fckLang="Alternate">Alternate</option> |
|
| 218 |
<option value="copyright" fckLang="copyright">Copyright</option> |
|
| 219 |
<option value="designates" fckLang="designates">Designates</option> |
|
| 220 |
<option value="nofollow" fckLang="nofollow">Nofollow</option> |
|
| 221 |
<option value="lightbox" fckLang="Lightbox">Lightbox</option> |
|
| 222 |
<option value="stylesheet" fckLang="stylesheet">Stylesheet</option> |
|
| 223 |
<option value="thumbnail" fckLang="Thumbnail">Thumbnail</option> |
|
| 224 |
</select> |
|
| 225 |
</td> |
|
| 226 |
<td> |
|
| 227 |
<span fckLang="DlgGenLinkCharset">Linked Resource Charset</span><br /> |
|
| 228 |
<input id="txtLnkCharSet" style="WIDTH: 100%" type="text" /> |
|
| 229 |
</td> |
|
| 230 |
<td width="60%"> |
|
| 231 |
<span fckLang="DlgGenLangCode">Language Code</span><br /> |
|
| 232 |
<input id="txtLnkLangCode" style="WIDTH: 100%" type="text" /> |
|
| 233 |
</td> |
|
| 234 |
</tr> |
|
| 235 |
<tr> |
|
| 236 |
<td colspan="3"> </td> |
|
| 237 |
</tr> |
|
| 238 |
<tr> |
|
| 239 |
<td valign="top" width="50%"> |
|
| 240 |
<span fcklang="DlgGenId">Id</span><br /> |
|
| 241 |
<input id="txtLnkId" style="width: 100%" type="text" /> |
|
| 242 |
</td> |
|
| 243 |
<td valign="top" colspan="2"> |
|
| 244 |
<span fckLang="DlgGenClass">Stylesheet Classes</span><br /> |
|
| 245 |
<input id="txtLnkClasses" style="WIDTH: 100%" type="text" /> |
|
| 246 |
</td> |
|
| 247 |
<td> </td> |
|
| 248 |
</tr> |
|
| 249 |
<tr> |
|
| 250 |
<td colspan="3"> |
|
| 251 |
<span fckLang="DlgGenStyle">Style</span><br /> |
|
| 252 |
<input id="txtLnkStyle" style="WIDTH: 100%" type="text" /> |
|
| 253 |
</td> |
|
| 254 |
</tr> |
|
| 255 |
<tr> |
|
| 256 |
<td colspan="3"> </td> |
|
| 257 |
</tr> |
|
| 258 |
<tr> |
|
| 259 |
<td colspan="3"> |
|
| 260 |
<span fckLang="DlgGenTitle">Advisory Title</span><br /> |
|
| 261 |
<input id="txtLnkTitle" style="WIDTH: 100%" type="text" /> |
|
| 262 |
</td> |
|
| 263 |
</tr> |
|
| 264 |
|
|
| 265 |
</table> |
|
| 266 |
</div> |
|
| 267 |
|
|
| 268 |
<div id="divAdvanced" style="display: none"> |
|
| 269 |
<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0"> |
|
| 270 |
<tr> |
|
| 271 |
<td valign="top" width="50%"> |
|
| 272 |
<span fcklang="DlgGenId">Id</span><br /> |
|
| 273 |
<input id="txtAttId" style="width: 100%" type="text" /> |
|
| 274 |
</td> |
|
| 275 |
<td width="1"> |
|
| 276 |
</td> |
|
| 277 |
<td valign="top"> |
|
| 278 |
<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0"> |
|
| 279 |
<tr> |
|
| 280 |
<td width="60%"> |
|
| 281 |
<span fcklang="DlgGenLangDir">Language Direction</span><br /> |
|
| 282 |
<select id="cmbAttLangDir" style="width: 100%"> |
|
| 283 |
<option value="" fcklang="DlgGenNotSet" selected="selected"><not set></option> |
|
| 284 |
<option value="ltr" fcklang="DlgGenLangDirLtr">Left to Right (LTR)</option> |
|
| 285 |
<option value="rtl" fcklang="DlgGenLangDirRtl">Right to Left (RTL)</option> |
|
| 286 |
</select> |
|
| 287 |
</td> |
|
| 288 |
<td width="1%"> |
|
| 289 |
</td> |
|
| 290 |
<td nowrap="nowrap"> |
|
| 291 |
<span fcklang="DlgGenLangCode">Language Code</span><br /> |
|
| 292 |
<input id="txtAttLangCode" style="width: 100%" type="text" /> |
|
| 293 |
</td> |
|
| 294 |
</tr> |
|
| 295 |
</table> |
|
| 296 |
</td> |
|
| 297 |
</tr> |
|
| 298 |
<tr> |
|
| 299 |
<td colspan="3"> |
|
| 300 |
</td> |
|
| 301 |
</tr> |
|
| 302 |
<tr> |
|
| 303 |
<td colspan="3"> |
|
| 304 |
<span fcklang="DlgGenLongDescr">Long Description URL</span><br /> |
|
| 305 |
<input id="txtLongDesc" style="width: 100%" type="text" /> |
|
| 306 |
</td> |
|
| 307 |
</tr> |
|
| 308 |
<tr> |
|
| 309 |
<td colspan="3"> |
|
| 310 |
</td> |
|
| 311 |
</tr> |
|
| 312 |
<tr> |
|
| 313 |
<td valign="top"> |
|
| 314 |
<span fcklang="DlgGenClass">Stylesheet Classes</span><br /> |
|
| 315 |
<input id="txtAttClasses" style="width: 100%" type="text" /> |
|
| 316 |
</td> |
|
| 317 |
</tr> |
|
| 318 |
<tr> |
|
| 319 |
<td colspan="3"> |
|
| 320 |
</td> |
|
| 321 |
</tr> |
|
| 322 |
<tr> |
|
| 323 |
<td colspan="3"> |
|
| 324 |
<span fcklang="DlgGenStyle">Style</span><br /> |
|
| 325 |
<input id="txtAttStyle" style="width: 100%" type="text" /> |
|
| 326 |
</td> |
|
| 327 |
</tr> |
|
| 328 |
<tr> |
|
| 329 |
<td colspan="3"> |
|
| 330 |
</td> |
|
| 331 |
</tr> |
|
| 332 |
<tr> |
|
| 333 |
<td colspan="3"> |
|
| 334 |
<span fcklang="DlgGenTitle">Advisory Title</span><br /> |
|
| 335 |
<input id="txtAttTitle" style="width: 100%" type="text" /> |
|
| 336 |
</td> |
|
| 337 |
</tr> |
|
| 338 |
</table> |
|
| 339 |
</div> |
|
| 340 |
</body> |
|
| 341 |
</html> |
|
| branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/dialog/fck_link/fck_link.js | ||
|---|---|---|
| 466 | 466 |
} |
| 467 | 467 |
} |
| 468 | 468 |
|
| 469 |
var sLnkRel = GetE('cmbAttContentRel').value.Trim() ;
|
|
| 470 |
if ( (sLnkRel.length == 0) && (oLink.rel.lenght != 0) ) // Modifying an existent rel. |
|
| 471 |
{
|
|
| 472 |
sLnkRel = oLink.rel; |
|
| 473 |
} |
|
| 474 |
|
|
| 475 |
var sLinkRel = GetE('cmbAttContentRel');
|
|
| 476 |
|
|
| 477 |
if ( sLinkRel.lenght == null ) |
|
| 478 |
{
|
|
| 479 |
var myselect = document.getElementById("cmbAttContentRel")
|
|
| 480 |
var found = false; |
|
| 481 |
|
|
| 482 |
for (var i=0; i < myselect.options.length; i++) |
|
| 483 |
{
|
|
| 484 |
if (myselect.options[i].value == oLink.rel) |
|
| 485 |
{
|
|
| 486 |
found = true; |
|
| 487 |
break; |
|
| 488 |
} |
|
| 489 |
} |
|
| 490 |
|
|
| 491 |
if ( found == false ) |
|
| 492 |
{
|
|
| 493 |
try {
|
|
| 494 |
myselect.add(new Option(oLink.rel, oLink.rel,true ), myselect.options[1]) //add new option to beginning of "cmbAttContentRel" |
|
| 495 |
} |
|
| 496 |
catch(e) { //in IE, try the below version instead of add()
|
|
| 497 |
myselect.add(new Option( oLink.rel, oLink.rel,true ),1 ) //add new option to beginning of "cmbAttContentRel" |
|
| 498 |
//myselect.options[1].selected=true; |
|
| 499 |
} |
|
| 500 |
} |
|
| 501 |
} |
|
| 502 |
|
|
| 469 | 503 |
// Get Advances Attributes |
| 470 | 504 |
GetE('txtAttId').value = oLink.id ;
|
| 471 | 505 |
GetE('txtAttName').value = oLink.name ;
|
| ... | ... | |
| 475 | 509 |
GetE('txtAttTabIndex').value = oLink.tabIndex <= 0 ? '' : oLink.tabIndex ;
|
| 476 | 510 |
GetE('txtAttTitle').value = oLink.title ;
|
Also available in: Unified diff
update rel handling FCKeditor for urls