Intermediate change to fckeditor

SVN revision: 1922
This commit is contained in:
2007-09-19 16:09:44 +00:00
parent e13abf2543
commit 659c919262
2 changed files with 9 additions and 4 deletions
@@ -21,13 +21,18 @@
* This plugin registers ELOG specific Toolbar items
*/
// Register toolbar button
// Register 'Submit' toolbar button
var oELOGSubmitItem = new FCKToolbarButton('ELOGSubmit', 'Submit Entry', null, null, true, null, 3);
FCKToolbarItems.RegisterItem('ELOGSubmit', oELOGSubmitItem);
// Create 'InsertTime' toolbar button
var oInsertTimeItem = new FCKToolbarButton('InsertTime', 'Insert Date/Time', null, null, true, null, 4);
oInsertTimeItem.IconPath = FCKConfig.PluginsPath + 'elog/inserttime.gif' ;
FCKToolbarItems.RegisterItem('InsertTime', oInsertTimeItem);
// Register command
var oELOGSubmitCommand = new Object() ;
oELOGSubmitCommand.Name = 'ELOGSubmit' ;
var oELOGSubmitCommand = new Object();
oELOGSubmitCommand.Name = 'ELOGSubmit';
oELOGSubmitCommand.Execute = function()
{
+1 -1
View File
@@ -13,7 +13,7 @@ FCKConfig.ToolbarSets["Default"] = [
['OrderedList','UnorderedList','-','Outdent','Indent'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['Link','Unlink','Anchor'],
['Image','Table','Rule','Smiley','SpecialChar'],
['Image','Table','Rule','Smiley','SpecialChar','InsertTime'],
['Style','FontFormat','FontName','FontSize'],
['TextColor','BGColor'],
['About']