<% '**************************************************************************************** '** Copyright Notice '** '** Web Wiz Guide - Web Wiz Rich Text Editor '** http://www.richtexteditor.org '** '** Copyright 2002-2005 Bruce Corkhill All Rights Reserved. '** '** This program is free software; you can modify (at your own risk) any part of it '** under the terms of the License that accompanies this software and use it both '** privately and commercially. '** '** All copyright notices must remain in tacked in the scripts and the '** outputted HTML. '** '** You may use parts of this program in your own private work, but you may NOT '** redistribute, repackage, or sell the whole or any part of this program even '** if it is modified or reverse engineered in whole or in part without express '** permission from the author. '** '** You may not pass the whole or any part of this application off as your own work. '** '** All links to Web Wiz Guide and powered by logo's must remain unchanged and in place '** and must remain visible when the pages are viewed unless permission is first granted '** by the copyright holder. '** '** This program is distributed in the hope that it will be useful, '** but WITHOUT ANY WARRANTY; without even the implied warranty of '** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR ANY OTHER '** WARRANTIES WHETHER EXPRESSED OR IMPLIED. '** '** You should have received a copy of the License along with this program; '** if not, write to:- Web Wiz Guide, PO Box 4982, Bournemouth, BH8 8XP, United Kingdom. '** '** '** No official support is available for this program but you may post support questions at: - '** http://www.webwizguide.info/forum '** '** Support questions are NOT answered by e-mail ever! '** '** For correspondence or non support questions contact: - '** info@webwizguide.info '** '** or at: - '** '** Web Wiz Guide, PO Box 4982, Bournemouth, BH8 8XP, United Kingdom '** '**************************************************************************************** '*************************** '**** 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 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" 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 %>