This commit is contained in:
Sándor 2016-09-14 10:51:17 +02:00
parent 311d9a3d19
commit 6d1eef25ca
18 changed files with 523 additions and 523 deletions

View File

@ -1,10 +1,10 @@
function set_comment_reply(cid) function set_comment_reply(cid)
{ {
$("form[name='new-comment'] input[name='entryReply']").val(cid); $("form[name='new-comment'] input[name='entryReply']").val(cid);
$("#new-comment-reply span").html('Reply'); $("#new-comment-reply span").html('Reply');
} }
function spoilerToggle(selem) function spoilerToggle(selem)
{ {
selem.parent().children(".spoiler_c").stop().slideToggle(); selem.parent().children(".spoiler_c").stop().slideToggle();
} }

View File

@ -1,39 +1,39 @@
/** /**
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license * For licensing, see LICENSE.md or http://ckeditor.com/license
*/ */
/** /**
* This file was added automatically by CKEditor builder. * This file was added automatically by CKEditor builder.
* You may re-use it at any time to build CKEditor again. * You may re-use it at any time to build CKEditor again.
* *
* If you would like to build CKEditor online again * If you would like to build CKEditor online again
* (for example to upgrade), visit one the following links: * (for example to upgrade), visit one the following links:
* *
* (1) http://ckeditor.com/builder * (1) http://ckeditor.com/builder
* Visit online builder to build CKEditor from scratch. * Visit online builder to build CKEditor from scratch.
* *
* (2) http://ckeditor.com/builder/0bef89aa099a8362a6a7ff84270ff668 * (2) http://ckeditor.com/builder/0bef89aa099a8362a6a7ff84270ff668
* Visit online builder to build CKEditor, starting with the same setup as before. * Visit online builder to build CKEditor, starting with the same setup as before.
* *
* (3) http://ckeditor.com/builder/download/0bef89aa099a8362a6a7ff84270ff668 * (3) http://ckeditor.com/builder/download/0bef89aa099a8362a6a7ff84270ff668
* Straight download link to the latest version of CKEditor (Optimized) with the same setup as before. * Straight download link to the latest version of CKEditor (Optimized) with the same setup as before.
* *
* NOTE: * NOTE:
* This file is not used by CKEditor, you may remove it. * This file is not used by CKEditor, you may remove it.
* Changing this file will not change your CKEditor configuration. * Changing this file will not change your CKEditor configuration.
*/ */
var CKBUILDER_CONFIG = { var CKBUILDER_CONFIG = {
skin: 'moono', skin: 'moono',
preset: 'basic', preset: 'basic',
ignore: [ ignore: [
'dev', 'dev',
'.gitignore', '.gitignore',
'.gitattributes', '.gitattributes',
'README.md', 'README.md',
'.mailmap' '.mailmap'
], ],
plugins : { plugins : {
'autogrow' : 1, 'autogrow' : 1,
'autosave' : 1, 'autosave' : 1,

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,71 +1,71 @@
/* /*
* @file HTML Buttons plugin for CKEditor * @file HTML Buttons plugin for CKEditor
* Copyright (C) 2012 Alfonso Martínez de Lizarrondo * Copyright (C) 2012 Alfonso Martínez de Lizarrondo
* A simple plugin to help create custom buttons to insert HTML blocks * A simple plugin to help create custom buttons to insert HTML blocks
*/ */
CKEDITOR.plugins.add( 'htmlbuttons', CKEDITOR.plugins.add( 'htmlbuttons',
{ {
init : function( editor ) init : function( editor )
{ {
var buttonsConfig = editor.config.htmlbuttons; var buttonsConfig = editor.config.htmlbuttons;
if (!buttonsConfig) if (!buttonsConfig)
return; return;
function createCommand( definition ) function createCommand( definition )
{ {
return { return {
exec: function( editor ) { exec: function( editor ) {
editor.insertHtml( definition.html ); editor.insertHtml( definition.html );
} }
}; };
} }
// Create the command for each button // Create the command for each button
for(var i=0; i<buttonsConfig.length; i++) for(var i=0; i<buttonsConfig.length; i++)
{ {
var button = buttonsConfig[ i ]; var button = buttonsConfig[ i ];
var commandName = button.name; var commandName = button.name;
editor.addCommand( commandName, createCommand(button, editor) ); editor.addCommand( commandName, createCommand(button, editor) );
editor.ui.addButton( commandName, editor.ui.addButton( commandName,
{ {
label : button.title, label : button.title,
command : commandName, command : commandName,
icon : this.path + button.icon icon : this.path + button.icon
}); });
} }
} //Init } //Init
} ); } );
/** /**
* An array of buttons to add to the toolbar. * An array of buttons to add to the toolbar.
* Each button is an object with these properties: * Each button is an object with these properties:
* name: The name of the command and the button (the one to use in the toolbar configuration) * name: The name of the command and the button (the one to use in the toolbar configuration)
* icon: The icon to use. Place them in the plugin folder * icon: The icon to use. Place them in the plugin folder
* html: The HTML to insert when the user clicks the button * html: The HTML to insert when the user clicks the button
* title: Title that appears while hovering the button * title: Title that appears while hovering the button
* *
* Default configuration with some sample buttons: * Default configuration with some sample buttons:
*/ */
CKEDITOR.config.htmlbuttons = [ CKEDITOR.config.htmlbuttons = [
{ {
name:'button1', name:'button1',
icon:'icon1.png', icon:'icon1.png',
html:'<a href="http://www.google.com">Search something</a>', html:'<a href="http://www.google.com">Search something</a>',
title:'A link to Google' title:'A link to Google'
}, },
{ {
name:'button2', name:'button2',
icon:'icon2.png', icon:'icon2.png',
html:'<table style="min-width:200px"><tr><td>&nbsp;</td><td>&nbsp;</td></tr><tr><td>&nbsp;</td><td>&nbsp;</td></tr></table>', html:'<table style="min-width:200px"><tr><td>&nbsp;</td><td>&nbsp;</td></tr><tr><td>&nbsp;</td><td>&nbsp;</td></tr></table>',
title:'A simple table' title:'A simple table'
}, },
{ {
name:'button3', name:'button3',
icon:'icon3.png', icon:'icon3.png',
html:'<ol><li>Item 1 <ol><li>Sub item 1</li><li>Sub item 2</li></ol></li></ol>', html:'<ol><li>Item 1 <ol><li>Sub item 1</li><li>Sub item 2</li></ol></li></ol>',
title:'A nested list' title:'A nested list'
} }
]; ];

View File

@ -1,21 +1,21 @@
(function(){ (function(){
//Section 1 : Code to execute when the toolbar button is pressed //Section 1 : Code to execute when the toolbar button is pressed
var a= { var a= {
exec:function(editor){ exec:function(editor){
editor.insertHtml('[[MORE]]'); editor.insertHtml('[[MORE]]');
} }
}, },
//Section 2 : Create the button and add the functionality to it //Section 2 : Create the button and add the functionality to it
b='readmorebtn'; b='readmorebtn';
CKEDITOR.plugins.add(b,{ CKEDITOR.plugins.add(b,{
init:function(editor){ init:function(editor){
editor.addCommand(b,a); editor.addCommand(b,a);
editor.ui.addButton("readmorebtn",{ editor.ui.addButton("readmorebtn",{
label:'Insert &quot;Read more&quot; link', label:'Insert &quot;Read more&quot; link',
icon:this.path+"readmore.png", icon:this.path+"readmore.png",
command:b command:b
}); });
} }
}); });
})(); })();

View File

@ -1,111 +1,111 @@
/** /**
* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. * Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license * For licensing, see LICENSE.md or http://ckeditor.com/license
*/ */
// This file contains style definitions that can be used by CKEditor plugins. // This file contains style definitions that can be used by CKEditor plugins.
// //
// The most common use for it is the "stylescombo" plugin, which shows a combo // The most common use for it is the "stylescombo" plugin, which shows a combo
// in the editor toolbar, containing all styles. Other plugins instead, like // in the editor toolbar, containing all styles. Other plugins instead, like
// the div plugin, use a subset of the styles on their feature. // the div plugin, use a subset of the styles on their feature.
// //
// If you don't have plugins that depend on this file, you can simply ignore it. // If you don't have plugins that depend on this file, you can simply ignore it.
// Otherwise it is strongly recommended to customize this file to match your // Otherwise it is strongly recommended to customize this file to match your
// website requirements and design properly. // website requirements and design properly.
CKEDITOR.stylesSet.add( 'default', [ CKEDITOR.stylesSet.add( 'default', [
/* Block Styles */ /* Block Styles */
// These styles are already available in the "Format" combo ("format" plugin), // These styles are already available in the "Format" combo ("format" plugin),
// so they are not needed here by default. You may enable them to avoid // so they are not needed here by default. You may enable them to avoid
// placing the "Format" combo in the toolbar, maintaining the same features. // placing the "Format" combo in the toolbar, maintaining the same features.
/* /*
{ name: 'Paragraph', element: 'p' }, { name: 'Paragraph', element: 'p' },
{ name: 'Heading 1', element: 'h1' }, { name: 'Heading 1', element: 'h1' },
{ name: 'Heading 2', element: 'h2' }, { name: 'Heading 2', element: 'h2' },
{ name: 'Heading 3', element: 'h3' }, { name: 'Heading 3', element: 'h3' },
{ name: 'Heading 4', element: 'h4' }, { name: 'Heading 4', element: 'h4' },
{ name: 'Heading 5', element: 'h5' }, { name: 'Heading 5', element: 'h5' },
{ name: 'Heading 6', element: 'h6' }, { name: 'Heading 6', element: 'h6' },
{ name: 'Preformatted Text',element: 'pre' }, { name: 'Preformatted Text',element: 'pre' },
{ name: 'Address', element: 'address' }, { name: 'Address', element: 'address' },
*/ */
{ name: 'Italic Title', element: 'h2', styles: { 'font-style': 'italic' } }, { name: 'Italic Title', element: 'h2', styles: { 'font-style': 'italic' } },
{ name: 'Subtitle', element: 'h3', styles: { 'color': '#aaa', 'font-style': 'italic' } }, { name: 'Subtitle', element: 'h3', styles: { 'color': '#aaa', 'font-style': 'italic' } },
{ {
name: 'Special Container', name: 'Special Container',
element: 'div', element: 'div',
styles: { styles: {
padding: '5px 10px', padding: '5px 10px',
background: '#eee', background: '#eee',
border: '1px solid #ccc' border: '1px solid #ccc'
} }
}, },
/* Inline Styles */ /* Inline Styles */
// These are core styles available as toolbar buttons. You may opt enabling // These are core styles available as toolbar buttons. You may opt enabling
// some of them in the Styles combo, removing them from the toolbar. // some of them in the Styles combo, removing them from the toolbar.
// (This requires the "stylescombo" plugin) // (This requires the "stylescombo" plugin)
/* /*
{ name: 'Strong', element: 'strong', overrides: 'b' }, { name: 'Strong', element: 'strong', overrides: 'b' },
{ name: 'Emphasis', element: 'em' , overrides: 'i' }, { name: 'Emphasis', element: 'em' , overrides: 'i' },
{ name: 'Underline', element: 'u' }, { name: 'Underline', element: 'u' },
{ name: 'Strikethrough', element: 'strike' }, { name: 'Strikethrough', element: 'strike' },
{ name: 'Subscript', element: 'sub' }, { name: 'Subscript', element: 'sub' },
{ name: 'Superscript', element: 'sup' }, { name: 'Superscript', element: 'sup' },
*/ */
{ name: 'Marker', element: 'span', attributes: { 'class': 'marker' } }, { name: 'Marker', element: 'span', attributes: { 'class': 'marker' } },
{ name: 'Big', element: 'big' }, { name: 'Big', element: 'big' },
{ name: 'Small', element: 'small' }, { name: 'Small', element: 'small' },
{ name: 'Typewriter', element: 'tt' }, { name: 'Typewriter', element: 'tt' },
{ name: 'Computer Code', element: 'code' }, { name: 'Computer Code', element: 'code' },
{ name: 'Keyboard Phrase', element: 'kbd' }, { name: 'Keyboard Phrase', element: 'kbd' },
{ name: 'Sample Text', element: 'samp' }, { name: 'Sample Text', element: 'samp' },
{ name: 'Variable', element: 'var' }, { name: 'Variable', element: 'var' },
{ name: 'Deleted Text', element: 'del' }, { name: 'Deleted Text', element: 'del' },
{ name: 'Inserted Text', element: 'ins' }, { name: 'Inserted Text', element: 'ins' },
{ name: 'Cited Work', element: 'cite' }, { name: 'Cited Work', element: 'cite' },
{ name: 'Inline Quotation', element: 'q' }, { name: 'Inline Quotation', element: 'q' },
{ name: 'Language: RTL', element: 'span', attributes: { 'dir': 'rtl' } }, { name: 'Language: RTL', element: 'span', attributes: { 'dir': 'rtl' } },
{ name: 'Language: LTR', element: 'span', attributes: { 'dir': 'ltr' } }, { name: 'Language: LTR', element: 'span', attributes: { 'dir': 'ltr' } },
/* Object Styles */ /* Object Styles */
{ {
name: 'Styled image (left)', name: 'Styled image (left)',
element: 'img', element: 'img',
attributes: { 'class': 'left' } attributes: { 'class': 'left' }
}, },
{ {
name: 'Styled image (right)', name: 'Styled image (right)',
element: 'img', element: 'img',
attributes: { 'class': 'right' } attributes: { 'class': 'right' }
}, },
{ {
name: 'Compact table', name: 'Compact table',
element: 'table', element: 'table',
attributes: { attributes: {
cellpadding: '5', cellpadding: '5',
cellspacing: '0', cellspacing: '0',
border: '1', border: '1',
bordercolor: '#ccc' bordercolor: '#ccc'
}, },
styles: { styles: {
'border-collapse': 'collapse' 'border-collapse': 'collapse'
} }
}, },
{ name: 'Borderless Table', element: 'table', styles: { 'border-style': 'hidden', 'background-color': '#E6E6FA' } }, { name: 'Borderless Table', element: 'table', styles: { 'border-style': 'hidden', 'background-color': '#E6E6FA' } },
{ name: 'Square Bulleted List', element: 'ul', styles: { 'list-style-type': 'square' } } { name: 'Square Bulleted List', element: 'ul', styles: { 'list-style-type': 'square' } }
] ); ] );

View File

@ -1,39 +1,39 @@
/** /**
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license * For licensing, see LICENSE.md or http://ckeditor.com/license
*/ */
/** /**
* This file was added automatically by CKEditor builder. * This file was added automatically by CKEditor builder.
* You may re-use it at any time to build CKEditor again. * You may re-use it at any time to build CKEditor again.
* *
* If you would like to build CKEditor online again * If you would like to build CKEditor online again
* (for example to upgrade), visit one the following links: * (for example to upgrade), visit one the following links:
* *
* (1) http://ckeditor.com/builder * (1) http://ckeditor.com/builder
* Visit online builder to build CKEditor from scratch. * Visit online builder to build CKEditor from scratch.
* *
* (2) http://ckeditor.com/builder/41ac7f4b3b32b72a5dab5dad2ce9055a * (2) http://ckeditor.com/builder/41ac7f4b3b32b72a5dab5dad2ce9055a
* Visit online builder to build CKEditor, starting with the same setup as before. * Visit online builder to build CKEditor, starting with the same setup as before.
* *
* (3) http://ckeditor.com/builder/download/41ac7f4b3b32b72a5dab5dad2ce9055a * (3) http://ckeditor.com/builder/download/41ac7f4b3b32b72a5dab5dad2ce9055a
* Straight download link to the latest version of CKEditor (Optimized) with the same setup as before. * Straight download link to the latest version of CKEditor (Optimized) with the same setup as before.
* *
* NOTE: * NOTE:
* This file is not used by CKEditor, you may remove it. * This file is not used by CKEditor, you may remove it.
* Changing this file will not change your CKEditor configuration. * Changing this file will not change your CKEditor configuration.
*/ */
var CKBUILDER_CONFIG = { var CKBUILDER_CONFIG = {
skin: 'moono', skin: 'moono',
preset: 'basic', preset: 'basic',
ignore: [ ignore: [
'dev', 'dev',
'.gitignore', '.gitignore',
'.gitattributes', '.gitattributes',
'README.md', 'README.md',
'.mailmap' '.mailmap'
], ],
plugins : { plugins : {
'basicstyles' : 1, 'basicstyles' : 1,
'clipboard' : 1, 'clipboard' : 1,

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,48 +1,48 @@
/** /**
* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. * Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license * For licensing, see LICENSE.md or http://ckeditor.com/license
*/ */
CKEDITOR.dialog.add( 'myDialog', function( editor ) { CKEDITOR.dialog.add( 'myDialog', function( editor ) {
return { return {
title: 'My Dialog', title: 'My Dialog',
minWidth: 400, minWidth: 400,
minHeight: 200, minHeight: 200,
contents: [ contents: [
{ {
id: 'tab1', id: 'tab1',
label: 'First Tab', label: 'First Tab',
title: 'First Tab', title: 'First Tab',
elements: [ elements: [
{ {
id: 'input1', id: 'input1',
type: 'text', type: 'text',
label: 'Text Field' label: 'Text Field'
}, },
{ {
id: 'select1', id: 'select1',
type: 'select', type: 'select',
label: 'Select Field', label: 'Select Field',
items: [ items: [
[ 'option1', 'value1' ], [ 'option1', 'value1' ],
[ 'option2', 'value2' ] [ 'option2', 'value2' ]
] ]
} }
] ]
}, },
{ {
id: 'tab2', id: 'tab2',
label: 'Second Tab', label: 'Second Tab',
title: 'Second Tab', title: 'Second Tab',
elements: [ elements: [
{ {
id: 'button1', id: 'button1',
type: 'button', type: 'button',
label: 'Button Field' label: 'Button Field'
} }
] ]
} }
] ]
}; };
} ); } );

View File

@ -1,50 +1,50 @@
/** /**
* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. * Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license * For licensing, see LICENSE.md or http://ckeditor.com/license
*/ */
// Tool scripts for the sample pages. // Tool scripts for the sample pages.
// This file can be ignored and is not required to make use of CKEditor. // This file can be ignored and is not required to make use of CKEditor.
( function() { ( function() {
CKEDITOR.on( 'instanceReady', function( ev ) { CKEDITOR.on( 'instanceReady', function( ev ) {
// Check for sample compliance. // Check for sample compliance.
var editor = ev.editor, var editor = ev.editor,
meta = CKEDITOR.document.$.getElementsByName( 'ckeditor-sample-required-plugins' ), meta = CKEDITOR.document.$.getElementsByName( 'ckeditor-sample-required-plugins' ),
requires = meta.length ? CKEDITOR.dom.element.get( meta[ 0 ] ).getAttribute( 'content' ).split( ',' ) : [], requires = meta.length ? CKEDITOR.dom.element.get( meta[ 0 ] ).getAttribute( 'content' ).split( ',' ) : [],
missing = [], missing = [],
i; i;
if ( requires.length ) { if ( requires.length ) {
for ( i = 0; i < requires.length; i++ ) { for ( i = 0; i < requires.length; i++ ) {
if ( !editor.plugins[ requires[ i ] ] ) if ( !editor.plugins[ requires[ i ] ] )
missing.push( '<code>' + requires[ i ] + '</code>' ); missing.push( '<code>' + requires[ i ] + '</code>' );
} }
if ( missing.length ) { if ( missing.length ) {
var warn = CKEDITOR.dom.element.createFromHtml( var warn = CKEDITOR.dom.element.createFromHtml(
'<div class="warning">' + '<div class="warning">' +
'<span>To fully experience this demo, the ' + missing.join( ', ' ) + ' plugin' + ( missing.length > 1 ? 's are' : ' is' ) + ' required.</span>' + '<span>To fully experience this demo, the ' + missing.join( ', ' ) + ' plugin' + ( missing.length > 1 ? 's are' : ' is' ) + ' required.</span>' +
'</div>' '</div>'
); );
warn.insertBefore( editor.container ); warn.insertBefore( editor.container );
} }
} }
// Set icons. // Set icons.
var doc = new CKEDITOR.dom.document( document ), var doc = new CKEDITOR.dom.document( document ),
icons = doc.find( '.button_icon' ); icons = doc.find( '.button_icon' );
for ( i = 0; i < icons.count(); i++ ) { for ( i = 0; i < icons.count(); i++ ) {
var icon = icons.getItem( i ), var icon = icons.getItem( i ),
name = icon.getAttribute( 'data-icon' ), name = icon.getAttribute( 'data-icon' ),
style = CKEDITOR.skin.getIconStyle( name, ( CKEDITOR.lang.dir == 'rtl' ) ); style = CKEDITOR.skin.getIconStyle( name, ( CKEDITOR.lang.dir == 'rtl' ) );
icon.addClass( 'cke_button_icon' ); icon.addClass( 'cke_button_icon' );
icon.addClass( 'cke_button__' + name + '_icon' ); icon.addClass( 'cke_button__' + name + '_icon' );
icon.setAttribute( 'style', style ); icon.setAttribute( 'style', style );
icon.setStyle( 'float', 'none' ); icon.setStyle( 'float', 'none' );
} }
} ); } );
} )(); } )();

View File

@ -1,111 +1,111 @@
/** /**
* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. * Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license * For licensing, see LICENSE.md or http://ckeditor.com/license
*/ */
// This file contains style definitions that can be used by CKEditor plugins. // This file contains style definitions that can be used by CKEditor plugins.
// //
// The most common use for it is the "stylescombo" plugin, which shows a combo // The most common use for it is the "stylescombo" plugin, which shows a combo
// in the editor toolbar, containing all styles. Other plugins instead, like // in the editor toolbar, containing all styles. Other plugins instead, like
// the div plugin, use a subset of the styles on their feature. // the div plugin, use a subset of the styles on their feature.
// //
// If you don't have plugins that depend on this file, you can simply ignore it. // If you don't have plugins that depend on this file, you can simply ignore it.
// Otherwise it is strongly recommended to customize this file to match your // Otherwise it is strongly recommended to customize this file to match your
// website requirements and design properly. // website requirements and design properly.
CKEDITOR.stylesSet.add( 'default', [ CKEDITOR.stylesSet.add( 'default', [
/* Block Styles */ /* Block Styles */
// These styles are already available in the "Format" combo ("format" plugin), // These styles are already available in the "Format" combo ("format" plugin),
// so they are not needed here by default. You may enable them to avoid // so they are not needed here by default. You may enable them to avoid
// placing the "Format" combo in the toolbar, maintaining the same features. // placing the "Format" combo in the toolbar, maintaining the same features.
/* /*
{ name: 'Paragraph', element: 'p' }, { name: 'Paragraph', element: 'p' },
{ name: 'Heading 1', element: 'h1' }, { name: 'Heading 1', element: 'h1' },
{ name: 'Heading 2', element: 'h2' }, { name: 'Heading 2', element: 'h2' },
{ name: 'Heading 3', element: 'h3' }, { name: 'Heading 3', element: 'h3' },
{ name: 'Heading 4', element: 'h4' }, { name: 'Heading 4', element: 'h4' },
{ name: 'Heading 5', element: 'h5' }, { name: 'Heading 5', element: 'h5' },
{ name: 'Heading 6', element: 'h6' }, { name: 'Heading 6', element: 'h6' },
{ name: 'Preformatted Text',element: 'pre' }, { name: 'Preformatted Text',element: 'pre' },
{ name: 'Address', element: 'address' }, { name: 'Address', element: 'address' },
*/ */
{ name: 'Italic Title', element: 'h2', styles: { 'font-style': 'italic' } }, { name: 'Italic Title', element: 'h2', styles: { 'font-style': 'italic' } },
{ name: 'Subtitle', element: 'h3', styles: { 'color': '#aaa', 'font-style': 'italic' } }, { name: 'Subtitle', element: 'h3', styles: { 'color': '#aaa', 'font-style': 'italic' } },
{ {
name: 'Special Container', name: 'Special Container',
element: 'div', element: 'div',
styles: { styles: {
padding: '5px 10px', padding: '5px 10px',
background: '#eee', background: '#eee',
border: '1px solid #ccc' border: '1px solid #ccc'
} }
}, },
/* Inline Styles */ /* Inline Styles */
// These are core styles available as toolbar buttons. You may opt enabling // These are core styles available as toolbar buttons. You may opt enabling
// some of them in the Styles combo, removing them from the toolbar. // some of them in the Styles combo, removing them from the toolbar.
// (This requires the "stylescombo" plugin) // (This requires the "stylescombo" plugin)
/* /*
{ name: 'Strong', element: 'strong', overrides: 'b' }, { name: 'Strong', element: 'strong', overrides: 'b' },
{ name: 'Emphasis', element: 'em' , overrides: 'i' }, { name: 'Emphasis', element: 'em' , overrides: 'i' },
{ name: 'Underline', element: 'u' }, { name: 'Underline', element: 'u' },
{ name: 'Strikethrough', element: 'strike' }, { name: 'Strikethrough', element: 'strike' },
{ name: 'Subscript', element: 'sub' }, { name: 'Subscript', element: 'sub' },
{ name: 'Superscript', element: 'sup' }, { name: 'Superscript', element: 'sup' },
*/ */
{ name: 'Marker', element: 'span', attributes: { 'class': 'marker' } }, { name: 'Marker', element: 'span', attributes: { 'class': 'marker' } },
{ name: 'Big', element: 'big' }, { name: 'Big', element: 'big' },
{ name: 'Small', element: 'small' }, { name: 'Small', element: 'small' },
{ name: 'Typewriter', element: 'tt' }, { name: 'Typewriter', element: 'tt' },
{ name: 'Computer Code', element: 'code' }, { name: 'Computer Code', element: 'code' },
{ name: 'Keyboard Phrase', element: 'kbd' }, { name: 'Keyboard Phrase', element: 'kbd' },
{ name: 'Sample Text', element: 'samp' }, { name: 'Sample Text', element: 'samp' },
{ name: 'Variable', element: 'var' }, { name: 'Variable', element: 'var' },
{ name: 'Deleted Text', element: 'del' }, { name: 'Deleted Text', element: 'del' },
{ name: 'Inserted Text', element: 'ins' }, { name: 'Inserted Text', element: 'ins' },
{ name: 'Cited Work', element: 'cite' }, { name: 'Cited Work', element: 'cite' },
{ name: 'Inline Quotation', element: 'q' }, { name: 'Inline Quotation', element: 'q' },
{ name: 'Language: RTL', element: 'span', attributes: { 'dir': 'rtl' } }, { name: 'Language: RTL', element: 'span', attributes: { 'dir': 'rtl' } },
{ name: 'Language: LTR', element: 'span', attributes: { 'dir': 'ltr' } }, { name: 'Language: LTR', element: 'span', attributes: { 'dir': 'ltr' } },
/* Object Styles */ /* Object Styles */
{ {
name: 'Styled image (left)', name: 'Styled image (left)',
element: 'img', element: 'img',
attributes: { 'class': 'left' } attributes: { 'class': 'left' }
}, },
{ {
name: 'Styled image (right)', name: 'Styled image (right)',
element: 'img', element: 'img',
attributes: { 'class': 'right' } attributes: { 'class': 'right' }
}, },
{ {
name: 'Compact table', name: 'Compact table',
element: 'table', element: 'table',
attributes: { attributes: {
cellpadding: '5', cellpadding: '5',
cellspacing: '0', cellspacing: '0',
border: '1', border: '1',
bordercolor: '#ccc' bordercolor: '#ccc'
}, },
styles: { styles: {
'border-collapse': 'collapse' 'border-collapse': 'collapse'
} }
}, },
{ name: 'Borderless Table', element: 'table', styles: { 'border-style': 'hidden', 'background-color': '#E6E6FA' } }, { name: 'Borderless Table', element: 'table', styles: { 'border-style': 'hidden', 'background-color': '#E6E6FA' } },
{ name: 'Square Bulleted List', element: 'ul', styles: { 'list-style-type': 'square' } } { name: 'Square Bulleted List', element: 'ul', styles: { 'list-style-type': 'square' } }
] ); ] );

View File

@ -1,5 +1,5 @@
{ {
"name": "Filtr. Stat", "name": "Filtr. Stat",
"description": "Count visitors, etc. IMPORTANT: Edit your Application ID in _plugin.php before use!", "description": "Count visitors, etc.",
"paths": "/,/entry,/page,/p,/user" "paths": "/,/entry,/page,/p,/user"
} }

View File

@ -1,14 +1,14 @@
/* /*
* jQuery FriendURL plugin 1.7 * jQuery FriendURL plugin 1.7
* *
* http://www.bulgaria-web-developers.com/projects/javascript/friendurl/ * http://www.bulgaria-web-developers.com/projects/javascript/friendurl/
* *
* Copyright (c) 2009-2012 Dimitar Ivanov * Copyright (c) 2009-2012 Dimitar Ivanov
* *
* Dual licensed under the MIT and GPL licenses: * Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php * http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
* *
* Bugfixed by: Vitaliy Stepanenko (http://nayjest.ru) * Bugfixed by: Vitaliy Stepanenko (http://nayjest.ru)
*/ */
(function($,undefined){var cyrillic=["а","б","в","г","д","е","ж","з","и","й","к","л","м","н","о","п","р","с","т","у","ф","х","ц","ч","ш","щ","ъ","ь","ю","я","А","Б","В","Г","Д","Е","Ж","З","И","Й","К","Л","М","Н","О","П","Р","С","Т","У","Ф","Х","Ц","Ч","Ш","Щ","Ъ","Ь","Ю","Я","Ї","ї","Є","є","Ы","ы","Ё","ё","ı","İ","ğ","Ğ","ü","Ü","ş","Ş","ö","Ö","ç","Ç","Á","á","Â","â","Ã","ã","À","à","Ç","ç","É","é","Ê","ê","Í","í","Ó","ó","Ô","ô","Õ","õ","Ú","ú"];var latin=["a","b","v","g","d","e","zh","z","i","y","k","l","m","n","o","p","r","s","t","u","f","h","ts","ch","sh","sht","a","y","yu","ya","A","B","B","G","D","E","Zh","Z","I","Y","K","L","M","N","O","P","R","S","T","U","F","H","Ts","Ch","Sh","Sht","A","Y","Yu","Ya","I","i","Ye","ye","I","i","Yo","yo","i","I","g","G","u","U","s","S","o","O","c","C","A","a","A","a","A","a","A","a","C","c","E","e","E","e","I","i","O","o","O","o","O","o","U","u"];var string="";function convert(text){string=str_replace(cyrillic,latin,text);return string}function str_replace(search,replace,subject,count){var i=0,j=0,temp="",repl="",sl=0,fl=0,f=[].concat(search),r=[].concat(replace),s=subject,ra=r instanceof Array,sa=s instanceof Array;s=[].concat(s);if(count){this.window[count]=0}for(i=0,sl=s.length;i<sl;i++){if(s[i]===""){continue}for(j=0,fl=f.length;j<fl;j++){temp=s[i]+"";repl=ra?(r[j]!==undefined?r[j]:""):r[0];s[i]=(temp).split(f[j]).join(repl);if(count&&s[i]!==temp){this.window[count]+=(temp.length-s[i].length)/f[j].length}}}return sa?s:s[0]}function Friendurl(){this.defaults={divider:"-",transliterate:false}}Friendurl.prototype={_initFriendurl:function(target,options){var self=this;$(target).keyup(function(){options=$.extend(self.defaults,options);var url=$(this).val();if(options.transliterate){url=convert(url)}url=url.toLowerCase().replace(/^\s+|\s+$/g,"").replace(/[_|\s]+/g,"-").replace(/[^a-z\u0400-\u04FF0-9-]+/g,"").replace(/[-]+/g,"-").replace(/^-+|-+$/g,"").replace(/[-]+/g,options.divider);var $el=$("#"+options.id);if($el.length>0){var nodeName=$el.get(0).tagName;switch(nodeName){case"INPUT":$el.val(url);break;default:$el.text(url)}}})}};$.friendurl=new Friendurl();$.friendurl.version="1.6";$.fn.friendurl=function(options){return this.each(function(){$.friendurl._initFriendurl(this,options)})}})(jQuery); (function($,undefined){var cyrillic=["а","б","в","г","д","е","ж","з","и","й","к","л","м","н","о","п","р","с","т","у","ф","х","ц","ч","ш","щ","ъ","ь","ю","я","А","Б","В","Г","Д","Е","Ж","З","И","Й","К","Л","М","Н","О","П","Р","С","Т","У","Ф","Х","Ц","Ч","Ш","Щ","Ъ","Ь","Ю","Я","Ї","ї","Є","є","Ы","ы","Ё","ё","ı","İ","ğ","Ğ","ü","Ü","ş","Ş","ö","Ö","ç","Ç","Á","á","Â","â","Ã","ã","À","à","Ç","ç","É","é","Ê","ê","Í","í","Ó","ó","Ô","ô","Õ","õ","Ú","ú"];var latin=["a","b","v","g","d","e","zh","z","i","y","k","l","m","n","o","p","r","s","t","u","f","h","ts","ch","sh","sht","a","y","yu","ya","A","B","B","G","D","E","Zh","Z","I","Y","K","L","M","N","O","P","R","S","T","U","F","H","Ts","Ch","Sh","Sht","A","Y","Yu","Ya","I","i","Ye","ye","I","i","Yo","yo","i","I","g","G","u","U","s","S","o","O","c","C","A","a","A","a","A","a","A","a","C","c","E","e","E","e","I","i","O","o","O","o","O","o","U","u"];var string="";function convert(text){string=str_replace(cyrillic,latin,text);return string}function str_replace(search,replace,subject,count){var i=0,j=0,temp="",repl="",sl=0,fl=0,f=[].concat(search),r=[].concat(replace),s=subject,ra=r instanceof Array,sa=s instanceof Array;s=[].concat(s);if(count){this.window[count]=0}for(i=0,sl=s.length;i<sl;i++){if(s[i]===""){continue}for(j=0,fl=f.length;j<fl;j++){temp=s[i]+"";repl=ra?(r[j]!==undefined?r[j]:""):r[0];s[i]=(temp).split(f[j]).join(repl);if(count&&s[i]!==temp){this.window[count]+=(temp.length-s[i].length)/f[j].length}}}return sa?s:s[0]}function Friendurl(){this.defaults={divider:"-",transliterate:false}}Friendurl.prototype={_initFriendurl:function(target,options){var self=this;$(target).keyup(function(){options=$.extend(self.defaults,options);var url=$(this).val();if(options.transliterate){url=convert(url)}url=url.toLowerCase().replace(/^\s+|\s+$/g,"").replace(/[_|\s]+/g,"-").replace(/[^a-z\u0400-\u04FF0-9-]+/g,"").replace(/[-]+/g,"-").replace(/^-+|-+$/g,"").replace(/[-]+/g,options.divider);var $el=$("#"+options.id);if($el.length>0){var nodeName=$el.get(0).tagName;switch(nodeName){case"INPUT":$el.val(url);break;default:$el.text(url)}}})}};$.friendurl=new Friendurl();$.friendurl.version="1.6";$.fn.friendurl=function(options){return this.each(function(){$.friendurl._initFriendurl(this,options)})}})(jQuery);

File diff suppressed because one or more lines are too long

View File

@ -1,3 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg height="512px" id="Layer_1" style="enable-background:new 0 0 512 512; fill: #FFF" version="1.1" viewBox="0 0 512 512" width="512px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><polygon points="396.6,160 416,180.7 256,352 96,180.7 115.3,160 256,310.5 "/></svg> <svg height="512px" id="Layer_1" style="enable-background:new 0 0 512 512; fill: #FFF" version="1.1" viewBox="0 0 512 512" width="512px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><polygon points="396.6,160 416,180.7 256,352 96,180.7 115.3,160 256,310.5 "/></svg>

Before

Width:  |  Height:  |  Size: 459 B

After

Width:  |  Height:  |  Size: 457 B

View File

@ -1,3 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg height="512px" id="Layer_1" style="enable-background:new 0 0 512 512; fill: #FFF" version="1.1" viewBox="0 0 512 512" width="512px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><polygon points="396.6,160 416,180.7 256,352 96,180.7 115.3,160 256,310.5 "/></svg> <svg height="512px" id="Layer_1" style="enable-background:new 0 0 512 512; fill: #FFF" version="1.1" viewBox="0 0 512 512" width="512px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><polygon points="396.6,160 416,180.7 256,352 96,180.7 115.3,160 256,310.5 "/></svg>

Before

Width:  |  Height:  |  Size: 459 B

After

Width:  |  Height:  |  Size: 457 B