/*
 * デフォルトコンテンツビューHTML編集テキストエリアの設定
 *
 * LICENSE: This source file is licensed under the terms of the GNU General Public License.
 *
 * @package    Magic3 Framework
 * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
 * @copyright  Copyright 2006-2007 Magic3 Project.
 * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
 * @version    SVN: $Id: envManager.php 189 2007-03-30 09:25:43Z naoki $
 * @link       http://www.magic3.org
 */

FCKConfig.LinkBrowser = false ;
FCKConfig.LinkDlgHideTarget		= false ;
FCKConfig.LinkDlgHideAdvanced	= true ;
FCKConfig.LinkUpload = false ;

FCKConfig.ImageBrowser = true ;
// FCKConfig.ImageBrowserURL = /* 実行時に設定 */ ;
FCKConfig.ImageDlgHideLink		= true ;
FCKConfig.ImageDlgHideAdvanced	= true ;
FCKConfig.ImageUpload = false ;

FCKConfig.FlashBrowser = true ;
// FCKConfig.FlashBrowserURL = /* 実行時に設定 */ ;
FCKConfig.FlashDlgHideAdvanced	= false ;
FCKConfig.FlashUpload = false ;

FCKConfig.TemplateReplaceAll = false ;
FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/silver/' ;

/*
FCKConfig.Plugins.Add( 'debug_ja_table', 'ja', FCKConfig.BasePath + 'plugins/' ) ;
FCKConfig.Plugins.Add( 'simplecommands', null, FCKConfig.BasePath + 'plugins/' ) ;
FCKConfig.Plugins.Add( 'SimpleFileBrowser', 'en,ja', FCKConfig.BasePath + 'plugins/' ) ;
FCKConfig.Plugins.Add( 'ImageAdjustor', 'en,ja', FCKConfig.BasePath + 'plugins/' ) ;

FCKConfig.ToolbarSets["Sample"] = [
        ['Templates','-','Preview'],
        ['Undo','Redo'],
        ['SelectAll','RemoveFormat'],
        ['OrderedList','UnorderedList'],
        ['Table','Rule','Smiley','SpecialChar'],
        ['Link','Unlink'],
        ['Image','ImageAdjustor','Flash'],
        ['Find','Replace'],
        ['About'],
        '/',
        ['StyleSimple','FontFormatSimple','FontNameSimple','FontSizeSimple'],
        ['TextColor','BGColor'],
        ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
        ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
        ['Outdent','Indent']
] ;
   */
FCKConfig.ToolbarSets["DefaultContent"] = [
	['Source','Preview','Templates'],
	['Cut','Copy','Paste','PasteText','PasteWord','-','Print'],
	['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
	'/',
	['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
	['OrderedList','UnorderedList','-','Outdent','Indent'],
	['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
	['Link','Unlink','Anchor'],
	['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'],
	'/',
	['Style','FontFormat','FontName','FontSize'],
	['TextColor','BGColor'],
	['FitWindow','-','About']
] ;

