亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? fckconfig.js

?? 強大的個人日志系統,界面華麗
?? JS
字號:
?/*
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
 *
 * == BEGIN LICENSE ==
 *
 * Licensed under the terms of any of the following licenses at your
 * choice:
 *
 *  - GNU General Public License Version 2 or later (the "GPL")
 *    http://www.gnu.org/licenses/gpl.html
 *
 *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
 *    http://www.gnu.org/licenses/lgpl.html
 *
 *  - Mozilla Public License Version 1.1 or later (the "MPL")
 *    http://www.mozilla.org/MPL/MPL-1.1.html
 *
 * == END LICENSE ==
 *
 * Creates and initializes the FCKConfig object.
 */

var FCKConfig = FCK.Config = new Object() ;

/*
	For the next major version (probably 3.0) we should move all this stuff to
	another dedicated object and leave FCKConfig as a holder object for settings only).
*/

// Editor Base Path
if ( document.location.protocol == 'file:' )
{
	FCKConfig.BasePath = decodeURIComponent( document.location.pathname.substr(1) ) ;
	FCKConfig.BasePath = FCKConfig.BasePath.replace( /\\/gi, '/' ) ;

	// The way to address local files is different according to the OS.
	// In Windows it is file:// but in MacOs it is file:/// so let's get it automatically
	var sFullProtocol = document.location.href.match( /^(file\:\/{2,3})/ )[1] ;
	// #945 Opera does strange things with files loaded from the disk, and it fails in Mac to load xml files
	if ( FCKBrowserInfo.IsOpera )
		sFullProtocol += 'localhost/' ;

	FCKConfig.BasePath = sFullProtocol + FCKConfig.BasePath.substring( 0, FCKConfig.BasePath.lastIndexOf( '/' ) + 1) ;
}
else
	FCKConfig.BasePath = document.location.protocol + '//' + document.location.host +
		document.location.pathname.substring( 0, document.location.pathname.lastIndexOf( '/' ) + 1) ;

FCKConfig.FullBasePath = FCKConfig.BasePath ;

FCKConfig.EditorPath = FCKConfig.BasePath.replace( /editor\/$/, '' ) ;

// There is a bug in Gecko. If the editor is hidden on startup, an error is
// thrown when trying to get the screen dimensions.
try
{
	FCKConfig.ScreenWidth	= screen.width ;
	FCKConfig.ScreenHeight	= screen.height ;
}
catch (e)
{
	FCKConfig.ScreenWidth	= 800 ;
	FCKConfig.ScreenHeight	= 600 ;
}

// Override the actual configuration values with the values passed throw the
// hidden field "<InstanceName>___Config".
FCKConfig.ProcessHiddenField = function()
{
	this.PageConfig = new Object() ;

	// Get the hidden field.
	var oConfigField = window.parent.document.getElementById( FCK.Name + '___Config' ) ;

	// Do nothing if the config field was not defined.
	if ( ! oConfigField ) return ;

	var aCouples = oConfigField.value.split('&') ;

	for ( var i = 0 ; i < aCouples.length ; i++ )
	{
		if ( aCouples[i].length == 0 )
			continue ;

		var aConfig = aCouples[i].split( '=' ) ;
		var sKey = decodeURIComponent( aConfig[0] ) ;
		var sVal = decodeURIComponent( aConfig[1] ) ;

		if ( sKey == 'CustomConfigurationsPath' )	// The Custom Config File path must be loaded immediately.
			FCKConfig[ sKey ] = sVal ;

		else if ( sVal.toLowerCase() == "true" )	// If it is a boolean TRUE.
			this.PageConfig[ sKey ] = true ;

		else if ( sVal.toLowerCase() == "false" )	// If it is a boolean FALSE.
			this.PageConfig[ sKey ] = false ;

		else if ( sVal.length > 0 && !isNaN( sVal ) )	// If it is a number.
			this.PageConfig[ sKey ] = parseInt( sVal, 10 ) ;

		else										// In any other case it is a string.
			this.PageConfig[ sKey ] = sVal ;
	}
}

function FCKConfig_LoadPageConfig()
{
	var oPageConfig = FCKConfig.PageConfig ;
	for ( var sKey in oPageConfig )
		FCKConfig[ sKey ] = oPageConfig[ sKey ] ;
}

function FCKConfig_PreProcess()
{
	var oConfig = FCKConfig ;

	// Force debug mode if fckdebug=true in the QueryString (main page).
	if ( oConfig.AllowQueryStringDebug )
	{
		try
		{
			if ( (/fckdebug=true/i).test( window.top.location.search ) )
				oConfig.Debug = true ;
		}
		catch (e) { /* Ignore it. Much probably we are inside a FRAME where the "top" is in another domain (security error). */ }
	}

	// Certifies that the "PluginsPath" configuration ends with a slash.
	if ( !oConfig.PluginsPath.EndsWith('/') )
		oConfig.PluginsPath += '/' ;

	// If no ToolbarComboPreviewCSS, point it to EditorAreaCSS.
	var sComboPreviewCSS = oConfig.ToolbarComboPreviewCSS ;
	if ( !sComboPreviewCSS || sComboPreviewCSS.length == 0 )
		oConfig.ToolbarComboPreviewCSS = oConfig.EditorAreaCSS ;

	// Turn the attributes that will be removed in the RemoveFormat from a string to an array
	oConfig.RemoveAttributesArray = (oConfig.RemoveAttributes || '').split( ',' );

	if ( !FCKConfig.SkinEditorCSS || FCKConfig.SkinEditorCSS.length == 0 )
		FCKConfig.SkinEditorCSS = FCKConfig.SkinPath + 'fck_editor.css' ;

	if ( !FCKConfig.SkinDialogCSS || FCKConfig.SkinDialogCSS.length == 0 )
		FCKConfig.SkinDialogCSS = FCKConfig.SkinPath + 'fck_dialog.css' ;
}

// Define toolbar sets collection.
FCKConfig.ToolbarSets = new Object() ;

// Defines the plugins collection.
FCKConfig.Plugins = new Object() ;
FCKConfig.Plugins.Items = new Array() ;

FCKConfig.Plugins.Add = function( name, langs, path )
{
	FCKConfig.Plugins.Items.AddItem( [name, langs, path] ) ;
}

// FCKConfig.ProtectedSource: object that holds a collection of Regular
// Expressions that defined parts of the raw HTML that must remain untouched
// like custom tags, scripts, server side code, etc...
FCKConfig.ProtectedSource = new Object() ;

// Generates a string used to identify and locate the Protected Tags comments.
FCKConfig.ProtectedSource._CodeTag = (new Date()).valueOf() ;

// Initialize the regex array with the default ones.
FCKConfig.ProtectedSource.RegexEntries = [
	// First of any other protection, we must protect all comments to avoid
	// loosing them (of course, IE related).
	/<!--[\s\S]*?-->/g ,

	// Script tags will also be forced to be protected, otherwise IE will execute them.
	/<script[\s\S]*?<\/script>/gi,

	// <noscript> tags (get lost in IE and messed up in FF).
	/<noscript[\s\S]*?<\/noscript>/gi
] ;

FCKConfig.ProtectedSource.Add = function( regexPattern )
{
	this.RegexEntries.AddItem( regexPattern ) ;
}

FCKConfig.ProtectedSource.Protect = function( html )
{
	var codeTag = this._CodeTag ;
	function _Replace( protectedSource )
	{
		var index = FCKTempBin.AddElement( protectedSource ) ;
		return '<!--{' + codeTag + index + '}-->' ;
	}

	for ( var i = 0 ; i < this.RegexEntries.length ; i++ )
	{
		html = html.replace( this.RegexEntries[i], _Replace ) ;
	}

	return html ;
}

FCKConfig.ProtectedSource.Revert = function( html, clearBin )
{
	function _Replace( m, opener, index )
	{
		var protectedValue = clearBin ? FCKTempBin.RemoveElement( index ) : FCKTempBin.Elements[ index ] ;
		// There could be protected source inside another one.
		return FCKConfig.ProtectedSource.Revert( protectedValue, clearBin ) ;
	}

	var regex = new RegExp( "(<|&lt;)!--\\{" + this._CodeTag + "(\\d+)\\}--(>|&gt;)", "g" ) ;
	return html.replace( regex, _Replace ) ;
}

// Returns a string with the attributes that must be appended to the body
FCKConfig.GetBodyAttributes = function()
{
	var bodyAttributes = '' ;
	// Add id and class to the body.
	if ( this.BodyId && this.BodyId.length > 0 )
		bodyAttributes += ' id="' + this.BodyId + '"' ;
	if ( this.BodyClass && this.BodyClass.length > 0 )
		bodyAttributes += ' class="' + this.BodyClass + '"' ;

	return bodyAttributes ;
}

// Sets the body attributes directly on the node
FCKConfig.ApplyBodyAttributes = function( oBody )
{
	// Add ID and Class to the body
	if ( this.BodyId && this.BodyId.length > 0 )
		oBody.id = FCKConfig.BodyId ;
	if ( this.BodyClass && this.BodyClass.length > 0 )
		oBody.className += ' ' + FCKConfig.BodyClass ;
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日本久久一区二区三区| 日韩午夜激情av| 91在线视频观看| 丁香桃色午夜亚洲一区二区三区| 国产一区二区三区不卡在线观看| 美女脱光内衣内裤视频久久网站 | 卡一卡二国产精品| 免费在线视频一区| 久久不见久久见中文字幕免费| 日本欧美一区二区在线观看| 蜜臀av一区二区在线免费观看| 秋霞av亚洲一区二区三| 久久激情五月激情| 国产精品一区二区果冻传媒| 国产91精品在线观看| av在线不卡免费看| 欧美视频在线一区二区三区| 91精品国产手机| 精品国产一区二区在线观看| 久久久影院官网| 国产精品久久久久久久第一福利| 亚洲欧美日韩精品久久久久| 亚洲国产va精品久久久不卡综合| 日韩av电影天堂| 国产一区二区调教| 成人av在线影院| 91电影在线观看| 7777精品久久久大香线蕉| 精品日韩在线观看| 中文天堂在线一区| 亚洲一卡二卡三卡四卡无卡久久 | 午夜精品久久久久久久久久久 | 蜜臀久久久99精品久久久久久| 国产精品综合一区二区三区| 99热99精品| 制服丝袜日韩国产| 久久久不卡影院| 亚洲国产精品麻豆| 国产资源在线一区| 色吊一区二区三区| 欧美成人一级视频| 亚洲特黄一级片| 青草av.久久免费一区| 国产成人啪免费观看软件| 91免费在线播放| 欧美一二三四区在线| 中文字幕一区三区| 日本女优在线视频一区二区| 成人天堂资源www在线| 欧美美女网站色| 国产欧美日韩三级| 香蕉久久一区二区不卡无毒影院| 国产又黄又大久久| 欧美日韩精品免费观看视频| 久久伊人中文字幕| 亚洲va欧美va人人爽午夜 | 精品国产乱码久久久久久1区2区| 国产精品久久久久一区二区三区| 天天色图综合网| av一区二区三区黑人| 精品日韩一区二区| 午夜精品久久久久久不卡8050| 国产成人免费av在线| 欧美猛男超大videosgay| 国产精品久久久久久妇女6080| 奇米影视7777精品一区二区| 在线看国产一区| 国产女主播在线一区二区| 日韩激情视频在线观看| 色综合色狠狠天天综合色| 久久久久97国产精华液好用吗| 日韩国产精品91| 欧洲一区二区三区免费视频| 国产精品伦理在线| 蜜臀久久久久久久| 在线观看日韩高清av| 国产精品美女视频| 国产成人久久精品77777最新版本 国产成人鲁色资源国产91色综 | 国产不卡视频在线播放| 日韩亚洲欧美综合| 亚洲成人第一页| 91国内精品野花午夜精品 | 国产91精品露脸国语对白| 日韩女优电影在线观看| 日韩黄色免费网站| 在线免费观看不卡av| 亚洲精选在线视频| 成人动漫av在线| 国产欧美一区二区精品性色超碰 | 欧美一区二区观看视频| 性做久久久久久免费观看| 欧美性大战久久久久久久| 亚洲色欲色欲www| 不卡高清视频专区| 日本一区二区三区国色天香 | 夜夜精品视频一区二区 | 亚洲女同一区二区| 91丨九色porny丨蝌蚪| 国产精品国产三级国产| 成人免费电影视频| 国产精品成人一区二区艾草| www.欧美色图| 亚洲图片欧美激情| 色综合一区二区三区| 亚洲人成亚洲人成在线观看图片| 波多野结衣在线一区| 国产精品家庭影院| 色噜噜狠狠成人中文综合| 亚洲狼人国产精品| 欧美日韩一区二区在线观看视频| 亚洲国产日日夜夜| 欧美精三区欧美精三区| 日本伊人色综合网| 欧美成人国产一区二区| 国产麻豆成人传媒免费观看| 久久精品欧美一区二区三区不卡 | 欧美电视剧在线观看完整版| 久久av资源站| 国产日韩欧美一区二区三区乱码| 国产91精品在线观看| 中文字幕人成不卡一区| 色视频成人在线观看免| 亚洲成人一区在线| 日韩欧美激情在线| 国产一区二区三区精品视频| 国产精品入口麻豆原神| 一本大道综合伊人精品热热 | 欧美日本高清视频在线观看| 日本大胆欧美人术艺术动态| 精品黑人一区二区三区久久| 国产成人在线视频网址| 亚洲欧美韩国综合色| 欧美日韩精品是欧美日韩精品| 裸体一区二区三区| 中文字幕免费一区| 欧美亚洲动漫另类| 国产一区二区成人久久免费影院| 国产精品久久久一本精品 | 久久久亚洲高清| 色呦呦日韩精品| 麻豆精品国产传媒mv男同| 国产精品高潮久久久久无| 欧美日韩在线精品一区二区三区激情| 日韩激情中文字幕| 国产精品大尺度| 欧美一区二区三区色| 大胆亚洲人体视频| 性欧美大战久久久久久久久| 久久九九久久九九| 在线亚洲一区二区| 国产综合成人久久大片91| 亚洲综合久久久| 久久色视频免费观看| 在线视频国内一区二区| 国产麻豆成人传媒免费观看| 亚洲va中文字幕| 中文字幕中文字幕在线一区| 欧美日韩美少妇| av在线综合网| 精品综合免费视频观看| 亚洲精品你懂的| 欧美激情艳妇裸体舞| 欧美一区二区福利视频| 日本韩国欧美在线| 国产精品18久久久久久久久| 午夜精品一区二区三区免费视频| 国产精品乱码一区二区三区软件| 欧美一区二区三区白人| 色偷偷久久一区二区三区| 国内欧美视频一区二区| 五月婷婷激情综合| 国产精品久线观看视频| 欧美mv和日韩mv国产网站| 欧洲精品一区二区| av在线不卡免费看| 国产精品一区免费视频| 日本不卡视频在线观看| 亚洲综合色区另类av| 国产精品全国免费观看高清 | 欧美一个色资源| 欧美日韩黄色影视| 色综合视频一区二区三区高清| 国产成人亚洲综合色影视| 精品亚洲porn| 奇米色777欧美一区二区| 亚洲chinese男男1069| 一区二区理论电影在线观看| 国产精品网曝门| 国产日韩精品一区| 欧美www视频| 制服丝袜日韩国产| 911精品国产一区二区在线| 欧美在线高清视频| 色综合天天综合网国产成人综合天| 国产精品一区二区你懂的| 国产在线精品一区二区三区不卡| 蜜桃视频一区二区三区在线观看| 视频一区二区三区在线| 偷拍与自拍一区| 日韩成人av影视|