OK, I only want people to be able to use the Browse Server option when they click the Link dialog box.
In the fck_link.html file in editor/dialog I commented out this code:
<div id="divUpload" style="DISPLAY: none"> <form id="frmUpload" method="post" target="UploadWindow" enctype="multipart/form-data" action="" onsubmit="return CheckUpload();"> <span fckLang="DlgLnkUpload">Upload</span><br /> <input id="txtUploadFile" style="WIDTH: 100%" type="file" size="40" name="NewFile" /><br /> <br /> <input id="btnUpload" type="submit" value="Send it to the Server" fckLang="DlgLnkBtnUpload" /> <script type="text/javascript"> document.write( '<iframe name="UploadWindow" style="display: none" src="' + FCKTools.GetVoidUrl() + '"><\/iframe>' ) ; </script> </form> </div>
Re: Removing Upload Option from Link Dialog
Why don't you set FCKConfig.LinkUpload=false?
Re: Removing Upload Option from Link Dialog
I just did and while the Upload page is still blank, it still shows the page and there is no OK button at the bottom of the dialog.
Re: Removing Upload Option from Link Dialog
No tab is shown at all, if you see the tab then you are doing something wrong
Re: Removing Upload Option from Link Dialog
becomes
does not work.
To say I'm "doing something wrong" is absurd, you're talking about a simple true to false and contrary to whatever your arrogance has led you to believe, I'm not an idiot.
I would prefer if you didn't try to "help" me anymore, I found a workaround for the problem.
Re: Removing Upload Option from Link Dialog
You didn't bother to read my first reply.
I told you to set FCKConfig.LinkUpload=false, I didn't suggest to change the dialog code at all, and I just can't figure out how you have come to that conclusion
I didn't call you an idiot, you have shown it to everybody. So don't worry, I'll never try to help you again.
Re: Removing Upload Option from Link Dialog