forked from Wavyzz/dolibarr
natural search in list pages
This commit is contained in:
@@ -1,76 +1,76 @@
|
||||
/*
|
||||
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.dialog.add( 'about', function( editor )
|
||||
{
|
||||
var lang = editor.lang.about;
|
||||
|
||||
return {
|
||||
title : CKEDITOR.env.ie ? lang.dlgTitle : lang.title,
|
||||
minWidth : 390,
|
||||
minHeight : 230,
|
||||
contents : [
|
||||
{
|
||||
id : 'tab1',
|
||||
label : '',
|
||||
title : '',
|
||||
expand : true,
|
||||
padding : 0,
|
||||
elements :
|
||||
[
|
||||
{
|
||||
type : 'html',
|
||||
html :
|
||||
'<style type="text/css">' +
|
||||
'.cke_about_container' +
|
||||
'{' +
|
||||
'color:#000 !important;' +
|
||||
'padding:10px 10px 0;' +
|
||||
'margin-top:5px' +
|
||||
'}' +
|
||||
'.cke_about_container p' +
|
||||
'{' +
|
||||
'margin: 0 0 10px;' +
|
||||
'}' +
|
||||
'.cke_about_container .cke_about_logo' +
|
||||
'{' +
|
||||
'height:81px;' +
|
||||
'background-color:#fff;' +
|
||||
'background-image:url(' + CKEDITOR.plugins.get( 'about' ).path + 'dialogs/logo_ckeditor.png);' +
|
||||
'background-position:center; ' +
|
||||
'background-repeat:no-repeat;' +
|
||||
'margin-bottom:10px;' +
|
||||
'}' +
|
||||
'.cke_about_container a' +
|
||||
'{' +
|
||||
'cursor:pointer !important;' +
|
||||
'color:blue !important;' +
|
||||
'text-decoration:underline !important;' +
|
||||
'}' +
|
||||
'</style>' +
|
||||
'<div class="cke_about_container">' +
|
||||
'<div class="cke_about_logo"></div>' +
|
||||
'<p>' +
|
||||
'CKEditor ' + CKEDITOR.version + ' (revision ' + CKEDITOR.revision + ')<br>' +
|
||||
'<a href="http://ckeditor.com/">http://ckeditor.com</a>' +
|
||||
'</p>' +
|
||||
'<p>' +
|
||||
lang.help.replace( '$1', '<a href="http://docs.cksource.com/CKEditor_3.x/Users_Guide/Quick_Reference">' + lang.userGuide + '</a>' ) +
|
||||
'</p>' +
|
||||
'<p>' +
|
||||
lang.moreInfo + '<br>' +
|
||||
'<a href="http://ckeditor.com/license">http://ckeditor.com/license</a>' +
|
||||
'</p>' +
|
||||
'<p>' +
|
||||
lang.copy.replace( '$1', '<a href="http://cksource.com/">CKSource</a> - Frederico Knabben' ) +
|
||||
'</p>' +
|
||||
'</div>'
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
buttons : [ CKEDITOR.dialog.cancelButton ]
|
||||
};
|
||||
} );
|
||||
/*
|
||||
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.dialog.add( 'about', function( editor )
|
||||
{
|
||||
var lang = editor.lang.about;
|
||||
|
||||
return {
|
||||
title : CKEDITOR.env.ie ? lang.dlgTitle : lang.title,
|
||||
minWidth : 390,
|
||||
minHeight : 230,
|
||||
contents : [
|
||||
{
|
||||
id : 'tab1',
|
||||
label : '',
|
||||
title : '',
|
||||
expand : true,
|
||||
padding : 0,
|
||||
elements :
|
||||
[
|
||||
{
|
||||
type : 'html',
|
||||
html :
|
||||
'<style type="text/css">' +
|
||||
'.cke_about_container' +
|
||||
'{' +
|
||||
'color:#000 !important;' +
|
||||
'padding:10px 10px 0;' +
|
||||
'margin-top:5px' +
|
||||
'}' +
|
||||
'.cke_about_container p' +
|
||||
'{' +
|
||||
'margin: 0 0 10px;' +
|
||||
'}' +
|
||||
'.cke_about_container .cke_about_logo' +
|
||||
'{' +
|
||||
'height:81px;' +
|
||||
'background-color:#fff;' +
|
||||
'background-image:url(' + CKEDITOR.plugins.get( 'about' ).path + 'dialogs/logo_ckeditor.png);' +
|
||||
'background-position:center; ' +
|
||||
'background-repeat:no-repeat;' +
|
||||
'margin-bottom:10px;' +
|
||||
'}' +
|
||||
'.cke_about_container a' +
|
||||
'{' +
|
||||
'cursor:pointer !important;' +
|
||||
'color:blue !important;' +
|
||||
'text-decoration:underline !important;' +
|
||||
'}' +
|
||||
'</style>' +
|
||||
'<div class="cke_about_container">' +
|
||||
'<div class="cke_about_logo"></div>' +
|
||||
'<p>' +
|
||||
'CKEditor ' + CKEDITOR.version + ' (revision ' + CKEDITOR.revision + ')<br>' +
|
||||
'<a href="http://ckeditor.com/">http://ckeditor.com</a>' +
|
||||
'</p>' +
|
||||
'<p>' +
|
||||
lang.help.replace( '$1', '<a href="http://docs.cksource.com/CKEditor_3.x/Users_Guide/Quick_Reference">' + lang.userGuide + '</a>' ) +
|
||||
'</p>' +
|
||||
'<p>' +
|
||||
lang.moreInfo + '<br>' +
|
||||
'<a href="http://ckeditor.com/license">http://ckeditor.com/license</a>' +
|
||||
'</p>' +
|
||||
'<p>' +
|
||||
lang.copy.replace( '$1', '<a href="http://cksource.com/">CKSource</a> - Frederico Knabben' ) +
|
||||
'</p>' +
|
||||
'</div>'
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
buttons : [ CKEDITOR.dialog.cancelButton ]
|
||||
};
|
||||
} );
|
||||
|
||||
@@ -1,24 +1,24 @@
|
||||
/*
|
||||
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.add( 'about',
|
||||
{
|
||||
requires : [ 'dialog' ],
|
||||
init : function( editor )
|
||||
{
|
||||
var command = editor.addCommand( 'about', new CKEDITOR.dialogCommand( 'about' ) );
|
||||
command.modes = { wysiwyg:1, source:1 };
|
||||
command.canUndo = false;
|
||||
command.readOnly = 1;
|
||||
|
||||
editor.ui.addButton( 'About',
|
||||
{
|
||||
label : editor.lang.about.title,
|
||||
command : 'about'
|
||||
});
|
||||
|
||||
CKEDITOR.dialog.add( 'about', this.path + 'dialogs/about.js' );
|
||||
}
|
||||
});
|
||||
/*
|
||||
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.add( 'about',
|
||||
{
|
||||
requires : [ 'dialog' ],
|
||||
init : function( editor )
|
||||
{
|
||||
var command = editor.addCommand( 'about', new CKEDITOR.dialogCommand( 'about' ) );
|
||||
command.modes = { wysiwyg:1, source:1 };
|
||||
command.canUndo = false;
|
||||
command.readOnly = 1;
|
||||
|
||||
editor.ui.addButton( 'About',
|
||||
{
|
||||
label : editor.lang.about.title,
|
||||
command : 'about'
|
||||
});
|
||||
|
||||
CKEDITOR.dialog.add( 'about', this.path + 'dialogs/about.js' );
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user