From 0b9ca3face16e9a9dfcf316dc37e933b35c65a66 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 8 Aug 2006 01:35:46 +0000 Subject: [PATCH] Supprime fichiers inutiles de subversion --- htdocs/includes/fckeditor/.cvsignore | 2 + .../_plugins/findreplace/fckplugin.js | 34 ---- .../_samples/_plugins/findreplace/find.gif | Bin 595 -> 0 bytes .../_samples/_plugins/findreplace/find.html | 168 --------------- .../_samples/_plugins/findreplace/lang/en.js | 29 --- .../_samples/_plugins/findreplace/lang/fr.js | 29 --- .../_samples/_plugins/findreplace/lang/it.js | 29 --- .../_samples/_plugins/findreplace/replace.gif | Bin 326 -> 0 bytes .../_plugins/findreplace/replace.html | 131 ------------ .../_samples/_plugins/samples/fckplugin.js | 69 ------- .../includes/fckeditor/_samples/afp/fck.afpa | 1 - .../fckeditor/_samples/afp/fck.afpa.code | 121 ----------- .../fckeditor/_samples/afp/sample01.afp | 52 ----- .../_samples/afp/sampleposteddata.afp | 54 ----- .../fckeditor/_samples/asp/sample01.asp | 55 ----- .../fckeditor/_samples/asp/sample02.asp | 104 ---------- .../fckeditor/_samples/asp/sample03.asp | 88 -------- .../fckeditor/_samples/asp/sample04.asp | 94 --------- .../_samples/asp/sampleposteddata.asp | 49 ----- .../fckeditor/_samples/cfm/sample01.cfm | 85 -------- .../fckeditor/_samples/cfm/sample02_mx.cfm | 91 --------- .../includes/fckeditor/_samples/default.html | 30 --- .../fckeditor/_samples/html/sample01.html | 55 ----- .../fckeditor/_samples/html/sample02.html | 59 ------ .../fckeditor/_samples/html/sample03.html | 132 ------------ .../fckeditor/_samples/html/sample04.html | 91 --------- .../fckeditor/_samples/html/sample05.html | 121 ----------- .../_samples/html/sample06.config.js | 45 ---- .../fckeditor/_samples/html/sample06.html | 69 ------- .../fckeditor/_samples/html/sample07.html | 55 ----- .../fckeditor/_samples/html/sample08.html | 192 ------------------ .../fckeditor/_samples/html/sample09.html | 96 --------- .../fckeditor/_samples/html/sample10.html | 75 ------- .../fckeditor/_samples/html/sample11.html | 39 ---- .../_samples/html/sample11_frame.html | 65 ------ .../_samples/html/sampleposteddata.asp | 68 ------- .../_samples/html/sampleposteddata.html | 76 ------- .../fckeditor/_samples/lasso/sample01.lasso | 51 ----- .../fckeditor/_samples/lasso/sample02.lasso | 105 ---------- .../fckeditor/_samples/lasso/sample03.lasso | 83 -------- .../fckeditor/_samples/lasso/sample04.lasso | 89 -------- .../_samples/lasso/sampleposteddata.lasso | 47 ----- .../fckeditor/_samples/perl/sample01.cgi | 111 ---------- .../fckeditor/_samples/perl/sample02.cgi | 176 ---------------- .../fckeditor/_samples/perl/sample03.cgi | 161 --------------- .../fckeditor/_samples/perl/sample04.cgi | 168 --------------- .../_samples/perl/sampleposteddata.cgi | 101 --------- .../fckeditor/_samples/php/sample01.php | 53 ----- .../fckeditor/_samples/php/sample02.php | 104 ---------- .../fckeditor/_samples/php/sample03.php | 86 -------- .../fckeditor/_samples/php/sample04.php | 91 --------- .../_samples/php/sampleposteddata.php | 60 ------ .../fckeditor/_samples/py/sample01.py | 78 ------- .../fckeditor/_samples/py/sampleposteddata.py | 81 -------- htdocs/includes/fckeditor/_samples/sample.css | 46 ----- .../fckeditor/_samples/sampleslist.html | 89 -------- htdocs/includes/fckeditor/_testcases/001.html | 72 ------- htdocs/includes/fckeditor/_testcases/002.html | 70 ------- htdocs/includes/fckeditor/_testcases/003.html | 72 ------- htdocs/includes/fckeditor/_testcases/004.html | 105 ---------- htdocs/includes/fckeditor/_testcases/005.html | 68 ------- htdocs/includes/fckeditor/_testcases/006.html | 75 ------- htdocs/includes/fckeditor/_testcases/007.html | 64 ------ htdocs/includes/fckeditor/_testcases/008.html | 88 -------- htdocs/includes/fckeditor/_testcases/009.html | 109 ---------- htdocs/includes/fckeditor/_testcases/010.html | 91 --------- .../fckeditor/_testcases/sampleposteddata.asp | 68 ------- .../fckeditor/_testcases/testcases.css | 46 ----- 68 files changed, 2 insertions(+), 5259 deletions(-) create mode 100644 htdocs/includes/fckeditor/.cvsignore delete mode 100644 htdocs/includes/fckeditor/_samples/_plugins/findreplace/fckplugin.js delete mode 100644 htdocs/includes/fckeditor/_samples/_plugins/findreplace/find.gif delete mode 100644 htdocs/includes/fckeditor/_samples/_plugins/findreplace/find.html delete mode 100644 htdocs/includes/fckeditor/_samples/_plugins/findreplace/lang/en.js delete mode 100644 htdocs/includes/fckeditor/_samples/_plugins/findreplace/lang/fr.js delete mode 100644 htdocs/includes/fckeditor/_samples/_plugins/findreplace/lang/it.js delete mode 100644 htdocs/includes/fckeditor/_samples/_plugins/findreplace/replace.gif delete mode 100644 htdocs/includes/fckeditor/_samples/_plugins/findreplace/replace.html delete mode 100644 htdocs/includes/fckeditor/_samples/_plugins/samples/fckplugin.js delete mode 100644 htdocs/includes/fckeditor/_samples/afp/fck.afpa delete mode 100644 htdocs/includes/fckeditor/_samples/afp/fck.afpa.code delete mode 100644 htdocs/includes/fckeditor/_samples/afp/sample01.afp delete mode 100644 htdocs/includes/fckeditor/_samples/afp/sampleposteddata.afp delete mode 100644 htdocs/includes/fckeditor/_samples/asp/sample01.asp delete mode 100644 htdocs/includes/fckeditor/_samples/asp/sample02.asp delete mode 100644 htdocs/includes/fckeditor/_samples/asp/sample03.asp delete mode 100644 htdocs/includes/fckeditor/_samples/asp/sample04.asp delete mode 100644 htdocs/includes/fckeditor/_samples/asp/sampleposteddata.asp delete mode 100644 htdocs/includes/fckeditor/_samples/cfm/sample01.cfm delete mode 100644 htdocs/includes/fckeditor/_samples/cfm/sample02_mx.cfm delete mode 100644 htdocs/includes/fckeditor/_samples/default.html delete mode 100644 htdocs/includes/fckeditor/_samples/html/sample01.html delete mode 100644 htdocs/includes/fckeditor/_samples/html/sample02.html delete mode 100644 htdocs/includes/fckeditor/_samples/html/sample03.html delete mode 100644 htdocs/includes/fckeditor/_samples/html/sample04.html delete mode 100644 htdocs/includes/fckeditor/_samples/html/sample05.html delete mode 100644 htdocs/includes/fckeditor/_samples/html/sample06.config.js delete mode 100644 htdocs/includes/fckeditor/_samples/html/sample06.html delete mode 100644 htdocs/includes/fckeditor/_samples/html/sample07.html delete mode 100644 htdocs/includes/fckeditor/_samples/html/sample08.html delete mode 100644 htdocs/includes/fckeditor/_samples/html/sample09.html delete mode 100644 htdocs/includes/fckeditor/_samples/html/sample10.html delete mode 100644 htdocs/includes/fckeditor/_samples/html/sample11.html delete mode 100644 htdocs/includes/fckeditor/_samples/html/sample11_frame.html delete mode 100644 htdocs/includes/fckeditor/_samples/html/sampleposteddata.asp delete mode 100644 htdocs/includes/fckeditor/_samples/html/sampleposteddata.html delete mode 100644 htdocs/includes/fckeditor/_samples/lasso/sample01.lasso delete mode 100644 htdocs/includes/fckeditor/_samples/lasso/sample02.lasso delete mode 100644 htdocs/includes/fckeditor/_samples/lasso/sample03.lasso delete mode 100644 htdocs/includes/fckeditor/_samples/lasso/sample04.lasso delete mode 100644 htdocs/includes/fckeditor/_samples/lasso/sampleposteddata.lasso delete mode 100644 htdocs/includes/fckeditor/_samples/perl/sample01.cgi delete mode 100644 htdocs/includes/fckeditor/_samples/perl/sample02.cgi delete mode 100644 htdocs/includes/fckeditor/_samples/perl/sample03.cgi delete mode 100644 htdocs/includes/fckeditor/_samples/perl/sample04.cgi delete mode 100644 htdocs/includes/fckeditor/_samples/perl/sampleposteddata.cgi delete mode 100644 htdocs/includes/fckeditor/_samples/php/sample01.php delete mode 100644 htdocs/includes/fckeditor/_samples/php/sample02.php delete mode 100644 htdocs/includes/fckeditor/_samples/php/sample03.php delete mode 100644 htdocs/includes/fckeditor/_samples/php/sample04.php delete mode 100644 htdocs/includes/fckeditor/_samples/php/sampleposteddata.php delete mode 100644 htdocs/includes/fckeditor/_samples/py/sample01.py delete mode 100644 htdocs/includes/fckeditor/_samples/py/sampleposteddata.py delete mode 100644 htdocs/includes/fckeditor/_samples/sample.css delete mode 100644 htdocs/includes/fckeditor/_samples/sampleslist.html delete mode 100644 htdocs/includes/fckeditor/_testcases/001.html delete mode 100644 htdocs/includes/fckeditor/_testcases/002.html delete mode 100644 htdocs/includes/fckeditor/_testcases/003.html delete mode 100644 htdocs/includes/fckeditor/_testcases/004.html delete mode 100644 htdocs/includes/fckeditor/_testcases/005.html delete mode 100644 htdocs/includes/fckeditor/_testcases/006.html delete mode 100644 htdocs/includes/fckeditor/_testcases/007.html delete mode 100644 htdocs/includes/fckeditor/_testcases/008.html delete mode 100644 htdocs/includes/fckeditor/_testcases/009.html delete mode 100644 htdocs/includes/fckeditor/_testcases/010.html delete mode 100644 htdocs/includes/fckeditor/_testcases/sampleposteddata.asp delete mode 100644 htdocs/includes/fckeditor/_testcases/testcases.css diff --git a/htdocs/includes/fckeditor/.cvsignore b/htdocs/includes/fckeditor/.cvsignore new file mode 100644 index 00000000000..f588dbc45b1 --- /dev/null +++ b/htdocs/includes/fckeditor/.cvsignore @@ -0,0 +1,2 @@ +_samples +_testcases diff --git a/htdocs/includes/fckeditor/_samples/_plugins/findreplace/fckplugin.js b/htdocs/includes/fckeditor/_samples/_plugins/findreplace/fckplugin.js deleted file mode 100644 index ce7ca79b476..00000000000 --- a/htdocs/includes/fckeditor/_samples/_plugins/findreplace/fckplugin.js +++ /dev/null @@ -1,34 +0,0 @@ -/* - * FCKeditor - The text editor for internet - * Copyright (C) 2003-2006 Frederico Caldeira Knabben - * - * 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/ - * - * "Support Open Source software. What about a donation today?" - * - * File Name: fckplugin.js - * This is the sample plugin definition file. - * - * File Authors: - * Frederico Caldeira Knabben (fredck@fckeditor.net) - */ - -// Register the related commands. -FCKCommands.RegisterCommand( 'My_Find' , new FCKDialogCommand( FCKLang['DlgMyFindTitle'] , FCKLang['DlgMyFindTitle'] , FCKConfig.PluginsPath + 'findreplace/find.html' , 340, 170 ) ) ; -FCKCommands.RegisterCommand( 'My_Replace' , new FCKDialogCommand( FCKLang['DlgMyReplaceTitle'], FCKLang['DlgMyReplaceTitle'] , FCKConfig.PluginsPath + 'findreplace/replace.html', 340, 200 ) ) ; - -// Create the "Find" toolbar button. -var oFindItem = new FCKToolbarButton( 'My_Find', FCKLang['DlgMyFindTitle'] ) ; -oFindItem.IconPath = FCKConfig.PluginsPath + 'findreplace/find.gif' ; - -FCKToolbarItems.RegisterItem( 'My_Find', oFindItem ) ; // 'My_Find' is the name used in the Toolbar config. - -// Create the "Replace" toolbar button. -var oReplaceItem = new FCKToolbarButton( 'My_Replace', FCKLang['DlgMyReplaceTitle'] ) ; -oReplaceItem.IconPath = FCKConfig.PluginsPath + 'findreplace/replace.gif' ; - -FCKToolbarItems.RegisterItem( 'My_Replace', oReplaceItem ) ; // 'My_Replace' is the name used in the Toolbar config. \ No newline at end of file diff --git a/htdocs/includes/fckeditor/_samples/_plugins/findreplace/find.gif b/htdocs/includes/fckeditor/_samples/_plugins/findreplace/find.gif deleted file mode 100644 index 81915f4f636678b1d7d0d8e05dc7df0eb443787f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 595 zcmbu6TThY!0EQpp8=oA64+Oyg# zqRrg0F1oI*f6!H%TlpjMH`G;Of1zj3^?UKWqq&iu-jamG37|rdP#aJQw5?&E#@vS~ zgU(MwD;gVuiS$QOA4t8Y^N>{CcO>7E*r#KkBHQE)Qyxy%3$ik*oiTTF+pP- zLj*$@LkN8kofmB@S~sEt(T>K7&`4|>=M3g7h9G)BdLKFuq7AhcLC>Fm)Z_g>-rs@> z6ym2-r=K8xDl40nYOPwllCO-7-`-MY<%Y_Xy!`T-W~DOOuh}XL^@(#zVI+0)dMzg> zdoC-3av=8k;GF-gFPaFqHaj!7Hg62bHp!wm?6T1kSz1+QdgVrg>8Rzq*?UQ+l+Mf6 zrp1uZA-inu?t)Srj(LJz!^+i>bbDLYa%f&(6?e|m_76(OUysY_{LWb9%g>`1{)HbD XJhgmz@Xp~cW%}gRx7Q)HiVJ@M=o4@Q diff --git a/htdocs/includes/fckeditor/_samples/_plugins/findreplace/find.html b/htdocs/includes/fckeditor/_samples/_plugins/findreplace/find.html deleted file mode 100644 index bda5f24e03a..00000000000 --- a/htdocs/includes/fckeditor/_samples/_plugins/findreplace/find.html +++ /dev/null @@ -1,168 +0,0 @@ - - - - - - - - - -
- This is my Plugin! -
- - - - - - - - - -
-   - - - - -
-   -
- -
- - diff --git a/htdocs/includes/fckeditor/_samples/_plugins/findreplace/lang/en.js b/htdocs/includes/fckeditor/_samples/_plugins/findreplace/lang/en.js deleted file mode 100644 index 9365cef82db..00000000000 --- a/htdocs/includes/fckeditor/_samples/_plugins/findreplace/lang/en.js +++ /dev/null @@ -1,29 +0,0 @@ -/* - * FCKeditor - The text editor for internet - * Copyright (C) 2003-2006 Frederico Caldeira Knabben - * - * 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/ - * - * "Support Open Source software. What about a donation today?" - * - * File Name: en.js - * English language file for the sample plugin. - * - * File Authors: - * Frederico Caldeira Knabben (fredck@fckeditor.net) - */ - -FCKLang['DlgMyReplaceTitle'] = 'Plugin - Replace' ; -FCKLang['DlgMyReplaceFindLbl'] = 'Find what:' ; -FCKLang['DlgMyReplaceReplaceLbl'] = 'Replace with:' ; -FCKLang['DlgMyReplaceCaseChk'] = 'Match case' ; -FCKLang['DlgMyReplaceReplaceBtn'] = 'Replace' ; -FCKLang['DlgMyReplaceReplAllBtn'] = 'Replace All' ; -FCKLang['DlgMyReplaceWordChk'] = 'Match whole word' ; - -FCKLang['DlgMyFindTitle'] = 'Plugin - Find' ; -FCKLang['DlgMyFindFindBtn'] = 'Find' ; \ No newline at end of file diff --git a/htdocs/includes/fckeditor/_samples/_plugins/findreplace/lang/fr.js b/htdocs/includes/fckeditor/_samples/_plugins/findreplace/lang/fr.js deleted file mode 100644 index 12d64b8f3f7..00000000000 --- a/htdocs/includes/fckeditor/_samples/_plugins/findreplace/lang/fr.js +++ /dev/null @@ -1,29 +0,0 @@ -/* - * FCKeditor - The text editor for internet - * Copyright (C) 2003-2006 Frederico Caldeira Knabben - * - * 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/ - * - * "Support Open Source software. What about a donation today?" - * - * File Name: fr.js - * French language file for the sample plugin. - * - * File Authors: - * Benjamin Cartereau (b.cartereau@infass.com) - */ - -FCKLang['DlgMyReplaceTitle'] = 'Plugin - Remplacer' ; -FCKLang['DlgMyReplaceFindLbl'] = 'Chercher:' ; -FCKLang['DlgMyReplaceReplaceLbl'] = 'Remplacer par:' ; -FCKLang['DlgMyReplaceCaseChk'] = 'Respecter la casse' ; -FCKLang['DlgMyReplaceReplaceBtn'] = 'Remplacer' ; -FCKLang['DlgMyReplaceReplAllBtn'] = 'Remplacer Tout' ; -FCKLang['DlgMyReplaceWordChk'] = 'Mot entier' ; - -FCKLang['DlgMyFindTitle'] = 'Plugin - Chercher' ; -FCKLang['DlgMyFindFindBtn'] = 'Chercher' ; \ No newline at end of file diff --git a/htdocs/includes/fckeditor/_samples/_plugins/findreplace/lang/it.js b/htdocs/includes/fckeditor/_samples/_plugins/findreplace/lang/it.js deleted file mode 100644 index e4da0f7ac80..00000000000 --- a/htdocs/includes/fckeditor/_samples/_plugins/findreplace/lang/it.js +++ /dev/null @@ -1,29 +0,0 @@ -/* - * FCKeditor - The text editor for internet - * Copyright (C) 2003-2006 Frederico Caldeira Knabben - * - * 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/ - * - * "Support Open Source software. What about a donation today?" - * - * File Name: it.js - * Italian language file for the sample plugin. - * - * File Authors: - * Frederico Caldeira Knabben (fredck@fckeditor.net) - */ - -FCKLang['DlgMyReplaceTitle'] = 'Plugin - Sostituisci' ; -FCKLang['DlgMyReplaceFindLbl'] = 'Trova:' ; -FCKLang['DlgMyReplaceReplaceLbl'] = 'Sostituisci con:' ; -FCKLang['DlgMyReplaceCaseChk'] = 'Maiuscole/minuscole' ; -FCKLang['DlgMyReplaceReplaceBtn'] = 'Sostituisci' ; -FCKLang['DlgMyReplaceReplAllBtn'] = 'Sostituisci tutto' ; -FCKLang['DlgMyReplaceWordChk'] = 'Parola intera' ; - -FCKLang['DlgMyFindTitle'] = 'Plugin - Cerca' ; -FCKLang['DlgMyFindFindBtn'] = 'Cerca' ; \ No newline at end of file diff --git a/htdocs/includes/fckeditor/_samples/_plugins/findreplace/replace.gif b/htdocs/includes/fckeditor/_samples/_plugins/findreplace/replace.gif deleted file mode 100644 index ac0d8937007716a878b350a1a75ddf1f4beaca83..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 326 zcmZ?wbhEHb6krfwxXQpF=F7lm$Y5WtDP<@aINek)OitBR!nsDrFj_&@OjyNPLbHuQ zwU$Apj6u1SL8*j6sgOY_pFu8_K{ka!Hi1DVmO&pZE|^UFQ2hui_-Gf#$jh9#KZjrmGkTwbK9%)cy6XGo$|rZol`W| w$d$>7%}K~#fzgRWN84ZAOv+48U)hY=NiA1c#7WDEHP^sZ#e}6K+>yZ=0Go - - - - - - - - -
- This is my Plugin! -
- - - - - - - - - - - - - - -
- - -
- - -
  -
-   -
- - diff --git a/htdocs/includes/fckeditor/_samples/_plugins/samples/fckplugin.js b/htdocs/includes/fckeditor/_samples/_plugins/samples/fckplugin.js deleted file mode 100644 index 060a4f76f59..00000000000 --- a/htdocs/includes/fckeditor/_samples/_plugins/samples/fckplugin.js +++ /dev/null @@ -1,69 +0,0 @@ -/* - * FCKeditor - The text editor for internet - * Copyright (C) 2003-2006 Frederico Caldeira Knabben - * - * 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/ - * - * "Support Open Source software. What about a donation today?" - * - * File Name: fckplugin.js - * This is a sample plugin definition file. - * - * File Authors: - * Frederico Caldeira Knabben (fredck@fckeditor.net) - */ - -// Here we define our custom Style combo, with custom widths. -var oMyBigStyleCombo = new FCKToolbarStyleCombo() ; -oMyBigStyleCombo.FieldWidth = 250 ; -oMyBigStyleCombo.PanelWidth = 300 ; -FCKToolbarItems.RegisterItem( 'My_BigStyle', oMyBigStyleCombo ) ; - - -// ##### Defining a custom context menu entry. - -// ## 1. Define the command to be executed when selecting the context menu item. -var oMyCMCommand = new Object() ; -oMyCMCommand.Name = 'OpenImage' ; - -// This is the standard function used to execute the command (called when clicking in the context menu item). -oMyCMCommand.Execute = function() -{ - // This command is called only when an image element is selected (IMG). - // Get image URL (src). - var sUrl = FCKSelection.GetSelectedElement().src ; - - // Open the URL in a new window. - window.top.open( sUrl ) ; -} - -// This is the standard function used to retrieve the command state (it could be disabled for some reason). -oMyCMCommand.GetState = function() -{ - // Let's make it always enabled. - return FCK_TRISTATE_OFF ; -} - -// ## 2. Register our custom command. -FCKCommands.RegisterCommand( 'OpenImage', oMyCMCommand ) ; - -// ## 3. Define the context menu "listener". -var oMyContextMenuListener = new Object() ; - -// This is the standard function called right before sowing the context menu. -oMyContextMenuListener.AddItems = function( contextMenu, tag, tagName ) -{ - // Let's show our custom option only for images. - if ( tagName == 'IMG' ) - { - contextMenu.AddSeparator() ; - contextMenu.AddItem( 'OpenImage', 'Open image in a new window (Custom)' ) ; - } -} - -// ## 4. Register our context menu listener. -FCK.ContextMenu.RegisterListener( oMyContextMenuListener ) ; \ No newline at end of file diff --git a/htdocs/includes/fckeditor/_samples/afp/fck.afpa b/htdocs/includes/fckeditor/_samples/afp/fck.afpa deleted file mode 100644 index e88a492fefe..00000000000 --- a/htdocs/includes/fckeditor/_samples/afp/fck.afpa +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/htdocs/includes/fckeditor/_samples/afp/fck.afpa.code b/htdocs/includes/fckeditor/_samples/afp/fck.afpa.code deleted file mode 100644 index 0a0ea72a07a..00000000000 --- a/htdocs/includes/fckeditor/_samples/afp/fck.afpa.code +++ /dev/null @@ -1,121 +0,0 @@ -DEFINE CLASS fckeditor AS custom - cInstanceName ="" - BasePath ="" - cWIDTH ="" - cHEIGHT ="" - ToolbarSet ="" - cValue="" - DIMENSION aConfig(10,2) - -&& ----------------------------------------------------------------------- - FUNCTION fckeditor( tcInstanceName ) - LOCAL lnLoop,lnLoop2 - THIS.cInstanceName = tcInstanceName - THIS.BasePath = '../../' - THIS.cWIDTH = '100%' - THIS.cHEIGHT = '200' - THIS.ToolbarSet = 'Default' - THIS.cValue = '' - FOR lnLoop=1 TO 10 - FOR lnLoop2=1 TO 2 - THIS.aConfig(lnLoop,lnLoop2) = "" - NEXT - NEXT - RETURN - ENDFUNC - - -&& ----------------------------------------------------------------------- - FUNCTION CREATE() - RETURN(THIS.CreateHtml()) - ENDFUNC - -&& ----------------------------------------------------------------------- - FUNCTION CreateHtml() - LOCAL html - LOCAL lcLink - - HtmlValue = THIS.cValue && HTMLSPECIALCHARS() - - html = [
] - IF THIS.IsCompatible() - lcLink = THIS.BasePath+[editor/fckeditor.html?InstanceName=]+THIS.cInstanceName - - IF ( THIS.ToolbarSet # '' ) - lcLink = lcLink + [Toolbar=]+THIS.ToolbarSet - ENDIF - -&& Render the LINKED HIDDEN FIELD. - html = html + [] - -&& Render the configurations HIDDEN FIELD. - html = html + [] +CHR(13)+CHR(10) - -&& Render the EDITOR IFRAME. - html = html + [] - ELSE - IF ( AT("%", THIS.cWIDTH)=0 ) - WidthCSS = THIS.cWIDTH + 'px' - ELSE - WidthCSS = THIS.cWIDTH - ENDIF - - IF ( AT("%",THIS.cHEIGHT)=0 ) - HeightCSS = THIS.cHEIGHT + 'px' - ELSE - HeightCSS = THIS.cHEIGHT - ENDIF - - html = html + [] - ENDIF - - html = html + [
] - - RETURN (html) - ENDFUNC - - -&& ----------------------------------------------------------------------- - FUNCTION IsCompatible() - LOCAL llRetval - LOCAL sAgent - - llRetval=.F. - - sAgent= LOWER(Request.ServerVariables("HTTP_USER_AGENT")) - - IF AT("msie",sAgent) >0 .AND. AT("mac",sAgent)=0 .AND. AT("opera",sAgent)=0 - iVersion=VAL(SUBSTR(sAgent,AT("msie",sAgent)+5,3)) - llRetval= iVersion > 5.5 - ELSE - IF AT("gecko",sAgent)>0 - iVersion=VAL(SUBSTR(sAgent,AT("gecko/",sAgent)+6,8)) - llRetval =iVersion > 20030210 - ENDIF - ENDIF - RETURN (llRetval) - ENDFUNC - -&& ----------------------------------------------------------------------- - FUNCTION GetConfigFieldString() - LOCAL sParams - LOCAL bFirst - LOCAL sKey - sParams = "" - bFirst = .T. - FOR lnLoop=1 TO 10 && ALEN(this.aconfig) - IF !EMPTY(THIS.aConfig(lnLoop,1)) - IF bFirst = .F. - sParams = sParams + "&" - ELSE - bFirst = .F. - ENDIF - sParams = sParams +THIS.aConfig(lnLoop,1)+[=]+THIS.aConfig(lnLoop,2) - ELSE - EXIT - ENDIF - NEXT - RETURN(sParams) - ENDFUNC -ENDDEFINE - diff --git a/htdocs/includes/fckeditor/_samples/afp/sample01.afp b/htdocs/includes/fckeditor/_samples/afp/sample01.afp deleted file mode 100644 index 11add0e26d6..00000000000 --- a/htdocs/includes/fckeditor/_samples/afp/sample01.afp +++ /dev/null @@ -1,52 +0,0 @@ -<% - * FCKeditor - The text editor for internet - * Copyright (C) 2003-2004 Frederico Caldeira Knabben - * - * 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: sampleposteddata.php - * This page lists the data posted by a form. - * - * Version: 1.0 - * Modified: 2005-07-01 - * - * File Authors: Soenke Freitag (www.afp-hosting.de) - * -%> - - - - FCKeditor - Sample - - - - - -

FCKeditor - AFP - Sample 1

- This sample displays a normal HTML form with an FCKeditor with full features enabled. -
-
-<% - -sBasePath="../../fckeditor/" && Change this to your local path - -lcText=[This is some sample text. You are using ] -lcText=lcText+[FCKeditor.] - -oFCKeditor = CREATEOBJECT("FCKeditor") -oFCKeditor.fckeditor("FCKeditor1") -oFCKeditor.BasePath = sBasePath -oFCKeditor.cValue = lcText - -? oFCKeditor.Create() - -%> -
- -
- - diff --git a/htdocs/includes/fckeditor/_samples/afp/sampleposteddata.afp b/htdocs/includes/fckeditor/_samples/afp/sampleposteddata.afp deleted file mode 100644 index 533a8dc81af..00000000000 --- a/htdocs/includes/fckeditor/_samples/afp/sampleposteddata.afp +++ /dev/null @@ -1,54 +0,0 @@ -<% - * FCKeditor - The text editor for internet - * Copyright (C) 2003-2004 Frederico Caldeira Knabben - * - * 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: sampleposteddata.php - * This page lists the data posted by a form. - * - * Version: 1.0 - * Modified: 2005-07-01 - * - * File Authors: Soenke Freitag (www.afp-hosting.de) - * -%> - - - - FCKeditor - Samples - Posted Data - - - - - -

FCKeditor - Samples - Posted Data

- This page lists all data posted by the form. -
- - - - - -<% - lcForm=REQUEST.Form() - lcForm=STRTRAN(lcForm,"&",CHR(13)+CHR(10)) - - FOR lnLoop=1 TO MEMLINES(lcForm) - lcZeile=ALLTRIM(MLINE(lcForm,lnLoop)) - IF AT("=",lcZeile)>0 - lcVariable=UPPER(ALLTRIM(LEFT(lcZeile,AT("=",lcZeile)-1))) - lcWert=ALLTRIM(RIGHT(lcZeile,LEN(lcZeile)-AT("=",lcZeile))) - lcWert=Server.UrlDecode( lcWert ) - - ? [] - ENDIF - NEXT -%> -
Field Name  Value
]+lcVariable+[ =]+lcWert+[
- - diff --git a/htdocs/includes/fckeditor/_samples/asp/sample01.asp b/htdocs/includes/fckeditor/_samples/asp/sample01.asp deleted file mode 100644 index 7e0e00959f3..00000000000 --- a/htdocs/includes/fckeditor/_samples/asp/sample01.asp +++ /dev/null @@ -1,55 +0,0 @@ -<%@ CodePage=65001 Language="VBScript"%> -<% Option Explicit %> - -<% ' You must set "Enable Parent Paths" on your web site in order this relative include to work. %> - - - - - FCKeditor - Sample - - - - - -

FCKeditor - ASP - Sample 1

- This sample displays a normal HTML form with an FCKeditor with full features - enabled. -
-
-<% -' Automatically calculates the editor base path based on the _samples directory. -' This is usefull only for these samples. A real application should use something like this: -' oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value. -Dim sBasePath -sBasePath = Request.ServerVariables("PATH_INFO") -sBasePath = Left( sBasePath, InStrRev( sBasePath, "/_samples" ) ) - -Dim oFCKeditor -Set oFCKeditor = New FCKeditor -oFCKeditor.BasePath = sBasePath -oFCKeditor.Value = "This is some sample text. You are using FCKeditor." -oFCKeditor.Create "FCKeditor1" -%> -
- -
- - diff --git a/htdocs/includes/fckeditor/_samples/asp/sample02.asp b/htdocs/includes/fckeditor/_samples/asp/sample02.asp deleted file mode 100644 index 59bda794f07..00000000000 --- a/htdocs/includes/fckeditor/_samples/asp/sample02.asp +++ /dev/null @@ -1,104 +0,0 @@ -<%@ CodePage=65001 Language="VBScript"%> -<% Option Explicit %> - -<% ' You must set "Enable Parent Paths" on your web site in order this relative include to work. %> - - - - - FCKeditor - Sample - - - - - - -

FCKeditor - ASP - Sample 2

- This sample shows the editor in all its available languages. -
- - - - - -
- Select a language:  - - -
-
-
-<% -' Automatically calculates the editor base path based on the _samples directory. -' This is usefull only for these samples. A real application should use something like this: -' oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value. -Dim sBasePath -sBasePath = Request.ServerVariables("PATH_INFO") -sBasePath = Left( sBasePath, InStrRev( sBasePath, "/_samples" ) ) - -Dim oFCKeditor -Set oFCKeditor = New FCKeditor -oFCKeditor.BasePath = sBasePath - -If Request.QueryString("Lang") = "" Then - oFCKeditor.Config("AutoDetectLanguage") = True - oFCKeditor.Config("DefaultLanguage") = "en" -Else - oFCKeditor.Config("AutoDetectLanguage") = False - oFCKeditor.Config("DefaultLanguage") = Request.QueryString("Lang") -End If - -oFCKeditor.Value = "This is some sample text. You are using FCKeditor." -oFCKeditor.Create "FCKeditor1" -%> -
- -
- - \ No newline at end of file diff --git a/htdocs/includes/fckeditor/_samples/asp/sample03.asp b/htdocs/includes/fckeditor/_samples/asp/sample03.asp deleted file mode 100644 index 25c27dc1c2b..00000000000 --- a/htdocs/includes/fckeditor/_samples/asp/sample03.asp +++ /dev/null @@ -1,88 +0,0 @@ -<%@ CodePage=65001 Language="VBScript"%> -<% Option Explicit %> - -<% ' You must set "Enable Parent Paths" on your web site in order this relative include to work. %> - - - - - FCKeditor - Sample - - - - - - -

FCKeditor - ASP - Sample 3

- This sample shows how to change the editor toolbar. -
- - - - - -
- Select the toolbar to load:  - - -
-
-
-<% -' Automatically calculates the editor base path based on the _samples directory. -' This is usefull only for these samples. A real application should use something like this: -' oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value. -Dim sBasePath -sBasePath = Request.ServerVariables("PATH_INFO") -sBasePath = Left( sBasePath, InStrRev( sBasePath, "/_samples" ) ) - -Dim oFCKeditor -Set oFCKeditor = New FCKeditor -oFCKeditor.BasePath = sBasePath - -If Request.QueryString("Toolbar") <> "" Then - oFCKeditor.ToolbarSet = Server.HTMLEncode( Request.QueryString("Toolbar") ) -End If - -oFCKeditor.Value = "This is some sample text. You are using FCKeditor." -oFCKeditor.Create "FCKeditor1" -%> -
- -
- - \ No newline at end of file diff --git a/htdocs/includes/fckeditor/_samples/asp/sample04.asp b/htdocs/includes/fckeditor/_samples/asp/sample04.asp deleted file mode 100644 index 3ea7bbd03de..00000000000 --- a/htdocs/includes/fckeditor/_samples/asp/sample04.asp +++ /dev/null @@ -1,94 +0,0 @@ -<%@ CodePage=65001 Language="VBScript"%> -<% Option Explicit %> - -<% ' You must set "Enable Parent Paths" on your web site in order this relative include to work. %> - - - - - FCKeditor - Sample - - - - - - -

FCKeditor - ASP - Sample 4

- This sample shows how to change the editor skin. -
- - - - - -
- Select the skin to load:  - - -
-
-
-<% -' Automatically calculates the editor base path based on the _samples directory. -' This is usefull only for these samples. A real application should use something like this: -' oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value. -Dim sBasePath -sBasePath = Request.ServerVariables("PATH_INFO") -sBasePath = Left( sBasePath, InStrRev( sBasePath, "/_samples" ) ) - -Dim oFCKeditor -Set oFCKeditor = New FCKeditor -oFCKeditor.BasePath = sBasePath - -If Request.QueryString("Skin") <> "" Then - oFCKeditor.Config("SkinPath") = sBasePath + "editor/skins/" & Server.HTMLEncode( Request.QueryString("Skin") ) + "/" -End If - -oFCKeditor.Value = "This is some sample text. You are using FCKeditor." -oFCKeditor.Create "FCKeditor1" -%> -
- -
- - \ No newline at end of file diff --git a/htdocs/includes/fckeditor/_samples/asp/sampleposteddata.asp b/htdocs/includes/fckeditor/_samples/asp/sampleposteddata.asp deleted file mode 100644 index 4f48ac1bd2e..00000000000 --- a/htdocs/includes/fckeditor/_samples/asp/sampleposteddata.asp +++ /dev/null @@ -1,49 +0,0 @@ -<%@ CodePage=65001 Language="VBScript"%> -<% Option Explicit %> - - - - - FCKeditor - Samples - Posted Data - - - - - -

FCKeditor - Samples - Posted Data

- This page lists all data posted by the form. -
- - - - - - <% - Dim sForm - For Each sForm in Request.Form - %> - - - - - <% Next %> -
Field Name  Value
<%=sForm%><%=Server.HTMLEncode( Request.Form(sForm) )%>
- - diff --git a/htdocs/includes/fckeditor/_samples/cfm/sample01.cfm b/htdocs/includes/fckeditor/_samples/cfm/sample01.cfm deleted file mode 100644 index 09099417594..00000000000 --- a/htdocs/includes/fckeditor/_samples/cfm/sample01.cfm +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - - FCKeditor - Sample - - - - - - - -

FCKeditor - ColdFusion - Sample 1

- -This sample displays a normal HTML form with a FCKeditor with full features enabled; invoked by a ColdFusion Custom Tag / Module.
-ColdFusion is a registered trademark and product of Macromedia, Inc. -
-
- - - - -
- -
- -
- - - - - - - - - - - - - - - - - - -
Dump of FORM Variables
FieldNames#FORM.fieldNames#
#key##HTMLEditFormat(evaluate("FORM.#key#"))#
-
-
- - - - \ No newline at end of file diff --git a/htdocs/includes/fckeditor/_samples/cfm/sample02_mx.cfm b/htdocs/includes/fckeditor/_samples/cfm/sample02_mx.cfm deleted file mode 100644 index 050806d94a5..00000000000 --- a/htdocs/includes/fckeditor/_samples/cfm/sample02_mx.cfm +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - - - - FCKeditor - Sample - - - - - -

FCKeditor - ColdFusion Component (CFC) - Sample 2

- -This sample displays a normal HTML form with a FCKeditor with full features enabled; invoked by a ColdFusion Component.
-ColdFusion is a registered trademark and product of Macromedia, Inc. -
- -
- - - -
This sample works only with a ColdFusion MX server and higher, because it uses some advantages of this version.
- -
- - - // Calculate basepath for FCKeditor. It's in the folder right above _samples - basePath = Left(cgi.script_name, FindNoCase('_samples', cgi.script_name)-1); - - fckEditor = createObject("component", "#basePath#fckeditor"); - fckEditor.instanceName = "myEditor"; - fckEditor.value = 'This is some sample text. You are using FCKeditor.'; - fckEditor.basePath = basePath; - fckEditor.width = "100%"; - fckEditor.height = 300; - fckEditor.create(); // create the editor. - - - -
- -
-
- - - - - - \ No newline at end of file diff --git a/htdocs/includes/fckeditor/_samples/default.html b/htdocs/includes/fckeditor/_samples/default.html deleted file mode 100644 index f3277f5dbb9..00000000000 --- a/htdocs/includes/fckeditor/_samples/default.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - FCKeditor - Samples - - - - - - - - diff --git a/htdocs/includes/fckeditor/_samples/html/sample01.html b/htdocs/includes/fckeditor/_samples/html/sample01.html deleted file mode 100644 index c0230df529f..00000000000 --- a/htdocs/includes/fckeditor/_samples/html/sample01.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - - FCKeditor - Sample - - - - - - -

- FCKeditor - JavaScript - Sample 1 -

-
- This sample displays a normal HTML form with an FCKeditor with full features enabled. -
-
-
- -
- -
- - diff --git a/htdocs/includes/fckeditor/_samples/html/sample02.html b/htdocs/includes/fckeditor/_samples/html/sample02.html deleted file mode 100644 index dce99fbdb41..00000000000 --- a/htdocs/includes/fckeditor/_samples/html/sample02.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - - FCKeditor - Sample - - - - - - - -

- FCKeditor - JavaScript - Sample 2

-
- This sample displays a normal HTML form with an FCKeditor with full features enabled. - It uses the "ReplaceTextarea" command to create the editor. -
-
-
-
- -
-
- -
- - diff --git a/htdocs/includes/fckeditor/_samples/html/sample03.html b/htdocs/includes/fckeditor/_samples/html/sample03.html deleted file mode 100644 index ed601d9a69f..00000000000 --- a/htdocs/includes/fckeditor/_samples/html/sample03.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - FCKeditor - Sample - - - - - - - -

- FCKeditor - JavaScript - Sample 3

-
- This sample shows the editor in all its available languages. -
-
- - - - - - -
- Select a language:  - - - -   -
-
-
- -
- -
- - diff --git a/htdocs/includes/fckeditor/_samples/html/sample04.html b/htdocs/includes/fckeditor/_samples/html/sample04.html deleted file mode 100644 index 646cb8b6dca..00000000000 --- a/htdocs/includes/fckeditor/_samples/html/sample04.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - FCKeditor - Sample - - - - - - - -

- FCKeditor - JavaScript - Sample 4

-
- This sample shows how to change the editor toolbar. -
-
- - - - - -
- Select the toolbar to load:  - - -
-
-
- -
- -
- - diff --git a/htdocs/includes/fckeditor/_samples/html/sample05.html b/htdocs/includes/fckeditor/_samples/html/sample05.html deleted file mode 100644 index 0670cef5a12..00000000000 --- a/htdocs/includes/fckeditor/_samples/html/sample05.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - FCKeditor - Sample - - - - - - - -

- FCKeditor - JavaScript - Sample 5

-
- This sample shows how to change the editor skin. -
-
- - - - - -
- Select the skin to load:  - - -
-
-
- -
- -
- - diff --git a/htdocs/includes/fckeditor/_samples/html/sample06.config.js b/htdocs/includes/fckeditor/_samples/html/sample06.config.js deleted file mode 100644 index 33af8778eed..00000000000 --- a/htdocs/includes/fckeditor/_samples/html/sample06.config.js +++ /dev/null @@ -1,45 +0,0 @@ -/* - * FCKeditor - The text editor for internet - * Copyright (C) 2003-2006 Frederico Caldeira Knabben - * - * 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/ - * - * "Support Open Source software. What about a donation today?" - * - * File Name: sample06.config.js - * Sample custom configuration settings used in the plugin sample page (sample06). - * - * File Authors: - * Frederico Caldeira Knabben (fredck@fckeditor.net) - */ - -// Set our sample toolbar. -FCKConfig.ToolbarSets['PluginTest'] = [ - ['SourceSimple'], - ['My_Find','My_Replace','-','Placeholder'], - ['StyleSimple','FontFormatSimple','FontNameSimple','FontSizeSimple'], - ['Table','-','TableInsertRow','TableDeleteRows','TableInsertColumn','TableDeleteColumns','TableInsertCell','TableDeleteCells','TableMergeCells','TableSplitCell'], - ['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink'], - '/', - ['My_BigStyle','-','Smiley','-','About'] -] ; - -// Change the default plugin path. -FCKConfig.PluginsPath = FCKConfig.BasePath.substr(0, FCKConfig.BasePath.length - 7) + '_samples/_plugins/' ; - -// Add our plugin to the plugins list. -// FCKConfig.Plugins.Add( pluginName, availableLanguages ) -// pluginName: The plugin name. The plugin directory must match this name. -// availableLanguages: a list of available language files for the plugin (separated by a comma). -FCKConfig.Plugins.Add( 'findreplace', 'en,it,fr' ) ; -FCKConfig.Plugins.Add( 'samples' ) ; - -// If you want to use plugins found on other directories, just use the third parameter. -var sOtherPluginPath = FCKConfig.BasePath.substr(0, FCKConfig.BasePath.length - 7) + 'editor/plugins/' ; -FCKConfig.Plugins.Add( 'placeholder', 'en,it,de,fr', sOtherPluginPath ) ; -FCKConfig.Plugins.Add( 'tablecommands', null, sOtherPluginPath ) ; -FCKConfig.Plugins.Add( 'simplecommands', null, sOtherPluginPath ) ; diff --git a/htdocs/includes/fckeditor/_samples/html/sample06.html b/htdocs/includes/fckeditor/_samples/html/sample06.html deleted file mode 100644 index 5008b84929d..00000000000 --- a/htdocs/includes/fckeditor/_samples/html/sample06.html +++ /dev/null @@ -1,69 +0,0 @@ - - - - - FCKeditor - Sample - - - - - - -

- FCKeditor - JavaScript - 6

-
- This sample shows some sample plugins implementations. Things to note:
-
    -
  • In the toolbar, you will find sample "Find" and "Replace" plugins that do exactly - the same thing that the built in ones do. It just shows how to do that with a custom - implementation. Use the green toolbar buttons the test then.
  • -
  • There is also another sample plugin that is available in the package: the "Placeholder" - command (use the yellow icon).
  • -
  • It also shows a custom context menu option when right cliking on images (insert - a smiley to test it).
  • -
-
-
-
- -
- -
- - diff --git a/htdocs/includes/fckeditor/_samples/html/sample07.html b/htdocs/includes/fckeditor/_samples/html/sample07.html deleted file mode 100644 index 00cef935900..00000000000 --- a/htdocs/includes/fckeditor/_samples/html/sample07.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - - FCKeditor - Sample - - - - - - -

- FCKeditor - JavaScript - Sample 7

-
- In this sample the user can edit the complete page contents and header (from <HTML> - to </HTML>). -
-
-
- -
- -
- - diff --git a/htdocs/includes/fckeditor/_samples/html/sample08.html b/htdocs/includes/fckeditor/_samples/html/sample08.html deleted file mode 100644 index cb90a8661d0..00000000000 --- a/htdocs/includes/fckeditor/_samples/html/sample08.html +++ /dev/null @@ -1,192 +0,0 @@ - - - - - FCKeditor - Sample - - - - - - - -

- FCKeditor - JavaScript - Sample 8 -

-
- This sample shows how to use the FCKeditor JavaScript API to interact with the editor - at runtime. -
-
-
- -
- -
-
-   -
-
-
-   -
-
-   -
- - - diff --git a/htdocs/includes/fckeditor/_samples/html/sample09.html b/htdocs/includes/fckeditor/_samples/html/sample09.html deleted file mode 100644 index 19e067dc1c4..00000000000 --- a/htdocs/includes/fckeditor/_samples/html/sample09.html +++ /dev/null @@ -1,96 +0,0 @@ - - - - - FCKeditor - Sample - - - - - - - -

- FCKeditor - JavaScript - Sample 9

-
- This sample shows FCKeditor in a more complex form with two different instances.
- It also shows and interesting usage of the "OnFocus" and "OnBlur" events available - in the JavaScript API. -
-
-
- Normal text field:
- -
-
- FCKeditor with Basic toolbar: - -
- FCKeditor with Default toolbar: - -
- -
- - diff --git a/htdocs/includes/fckeditor/_samples/html/sample10.html b/htdocs/includes/fckeditor/_samples/html/sample10.html deleted file mode 100644 index 0d9cb4f3fd5..00000000000 --- a/htdocs/includes/fckeditor/_samples/html/sample10.html +++ /dev/null @@ -1,75 +0,0 @@ - - - - - FCKeditor - Sample - - - - - - -

- FCKeditor - JavaScript - Sample 10

-
- This sample shows a form with two FCKeditor instance. Both instances share the same - toolbar, available in the top. -
-
-
-
-
- Normal text field:
- -
-
- FCKeditor 1: - -
- FCKeditor 2: - -
- -
- - diff --git a/htdocs/includes/fckeditor/_samples/html/sample11.html b/htdocs/includes/fckeditor/_samples/html/sample11.html deleted file mode 100644 index 8cc24b0e00d..00000000000 --- a/htdocs/includes/fckeditor/_samples/html/sample11.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - - FCKeditor - Sample - - - - - -

- FCKeditor - JavaScript - Sample 11

-
- This sample shows a form with two FCKeditor instance loaded inside an IFRAME. Both instances share the same - toolbar, available in the main page (top). -
-
-
-
- - - diff --git a/htdocs/includes/fckeditor/_samples/html/sample11_frame.html b/htdocs/includes/fckeditor/_samples/html/sample11_frame.html deleted file mode 100644 index 3e1c99ba360..00000000000 --- a/htdocs/includes/fckeditor/_samples/html/sample11_frame.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - FCKeditor - Sample - - - - - - -
- Normal text field:
- -
-
- FCKeditor 1: - -
- FCKeditor 2: - -
- -
- - diff --git a/htdocs/includes/fckeditor/_samples/html/sampleposteddata.asp b/htdocs/includes/fckeditor/_samples/html/sampleposteddata.asp deleted file mode 100644 index 766327acc50..00000000000 --- a/htdocs/includes/fckeditor/_samples/html/sampleposteddata.asp +++ /dev/null @@ -1,68 +0,0 @@ - - - - - FCKeditor - Samples - Posted Data - - - - - -

- FCKeditor - Samples - Posted Data

-
- This page lists all data posted by the form. -
-
- - - - - - <% For Each sForm in Request.Form %> - - - - - <% Next %> -
- Field Name   - Value
- - <%=sForm%> - - -
<%=ModifyForOutput( Request.Form(sForm) )%>
-
- - -<% - -' This function is useful only for this sample page se whe can display the -' posted data accordingly. This processing is usually not done on real -' applications, where the posted data must be saved on a DB or file. In those -' cases, no processing must be done, and the data is saved as posted. -Function ModifyForOutput( value ) - - ModifyForOutput = Server.HTMLEncode( Request.Form(sForm) ) - -End Function - -%> diff --git a/htdocs/includes/fckeditor/_samples/html/sampleposteddata.html b/htdocs/includes/fckeditor/_samples/html/sampleposteddata.html deleted file mode 100644 index 9b55bcfba93..00000000000 --- a/htdocs/includes/fckeditor/_samples/html/sampleposteddata.html +++ /dev/null @@ -1,76 +0,0 @@ - - - - - FCKeditor - Samples - Posted Data - - - - - -

- FCKeditor - Samples - Posted Data -

-
- This page lists all data posted by the form. It uses the "QueryString" to search - for data submitted using the "GET" method, so it is limited to 2KB. -
-
- - - - - - -
- Field - Value
- - diff --git a/htdocs/includes/fckeditor/_samples/lasso/sample01.lasso b/htdocs/includes/fckeditor/_samples/lasso/sample01.lasso deleted file mode 100644 index ffc3b69c116..00000000000 --- a/htdocs/includes/fckeditor/_samples/lasso/sample01.lasso +++ /dev/null @@ -1,51 +0,0 @@ -[//lasso -/* - * FCKeditor - The text editor for internet - * Copyright (C) 2003-2006 Frederico Caldeira Knabben - * - * 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/ - * - * "Support Open Source software. What about a donation today?" - * - * File Name: sample01.lasso - * Sample page. - * - * File Authors: - * Jason Huck (jason.huck@corefive.com) - */ -] - - - - FCKeditor - Sample - - - - - -

FCKeditor - Lasso - Sample 1

- This sample displays a normal HTML form with an FCKeditor with full features - enabled. -
-
-[//lasso - include('../../fckeditor.lasso'); - var('basepath') = response_filepath->split('_samples')->get(1); - - var('myeditor') = fck_editor( - -instancename='FCKeditor1', - -basepath=$basepath, - -initialvalue='This is some sample text. You are using FCKeditor.' - ); - - $myeditor->create; -] -
- -
- - diff --git a/htdocs/includes/fckeditor/_samples/lasso/sample02.lasso b/htdocs/includes/fckeditor/_samples/lasso/sample02.lasso deleted file mode 100644 index e3de9696919..00000000000 --- a/htdocs/includes/fckeditor/_samples/lasso/sample02.lasso +++ /dev/null @@ -1,105 +0,0 @@ -[//lasso -/* - * FCKeditor - The text editor for internet - * Copyright (C) 2003-2006 Frederico Caldeira Knabben - * - * 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/ - * - * "Support Open Source software. What about a donation today?" - * - * File Name: sample02.lasso - * Sample page. - * - * File Authors: - * Jason Huck (jason.huck@corefive.com) - */ -] - - - - FCKeditor - Sample - - - - - - -

FCKeditor - Lasso - Sample 2

- This sample shows the editor in all its available languages. -
- - - - - -
- Select a language:  - - -
-
-
-[//lasso - include('../../fckeditor.lasso'); - var('basepath') = response_filepath->split('_samples')->get(1); - - if(action_param('Lang')); - var('config') = array( - 'AutoDetectLanguage' = 'false', - 'DefaultLanguage' = action_param('Lang') - ); - else; - var('config') = array( - 'AutoDetectLanguage' = 'true', - 'DefaultLanguage' = 'en' - ); - /if; - - var('myeditor') = fck_editor( - -instancename='FCKeditor1', - -basepath=$basepath, - -config=$config, - -initialvalue='This is some sample text. You are using FCKeditor.' - ); - - $myeditor->create; -] -
- -
- - diff --git a/htdocs/includes/fckeditor/_samples/lasso/sample03.lasso b/htdocs/includes/fckeditor/_samples/lasso/sample03.lasso deleted file mode 100644 index 53e99bc2c40..00000000000 --- a/htdocs/includes/fckeditor/_samples/lasso/sample03.lasso +++ /dev/null @@ -1,83 +0,0 @@ -[//lasso -/* - * FCKeditor - The text editor for internet - * Copyright (C) 2003-2006 Frederico Caldeira Knabben - * - * 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/ - * - * "Support Open Source software. What about a donation today?" - * - * File Name: sample03.lasso - * Sample page. - * - * File Authors: - * Jason Huck (jason.huck@corefive.com) - */ -] - - - - FCKeditor - Sample - - - - - - -

FCKeditor - Lasso - Sample 3

- This sample shows how to change the editor toolbar. -
- - - - - -
- Select the toolbar to load:  - - -
-
-
-[//lasso - include('../../fckeditor.lasso'); - var('basepath') = response_filepath->split('_samples')->get(1); - - var('myeditor') = fck_editor( - -instancename='FCKeditor1', - -basepath=$basepath, - -initialvalue='This is some sample text. You are using FCKeditor.' - ); - - if(action_param('Toolbar')); - $myeditor->toolbarset = action_param('Toolbar'); - /if; - - $myeditor->create; -] -
- -
- - diff --git a/htdocs/includes/fckeditor/_samples/lasso/sample04.lasso b/htdocs/includes/fckeditor/_samples/lasso/sample04.lasso deleted file mode 100644 index 51008594018..00000000000 --- a/htdocs/includes/fckeditor/_samples/lasso/sample04.lasso +++ /dev/null @@ -1,89 +0,0 @@ -[//lasso -/* - * FCKeditor - The text editor for internet - * Copyright (C) 2003-2006 Frederico Caldeira Knabben - * - * 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/ - * - * "Support Open Source software. What about a donation today?" - * - * File Name: sample04.lasso - * Sample page. - * - * File Authors: - * Jason Huck (jason.huck@corefive.com) - */ -] - - - - FCKeditor - Sample - - - - - - -

FCKeditor - Lasso - Sample 4

- This sample shows how to change the editor skin. -
- - - - - -
- Select the skin to load:  - - -
-
-
-[//lasso - include('../../fckeditor.lasso'); - var('basepath') = response_filepath->split('_samples')->get(1); - - var('myeditor') = fck_editor( - -instancename='FCKeditor1', - -basepath=$basepath, - -initialvalue='This is some sample text. You are using FCKeditor.' - ); - - if(action_param('Skin')); - $myeditor->config = array('SkinPath' = $basepath + 'editor/skins/' + action_param('Skin') + '/'); - /if; - - $myeditor->create; -] -
- -
- - diff --git a/htdocs/includes/fckeditor/_samples/lasso/sampleposteddata.lasso b/htdocs/includes/fckeditor/_samples/lasso/sampleposteddata.lasso deleted file mode 100644 index 72974e3933a..00000000000 --- a/htdocs/includes/fckeditor/_samples/lasso/sampleposteddata.lasso +++ /dev/null @@ -1,47 +0,0 @@ -[//lasso -/* - * FCKeditor - The text editor for internet - * Copyright (C) 2003-2006 Frederico Caldeira Knabben - * - * 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/ - * - * "Support Open Source software. What about a donation today?" - * - * File Name: sampleposteddata.lasso - * Sample page. - * - * File Authors: - * Jason Huck (jason.huck@corefive.com) - * Jim Michaels (jmichae3@yahoo.com) - */ -] - - - - FCKeditor - Samples - Posted Data - - - - - -

FCKeditor - Samples - Posted Data

- This page lists all data posted by the form. -
- - - - - -[iterate(client_postparams, local('this'))] - - - - -[/iterate] -
Field Name  Value
[#this->first][#this->second]
- - diff --git a/htdocs/includes/fckeditor/_samples/perl/sample01.cgi b/htdocs/includes/fckeditor/_samples/perl/sample01.cgi deleted file mode 100644 index eececdfe943..00000000000 --- a/htdocs/includes/fckeditor/_samples/perl/sample01.cgi +++ /dev/null @@ -1,111 +0,0 @@ -#!/usr/bin/env perl - -##### -# FCKeditor - The text editor for internet -# Copyright (C) 2003-2006 Frederico Caldeira Knabben -# -# 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/ -# -# "Support Open Source software. What about a donation today?" -# -# File Name: sample01.cgi -# Sample page. -# -# File Authors: -# Takashi Yamaguchi (jack@omakase.net) -##### - -## START: Hack for Windows (Not important to understand the editor code... Perl specific). -if(Windows_check()) { - chdir(GetScriptPath($0)); -} - -sub Windows_check -{ - # IIS,PWS(NT/95) - $www_server_os = $^O; - # Win98 & NT(SP4) - if($www_server_os eq "") { $www_server_os= $ENV{'OS'}; } - # AnHTTPd/Omni/IIS - if($ENV{'SERVER_SOFTWARE'} =~ /AnWeb|Omni|IIS\//i) { $www_server_os= 'win'; } - # Win Apache - if($ENV{'WINDIR'} ne "") { $www_server_os= 'win'; } - if($www_server_os=~ /win/i) { return(1); } - return(0); -} - -sub GetScriptPath { - local($path) = @_; - if($path =~ /[\:\/\\]/) { $path =~ s/(.*?)[\/\\][^\/\\]+$/$1/; } else { $path = '.'; } - $path; -} -## END: Hack for IIS - -require '../../fckeditor.pl'; - -# When $ENV{'PATH_INFO'} cannot be used by perl. -# $DefRootPath = "/XXXXX/_samples/perl/sample01.cgi"; Please write in script. - -my $DefServerPath = ""; -my $ServerPath; - - $ServerPath = &GetServerPath(); - print "Content-type: text/html\n\n"; - print <<"_HTML_TAG_"; - - - - FCKeditor - Sample - - - - - -

FCKeditor - Perl - Sample 1

- This sample displays a normal HTML form with an FCKeditor with full features - enabled. -
-
-_HTML_TAG_ - - #// Automatically calculates the editor base path based on the _samples directory. - #// This is usefull only for these samples. A real application should use something like this: - #// $oFCKeditor->BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value. - - $sBasePath = $ServerPath; - $sBasePath = substr($sBasePath,0,index($sBasePath,"_samples")); - &FCKeditor('FCKeditor1'); - $BasePath = $sBasePath; - $Value = 'This is some sample text. You are using FCKeditor.'; - &Create(); - - print <<"_HTML_TAG_"; -
- -
- - -_HTML_TAG_ - -################ -#Please use this function, rewriting it depending on a server's environment. -################ -sub GetServerPath -{ -my $dir; - - if($DefServerPath) { - $dir = $DefServerPath; - } else { - if($ENV{'PATH_INFO'}) { - $dir = $ENV{'PATH_INFO'}; - } elsif($ENV{'FILEPATH_INFO'}) { - $dir = $ENV{'FILEPATH_INFO'}; - } - } - return($dir); -} diff --git a/htdocs/includes/fckeditor/_samples/perl/sample02.cgi b/htdocs/includes/fckeditor/_samples/perl/sample02.cgi deleted file mode 100644 index 4512a5fa474..00000000000 --- a/htdocs/includes/fckeditor/_samples/perl/sample02.cgi +++ /dev/null @@ -1,176 +0,0 @@ -#!/usr/bin/env perl - -##### -# FCKeditor - The text editor for internet -# Copyright (C) 2003-2006 Frederico Caldeira Knabben -# -# 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/ -# -# "Support Open Source software. What about a donation today?" -# -# File Name: sample02.cgi -# Sample page. -# -# File Authors: -# Takashi Yamaguchi (jack@omakase.net) -##### - -## START: Hack for Windows (Not important to understand the editor code... Perl specific). -if(Windows_check()) { - chdir(GetScriptPath($0)); -} - -sub Windows_check -{ - # IIS,PWS(NT/95) - $www_server_os = $^O; - # Win98 & NT(SP4) - if($www_server_os eq "") { $www_server_os= $ENV{'OS'}; } - # AnHTTPd/Omni/IIS - if($ENV{'SERVER_SOFTWARE'} =~ /AnWeb|Omni|IIS\//i) { $www_server_os= 'win'; } - # Win Apache - if($ENV{'WINDIR'} ne "") { $www_server_os= 'win'; } - if($www_server_os=~ /win/i) { return(1); } - return(0); -} - -sub GetScriptPath { - local($path) = @_; - if($path =~ /[\:\/\\]/) { $path =~ s/(.*?)[\/\\][^\/\\]+$/$1/; } else { $path = '.'; } - $path; -} -## END: Hack for IIS - -require '../../fckeditor.pl'; - -# When $ENV{'PATH_INFO'} cannot be used by perl. -# $DefRootPath = "/XXXXX/_samples/perl/sample02.cgi"; Please write in script. - -my $DefServerPath = ""; -my $ServerPath; - - $ServerPath = &GetServerPath(); - - if($ENV{'REQUEST_METHOD'} eq "POST") { - read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'}); - } else { - $buffer = $ENV{'QUERY_STRING'}; - } - @pairs = split(/&/,$buffer); - foreach $pair (@pairs) { - ($name,$value) = split(/=/,$pair); - $value =~ tr/+/ /; - $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg; - $value =~ s/\t//g; - $value =~ s/\r\n/\n/g; - $FORM{$name} .= "\0" if(defined($FORM{$name})); - $FORM{$name} .= $value; - } - - print "Content-type: text/html\n\n"; - print <<"_HTML_TAG_"; - - - - FCKeditor - Sample - - - - - - -

FCKeditor - Perl - Sample 2

- This sample shows the editor in all its available languages. -
- - - - - -
- Select a language:  - - -
-
-
-_HTML_TAG_ - - #// Automatically calculates the editor base path based on the _samples directory. - #// This is usefull only for these samples. A real application should use something like this: - #// $oFCKeditor->BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value. - $sBasePath = $ServerPath; - $sBasePath = substr( $sBasePath, 0, index($sBasePath,"_samples")); - - &FCKeditor('FCKeditor1'); - $BasePath = $sBasePath; - - if($FORM{'Lang'} ne "") { - $Config{'AutoDetectLanguage'} = "false"; - $Config{'DefaultLanguage'} = $FORM{'Lang'}; - } else { - $Config{'AutoDetectLanguage'} = "true"; - $Config{'DefaultLanguage'} = 'en' ; - } - $Value = 'This is some sample text. You are using FCKeditor.' ; - &Create(); - - print <<"_HTML_TAG_"; -
- -
- - -_HTML_TAG_ - -################ -#Please use this function, rewriting it depending on a server's environment. -################ -sub GetServerPath -{ -my $dir; - - if($DefServerPath) { - $dir = $DefServerPath; - } else { - if($ENV{'PATH_INFO'}) { - $dir = $ENV{'PATH_INFO'}; - } elsif($ENV{'FILEPATH_INFO'}) { - $dir = $ENV{'FILEPATH_INFO'}; - } - } - return($dir); -} diff --git a/htdocs/includes/fckeditor/_samples/perl/sample03.cgi b/htdocs/includes/fckeditor/_samples/perl/sample03.cgi deleted file mode 100644 index 0120b992bf2..00000000000 --- a/htdocs/includes/fckeditor/_samples/perl/sample03.cgi +++ /dev/null @@ -1,161 +0,0 @@ -#!/usr/bin/env perl - -##### -# FCKeditor - The text editor for internet -# Copyright (C) 2003-2006 Frederico Caldeira Knabben -# -# 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/ -# -# "Support Open Source software. What about a donation today?" -# -# File Name: sample03.cgi -# Sample page. -# -# File Authors: -# Takashi Yamaguchi (jack@omakase.net) -##### - -## START: Hack for Windows (Not important to understand the editor code... Perl specific). -if(Windows_check()) { - chdir(GetScriptPath($0)); -} - -sub Windows_check -{ - # IIS,PWS(NT/95) - $www_server_os = $^O; - # Win98 & NT(SP4) - if($www_server_os eq "") { $www_server_os= $ENV{'OS'}; } - # AnHTTPd/Omni/IIS - if($ENV{'SERVER_SOFTWARE'} =~ /AnWeb|Omni|IIS\//i) { $www_server_os= 'win'; } - # Win Apache - if($ENV{'WINDIR'} ne "") { $www_server_os= 'win'; } - if($www_server_os=~ /win/i) { return(1); } - return(0); -} - -sub GetScriptPath { - local($path) = @_; - if($path =~ /[\:\/\\]/) { $path =~ s/(.*?)[\/\\][^\/\\]+$/$1/; } else { $path = '.'; } - $path; -} -## END: Hack for IIS - -require '../../fckeditor.pl'; - -# When $ENV{'PATH_INFO'} cannot be used by perl. -# $DefRootPath = "/XXXXX/_samples/perl/sample03.cgi"; Please write in script. - -my $DefServerPath = ""; -my $ServerPath; - - $ServerPath = &GetServerPath(); - - if($ENV{'REQUEST_METHOD'} eq "POST") { - read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'}); - } else { - $buffer = $ENV{'QUERY_STRING'}; - } - @pairs = split(/&/,$buffer); - foreach $pair (@pairs) { - ($name,$value) = split(/=/,$pair); - $value =~ tr/+/ /; - $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg; - $value =~ s/\t//g; - $value =~ s/\r\n/\n/g; - $FORM{$name} .= "\0" if(defined($FORM{$name})); - $FORM{$name} .= $value; - } - - print "Content-type: text/html\n\n"; - print <<"_HTML_TAG_"; - - - - FCKeditor - Sample - - - - - - -

FCKeditor - Perl - Sample 3

- This sample shows how to change the editor toolbar. -
- - - - - -
- Select the toolbar to load:  - - -
-
-
-_HTML_TAG_ - - #// Automatically calculates the editor base path based on the _samples directory. - #// This is usefull only for these samples. A real application should use something like this: - #// $oFCKeditor->BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value. - - $sBasePath = $ServerPath; - $sBasePath = substr($sBasePath, 0, index( $sBasePath, "_samples" )); - - &FCKeditor('FCKeditor1') ; - $BasePath = $sBasePath ; - - if($FORM{'Toolbar'} ne "") { - $ToolbarSet = &specialchar_cnv( $FORM{'Toolbar'} ); - } - $Value = 'This is some sample text. You are using FCKeditor.' ; - &Create(); - - print <<"_HTML_TAG_"; -
- -
- - -_HTML_TAG_ - -################ -#Please use this function, rewriting it depending on a server's environment. -################ -sub GetServerPath -{ -my $dir; - - if($DefServerPath) { - $dir = $DefServerPath; - } else { - if($ENV{'PATH_INFO'}) { - $dir = $ENV{'PATH_INFO'}; - } elsif($ENV{'FILEPATH_INFO'}) { - $dir = $ENV{'FILEPATH_INFO'}; - } - } - return($dir); -} diff --git a/htdocs/includes/fckeditor/_samples/perl/sample04.cgi b/htdocs/includes/fckeditor/_samples/perl/sample04.cgi deleted file mode 100644 index 89d66b44e65..00000000000 --- a/htdocs/includes/fckeditor/_samples/perl/sample04.cgi +++ /dev/null @@ -1,168 +0,0 @@ -#!/usr/bin/env perl - -##### -# FCKeditor - The text editor for internet -# Copyright (C) 2003-2006 Frederico Caldeira Knabben -# -# 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/ -# -# "Support Open Source software. What about a donation today?" -# -# File Name: sample04.cgi -# Sample page. -# -# File Authors: -# Takashi Yamaguchi (jack@omakase.net) -##### - -## START: Hack for Windows (Not important to understand the editor code... Perl specific). -if(Windows_check()) { - chdir(GetScriptPath($0)); -} - -sub Windows_check -{ - # IIS,PWS(NT/95) - $www_server_os = $^O; - # Win98 & NT(SP4) - if($www_server_os eq "") { $www_server_os= $ENV{'OS'}; } - # AnHTTPd/Omni/IIS - if($ENV{'SERVER_SOFTWARE'} =~ /AnWeb|Omni|IIS\//i) { $www_server_os= 'win'; } - # Win Apache - if($ENV{'WINDIR'} ne "") { $www_server_os= 'win'; } - if($www_server_os=~ /win/i) { return(1); } - return(0); -} - -sub GetScriptPath { - local($path) = @_; - if($path =~ /[\:\/\\]/) { $path =~ s/(.*?)[\/\\][^\/\\]+$/$1/; } else { $path = '.'; } - $path; -} -## END: Hack for IIS - -require '../../fckeditor.pl'; - -# When $ENV{'PATH_INFO'} cannot be used by perl. -# $DefRootPath = "/XXXXX/_samples/perl/sample04.cgi"; Please write in script. - -my $DefServerPath = ""; -my $ServerPath; - - $ServerPath = &GetServerPath(); - - if($ENV{'REQUEST_METHOD'} eq "POST") { - read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'}); - } else { - $buffer = $ENV{'QUERY_STRING'}; - } - @pairs = split(/&/,$buffer); - foreach $pair (@pairs) { - ($name,$value) = split(/=/,$pair); - $value =~ tr/+/ /; - $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg; - $value =~ s/\t//g; - $value =~ s/\r\n/\n/g; - $FORM{$name} .= "\0" if(defined($FORM{$name})); - $FORM{$name} .= $value; - } - -#!!Caution javascript \ Quart - - print "Content-type: text/html\n\n"; - print <<"_HTML_TAG_"; - - - - FCKeditor - Sample - - - - - - -

FCKeditor - Perl - Sample 4

- This sample shows how to change the editor skin. -
- - - - - -
- Select the skin to load:  - - -
-
-
-_HTML_TAG_ - - #// Automatically calculates the editor base path based on the _samples directory. - #// This is usefull only for these samples. A real application should use something like this: - #// $oFCKeditor->BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value. - $sBasePath = $ServerPath; - $sBasePath = substr( $sBasePath, 0, index( $sBasePath, "_samples" ) ) ; - - &FCKeditor('FCKeditor1'); - $BasePath = $sBasePath; - - if($FORM{'Skin'} ne "") { - $Config{'SkinPath'} = $sBasePath . 'editor/skins/' . &specialchar_cnv( $FORM{'Skin'} ) . '/' ; - } - $Value = 'This is some sample text. You are using FCKeditor.' ; - &Create() ; - - print <<"_HTML_TAG_"; -
- -
- - -_HTML_TAG_ - -################ -#Please use this function, rewriting it depending on a server's environment. -################ -sub GetServerPath -{ -my $dir; - - if($DefServerPath) { - $dir = $DefServerPath; - } else { - if($ENV{'PATH_INFO'}) { - $dir = $ENV{'PATH_INFO'}; - } elsif($ENV{'FILEPATH_INFO'}) { - $dir = $ENV{'FILEPATH_INFO'}; - } - } - return($dir); -} diff --git a/htdocs/includes/fckeditor/_samples/perl/sampleposteddata.cgi b/htdocs/includes/fckeditor/_samples/perl/sampleposteddata.cgi deleted file mode 100644 index 99f5ba74005..00000000000 --- a/htdocs/includes/fckeditor/_samples/perl/sampleposteddata.cgi +++ /dev/null @@ -1,101 +0,0 @@ -#!/usr/bin/env perl - -##### -# FCKeditor - The text editor for internet -# Copyright (C) 2003-2006 Frederico Caldeira Knabben -# -# 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/ -# -# "Support Open Source software. What about a donation today?" -# -# File Name: sampleposteddata.cgi -# This page lists the data posted by a form. -# -# File Authors: -# Takashi Yamaguchi (jack@omakase.net) -##### - -## START: Hack for Windows (Not important to understand the editor code... Perl specific). -if(Windows_check()) { - chdir(GetScriptPath($0)); -} - -sub Windows_check -{ - # IIS,PWS(NT/95) - $www_server_os = $^O; - # Win98 & NT(SP4) - if($www_server_os eq "") { $www_server_os= $ENV{'OS'}; } - # AnHTTPd/Omni/IIS - if($ENV{'SERVER_SOFTWARE'} =~ /AnWeb|Omni|IIS\//i) { $www_server_os= 'win'; } - # Win Apache - if($ENV{'WINDIR'} ne "") { $www_server_os= 'win'; } - if($www_server_os=~ /win/i) { return(1); } - return(0); -} - -sub GetScriptPath { - local($path) = @_; - if($path =~ /[\:\/\\]/) { $path =~ s/(.*?)[\/\\][^\/\\]+$/$1/; } else { $path = '.'; } - $path; -} -## END: Hack for IIS - -require '../../fckeditor.pl'; - - if($ENV{'REQUEST_METHOD'} eq "POST") { - read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'}); - } else { - $buffer = $ENV{'QUERY_STRING'}; - } - @pairs = split(/&/,$buffer); - foreach $pair (@pairs) { - ($name,$value) = split(/=/,$pair); - $value =~ tr/+/ /; - $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg; - $value =~ s/\t//g; - $value =~ s/\r\n/\n/g; - $FORM{$name} .= "\0" if(defined($FORM{$name})); - $FORM{$name} .= $value; - } - - print "Content-type: text/html\n\n"; - print <<"_HTML_TAG_"; - - - - - FCKeditor - Samples - Posted Data - - - - - -

FCKeditor - Samples - Posted Data

- This page lists all data posted by the form. -
- - - - - -_HTML_TAG_ - - foreach $key (keys %FORM) { - $postedValue = &specialchar_cnv($FORM{$key}); - print <<"_HTML_TAG_"; - - - - -_HTML_TAG_ - } - print <<"_HTML_TAG_"; -
Field Name  Value
$key$postedValue
- - -_HTML_TAG_ diff --git a/htdocs/includes/fckeditor/_samples/php/sample01.php b/htdocs/includes/fckeditor/_samples/php/sample01.php deleted file mode 100644 index 96ed791b70c..00000000000 --- a/htdocs/includes/fckeditor/_samples/php/sample01.php +++ /dev/null @@ -1,53 +0,0 @@ - - - - - FCKeditor - Sample - - - - - -

FCKeditor - PHP - Sample 1

- This sample displays a normal HTML form with an FCKeditor with full features - enabled. -
-
-BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value. -$sBasePath = $_SERVER['PHP_SELF'] ; -$sBasePath = substr( $sBasePath, 0, strpos( $sBasePath, "_samples" ) ) ; - -$oFCKeditor = new FCKeditor('FCKeditor1') ; -$oFCKeditor->BasePath = $sBasePath ; -$oFCKeditor->Value = 'This is some sample text. You are using FCKeditor.' ; -$oFCKeditor->Create() ; -?> -
- -
- - \ No newline at end of file diff --git a/htdocs/includes/fckeditor/_samples/php/sample02.php b/htdocs/includes/fckeditor/_samples/php/sample02.php deleted file mode 100644 index 6236a52bb19..00000000000 --- a/htdocs/includes/fckeditor/_samples/php/sample02.php +++ /dev/null @@ -1,104 +0,0 @@ - - - - - FCKeditor - Sample - - - - - - -

FCKeditor - PHP - Sample 2

- This sample shows the editor in all its available languages. -
- - - - - -
- Select a language:  - - -
-
-
-BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value. -$sBasePath = $_SERVER['PHP_SELF'] ; -$sBasePath = substr( $sBasePath, 0, strpos( $sBasePath, "_samples" ) ) ; - -$oFCKeditor = new FCKeditor('FCKeditor1') ; -$oFCKeditor->BasePath = $sBasePath ; - -if ( isset($_GET['Lang']) ) -{ - $oFCKeditor->Config['AutoDetectLanguage'] = false ; - $oFCKeditor->Config['DefaultLanguage'] = $_GET['Lang'] ; -} -else -{ - $oFCKeditor->Config['AutoDetectLanguage'] = true ; - $oFCKeditor->Config['DefaultLanguage'] = 'en' ; -} - -$oFCKeditor->Value = 'This is some sample text. You are using FCKeditor.' ; -$oFCKeditor->Create() ; -?>
- -
- - \ No newline at end of file diff --git a/htdocs/includes/fckeditor/_samples/php/sample03.php b/htdocs/includes/fckeditor/_samples/php/sample03.php deleted file mode 100644 index 188e3118269..00000000000 --- a/htdocs/includes/fckeditor/_samples/php/sample03.php +++ /dev/null @@ -1,86 +0,0 @@ - - - - - FCKeditor - Sample - - - - - - -

FCKeditor - PHP - Sample 3

- This sample shows how to change the editor toolbar. -
- - - - - -
- Select the toolbar to load:  - - -
-
-
-BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value. -$sBasePath = $_SERVER['PHP_SELF'] ; -$sBasePath = substr( $sBasePath, 0, strpos( $sBasePath, "_samples" ) ) ; - -$oFCKeditor = new FCKeditor('FCKeditor1') ; -$oFCKeditor->BasePath = $sBasePath ; - -if ( isset($_GET['Toolbar']) ) - $oFCKeditor->ToolbarSet = htmlspecialchars($_GET['Toolbar']); - -$oFCKeditor->Value = 'This is some sample text. You are using FCKeditor.' ; -$oFCKeditor->Create() ; -?> -
- -
- - \ No newline at end of file diff --git a/htdocs/includes/fckeditor/_samples/php/sample04.php b/htdocs/includes/fckeditor/_samples/php/sample04.php deleted file mode 100644 index d3824984862..00000000000 --- a/htdocs/includes/fckeditor/_samples/php/sample04.php +++ /dev/null @@ -1,91 +0,0 @@ - - - - - FCKeditor - Sample - - - - - - -

FCKeditor - PHP - Sample 4

- This sample shows how to change the editor skin. -
- - - - - -
- Select the skin to load:  - - -
-
-
-BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value. -$sBasePath = $_SERVER['PHP_SELF'] ; -$sBasePath = substr( $sBasePath, 0, strpos( $sBasePath, "_samples" ) ) ; - -$oFCKeditor = new FCKeditor('FCKeditor1') ; -$oFCKeditor->BasePath = $sBasePath ; - -if ( isset($_GET['Skin']) ) - $oFCKeditor->Config['SkinPath'] = $sBasePath . 'editor/skins/' . htmlspecialchars($_GET['Skin']) . '/' ; - -$oFCKeditor->Value = 'This is some sample text. You are using FCKeditor.' ; -$oFCKeditor->Create() ; -?> -
- -
- - \ No newline at end of file diff --git a/htdocs/includes/fckeditor/_samples/php/sampleposteddata.php b/htdocs/includes/fckeditor/_samples/php/sampleposteddata.php deleted file mode 100644 index 78dee7157f5..00000000000 --- a/htdocs/includes/fckeditor/_samples/php/sampleposteddata.php +++ /dev/null @@ -1,60 +0,0 @@ - - - - - FCKeditor - Samples - Posted Data - - - - - -

FCKeditor - Samples - Posted Data

- This page lists all data posted by the form. -
- - - - - - $value ) -{ - $postedValue = htmlspecialchars( stripslashes( $value ) ) ; - -?> - - - - - -
Field Name  Value
- - diff --git a/htdocs/includes/fckeditor/_samples/py/sample01.py b/htdocs/includes/fckeditor/_samples/py/sample01.py deleted file mode 100644 index 50dceb06abb..00000000000 --- a/htdocs/includes/fckeditor/_samples/py/sample01.py +++ /dev/null @@ -1,78 +0,0 @@ -#!/usr/bin/env python - -""" -FCKeditor - The text editor for internet -Copyright (C) 2003-2006 Frederico Caldeira Knabben - -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/ - -"Support Open Source software. What about a donation today?" - -File Name: sample01.py - Sample page. - -File Authors: - Andrew Liu (andrew@liuholdings.com) -""" - -import cgi -import os - -# Ensure that the fckeditor.py is included in your classpath -import fckeditor - -# Tell the browser to render html -print "Content-Type: text/html" -print "" - -# Document header -print """ - - - FCKeditor - Sample - - - - - -

FCKeditor - Python - Sample 1

- This sample displays a normal HTML form with an FCKeditor with full features - enabled. -
-
-""" - -# This is the real work -try: - sBasePath = os.environ.get("SCRIPT_NAME") - sBasePath = sBasePath[0:sBasePath.find("_samples")] - - oFCKeditor = fckeditor.FCKeditor('FCKeditor1') - oFCKeditor.BasePath = sBasePath - oFCKeditor.Value = """This is some sample text. You are using FCKeditor.""" - print oFCKeditor.Create() -except Exception, e: - print e -print """ -
- -
-""" - -# For testing your environments -print "
" -for key in os.environ.keys(): - print "%s: %s
" % (key, os.environ.get(key, "")) -print "
" - -# Document footer -print """ - - -""" - - diff --git a/htdocs/includes/fckeditor/_samples/py/sampleposteddata.py b/htdocs/includes/fckeditor/_samples/py/sampleposteddata.py deleted file mode 100644 index e8b07f40cfd..00000000000 --- a/htdocs/includes/fckeditor/_samples/py/sampleposteddata.py +++ /dev/null @@ -1,81 +0,0 @@ -#!/usr/bin/env python - -""" -FCKeditor - The text editor for internet -Copyright (C) 2003-2006 Frederico Caldeira Knabben - -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/ - -"Support Open Source software. What about a donation today?" - -File Name: sampleposteddata.py - This page lists the data posted by a form. - -File Authors: - Andrew Liu (andrew@liuholdings.com) -""" - -import cgi -import os - -# Tell the browser to render html -print "Content-Type: text/html" -print "" - -try: - # Create a cgi object - form = cgi.FieldStorage() -except Exception, e: - print e - -# Document header -print """ - - - FCKeditor - Samples - Posted Data - - - - - -""" - -# This is the real work -print """ -

FCKeditor - Samples - Posted Data

- This page lists all data posted by the form. -
- - - - - -""" -for key in form.keys(): - try: - value = form[key].value - print """ - - - - - """ % (key, value) - except Exception, e: - print e -print "
Field Name  Value
%s%s
" - -# For testing your environments -print "
" -for key in os.environ.keys(): - print "%s: %s
" % (key, os.environ.get(key, "")) -print "
" - -# Document footer -print """ - - -""" diff --git a/htdocs/includes/fckeditor/_samples/sample.css b/htdocs/includes/fckeditor/_samples/sample.css deleted file mode 100644 index 95bd0adf6a8..00000000000 --- a/htdocs/includes/fckeditor/_samples/sample.css +++ /dev/null @@ -1,46 +0,0 @@ -/* - * FCKeditor - The text editor for internet - * Copyright (C) 2003-2006 Frederico Caldeira Knabben - * - * 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/ - * - * "Support Open Source software. What about a donation today?" - * - * File Name: sample.css - * Styles used in the samples pages. - * - * File Authors: - * Frederico Caldeira Knabben (fredck@fckeditor.net) - */ - -body, td, input, select, textarea -{ - font-size: 12px; - font-family: Arial, Verdana, Sans-Serif; -} - -h1 -{ - font-weight: bold; - font-size: 180%; - margin-bottom: 10px; -} - -form -{ - margin: 0px 0px 0px 0px; - padding: 0px 0px 0px 0px; -} - -pre -{ - margin:0px; - padding:0px; - white-space: pre-wrap; /* css-3 */ - white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ - word-wrap: break-word; /* Internet Explorer 5.5+ */ -} \ No newline at end of file diff --git a/htdocs/includes/fckeditor/_samples/sampleslist.html b/htdocs/includes/fckeditor/_samples/sampleslist.html deleted file mode 100644 index 5b6dc82ef5c..00000000000 --- a/htdocs/includes/fckeditor/_samples/sampleslist.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - FCKeditor - Sample Selection - - - - - - - - - - -
- Please select the sample you want to view: -
- -
- - diff --git a/htdocs/includes/fckeditor/_testcases/001.html b/htdocs/includes/fckeditor/_testcases/001.html deleted file mode 100644 index 6f2379c4c5b..00000000000 --- a/htdocs/includes/fckeditor/_testcases/001.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - FCKeditor - Sample - - - - - - - -

- FCKeditor - Test 001

-

- Expected results: The editor content must be loaded and the submit - button must post the editors html.
- Configurations: Default
- Steps to Reproduce: -

-
    -
  1. Wait the editor to load.
  2. -
  3. Hit the "submit" button and check the posted data.
  4. -
  5. Hit the "submit by code" button and check the posted data.
  6. -
-

-


-

-
- -
- - -
- - diff --git a/htdocs/includes/fckeditor/_testcases/002.html b/htdocs/includes/fckeditor/_testcases/002.html deleted file mode 100644 index 2da49e4be4c..00000000000 --- a/htdocs/includes/fckeditor/_testcases/002.html +++ /dev/null @@ -1,70 +0,0 @@ - - - - - FCKeditor - Sample - - - - - - -

FCKeditor - Test 002

-

Expected results: The editor must work correctly when not value - has been set
- Configurations: Default
- Steps to Reproduce: -

-
    -
  1. - Wait the editor to load. -
  2. - Type some text and format it (use the "Bold" and "Style" commands). -
  3. - Check the toolbar buttons context sensitiveness. -
  4. - Switch to Source mode. -
  5. - Repeat steps 2, 3 and 4. -
  6. - Hit submit button and check the submitted data. -
  7. -
-

-


-

-
- -
- -
- - diff --git a/htdocs/includes/fckeditor/_testcases/003.html b/htdocs/includes/fckeditor/_testcases/003.html deleted file mode 100644 index 32e947c0cfd..00000000000 --- a/htdocs/includes/fckeditor/_testcases/003.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - FCKeditor - Sample - - - - - - -

FCKeditor - Test 003

-

Expected results: The user must be able to edit the complete - page html.
- Configurations: FullPage = true ;
- Steps to Reproduce: -

-
    -
  1. - Wait the editor to load. -
  2. - Type some text. -
  3. - Switch to Source mode. -
  4. - Switch back to WYSIWYG mode. -
  5. - Repeat steps 2, 3 and 4. -
  6. - Hit submit button and check the submitted data. -
  7. -
-

-


-

-
- -
- -
- - diff --git a/htdocs/includes/fckeditor/_testcases/004.html b/htdocs/includes/fckeditor/_testcases/004.html deleted file mode 100644 index 0268db65ff6..00000000000 --- a/htdocs/includes/fckeditor/_testcases/004.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - - FCKeditor - Sample - - - - - - - -

FCKeditor - Test 004

-

- Expected results : The editor must still work when hidding it - programmatically (through javascript).
- Configurations: Default
- Steps to Reproduce: -

-
    -
  1. - Wait the page to load. -
  2. - Hit the "Show Editor" button. -
  3. - Insert some text and format it. -
  4. - Hit the "Hide Editor" button. -
  5. - Hit the "Submit" and check the posted HTML. -
  6. - Close the "Submit" window. -
  7. - Hit the "Show Editor" button. -
  8. - Repeat steps 2 and 4.
-

-


-

-
-
- -
- -
- -
- - diff --git a/htdocs/includes/fckeditor/_testcases/005.html b/htdocs/includes/fckeditor/_testcases/005.html deleted file mode 100644 index b3a62f7d0de..00000000000 --- a/htdocs/includes/fckeditor/_testcases/005.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - FCKeditor - Sample - - - - - - -

FCKeditor - Test 005

-

- Expected results: The editor content must be loaded and the - submit button must post the editors html. No javascript errors should be thrown - (security errors).
- Configurations: BaseHref = http://www.fckeditor.net -
- Steps to Reproduce: -

-
    -
  1. - Wait the editor to load. -
  2. - Create a table with border = - 0 and an anchor. -
  3. Create an image and points it to /images/logotop.gif -
  4. Hit submit button and check the posted data.
-

-


-

-
- -
- -
- - diff --git a/htdocs/includes/fckeditor/_testcases/006.html b/htdocs/includes/fckeditor/_testcases/006.html deleted file mode 100644 index 11c2a26d586..00000000000 --- a/htdocs/includes/fckeditor/_testcases/006.html +++ /dev/null @@ -1,75 +0,0 @@ - - - - - FCKeditor - Sample - - - - - - -

FCKeditor - Test 006

-

- Expected results: The editor content must be loaded and the - submit button must post the editors html. No javascript errors should be thorwn - (security errors).
- Configurations: BaseHref = http://www.fckeditor.net / FullPage - = true -
- Steps to Reproduce: -

-
    -
  1. - Wait the editor to load. -
  2. - Create a table with border = 0 and an anchor. -
  3. - Create an image and points it to /images/logotop.gif -
  4. - Paste the following CSS tag in the source: <link href="/css/main.css" type="text/css" rel="stylesheet" /> -
  5. - Check the WYSIWYG mode. -
  6. - Hit submit button and check the posted data.
-

-


-

-
- -
- -
- - diff --git a/htdocs/includes/fckeditor/_testcases/007.html b/htdocs/includes/fckeditor/_testcases/007.html deleted file mode 100644 index ee687a19df6..00000000000 --- a/htdocs/includes/fckeditor/_testcases/007.html +++ /dev/null @@ -1,64 +0,0 @@ - - - - - FCKeditor - Sample - - - - - - -

FCKeditor - Test 007

-

- Expected results: The editor content must be loaded and the - submit button must post the editor's html.
- Configurations: Default
- Steps to Reproduce: -

-
    -
  1. - Wait the editor to load. -
  2. - Enter some text. -
  3. - Hit submit button and check the posted data.
-

-


-

-
- -
- -
- - diff --git a/htdocs/includes/fckeditor/_testcases/008.html b/htdocs/includes/fckeditor/_testcases/008.html deleted file mode 100644 index f2778e2d4ec..00000000000 --- a/htdocs/includes/fckeditor/_testcases/008.html +++ /dev/null @@ -1,88 +0,0 @@ - - - - - FCKeditor - Sample - - - - - - - -

FCKeditor - Test 008

-

- Expected results: The editor content must be loaded and the - submit button must post the editors html.
- Configurations: Default
- Steps to Reproduce: -

-
    -
  1. - Wait the editor to load. -
  2. - Select all the content with the mouse and delete it. -
  3. - Hit the "Save" button - an alert should popup. -
  4. - Insert some text. -
  5. - Hit the "Save" button and check the posted data. -
  6. - Close the data window. -
  7. - Press the "New Page" button. -
  8. - Hit the "Save" button - an alert should popup.
-

-


-

-
- -
- - diff --git a/htdocs/includes/fckeditor/_testcases/009.html b/htdocs/includes/fckeditor/_testcases/009.html deleted file mode 100644 index 03cd9163d31..00000000000 --- a/htdocs/includes/fckeditor/_testcases/009.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - FCKeditor - Sample - - - - - - - -

FCKeditor - Test 009

-

- Expected results : The user should be able to background color - of the editor by code.
- Configurations: Default
- Steps to Reproduce: -

-
    -
  1. - Wait the editor to load. -
  2. - Type some text. -
  3. - Change the background color using the combo. -
  4. - Type more text. -
  5. - Switch to source view. -
  6. - Switch back to WYSIWYG. The background color must be the same. -
  7. - Repeate steps 3 to 6. -
  8. - Submit the form.
-

-


-

- Select a color for the background:
- -

-
- -
- -
- - diff --git a/htdocs/includes/fckeditor/_testcases/010.html b/htdocs/includes/fckeditor/_testcases/010.html deleted file mode 100644 index 28b98936076..00000000000 --- a/htdocs/includes/fckeditor/_testcases/010.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - FCKeditor - Sample - - - - - - - -

- FCKeditor - Test 010

-

- Expected results: The editor content must be loaded and the the - user must be able to change the toolbar dinamically (without reloading the page).
- Configurations: Default
- Steps to Reproduce: -

-
    -
  1. Wait the editor to load.
  2. -
  3. Select some text and format it.
  4. -
  5. Select the "Basic" toolbar.
  6. -
  7. Format more text.
  8. -
  9. Select the "Default" toolbar.
  10. -
  11. Go to "Source" view.
  12. -
  13. Select the "Basic" toolbar.
  14. -
  15. Select the "Default" toolbar.
  16. -
  17. Go to "WYSIWYG" view.
  18. -
  19. Hit submit button and check the posted data.
-

-


-

- Select the toolbar you want to load:
- -
-
-
- -
- -
- - diff --git a/htdocs/includes/fckeditor/_testcases/sampleposteddata.asp b/htdocs/includes/fckeditor/_testcases/sampleposteddata.asp deleted file mode 100644 index f16fe7505d2..00000000000 --- a/htdocs/includes/fckeditor/_testcases/sampleposteddata.asp +++ /dev/null @@ -1,68 +0,0 @@ - - - - - FCKeditor - Samples - Posted Data - - - - - -

- FCKeditor - Samples - Posted Data

-
- This page lists all data posted by the form. -
-
- - - - - - <% For Each sForm in Request.Form %> - - - - - <% Next %> -
- Field Name   - Value
- - <%=sForm%> - - -
<%=ModifyForOutput( Request.Form(sForm) )%>
-
- - -<% - -' This function is useful only for this sample page se whe can display the -' posted data accordingly. This processing is usually not done on real -' applications, where the posted data must be saved on a DB or file. In those -' cases, no processing must be done, and the data is saved as posted. -Function ModifyForOutput( value ) - - ModifyForOutput = Server.HTMLEncode( Request.Form(sForm) ) - -End Function - -%> diff --git a/htdocs/includes/fckeditor/_testcases/testcases.css b/htdocs/includes/fckeditor/_testcases/testcases.css deleted file mode 100644 index c9522bf9a31..00000000000 --- a/htdocs/includes/fckeditor/_testcases/testcases.css +++ /dev/null @@ -1,46 +0,0 @@ -/* - * FCKeditor - The text editor for internet - * Copyright (C) 2003-2006 Frederico Caldeira Knabben - * - * 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/ - * - * "Support Open Source software. What about a donation today?" - * - * File Name: testcases.css - * Styles used in the samples pages. - * - * File Authors: - * Frederico Caldeira Knabben (fredck@fckeditor.net) - */ - -body, td, input, select, textarea -{ - font-size: 12px; - font-family: Arial, Verdana, Sans-Serif; -} - -h1 -{ - font-weight: bold; - font-size: 180%; - margin-bottom: 10px; -} - -form -{ - margin: 0px 0px 0px 0px; - padding: 0px 0px 0px 0px; -} - -pre -{ - margin:0px; - padding:0px; - white-space: pre-wrap; /* css-3 */ - white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ - word-wrap: break-word; /* Internet Explorer 5.5+ */ -} \ No newline at end of file