
/**************************************
    Webutler V3.0 - www.webutler.de
    Copyright (c) 2008 - 2014
    Autor: Sven Zinke
    Free for any use
    Lizenz: GPL
**************************************/

var treemenubuilder;(function()
{CKEDITOR.plugins.add('sortmenu',{lang:[CKEDITOR.lang.detect(CKEDITOR.config.language)],init:function(editor)
{CKEDITOR.scriptLoader.load(this.path+'dialogs/treebuilder.js');CKEDITOR.scriptLoader.load(this.path+'dialogs/treeplugins.js');CKEDITOR.scriptLoader.load(this.path+'dialogs/html.js');CKEDITOR.document.appendStyleSheet(this.path+'dialogs/tree.css');editor.addCommand('sortmenu',new CKEDITOR.dialogCommand('sortmenu'));editor.ui.addButton('SortMenu',{label:editor.lang.sortmenu.title,icon:this.path+'sorticon.png',command:'sortmenu'});CKEDITOR.dialog.add('sortmenu',this.path+'dialogs/sortmenu.js');}});})();