Index: /CKEditor/branches/prototype/_source/lang/en.js
===================================================================
--- /CKEditor/branches/prototype/_source/lang/en.js	(revision 2672)
+++ /CKEditor/branches/prototype/_source/lang/en.js	(revision 2673)
@@ -86,7 +86,23 @@
 	linkPopupHeight		: 'Height',
 	linkPopupTop		: 'Top Position',
+	linkId				: 'Id',
+	linkLangDir			: 'Language Direction',
+	linkLangDirNotSet	: '<not set>',
+	linkLangDirLTR		: 'Left to Right',
+	linkLangDirRTL		: 'Right to Left',
+	linkAcccessKey		: 'Access Key',
+	linkName			: 'Name',
+	linkLangCode		: 'Language Code',
+	linkTabIndex		: 'Tab Index',
+	linkAdvisoryTitle	: 'Advisory Title',
+	linkAdvisoryContentType	: 'Advisory Content Type',
+	linkCSSClasses		: 'Stylesheet Classes',
+	linkCharset			: 'Linked Resource Charset',
+	linkStyles			: 'Style',
 	browseServer	: 'Browser Server',
 	url				: 'URL',
 	protocol		: 'Protocol',
+	upload			: 'Upload',
+	uploadSubmit	: 'Send it to the Server',
 	image			: 'Image',
 	form			: 'Form',
@@ -99,5 +115,4 @@
 	select	: 'Selection Field',
 	imageButton		: 'Image Button',
-
 	
 	//Dialog titles.
Index: /CKEditor/branches/prototype/_source/plugins/dialogui/plugin.js
===================================================================
--- /CKEditor/branches/prototype/_source/plugins/dialogui/plugin.js	(revision 2672)
+++ /CKEditor/branches/prototype/_source/plugins/dialogui/plugin.js	(revision 2673)
@@ -130,4 +130,10 @@
 				attributes.type = elementDefinition.type;
 
+				// Set the max length and size.
+				if ( elementDefinition.maxLength )
+					attributes.maxlength = elementDefinition.maxLength;
+				if ( elementDefinition.size )
+					attributes.size = elementDefinition.size;
+
 				// Set the type and definition CSS class names.
 				var classes = {};
Index: /CKEditor/branches/prototype/_source/plugins/link/plugin.js
===================================================================
--- /CKEditor/branches/prototype/_source/plugins/link/plugin.js	(revision 2672)
+++ /CKEditor/branches/prototype/_source/plugins/link/plugin.js	(revision 2673)
@@ -300,5 +300,5 @@
 							type : 'file',
 							id : 'upload',
-							label : 'Upload',
+							label : editor.lang.upload,
 							action : 'nowhere.php',
 							size : 38
@@ -307,5 +307,5 @@
 							type : 'fileButton',
 							id : 'uploadButton',
-							label : 'Send it to the Server',
+							label : editor.lang.uploadSubmit,
 							'for' : [ 'Upload', 'upload' ]
 						}
@@ -315,7 +315,119 @@
 					id : 'Advanced',
 					label : editor.lang.linkAdvanced,
-					expand : true,
 					elements : 
 					[
+						{
+							'type' : 'vbox',
+							padding : 1,
+							children : 
+							[
+								{
+									'type' : 'hbox',
+									widths : [ '45%', '35%', '20%' ],
+									children : 
+									[
+										{
+											'type' : 'text',
+											id : 'advId',
+											label : editor.lang.linkId
+										},
+										{
+											'type' : 'select',
+											id : 'advLangDir',
+											label : editor.lang.linkLangDir,
+											'default' : 'notSet',
+											style : 'width: 100%;',
+											items :
+											[
+												[ editor.lang.linkLangDirNotSet, 'notSet' ],
+												[ editor.lang.linkLangDirLTR, 'ltr' ],
+												[ editor.lang.linkLangDirRTL, 'rtl' ]
+											]
+										},
+										{
+											'type' : 'text',
+											id : 'advAccessKey',
+											label : editor.lang.linkAcccessKey,
+											maxLength : 1
+										}
+									]
+								},
+								{
+									'type' : 'hbox',
+									widths : [ '45%', '35%', '20%' ],
+									children : 
+									[
+										{
+											'type' : 'text',
+											label : editor.lang.linkName,
+											id : 'advName',
+										},
+										{
+											'type' : 'text',
+											label : editor.lang.linkLangCode,
+											id : 'advLangCode'
+										},
+										{
+											'type' : 'text',
+											label : editor.lang.linkTabIndex,
+											id : 'advTabIndex',
+											maxLength : 5
+										}
+									]
+								}
+							]
+						},
+						{
+							'type' : 'vbox',
+							padding : 1,
+							children :
+							[
+								{
+									'type' : 'hbox',
+									widths : [ '45%', '55%' ],
+									children : 
+									[
+										{
+											'type' : 'text',
+											label : editor.lang.linkAdvisoryTitle,
+											id : 'advTitle'
+										},
+										{
+											'type' : 'text',
+											label : editor.lang.linkAdvisoryContentType,
+											id : 'advContentType'
+										}
+									]
+								},
+								{
+									'type' : 'hbox',
+									widths : [ '45%', '55%' ],
+									children : 
+									[
+										{
+											'type' : 'text',
+											label : editor.lang.linkCSSClasses,
+											id : 'advCSSClasses'
+										},
+										{
+											'type' : 'text',
+											label : editor.lang.linkCharset,
+											id : 'advCharset'
+										}
+									]
+								},
+								{
+									'type' : 'hbox',
+									children : 
+									[
+										{
+											'type' : 'text',
+											label : editor.lang.linkStyles,
+											id : 'advStyles'
+										}
+									]
+								}
+							]
+						}
 					]
 				},
