Index: /CKEditor/branches/prototype/_source/core/config.js
===================================================================
--- /CKEditor/branches/prototype/_source/core/config.js	(revision 2873)
+++ /CKEditor/branches/prototype/_source/core/config.js	(revision 2874)
@@ -227,28 +227,172 @@
 	magnetDistance : 20,
 
-	/**
-	 * Show Upload tab in the Image dialog.
-	 * @type Boolean
-	 * @default true
-	 * @example
-	 * config.imageUpload : true;
-	 */
-	imageUpload : true,
-
-	/**
-	 * List of smiley images displayed in the Smiley dialog.
-	 * @type Array
-	 * @default ['regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif','embaressed_smile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif','angel_smile.gif','shades_smile.gif','devil_smile.gif','cry_smile.gif','lightbulb.gif','thumbs_down.gif','thumbs_up.gif','heart.gif','broken_heart.gif','kiss.gif','envelope.gif']
-	 * @example
-	 * config.smileyImages = [ 'tounge.gif', 'smile.gif', 'laugh.gif' ];
-	 */
-	smileyImages : ['regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif','embaressed_smile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif','angel_smile.gif','shades_smile.gif','devil_smile.gif','cry_smile.gif','lightbulb.gif','thumbs_down.gif','thumbs_up.gif','heart.gif','broken_heart.gif','kiss.gif','envelope.gif'],
-
-	smileyPath : CKEDITOR.basePath +  '_source/plugins/smiley/images/',
-
-	smileyWindowWidth : 320,
-
-	smileyWindowHeight : 210,
-
-	smileyColumns : 8
+
+	pluginConfig :
+	{
+		image :		//Image Dialog and Image button Dialog.
+		{
+			/**
+			 * Show Upload tab.
+			 * @type Boolean
+			 * @default true
+			 */
+			uploadTab : true,
+			
+			/**
+			 * Show Browse Server button.
+			 * @type Boolean
+			 * @default true
+			 */
+			browseServer : true,
+
+			/**
+			 * Upload action attribute.
+			 * @type URL
+			 */
+			uploadAction : 'nowhere.php',
+
+			/**
+			 * Show Image preview in the Image Dialog.
+			 * @type Boolean
+			 * @default true
+			 */
+			showPreview : true,
+			showAdvancedTab : true,
+			removeLinkByEmptyURL : true,
+
+			/**
+			 * Startup values
+			 * @type Text
+			 * @default ''
+			 */
+			defaultValues :
+			{
+				alt : '',
+				border : '',
+				hSpace : '',
+				vSpace : '',
+				title : '',
+				classes : '',
+				align : '',
+				style : '',
+				langCode : '',
+				langDir : '',
+
+				/**
+				 * Default Link value.
+				 * @type Text
+				 * @default ''
+				 * @example
+				 * link : './show_gallery.html',
+				 */
+				link : '',
+				target : ''
+			}
+		},
+		link :
+		{
+			uploadTab : true,
+			browseServer : true,
+			uploadAction : 'nowhere.php',
+			showAdvancedTab : true,
+			showTargetTab : true,
+			defaultValues :
+			{
+				/**
+				 * Startup values
+				 * @type Text
+				 * @default ''
+				 */
+				linkType : 'url',
+				protocol : 'http://',
+				target : 'notSet',
+				targetFrameName : '',
+				title : '',
+				type : '',
+				classes : '',
+				langDir : '',
+				langCode : '',
+				charset : '',
+				style : '',
+			}
+		},
+		forms :
+		{
+			defaultValues :
+			{
+				formAction : '',
+				formEncoding : '',
+				formTarget : '',
+				formMethod : '',
+				textfieldWidth : '',
+				textfieldMaxChars : '',
+				textfieldType : 'text',
+				textareaCols : '',
+				textareaRows : '',
+				selectSize : '',
+				buttonType : 'button'
+			}
+		},
+		smiley :
+		{
+			/**
+			 * List of smiley images displayed in the Smiley dialog.
+			 * @type Array
+			 * @default ['regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif','embaressed_smile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif','angel_smile.gif','shades_smile.gif','devil_smile.gif','cry_smile.gif','lightbulb.gif','thumbs_down.gif','thumbs_up.gif','heart.gif','broken_heart.gif','kiss.gif','envelope.gif']
+			 * @example
+			 * config.smileyImages = [ 'tounge.gif', 'smile.gif', 'laugh.gif' ];
+			 */
+			images : [ 'regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif',
+			'embaressed_smile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif','angel_smile.gif','shades_smile.gif',
+			'devil_smile.gif','cry_smile.gif','lightbulb.gif','thumbs_down.gif','thumbs_up.gif','heart.gif',
+			'broken_heart.gif','kiss.gif','envelope.gif'],
+			descriptions : [ ':)', ':(', ';)', ':D', ':/', ':P', 
+			'', '', '', '', '', '',
+			'', ';(', '', '', '', '',
+			':kiss', '', ],
+
+			//TODO: update path
+			path : CKEDITOR.basePath +  '_source/plugins/smiley/images/',
+			windowWidth : 320,
+			windowHeight : 210,
+			columns : 8
+		},
+		flash :
+		{
+			defaultValues :
+			{
+				uploadAction : 'nowhere.php',
+				formEncoding : '',
+				buttonType : 'button'
+			}
+		},
+		table :
+		{
+			defaultValues :
+			{
+				rows : '3',
+				columns : '',
+				rows : '3',
+				border : '1',
+				width : '200',
+				widthType : 'pixels',
+				height : '',
+				cellspacing : '',
+				cellpadding : '',
+				caption : '',
+				summary : ''			
+			}
+		},	
+		print :
+		{
+			/**
+			 * Document to print
+			 * @type Text
+			 * @default 'cke'
+			 * @example
+			 * document : 'page'
+			 */
+			document : 'cke'
+		}
+	}
 };
