1/**
2 * @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3 * For licensing, see LICENSE.html or http://ckeditor.com/license
4 */
5
6CKEDITOR.dialog.add( 'about', function( editor ) {
7	var lang = editor.lang.about;
8    var ckgEditorVer = editor.config.ckgEditorVer;
9	return {
10		title: CKEDITOR.env.ie ? lang.dlgTitle : lang.title,
11		minWidth: 390,
12		minHeight: 260,
13		contents: [
14			{
15			id: 'tab1',
16			label: '',
17			title: '',
18			expand: true,
19			padding: 0,
20			elements: [
21				{
22				type: 'html',
23				html: '<style type="text/css">' +
24					'.cke_about_container' +
25					'{' +
26						'color:#000 !important;' +
27						'padding:10px 10px 0;' +
28						'margin-top:5px' +
29					'}' +
30					'.cke_about_container p' +
31					'{' +
32						'margin: 0 0 10px;' +
33					'}' +
34					'.cke_about_container .cke_about_logo' +
35					'{' +
36						'height:81px;' +
37						'background-color:#fff;' +
38						'background-image:url(' + CKEDITOR.plugins.get( 'about' ).path + 'dialogs/logo_ckeditor.png);' +
39						'background-position:center; ' +
40						'background-repeat:no-repeat;' +
41						'margin-bottom:10px;' +
42					'}' +
43					'.cke_about_container a' +
44					'{' +
45						'cursor:pointer !important;' +
46						'color:#00B2CE !important;' +
47						'text-decoration:underline !important;' +
48					'}' +
49					'</style>' +
50					'<div class="cke_about_container">' +
51					'<div class="cke_about_logo"></div>' +
52					'<p>' +
53						'CKEditor ' + CKEDITOR.version + ' (revision ' + CKEDITOR.revision + ')<br>' +
54						'<a href="http://ckeditor.com/">http://ckeditor.com</a>' +
55					'</p>' +
56					   'Modified for use with Dokuwiki, ckgdokuor plugin version: ' + ckgEditorVer + '<br />' +
57					'<p>' +
58					'<p>' +
59						lang.help.replace( '$1', '<a href="http://docs.ckeditor.com/user">' + lang.userGuide + '</a>' ) +
60					'</p>' +
61					'<p>' +
62						lang.moreInfo + '<br>' +
63						'<a href="http://ckeditor.com/about/license">http://ckeditor.com/about/license</a>' +
64					'</p>' +
65					'<p>' +
66						lang.copy.replace( '$1', '<a href="http://cksource.com/">CKSource</a> - Frederico Knabben' ) +
67					'</p>' +
68					'</div>'
69			}
70			]
71		}
72		],
73		buttons: [ CKEDITOR.dialog.cancelButton ]
74	};
75});
76