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