/********************************************************************
 * openWYSIWYG settings file Copyright (c) 2006 openWebWare.com
 * Contact us at devs@openwebware.com
 * This copyright notice MUST stay intact for use.
 *
 * $Id: wysiwyg-settings.js,v 1.4 2007/01/22 23:05:57 xhaggi Exp $
 ********************************************************************/

/*
 * Full featured setup used the openImageLibrary addon
 */
var full = new WYSIWYG.Settings();
full.ImagesDir = "/editor/openwysiwyg/images/";
full.PopupsDir = "/editor/openwysiwyg/popups/";
full.CSSFile = "/editor/openwysiwyg/styles/wysiwyg.css";
full.Width = "85%"; 
full.Height = "500px";
// customize toolbar buttons
full.addToolbarElement("font", 3, 1); 
full.addToolbarElement("fontsize", 3, 2);
full.addToolbarElement("headings", 3, 3);
// openImageLibrary addon implementation
full.ImagePopupFile = "/editor/openwysiwyg/addons/imagelibrary/insert_image.php";
full.ImagePopupWidth = 600;
full.ImagePopupHeight = 245;
// Coach O changes
full.ReplaceLineBreaks = true;
full.ContextMenu = false;

/*
 * Small Setup Example
 */
var small = new WYSIWYG.Settings();
small.Width = "350px";
small.Height = "100px";
small.DefaultStyle = "font-family: Arial; font-size: 12px; background-color: #FFFFFF";
small.Toolbar[0] = new Array("font", "fontsize", "bold", "italic", "underline"); // small setup for toolbar 1
small.Toolbar[1] = ""; // disable toolbar 2
small.StatusBarEnabled = false;
// Coach O changes
small.ReplaceLineBreaks = true;
small.ContextMenu = false;

/* =========================================================================
 * Coach O modifications - Bill Haynes, bill@coacho.com
 * =========================================================================
 */

/* All Options
 * font, fontsize, bold, italic, underline, forecolor, backcolor, justifyleft,
 * justifycenter, justifyright, unorderedlist, orderedlist, outdent, indent,
 * subscript, superscript, cut, copy, paste, removeformat, undo, redo, 
 * inserttable, insertimage, createlink, separator, preview, print, viewSource,
 * help
 */

/*
 * limited, 1-line tool bar
 */
var limited = new WYSIWYG.Settings();
limited.Width = "500px";
limited.Height = "250px";
limited.DefaultStyle = "font-family: Arial; font-size: 12px; background-color: #FFFFFF";
// limited setup for toolbar 1
limited.Toolbar[0] = new Array("bold", "italic", "justifyleft", "justifycenter", "justifyright", "unorderedlist", "orderedlist", "outdent", "indent", "forecolor", "undo", "redo" ); 
limited.Toolbar[1] = ""; // disable toolbar 2
limited.StatusBarEnabled = false;
limited.ReplaceLineBreaks = true;
limited.ContextMenu = false;

/*
 * notools, 0-line tool bar
 */
var notools = new WYSIWYG.Settings();
notools.Width = "500px";
notools.Height = "250px";
notools.DefaultStyle = "font-family: Arial; font-size: 12px; background-color: #FFFFFF";
// notools setup for toolbar 1
notools.Toolbar[0] = ""; // disable toolbar 1
notools.Toolbar[1] = ""; // disable toolbar 2
notools.StatusBarEnabled = false;
notools.ReplaceLineBreaks = true;
notools.ContextMenu = false;

// EOF
