User:Micki/extratoolbarbuttons.js: Difference between revisions
Content deleted Content added
mNo edit summary |
finished |
||
Line 1: | Line 1: | ||
/*<nowiki><pre>*/ |
/*<nowiki><pre>*/ |
||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
||
$j( |
$j(document).ready( function() { |
||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
' |
'section': 'advanced', |
||
'group': 'format', |
|||
'tools': { |
|||
'Strikethrough': { |
|||
label: 'Precrtan tekst', |
|||
type: 'button', |
|||
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/4/45/Gnome-format-text-strikethrough.svg/25px-Gnome-format-text-strikethrough.svg.png', |
|||
action: { |
|||
type: 'encapsulate', |
|||
options: { |
|||
pre: "<s>", |
|||
post: "</s>" |
|||
} |
|||
} |
|||
} |
} |
||
} |
} |
||
} ); |
} ); |
||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'advanced', |
||
' |
'group': 'format', |
||
'tools': { |
|||
'Template': { |
|||
label: 'Šablon', |
|||
type: 'button', |
|||
icon: 'http://upload.wikimedia.org/wikipedia/commons/d/dd/Vector_toolbar_template_button.png', |
|||
action: { |
|||
type: 'encapsulate', |
|||
options: { |
|||
pre: "{{", |
|||
post: "}}" |
|||
} |
|||
} |
|||
} |
|||
} |
|||
} ); |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
|||
'section': 'advanced', |
|||
'group': 'format', |
|||
'tools': { |
|||
'External link': { |
|||
label: 'Spoljašnja veza', |
|||
type: 'button', |
|||
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/4/49/Gnome-go-previous.svg/25px-Gnome-go-previous.svg.png', |
|||
action: { |
|||
type: 'encapsulate', |
|||
options: { |
|||
pre: "[", |
|||
post: "]" |
|||
} |
|||
} |
|||
} |
} |
||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'advanced', |
||
'group': ' |
'group': 'format', |
||
'tools': { |
'tools': { |
||
'Internal link': { |
'Internal link': { |
||
label: ' |
label: 'Unutrašnja veza', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/9/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/9/94/Gnome-go-next.svg/25px-Gnome-go-next.svg.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
Line 40: | Line 74: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'advanced', |
||
'group': ' |
'group': 'format', |
||
'tools': { |
'tools': { |
||
' |
'Link': { |
||
label: ' |
label: 'Veza', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/2/27/Gnome-go-last.svg/25px-Gnome-go-last.svg.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: "[[ |
pre: "[[|", |
||
post: "]]" |
post: "]]" |
||
} |
} |
||
Line 63: | Line 92: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'advanced', |
||
'group': ' |
'group': 'format', |
||
'tools': { |
'tools': { |
||
' |
'Vertical line': { |
||
label: ' |
label: 'Uspravna crta', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/4/46/Gnome-go-first.svg/25px-Gnome-go-first.svg.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: " |
pre: "|", |
||
post: "" |
post: "" |
||
} |
} |
||
Line 86: | Line 110: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'advanced', |
||
'group': ' |
'group': 'format', |
||
'tools': { |
'tools': { |
||
' |
'Category': { |
||
label: ' |
label: 'Kategorija', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/6/6d/Gnome-go-bottom.svg/25px-Gnome-go-bottom.svg.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: "{{ |
pre: "[[{{subst:ns:14}}:", |
||
post: "" |
post: "]]" |
||
} |
} |
||
} |
} |
||
Line 109: | Line 128: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'advanced', |
||
'group': ' |
'group': 'format', |
||
'tools': { |
'tools': { |
||
' |
'Advanced image': { |
||
label: ' |
label: 'Slika 250px', |
||
type: 'button', |
|||
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/5/5f/Image-x-generic.svg/25px-Image-x-generic.svg.png', |
|||
action: { |
|||
type: 'encapsulate', |
|||
options: { |
|||
pre: "[[{{subst:ns:6}}:", |
|||
post: "|thumb|right|250px|Opis]]" |
|||
} |
|||
} |
|||
} |
|||
} |
|||
} ); |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
|||
'section': 'advanced', |
|||
'group': 'format', |
|||
'tools': { |
|||
'Spam': { |
|||
label: 'Spam', |
|||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/b/bc/Commons-emblem-issue.svg/25px-Commons-emblem-issue.svg.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: "{{ |
pre: "{{subst:Spam}}", |
||
post: "" |
post: "" |
||
} |
} |
||
Line 132: | Line 164: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'advanced', |
||
'group': ' |
'group': 'format', |
||
'tools': { |
'tools': { |
||
' |
'Test': { |
||
label: ' |
label: 'Test', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/1/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/1/16/Commons-emblem-hand.svg/25px-Commons-emblem-hand.svg.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: " |
pre: "{{subst:test}}~~~~", |
||
post: "" |
post: "" |
||
} |
} |
||
Line 155: | Line 182: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'advanced', |
||
'group': ' |
'group': 'format', |
||
'tools': { |
'tools': { |
||
' |
'Smile': { |
||
label: ' |
label: 'Smeje se', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/7/79/Face-smile.svg/25px-Face-smile.svg.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: "[[ |
pre: "[[{{subst:ns:6}}:Face-smile.svg|20px]]", |
||
post: "" |
post: "" |
||
} |
} |
||
Line 178: | Line 200: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'advanced', |
||
'group': ' |
'group': 'format', |
||
'tools': { |
'tools': { |
||
' |
'Winking': { |
||
label: ' |
label: 'Namiguje', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/5/57/Face-wink.svg/25px-Face-wink.svg.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: "[[ |
pre: "[[{{subst:ns:6}}:Face-wink.svg|20px]]", |
||
post: "" |
post: "" |
||
} |
} |
||
Line 201: | Line 218: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'advanced', |
||
'group': ' |
'group': 'format', |
||
'tools': { |
'tools': { |
||
' |
'Done': { |
||
label: ' |
label: 'Urađeno', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/0/0e/Dialog-apply.svg/25px-Dialog-apply.svg.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: " |
pre: "{{done}} ~~~~", |
||
post: "" |
post: "" |
||
} |
} |
||
Line 224: | Line 236: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'advanced', |
||
'group': ' |
'group': 'format', |
||
'tools': { |
'tools': { |
||
' |
'Unsigned post': { |
||
label: ' |
label: 'Komentar bez potpisa', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/1/1b/Emblem-person-red.svg/25px-Emblem-person-red.svg.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: " |
pre: "{{Unsigned|", |
||
post: " |
post: "}}" |
||
} |
} |
||
} |
} |
||
Line 247: | Line 254: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'advanced', |
||
'group': ' |
'group': 'format', |
||
'tools': { |
'tools': { |
||
' |
'Welcome': { |
||
label: ' |
label: 'Dobrodošlica', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/d/d8/Emblem-person-blue.svg/25px-Emblem-person-blue.svg.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: "{{ |
pre: "{{subst:welcome}} ~~~~", |
||
post: "" |
post: "" |
||
} |
} |
||
Line 270: | Line 272: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'advanced', |
||
'group': ' |
'group': 'format', |
||
'tools': { |
'tools': { |
||
' |
'Off-topic': { |
||
label: ' |
label: 'Off-topic', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/6/61/Emblem-person-grey.svg/25px-Emblem-person-grey.svg.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: " |
pre: "{{subst:offtopic}}", |
||
post: " |
post: "" |
||
} |
} |
||
} |
} |
||
Line 293: | Line 290: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'advanced', |
||
'group': ' |
'group': 'format', |
||
'tools': { |
'tools': { |
||
' |
'Signature': { |
||
label: ' |
label: 'Potpis', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/7/79/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/7/79/Insert-signature.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: " |
pre: " ~~~~", |
||
post: " |
post: "" |
||
} |
} |
||
} |
} |
||
Line 319: | Line 311: | ||
} |
} |
||
//Emoticons |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
||
$j(document).ready( function() { |
$j( document ).ready( function() { |
||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
' |
'sections': { |
||
' |
'emoticons': { |
||
'type': 'toolbar', |
|||
'label': 'Emoticons' |
|||
} |
|||
} |
|||
} ); |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
|||
'section': 'emoticons', |
|||
'groups': { |
|||
'emoticons': { |
|||
'label': 'Emoticons' |
|||
} |
|||
} |
|||
} ); |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
|||
'section': 'emoticons', |
|||
'group': 'emoticons', |
|||
'tools': { |
'tools': { |
||
' |
'smile': { |
||
label: ' |
label: 'Smile', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/7/79/Face-smile.svg/25px-Face-smile.svg.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: " |
pre: "[[{{subst:ns:6}}:Face-smile.svg|20px]]" |
||
post: "" |
|||
} |
} |
||
} |
} |
||
Line 339: | Line 347: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'emoticons', |
||
'group': ' |
'group': 'emoticons', |
||
'tools': { |
'tools': { |
||
' |
'frown': { |
||
label: ' |
label: 'Frown', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/0/06/Face-sad.svg/25px-Face-sad.svg.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: " |
pre: "[[{{subst:ns:6}}:Face-sad.svg|20px]]" |
||
post: "" |
|||
} |
} |
||
} |
} |
||
Line 362: | Line 364: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'emoticons', |
||
'group': ' |
'group': 'emoticons', |
||
'tools': { |
'tools': { |
||
' |
'plain': { |
||
label: ' |
label: 'Plain', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/d/df/Face-plain.svg/25px-Face-plain.svg.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: "[[{{subst:ns:6}}:Face-plain.svg|20px]]" |
|||
pre: "{{ WProjekti \n|commons = \n|commonshr = \n|commonscat = \n|commonscathr = \n|wikivrste = \n|wikivrstehr = \n|wikizvor = \n|wikizvor_autor = \n|wječnik = \n|wikiknjige = \n|wikicitat = \n}}", |
|||
post: "" |
|||
} |
} |
||
} |
} |
||
Line 385: | Line 381: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'emoticons', |
||
'group': ' |
'group': 'emoticons', |
||
'tools': { |
'tools': { |
||
' |
'wink': { |
||
label: ' |
label: 'Wink', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/5/57/Face-wink.svg/25px-Face-wink.svg.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: "{{ |
pre: "[[{{subst:ns:6}}:Face-wink.svg|20px]]" |
||
post: "" |
|||
} |
} |
||
} |
} |
||
Line 408: | Line 398: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'emoticons', |
||
'group': ' |
'group': 'emoticons', |
||
'tools': { |
'tools': { |
||
' |
'tongue': { |
||
label: ' |
label: 'Tongue', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/7/7e/Face-tongue.svg/25px-Face-tongue.svg.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: "[[{{subst:ns:6}}:Face-tongue.svg|20px]]" |
|||
pre: "{{ Srediti slike \n|slika1 = \n|slika2 = \n|slika3 = \n|slika4 = \n|slika5 = \n|slika6 = \n|slika7 = \n|slika8 = \n|slika9 = \n|datum = {{subst:#time: d. xg Y.|+1hours+14days}} \n|potpis = --~~~~ \n}}", |
|||
post: "" |
|||
} |
} |
||
} |
} |
||
Line 431: | Line 415: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'emoticons', |
||
'group': ' |
'group': 'emoticons', |
||
'tools': { |
'tools': { |
||
' |
'surprised': { |
||
label: ' |
label: 'Surprised', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/7/79/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/7/79/Face-surprise.svg/25px-Face-surprise.svg.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: "{{subst: |
pre: "[[{{subst:ns:6}}:Face-surprise.svg|20px]]" |
||
post: "" |
|||
} |
} |
||
} |
} |
||
Line 454: | Line 432: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'emoticons', |
||
'group': ' |
'group': 'emoticons', |
||
'tools': { |
'tools': { |
||
' |
'confused': { |
||
label: ' |
label: 'Confused', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/1/1e/Face-confused.svg/25px-Face-confused.svg.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: "{{subst: |
pre: "[[{{subst:ns:6}}:Face-confused.svg|20px]]" |
||
post: "" |
|||
} |
} |
||
} |
} |
||
Line 477: | Line 449: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'emoticons', |
||
'group': ' |
'group': 'emoticons', |
||
'tools': { |
'tools': { |
||
' |
'grin': { |
||
label: ' |
label: 'Grin', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/b/bc/Face-grin.svg/25px-Face-grin.svg.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: "{{ |
pre: "[[{{subst:ns:6}}:Face-grin.svg|20px]]" |
||
post: "}}" |
|||
} |
} |
||
} |
} |
||
Line 500: | Line 466: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'emoticons', |
||
'group': ' |
'group': 'emoticons', |
||
'tools': { |
'tools': { |
||
' |
'braces': { |
||
label: ' |
label: 'Braces grin', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/6/6e/Face-grin-braces.svg/25px-Face-grin-braces.svg.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: "{{subst: |
pre: "[[{{subst:ns:6}}:Face-grin-braces.svg|20px]]" |
||
post: "}}" |
|||
} |
} |
||
} |
} |
||
Line 523: | Line 483: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'emoticons', |
||
'group': ' |
'group': 'emoticons', |
||
'tools': { |
'tools': { |
||
' |
'crying': { |
||
label: ' |
label: 'Crying', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/e/e9/Face-crying.svg/25px-Face-crying.svg.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: "{{ |
pre: "[[{{subst:ns:6}}:Face-crying.svg|20px]]" |
||
post: "" |
|||
} |
} |
||
} |
} |
||
Line 546: | Line 500: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'emoticons', |
||
'group': ' |
'group': 'emoticons', |
||
'tools': { |
'tools': { |
||
' |
'blush': { |
||
label: ' |
label: 'Blush', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/4/4d/Face-blush.svg/25px-Face-blush.svg.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: "{{subst: |
pre: "[[{{subst:ns:6}}:Face-blush.svg|20px]]" |
||
post: "}}" |
|||
} |
} |
||
} |
} |
||
Line 569: | Line 517: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'emoticons', |
||
'group': ' |
'group': 'emoticons', |
||
'tools': { |
'tools': { |
||
' |
'laughing': { |
||
label: ' |
label: 'Laughing', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/1/15/Face-smile-big.svg/25px-Face-smile-big.svg.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: "{{subst: |
pre: "[[{{subst:ns:6}}:Face-smile-big.svg|20px]]" |
||
post: "" |
|||
} |
} |
||
} |
} |
||
Line 592: | Line 534: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'emoticons', |
||
'group': ' |
'group': 'emoticons', |
||
'tools': { |
'tools': { |
||
' |
'kiss': { |
||
label: ' |
label: 'Kiss', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/a/a8/Face-kiss.svg/25px-Face-kiss.svg.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: "{{subst: |
pre: "[[{{subst:ns:6}}:Face-kiss.svg|20px]]" |
||
post: "" |
|||
} |
} |
||
} |
} |
||
Line 615: | Line 551: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'emoticons', |
||
'group': ' |
'group': 'emoticons', |
||
'tools': { |
'tools': { |
||
' |
'glasses': { |
||
label: ' |
label: 'Glasses', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/0/0f/Face-glasses.svg/25px-Face-glasses.svg.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: "{{subst: |
pre: "[[{{subst:ns:6}}:Face-glasses.svg|20px]]" |
||
post: "" |
|||
} |
} |
||
} |
} |
||
Line 638: | Line 568: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'emoticons', |
||
'group': ' |
'group': 'emoticons', |
||
'tools': { |
'tools': { |
||
' |
'nerd': { |
||
label: ' |
label: 'Nerd', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/0/03/Face-grin_expert.svg/25px-Face-grin_expert.svg.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: "{{subst: |
pre: "[[{{subst:ns:6}}:Face-grin_expert.svg|20px]]" |
||
post: "}}--~~~~" |
|||
} |
} |
||
} |
} |
||
Line 661: | Line 585: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'emoticons', |
||
'group': ' |
'group': 'emoticons', |
||
'tools': { |
'tools': { |
||
' |
'angel': { |
||
label: ' |
label: 'Angel', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/d/d5/Face-angel.svg/25px-Face-angel.svg.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: "{{subst: |
pre: "[[{{subst:ns:6}}:Face-angel.svg|20px]]" |
||
post: "" |
|||
} |
} |
||
} |
} |
||
Line 684: | Line 602: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'emoticons', |
||
'group': ' |
'group': 'emoticons', |
||
'tools': { |
'tools': { |
||
' |
'devil': { |
||
label: ' |
label: 'Devil', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/7/70/Face-devil-grin.svg/25px-Face-devil-grin.svg.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: "{{ |
pre: "[[{{subst:ns:6}}:Face-devil-grin.svg|20px]]" |
||
post: "" |
|||
} |
} |
||
} |
} |
||
Line 707: | Line 619: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'emoticons', |
||
'group': ' |
'group': 'emoticons', |
||
'tools': { |
'tools': { |
||
' |
'monkey': { |
||
label: ' |
label: 'Monkey', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/b/bc/Face-monkey.svg/25px-Face-monkey.svg.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: "{{ |
pre: "[[{{subst:ns:6}}:Face-monkey.svg|20px]]" |
||
post: "" |
|||
} |
} |
||
} |
} |
||
Line 732: | Line 638: | ||
} ); |
} ); |
||
} |
} |
||
/*</nowiki></pre>*/ |
/*</nowiki></pre>*/ |
Revision as of 08:42, 14 October 2011
/*<nowiki><pre>*/
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) {
$j(document).ready( function() {
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'format',
'tools': {
'Strikethrough': {
label: 'Precrtan tekst',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/4/45/Gnome-format-text-strikethrough.svg/25px-Gnome-format-text-strikethrough.svg.png',
action: {
type: 'encapsulate',
options: {
pre: "<s>",
post: "</s>"
}
}
}
}
} );
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'format',
'tools': {
'Template': {
label: 'Šablon',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/d/dd/Vector_toolbar_template_button.png',
action: {
type: 'encapsulate',
options: {
pre: "{{",
post: "}}"
}
}
}
}
} );
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'format',
'tools': {
'External link': {
label: 'Spoljašnja veza',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/4/49/Gnome-go-previous.svg/25px-Gnome-go-previous.svg.png',
action: {
type: 'encapsulate',
options: {
pre: "[",
post: "]"
}
}
}
}
} );
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'format',
'tools': {
'Internal link': {
label: 'Unutrašnja veza',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/9/94/Gnome-go-next.svg/25px-Gnome-go-next.svg.png',
action: {
type: 'encapsulate',
options: {
pre: "[[",
post: "]]"
}
}
}
}
} );
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'format',
'tools': {
'Link': {
label: 'Veza',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/2/27/Gnome-go-last.svg/25px-Gnome-go-last.svg.png',
action: {
type: 'encapsulate',
options: {
pre: "[[|",
post: "]]"
}
}
}
}
} );
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'format',
'tools': {
'Vertical line': {
label: 'Uspravna crta',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/4/46/Gnome-go-first.svg/25px-Gnome-go-first.svg.png',
action: {
type: 'encapsulate',
options: {
pre: "|",
post: ""
}
}
}
}
} );
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'format',
'tools': {
'Category': {
label: 'Kategorija',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/6/6d/Gnome-go-bottom.svg/25px-Gnome-go-bottom.svg.png',
action: {
type: 'encapsulate',
options: {
pre: "[[{{subst:ns:14}}:",
post: "]]"
}
}
}
}
} );
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'format',
'tools': {
'Advanced image': {
label: 'Slika 250px',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/5/5f/Image-x-generic.svg/25px-Image-x-generic.svg.png',
action: {
type: 'encapsulate',
options: {
pre: "[[{{subst:ns:6}}:",
post: "|thumb|right|250px|Opis]]"
}
}
}
}
} );
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'format',
'tools': {
'Spam': {
label: 'Spam',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/b/bc/Commons-emblem-issue.svg/25px-Commons-emblem-issue.svg.png',
action: {
type: 'encapsulate',
options: {
pre: "{{subst:Spam}}",
post: ""
}
}
}
}
} );
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'format',
'tools': {
'Test': {
label: 'Test',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/1/16/Commons-emblem-hand.svg/25px-Commons-emblem-hand.svg.png',
action: {
type: 'encapsulate',
options: {
pre: "{{subst:test}}~~~~",
post: ""
}
}
}
}
} );
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'format',
'tools': {
'Smile': {
label: 'Smeje se',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/7/79/Face-smile.svg/25px-Face-smile.svg.png',
action: {
type: 'encapsulate',
options: {
pre: "[[{{subst:ns:6}}:Face-smile.svg|20px]]",
post: ""
}
}
}
}
} );
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'format',
'tools': {
'Winking': {
label: 'Namiguje',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/5/57/Face-wink.svg/25px-Face-wink.svg.png',
action: {
type: 'encapsulate',
options: {
pre: "[[{{subst:ns:6}}:Face-wink.svg|20px]]",
post: ""
}
}
}
}
} );
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'format',
'tools': {
'Done': {
label: 'Urađeno',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/0/0e/Dialog-apply.svg/25px-Dialog-apply.svg.png',
action: {
type: 'encapsulate',
options: {
pre: "{{done}} ~~~~",
post: ""
}
}
}
}
} );
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'format',
'tools': {
'Unsigned post': {
label: 'Komentar bez potpisa',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/1/1b/Emblem-person-red.svg/25px-Emblem-person-red.svg.png',
action: {
type: 'encapsulate',
options: {
pre: "{{Unsigned|",
post: "}}"
}
}
}
}
} );
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'format',
'tools': {
'Welcome': {
label: 'Dobrodošlica',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/d/d8/Emblem-person-blue.svg/25px-Emblem-person-blue.svg.png',
action: {
type: 'encapsulate',
options: {
pre: "{{subst:welcome}} ~~~~",
post: ""
}
}
}
}
} );
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'format',
'tools': {
'Off-topic': {
label: 'Off-topic',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/6/61/Emblem-person-grey.svg/25px-Emblem-person-grey.svg.png',
action: {
type: 'encapsulate',
options: {
pre: "{{subst:offtopic}}",
post: ""
}
}
}
}
} );
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'format',
'tools': {
'Signature': {
label: 'Potpis',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/7/79/Insert-signature.png',
action: {
type: 'encapsulate',
options: {
pre: " ~~~~",
post: ""
}
}
}
}
} );
} );
}
//Emoticons
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) {
$j( document ).ready( function() {
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'sections': {
'emoticons': {
'type': 'toolbar',
'label': 'Emoticons'
}
}
} );
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'emoticons',
'groups': {
'emoticons': {
'label': 'Emoticons'
}
}
} );
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'emoticons',
'group': 'emoticons',
'tools': {
'smile': {
label: 'Smile',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/7/79/Face-smile.svg/25px-Face-smile.svg.png',
action: {
type: 'encapsulate',
options: {
pre: "[[{{subst:ns:6}}:Face-smile.svg|20px]]"
}
}
}
}
} );
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'emoticons',
'group': 'emoticons',
'tools': {
'frown': {
label: 'Frown',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/0/06/Face-sad.svg/25px-Face-sad.svg.png',
action: {
type: 'encapsulate',
options: {
pre: "[[{{subst:ns:6}}:Face-sad.svg|20px]]"
}
}
}
}
} );
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'emoticons',
'group': 'emoticons',
'tools': {
'plain': {
label: 'Plain',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/d/df/Face-plain.svg/25px-Face-plain.svg.png',
action: {
type: 'encapsulate',
options: {
pre: "[[{{subst:ns:6}}:Face-plain.svg|20px]]"
}
}
}
}
} );
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'emoticons',
'group': 'emoticons',
'tools': {
'wink': {
label: 'Wink',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/5/57/Face-wink.svg/25px-Face-wink.svg.png',
action: {
type: 'encapsulate',
options: {
pre: "[[{{subst:ns:6}}:Face-wink.svg|20px]]"
}
}
}
}
} );
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'emoticons',
'group': 'emoticons',
'tools': {
'tongue': {
label: 'Tongue',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/7/7e/Face-tongue.svg/25px-Face-tongue.svg.png',
action: {
type: 'encapsulate',
options: {
pre: "[[{{subst:ns:6}}:Face-tongue.svg|20px]]"
}
}
}
}
} );
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'emoticons',
'group': 'emoticons',
'tools': {
'surprised': {
label: 'Surprised',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/7/79/Face-surprise.svg/25px-Face-surprise.svg.png',
action: {
type: 'encapsulate',
options: {
pre: "[[{{subst:ns:6}}:Face-surprise.svg|20px]]"
}
}
}
}
} );
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'emoticons',
'group': 'emoticons',
'tools': {
'confused': {
label: 'Confused',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/1/1e/Face-confused.svg/25px-Face-confused.svg.png',
action: {
type: 'encapsulate',
options: {
pre: "[[{{subst:ns:6}}:Face-confused.svg|20px]]"
}
}
}
}
} );
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'emoticons',
'group': 'emoticons',
'tools': {
'grin': {
label: 'Grin',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/b/bc/Face-grin.svg/25px-Face-grin.svg.png',
action: {
type: 'encapsulate',
options: {
pre: "[[{{subst:ns:6}}:Face-grin.svg|20px]]"
}
}
}
}
} );
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'emoticons',
'group': 'emoticons',
'tools': {
'braces': {
label: 'Braces grin',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/6/6e/Face-grin-braces.svg/25px-Face-grin-braces.svg.png',
action: {
type: 'encapsulate',
options: {
pre: "[[{{subst:ns:6}}:Face-grin-braces.svg|20px]]"
}
}
}
}
} );
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'emoticons',
'group': 'emoticons',
'tools': {
'crying': {
label: 'Crying',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/e/e9/Face-crying.svg/25px-Face-crying.svg.png',
action: {
type: 'encapsulate',
options: {
pre: "[[{{subst:ns:6}}:Face-crying.svg|20px]]"
}
}
}
}
} );
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'emoticons',
'group': 'emoticons',
'tools': {
'blush': {
label: 'Blush',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/4/4d/Face-blush.svg/25px-Face-blush.svg.png',
action: {
type: 'encapsulate',
options: {
pre: "[[{{subst:ns:6}}:Face-blush.svg|20px]]"
}
}
}
}
} );
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'emoticons',
'group': 'emoticons',
'tools': {
'laughing': {
label: 'Laughing',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/1/15/Face-smile-big.svg/25px-Face-smile-big.svg.png',
action: {
type: 'encapsulate',
options: {
pre: "[[{{subst:ns:6}}:Face-smile-big.svg|20px]]"
}
}
}
}
} );
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'emoticons',
'group': 'emoticons',
'tools': {
'kiss': {
label: 'Kiss',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/a/a8/Face-kiss.svg/25px-Face-kiss.svg.png',
action: {
type: 'encapsulate',
options: {
pre: "[[{{subst:ns:6}}:Face-kiss.svg|20px]]"
}
}
}
}
} );
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'emoticons',
'group': 'emoticons',
'tools': {
'glasses': {
label: 'Glasses',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/0/0f/Face-glasses.svg/25px-Face-glasses.svg.png',
action: {
type: 'encapsulate',
options: {
pre: "[[{{subst:ns:6}}:Face-glasses.svg|20px]]"
}
}
}
}
} );
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'emoticons',
'group': 'emoticons',
'tools': {
'nerd': {
label: 'Nerd',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/0/03/Face-grin_expert.svg/25px-Face-grin_expert.svg.png',
action: {
type: 'encapsulate',
options: {
pre: "[[{{subst:ns:6}}:Face-grin_expert.svg|20px]]"
}
}
}
}
} );
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'emoticons',
'group': 'emoticons',
'tools': {
'angel': {
label: 'Angel',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/d/d5/Face-angel.svg/25px-Face-angel.svg.png',
action: {
type: 'encapsulate',
options: {
pre: "[[{{subst:ns:6}}:Face-angel.svg|20px]]"
}
}
}
}
} );
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'emoticons',
'group': 'emoticons',
'tools': {
'devil': {
label: 'Devil',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/7/70/Face-devil-grin.svg/25px-Face-devil-grin.svg.png',
action: {
type: 'encapsulate',
options: {
pre: "[[{{subst:ns:6}}:Face-devil-grin.svg|20px]]"
}
}
}
}
} );
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'emoticons',
'group': 'emoticons',
'tools': {
'monkey': {
label: 'Monkey',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/b/bc/Face-monkey.svg/25px-Face-monkey.svg.png',
action: {
type: 'encapsulate',
options: {
pre: "[[{{subst:ns:6}}:Face-monkey.svg|20px]]"
}
}
}
}
} );
} );
}
/*</nowiki></pre>*/