Index: lams_central/web/fckeditor/editor/plugins/wikilink/fck_wikilink.html
===================================================================
RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/plugins/wikilink/Attic/fck_wikilink.html,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ lams_central/web/fckeditor/editor/plugins/wikilink/fck_wikilink.html 29 Apr 2008 02:06:03 -0000 1.1
@@ -0,0 +1,121 @@
+
+
+
+ WikiLink Properties
+
+
+
+
+
+
+
+
+
Index: lams_central/web/fckeditor/editor/plugins/wikilink/fckplugin.js
===================================================================
RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/plugins/wikilink/Attic/fckplugin.js,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ lams_central/web/fckeditor/editor/plugins/wikilink/fckplugin.js 29 Apr 2008 02:06:03 -0000 1.1
@@ -0,0 +1,21 @@
+// Register the related command.
+FCKCommands.RegisterCommand( 'WikiLink', new FCKDialogCommand( 'WikiLink', FCKLang.WikiLinkDlgTitle, FCKPlugins.Items['wikilink'].Path + 'fck_wikilink.html', 300, 220 ) ) ;
+
+// Create the "WikiLink" toolbar button.
+var oWikiLinkItem = new FCKToolbarButton( 'WikiLink', FCKLang.WikiLinkBtn ) ;
+oWikiLinkItem.IconPath = FCKPlugins.Items['wikilink'].Path + 'wikilink.gif' ;
+
+FCKToolbarItems.RegisterItem( 'WikiLink', oWikiLinkItem ) ;
+
+// The object used for all WikiLink operations.
+var FCKWikiLinks = new Object() ;
+
+FCKWikiLinks.InsertWikiLink = function ( linkName, wikiName )
+{
+ FCK.InsertHtml( '' + linkName + '' );
+}
+
+
+
+
+
Index: lams_central/web/fckeditor/editor/plugins/wikilink/wikilink.gif
===================================================================
RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/plugins/wikilink/Attic/wikilink.gif,v
diff -u
Binary files differ
Index: lams_central/web/fckeditor/editor/plugins/wikilink/lang/en.js
===================================================================
RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/plugins/wikilink/lang/Attic/en.js,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ lams_central/web/fckeditor/editor/plugins/wikilink/lang/en.js 29 Apr 2008 02:06:03 -0000 1.1
@@ -0,0 +1,8 @@
+FCKLang.WikiLinkBtn = 'Insert/Edit WikiLink' ;
+FCKLang.WikiLinkDlgTitle = 'WikiLink Properties' ;
+FCKLang.WikiLinkText = 'Displayed Text:' ;
+FCKLang.WikiLinkExisting = 'Existing Wiki:' ;
+FCKLang.WikiLinkNew = 'New Wiki:' ;
+FCKLang.WikiLinkErrNoName = 'Please enter the Displayed Text' ;
+FCKLang.WikiLinkErrNoWiki = 'Please specify which Wiki you would like to link to' ;
+
Index: lams_central/web/includes/javascript/fckconfig_custom.js
===================================================================
RCS file: /usr/local/cvsroot/lams_central/web/includes/javascript/Attic/fckconfig_custom.js,v
diff -u -r1.12 -r1.13
--- lams_central/web/includes/javascript/fckconfig_custom.js 13 Apr 2008 05:46:01 -0000 1.12
+++ lams_central/web/includes/javascript/fckconfig_custom.js 29 Apr 2008 02:06:03 -0000 1.13
@@ -21,7 +21,7 @@
['Bold','Italic','Underline', '-','Subscript','Superscript'],
['OrderedList','UnorderedList','-','Outdent','Indent'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
- ['Image','Link'],
+ ['WikiLink','Image','Link'],
['About'],
['TextColor','BGColor'],
['Table','Rule','Smiley','SpecialChar'],
@@ -36,3 +36,4 @@
FCKConfig.TemplatesXmlPath = FCKConfig.BasePath + '../../www/htmltemplates.xml';
FCKConfig.FontFormats = 'div;h1;h2;h3;h4;h5;h6;pre;address;p' ;
FCKConfig.EnterMode = 'div' ;
+FCKConfig.Plugins.Add('wikilink', 'en', FCKConfig.BasePath + '../../fckeditor/editor/plugins/');