mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-12 19:33:03 +00:00
Intermediate change to fckeditor
SVN revision: 1922
This commit is contained in:
parent
e13abf2543
commit
659c919262
@ -21,13 +21,18 @@
|
|||||||
* This plugin registers ELOG specific Toolbar items
|
* 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);
|
var oELOGSubmitItem = new FCKToolbarButton('ELOGSubmit', 'Submit Entry', null, null, true, null, 3);
|
||||||
FCKToolbarItems.RegisterItem('ELOGSubmit', oELOGSubmitItem);
|
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
|
// Register command
|
||||||
var oELOGSubmitCommand = new Object() ;
|
var oELOGSubmitCommand = new Object();
|
||||||
oELOGSubmitCommand.Name = 'ELOGSubmit' ;
|
oELOGSubmitCommand.Name = 'ELOGSubmit';
|
||||||
|
|
||||||
oELOGSubmitCommand.Execute = function()
|
oELOGSubmitCommand.Execute = function()
|
||||||
{
|
{
|
||||||
|
|||||||
@ -13,7 +13,7 @@ FCKConfig.ToolbarSets["Default"] = [
|
|||||||
['OrderedList','UnorderedList','-','Outdent','Indent'],
|
['OrderedList','UnorderedList','-','Outdent','Indent'],
|
||||||
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
|
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
|
||||||
['Link','Unlink','Anchor'],
|
['Link','Unlink','Anchor'],
|
||||||
['Image','Table','Rule','Smiley','SpecialChar'],
|
['Image','Table','Rule','Smiley','SpecialChar','InsertTime'],
|
||||||
['Style','FontFormat','FontName','FontSize'],
|
['Style','FontFormat','FontName','FontSize'],
|
||||||
['TextColor','BGColor'],
|
['TextColor','BGColor'],
|
||||||
['About']
|
['About']
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user