<% '**************************************************************************************** '** Copyright Notice '** '** Web Wiz Rich Text Editor '** http://www.richtexteditor.org '** '** Copyright ©2001-2007 Web Wiz. All Rights Reserved. '** '** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS UNDER LICENSE FROM 'WEB WIZ'. '** '** IF YOU DO NOT AGREE TO THE LICENSE AGREEMENT THEN 'WEB WIZ' IS UNWILLING TO LICENSE '** THE SOFTWARE TO YOU, AND YOU SHOULD DESTROY ALL COPIES YOU HOLD OF 'WEB WIZ' SOFTWARE '** AND DERIVATIVE WORKS IMMEDIATELY. '** '** If you have not received a copy of the license with this work then a copy of the latest '** license contract can be found at:- '** '** http://www.webwizguide.com/license '** '** For more information about this software and for licensing information please contact '** 'Web Wiz' at the address and website below:- '** '** Web Wiz, Unit 10E, Dawkins Road Industrial Estate, Poole, Dorset, BH15 4JD, England '** http://www.webwizguide.com '** '** Removal or modification of this copyright notice will violate the license contract. '** '**************************************************************************************** '*************************** SOFTWARE AND CODE MODIFICATIONS **************************** '** '** MODIFICATION OF THE FREE EDITIONS OF THIS SOFTWARE IS A VIOLATION OF THE LICENSE '** AGREEMENT AND IS STRICTLY PROHIBITED '** '** If you wish to modify any part of this software a license must be purchased '** '**************************************************************************************** '*************************** '**** RTE Toolbar 1 **** '*************************** 'File toolbar '------------ If blnNew OR blnOpenFile OR blnSave Then Response.Write(vbCrLf & " document.writeln('") If blnNew Then Response.Write("") 'Button Pop up for open file If blnOpenFile Then Response.Write("") 'Button Pop up for save file If blnSave Then Response.Write("") If blnNew OR blnOpenFile OR blnSave Then Response.Write("');") 'Preview, print, spell toolbar '------------ If blnPrint OR blnPreview OR blnSpellCheck OR blnHTMLView Then Response.Write(vbCrLf & " document.writeln('") If blnPrint Then Response.Write("") 'Button Pop up Preview If blnPreview Then Response.Write("") If blnPreview Then Response.Write("") 'Spell check button If blnSpellCheck AND NOT RTEenabled = "opera" Then Response.Write("") If blnHTMLView Then Response.Write("") If blnPrint OR blnPreview OR blnSpellCheck OR blnHTMLView Then Response.Write("');") 'The span tag needs to be put in to hide the other options in HTML view Response.Write(vbCrLf & " document.writeln('');") 'cut, copy, paste toolbar '------------ If blnCut OR blnCopy OR blnPaste OR blnWordPaste Then Response.Write(vbCrLf & " document.writeln('") If blnCut Then Response.Write("") If blnCopy Then Response.Write("") If blnPaste Then Response.Write("") If blnWordPaste Then Response.Write("") If blnCut OR blnCopy OR blnPaste OR blnWordPaste Then Response.Write("');") 'undo redo toolbar '------------ If blnUndo OR blnRedo Then Response.Write(vbCrLf & " document.writeln('") If blnUndo Then Response.Write("") If blnRedo Then Response.Write("") If blnUndo OR blnRedo Then Response.Write("');") 'insert toolbar '------------ If blnAdvAdddHyperlink OR blnAddHyperlink Or blnAttachments OR blnAdvAddImage OR blnAddImage OR blnInsertTable OR blnSpecialCharacters Or blnEmoticonPopUp Then Response.Write(vbCrLf & " document.writeln('") 'If advanced hyperlink is enabled have a popup link If blnAdvAdddHyperlink Then Response.Write("") 'Else have the basic hperlink adding feature ElseIf blnAddHyperlink Then Response.Write("") End If If blnAttachments Then Response.Write(" ") 'Popup window for images If blnAdvAddImage Then Response.Write("") ElseIf blnAddImage Then Response.Write("") End If 'Popup window for tables If blnInsertTable Then Response.Write("") 'Popup window for Special Characters If blnSpecialCharacters Then Response.Write("") 'Button Pop up for emoticons If blnEmoticonPopUp Then Response.Write("") If blnAdvAdddHyperlink OR blnAddHyperlink Or blnAttachments OR blnAdvAddImage OR blnAddImage OR blnInsertTable OR blnSpecialCharacters Or blnEmoticonPopUp Then Response.Write("');") 'List type and indent toolbar '------------ If blnOrderList OR blnUnOrderList OR blnOutdent OR blnIndent Or blnHorizontalRule Then Response.Write(vbCrLf & " document.writeln('") If blnOrderList Then Response.Write("") If blnUnOrderList Then Response.Write("") If blnOutdent Then Response.Write("") If blnIndent Then Response.Write("") If blnHorizontalRule Then Response.Write("") If blnOrderList OR blnUnOrderList OR blnOutdent OR blnIndent Or blnHorizontalRule Then Response.Write("');") Response.Write(vbCrLf & " document.writeln('
');") '*************************** '**** RTE Toolbar 2 **** '*************************** Response.Write(vbCrLf & " document.writeln('');") 'Toolbar buttons 'Font type toolbar '------------ If blnFontStyle OR blnFontType OR blnFontSize Then Response.Write(vbCrLf & " document.writeln('") 'Font Style If blnFontStyle Then Response.Write("") 'Font Type If blnFontType Then Response.Write("") 'Font Size If blnFontSize Then Response.Write("") If blnFontStyle OR blnFontType OR blnFontSize Then Response.Write("');") 'Font style toolbar '------------ If blnBold OR blnItalic OR blnUnderline Then Response.Write(vbCrLf & " document.writeln('") If blnBold Then Response.Write("") If blnItalic Then Response.Write("") If blnUnderline Then Response.Write("") If blnBold OR blnItalic OR blnUnderline Then Response.Write("');") 'Stikethrough, super/sub script toolbar '------------ If blnStrikeThrough OR blnSubscript OR blnSuperscript Then Response.Write(vbCrLf & " document.writeln('") If blnStrikeThrough Then Response.Write("") If blnSubscript Then Response.Write("") If blnSuperscript Then Response.Write("") If blnStrikeThrough OR blnSubscript OR blnSuperscript Then Response.Write("');") 'Font block format toolbar '------------ If blnLeftJustify OR blnCentre OR blnRightJustify OR blnFullJustify Then Response.Write(vbCrLf & " document.writeln('") If blnLeftJustify Then Response.Write("") If blnCentre Then Response.Write("") If blnRightJustify Then Response.Write("") If blnFullJustify Then Response.Write("") If blnLeftJustify OR blnCentre OR blnRightJustify OR blnFullJustify Then Response.Write("');") 'Text colour toolbar '------------ If blnTextColour OR blnTextBackgroundColour Then Response.Write(vbCrLf & " document.writeln('") If blnTextColour Then Response.Write("") If RTEenabled = "winIE" AND blnTextBackgroundColour Then Response.Write("") If (RTEenabled = "Gecko" OR RTEenabled = "opera") AND blnTextBackgroundColour Then Response.Write("") If blnTextColour OR blnTextBackgroundColour Then Response.Write("');") Response.Write(vbCrLf & " document.writeln('');") 'About toolbar '------------ If blnAbout Then 'Response.Write(vbCrLf & " document.writeln('") 'Response.Write("") 'Response.Write("');") End If %>