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

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

?? fckconfig.js

?? 這是一個BBS系統(tǒng)
?? 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一区二区三区免费野_久草精品视频
丝袜亚洲精品中文字幕一区| 久久精品人人做人人爽97| 国内一区二区视频| 日本中文字幕一区二区有限公司| 亚洲精品菠萝久久久久久久| 国产欧美综合在线| 国产精品麻豆视频| 一区二区三区不卡视频| 亚洲麻豆国产自偷在线| 亚洲国产视频直播| 蜜臀av一区二区在线观看| 国产精品主播直播| 97超碰欧美中文字幕| 欧美在线短视频| 日韩欧美亚洲另类制服综合在线 | 日韩一二在线观看| 国产视频一区二区三区在线观看| 欧美激情综合在线| 偷拍亚洲欧洲综合| 国产精品一色哟哟哟| 成人app在线观看| 欧美三级电影在线看| 欧美va日韩va| 亚洲激情六月丁香| 欧美国产精品劲爆| 亚洲欧美福利一区二区| 美腿丝袜亚洲综合| 国产一区二区在线免费观看| 色哟哟日韩精品| 久久久久久久久久久99999| 亚洲视频精选在线| 国内久久精品视频| 欧美日韩国产一区二区三区地区| 欧美大片在线观看| 亚洲不卡在线观看| 99国产精品久| 久久精品亚洲精品国产欧美kt∨| 一区二区在线免费观看| 国产一区二三区好的| 91麻豆精品91久久久久同性| 亚洲色图欧美偷拍| 成人一区二区三区| 亚洲精品在线一区二区| 五月婷婷久久丁香| 欧美日韩中文字幕一区二区| 国产精品亲子伦对白| 国产成人免费9x9x人网站视频| 91国在线观看| 亚洲激情六月丁香| 欧日韩精品视频| 久久精品国产99| 亚洲精品免费在线观看| 亚洲综合色噜噜狠狠| 国产精品综合久久| 51午夜精品国产| 午夜精品123| 日韩欧美一级片| 精品一区二区三区香蕉蜜桃 | 欧美一级生活片| 美女视频黄免费的久久 | 日本不卡视频在线| 欧美国产一区二区| 成人污污视频在线观看| 亚洲成av人片一区二区| 中文字幕欧美区| 成人性生交大片免费看视频在线 | 欧美人与z0zoxxxx视频| 亚洲男同性恋视频| 精品视频免费看| 日韩精品一二三区| 国产日韩视频一区二区三区| 波多野结衣中文字幕一区二区三区| 国产精品久久久久久久蜜臀| 一本大道久久a久久综合婷婷 | 一级日本不卡的影视| 欧美一区二区三区日韩视频| 国产精品资源在线观看| 亚洲一卡二卡三卡四卡无卡久久 | 日韩欧美一二三四区| 97精品久久久午夜一区二区三区| 一区二区三区在线免费视频| 91精选在线观看| 一本色道久久综合狠狠躁的推荐| 亚洲国产日产av| 国产精品私房写真福利视频| 91精品国产丝袜白色高跟鞋| www.亚洲国产| 日本亚洲一区二区| 综合av第一页| 国产视频亚洲色图| 51精品视频一区二区三区| 91高清视频免费看| 成人精品视频一区| 成人激情视频网站| 国模娜娜一区二区三区| 麻豆国产精品视频| 黄色资源网久久资源365| 日日摸夜夜添夜夜添精品视频| 亚洲女同ⅹxx女同tv| 中文字幕中文字幕在线一区| 国产精品无遮挡| 国产精品成人免费| 综合分类小说区另类春色亚洲小说欧美| 日韩精品一区二区三区四区视频| 日韩欧美中文字幕一区| 精品国产免费一区二区三区四区| 337p粉嫩大胆噜噜噜噜噜91av| 久久综合av免费| 中文字幕av不卡| 国产精品电影一区二区| 丝袜诱惑制服诱惑色一区在线观看| 五月天亚洲精品| 国产伦精品一区二区三区视频青涩 | www.欧美.com| 欧美日韩三级一区二区| 精品奇米国产一区二区三区| 国产亚洲精品超碰| 一区二区三区 在线观看视频| 亚洲欧美激情插 | 精品久久久久久最新网址| 欧美精品一区男女天堂| 亚洲一区二区视频在线| 狠狠网亚洲精品| 欧美系列亚洲系列| 国产午夜精品久久久久久久| 国产精品国产三级国产aⅴ中文| 日本一区二区三区久久久久久久久不 | 在线精品视频免费观看| 久久综合九色综合97_久久久| 一级做a爱片久久| 不卡一区二区三区四区| 日韩欧美国产成人一区二区| 亚洲已满18点击进入久久| 国产成人精品1024| 久久一留热品黄| 久久国产日韩欧美精品| 欧美一区二区成人| 亚洲一区二区三区四区在线| 成人免费看视频| 26uuuu精品一区二区| 日本亚洲电影天堂| 欧美一三区三区四区免费在线看| 亚洲一区日韩精品中文字幕| 色诱亚洲精品久久久久久| 国产日本亚洲高清| 福利一区在线观看| 中文字幕欧美三区| 99精品久久免费看蜜臀剧情介绍| 亚洲欧洲精品一区二区三区 | 99re66热这里只有精品3直播 | 国产精品羞羞答答xxdd| 国产精品麻豆视频| 欧美在线色视频| 亚洲精品国产精品乱码不99| 色又黄又爽网站www久久| 亚洲精品视频在线看| 3d成人h动漫网站入口| 精品无码三级在线观看视频| 久久众筹精品私拍模特| 91色婷婷久久久久合中文| 五月天一区二区| 中文字幕av一区二区三区免费看| 一本到高清视频免费精品| 日本美女一区二区| 中文字幕一区二区三区不卡在线| 色综合久久中文字幕综合网 | 色综合久久六月婷婷中文字幕| 五月天亚洲精品| 亚洲视频一区二区免费在线观看| 日韩一区二区视频| 欧美在线免费视屏| 国产麻豆成人精品| 狠狠色狠狠色合久久伊人| 亚洲综合在线视频| 中文字幕av一区二区三区高| 欧美一级艳片视频免费观看| 99久久久国产精品| 成人网在线免费视频| 精品一区二区在线免费观看| 亚洲男女一区二区三区| 久久久亚洲综合| 91福利视频久久久久| 国产乱码精品一区二区三区五月婷| 日韩av在线播放中文字幕| 亚洲动漫第一页| 天堂久久一区二区三区| 一区二区三区日韩欧美| 亚洲视频一二三| 一区二区三区中文字幕电影| 18成人在线视频| 亚洲国产精品一区二区尤物区| 亚洲免费在线视频| 亚洲精品成人悠悠色影视| 亚洲黄色小视频| 一区二区三区免费网站| 亚洲黄色性网站| 麻豆久久久久久久| 国产精品1区二区.| 欧美丝袜丝nylons| 欧美成人一区二区三区在线观看|