Modificare il file:
\FckEditor\plugins\TmplSave\fckplugin.js
/* * FCKeditor - The text editor for internet * Copyright (C) 2003-2004 Frederico Caldeira Knabben * * Template Save Plugin * Copyright (c) 2005 Stephen Simmons * * Licensed under the terms of the GNU Lesser General Public License: * http://www.opensource.org/licenses/lgpl-license.php * * For further information visit: * http://www.fckeditor.net/ * * File Name: fckplugin.js * Interface to command for saving user templates from the main editor * Modifies the fcktemplates.xml file * Version 1.0, 29-Jun-2005 * * Version: 2.0 RC1 (FCKEditor) * Modified: 2004-11-22 11:20:10 * * File Authors: * Frederico Caldeira Knabben (fredck@fckeditor.net) * Stephen Simmons (enquiries@simmonstech.net) */ function regCommandButton(daButton,daFile,daWidth,daHight) { FCKCommands.RegisterCommand( daButton, new FCKDialogCommand( FCKLang['Dlg' + daButton + 'Title'], FCKLang['Dlg' + daButton + 'Title'], FCKConfig.PluginsPath + daButton + '/' + daFile , daWidth, daHight ) ) ; var oReplaceItem = new FCKToolbarButton( daButton, FCKLang['Dlg' + daButton + 'Title'], FCKLang['SaveTemplateButtonTitle'], FCK_TOOLBARITEM_ONLYICON ) ; oReplaceItem.IconPath = FCKConfig.PluginsPath + daButton+'/'+ daButton + '.gif' ; FCKToolbarItems.RegisterItem( daButton, oReplaceItem ) ; } regCommandButton('TmplSave','tmplsave.asp?TemplateFolder='+FCKConfig.TemplateFolder,300,150);
[
Íàçàä
]