From 519a80a8f8d65f38d6389e3df0a26da1a639c354 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20St=C3=B6ckel?= Date: Fri, 21 May 2010 12:04:04 +0000 Subject: [PATCH] Removed the not needed _samples directory from ckeditor3 --- phpgwapi/js/ckeditor3/_samples/ajax.html | 87 -------- phpgwapi/js/ckeditor3/_samples/api.html | 152 ------------- .../js/ckeditor3/_samples/api_dialog.html | 181 ---------------- .../_samples/api_dialog/my_dialog.js | 28 --- .../_samples/assets/output_xhtml.css | 204 ------------------ .../js/ckeditor3/_samples/divreplace.html | 137 ------------ phpgwapi/js/ckeditor3/_samples/enterkey.html | 88 -------- phpgwapi/js/ckeditor3/_samples/fullpage.html | 62 ------ phpgwapi/js/ckeditor3/_samples/index.html | 54 ----- .../js/ckeditor3/_samples/jqueryadapter.html | 73 ------- .../js/ckeditor3/_samples/output_xhtml.html | 159 -------------- .../js/ckeditor3/_samples/php/advanced.php | 93 -------- phpgwapi/js/ckeditor3/_samples/php/events.php | 130 ----------- .../js/ckeditor3/_samples/php/replace.php | 63 ------ .../js/ckeditor3/_samples/php/replaceall.php | 68 ------ .../js/ckeditor3/_samples/php/standalone.php | 64 ------ .../js/ckeditor3/_samples/replacebyclass.html | 49 ----- .../js/ckeditor3/_samples/replacebycode.html | 80 ------- phpgwapi/js/ckeditor3/_samples/sample.css | 81 ------- phpgwapi/js/ckeditor3/_samples/sample.js | 65 ------ .../ckeditor3/_samples/sample_posteddata.php | 59 ----- .../js/ckeditor3/_samples/sharedspaces.html | 131 ----------- phpgwapi/js/ckeditor3/_samples/skins.html | 83 ------- phpgwapi/js/ckeditor3/_samples/ui_color.html | 87 -------- .../js/ckeditor3/_samples/ui_languages.html | 103 --------- 25 files changed, 2381 deletions(-) delete mode 100644 phpgwapi/js/ckeditor3/_samples/ajax.html delete mode 100644 phpgwapi/js/ckeditor3/_samples/api.html delete mode 100644 phpgwapi/js/ckeditor3/_samples/api_dialog.html delete mode 100644 phpgwapi/js/ckeditor3/_samples/api_dialog/my_dialog.js delete mode 100644 phpgwapi/js/ckeditor3/_samples/assets/output_xhtml.css delete mode 100644 phpgwapi/js/ckeditor3/_samples/divreplace.html delete mode 100644 phpgwapi/js/ckeditor3/_samples/enterkey.html delete mode 100644 phpgwapi/js/ckeditor3/_samples/fullpage.html delete mode 100644 phpgwapi/js/ckeditor3/_samples/index.html delete mode 100644 phpgwapi/js/ckeditor3/_samples/jqueryadapter.html delete mode 100644 phpgwapi/js/ckeditor3/_samples/output_xhtml.html delete mode 100644 phpgwapi/js/ckeditor3/_samples/php/advanced.php delete mode 100644 phpgwapi/js/ckeditor3/_samples/php/events.php delete mode 100644 phpgwapi/js/ckeditor3/_samples/php/replace.php delete mode 100644 phpgwapi/js/ckeditor3/_samples/php/replaceall.php delete mode 100644 phpgwapi/js/ckeditor3/_samples/php/standalone.php delete mode 100644 phpgwapi/js/ckeditor3/_samples/replacebyclass.html delete mode 100644 phpgwapi/js/ckeditor3/_samples/replacebycode.html delete mode 100644 phpgwapi/js/ckeditor3/_samples/sample.css delete mode 100644 phpgwapi/js/ckeditor3/_samples/sample.js delete mode 100644 phpgwapi/js/ckeditor3/_samples/sample_posteddata.php delete mode 100644 phpgwapi/js/ckeditor3/_samples/sharedspaces.html delete mode 100644 phpgwapi/js/ckeditor3/_samples/skins.html delete mode 100644 phpgwapi/js/ckeditor3/_samples/ui_color.html delete mode 100644 phpgwapi/js/ckeditor3/_samples/ui_languages.html diff --git a/phpgwapi/js/ckeditor3/_samples/ajax.html b/phpgwapi/js/ckeditor3/_samples/ajax.html deleted file mode 100644 index 153e5469cd..0000000000 --- a/phpgwapi/js/ckeditor3/_samples/ajax.html +++ /dev/null @@ -1,87 +0,0 @@ - - - - - Ajax - CKEditor Sample - - - - - - - -

- CKEditor Sample -

- -
- -
-

- - -

- -
-
- - - - diff --git a/phpgwapi/js/ckeditor3/_samples/api.html b/phpgwapi/js/ckeditor3/_samples/api.html deleted file mode 100644 index f853350c6e..0000000000 --- a/phpgwapi/js/ckeditor3/_samples/api.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - API usage - CKEditor Sample - - - - - - - - -

- CKEditor Sample -

- -
- -
-
-

- This sample shows how to use the CKeditor JavaScript API to interact with the editor - at runtime.

- - - - -
-
- -
- - - diff --git a/phpgwapi/js/ckeditor3/_samples/api_dialog.html b/phpgwapi/js/ckeditor3/_samples/api_dialog.html deleted file mode 100644 index 262062578b..0000000000 --- a/phpgwapi/js/ckeditor3/_samples/api_dialog.html +++ /dev/null @@ -1,181 +0,0 @@ - - - - - Using API to customize dialogs - CKEditor Sample - - - - - - - - - -

- CKEditor Sample -

- -
- -
- -

- This sample shows how to use the dialog API to customize dialogs whithout changing - the original editor code. The following customizations are being done::

-
    -
  1. Add dialog pages ("My Tab" in the Link dialog).
  2. -
  3. Remove a dialog tab ("Target" tab from the Link dialog).
  4. -
  5. Add dialog fields ("My Custom Field" into the Link dialog).
  6. -
  7. Remove dialog fields ("Link Type" and "Browser Server" the Link - dialog).
  8. -
  9. Set default values for dialog fields (for the "URL" field in the - Link dialog).
  10. -
  11. Create a custom dialog ("My Dialog" button).
  12. -
- - - - - diff --git a/phpgwapi/js/ckeditor3/_samples/api_dialog/my_dialog.js b/phpgwapi/js/ckeditor3/_samples/api_dialog/my_dialog.js deleted file mode 100644 index 02f412fc6c..0000000000 --- a/phpgwapi/js/ckeditor3/_samples/api_dialog/my_dialog.js +++ /dev/null @@ -1,28 +0,0 @@ -/* -Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ - -CKEDITOR.dialog.add( 'myDialog', function( editor ) -{ - return { - title : 'My Dialog', - minWidth : 400, - minHeight : 200, - contents : [ - { - id : 'tab1', - label : 'First Tab', - title : 'First Tab', - elements : - [ - { - id : 'input1', - type : 'text', - label : 'Input 1' - } - ] - } - ] - }; -} ); diff --git a/phpgwapi/js/ckeditor3/_samples/assets/output_xhtml.css b/phpgwapi/js/ckeditor3/_samples/assets/output_xhtml.css deleted file mode 100644 index 620ac64f61..0000000000 --- a/phpgwapi/js/ckeditor3/_samples/assets/output_xhtml.css +++ /dev/null @@ -1,204 +0,0 @@ -/* - * Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. - * For licensing, see LICENSE.html or http://ckeditor.com/license - * - * Styles used by the XHTML 1.1 sample page (xhtml.html). - */ - -/** - * Basic definitions for the editing area. - */ -body -{ - font-family: Arial, Verdana, sans-serif; - font-size: 80%; - color: #000000; - background-color: #ffffff; - padding: 5px; - margin: 0px; -} - -/** - * Core styles. - */ - -.Bold -{ - font-weight: bold; -} - -.Italic -{ - font-style: italic; -} - -.Underline -{ - text-decoration: underline; -} - -.StrikeThrough -{ - text-decoration: line-through; -} - -.Subscript -{ - vertical-align: sub; - font-size: smaller; -} - -.Superscript -{ - vertical-align: super; - font-size: smaller; -} - -/** - * Font faces. - */ - -.FontComic -{ - font-family: 'Comic Sans MS'; -} - -.FontCourier -{ - font-family: 'Courier New'; -} - -.FontTimes -{ - font-family: 'Times New Roman'; -} - -/** - * Font sizes. - */ - -.FontSmaller -{ - font-size: smaller; -} - -.FontLarger -{ - font-size: larger; -} - -.FontSmall -{ - font-size: 8pt; -} - -.FontBig -{ - font-size: 14pt; -} - -.FontDouble -{ - font-size: 200%; -} - -/** - * Font colors. - */ -.FontColor1 -{ - color: #ff9900; -} - -.FontColor2 -{ - color: #0066cc; -} - -.FontColor3 -{ - color: #ff0000; -} - -.FontColor1BG -{ - background-color: #ff9900; -} - -.FontColor2BG -{ - background-color: #0066cc; -} - -.FontColor3BG -{ - background-color: #ff0000; -} - -/** - * Indentation. - */ - -.Indent1 -{ - margin-left: 40px; -} - -.Indent2 -{ - margin-left: 80px; -} - -.Indent3 -{ - margin-left: 120px; -} - -/** - * Alignment. - */ - -.JustifyLeft -{ - text-align: left; -} - -.JustifyRight -{ - text-align: right; -} - -.JustifyCenter -{ - text-align: center; -} - -.JustifyFull -{ - text-align: justify; -} - -/** - * Other. - */ - -code -{ - font-family: courier, monospace; - background-color: #eeeeee; - padding-left: 1px; - padding-right: 1px; - border: #c0c0c0 1px solid; -} - -kbd -{ - padding: 0px 1px 0px 1px; - border-width: 1px 2px 2px 1px; - border-style: solid; -} - -blockquote -{ - color: #808080; -} diff --git a/phpgwapi/js/ckeditor3/_samples/divreplace.html b/phpgwapi/js/ckeditor3/_samples/divreplace.html deleted file mode 100644 index bee679772e..0000000000 --- a/phpgwapi/js/ckeditor3/_samples/divreplace.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - Replace DIV - CKEditor Sample - - - - - - - - - -

- CKEditor Sample -

- -
- -
-

- Double-click on any of the following DIVs to transform them into editor instances.

-
-

- Part 1

-

- Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cras et ipsum quis mi - semper accumsan. Integer pretium dui id massa. Suspendisse in nisl sit amet urna - rutrum imperdiet. Nulla eu tellus. Donec ante nisi, ullamcorper quis, fringilla - nec, sagittis eleifend, pede. Nulla commodo interdum massa. Donec id metus. Fusce - eu ipsum. Suspendisse auctor. Phasellus fermentum porttitor risus. -

-
-
-

- Part 2

-

- Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cras et ipsum quis mi - semper accumsan. Integer pretium dui id massa. Suspendisse in nisl sit amet urna - rutrum imperdiet. Nulla eu tellus. Donec ante nisi, ullamcorper quis, fringilla - nec, sagittis eleifend, pede. Nulla commodo interdum massa. Donec id metus. Fusce - eu ipsum. Suspendisse auctor. Phasellus fermentum porttitor risus. -

-

- Donec velit. Mauris massa. Vestibulum non nulla. Nam suscipit arcu nec elit. Phasellus - sollicitudin iaculis ante. Ut non mauris et sapien tincidunt adipiscing. Vestibulum - vitae leo. Suspendisse nec mi tristique nulla laoreet vulputate. -

-
-
-

- Part 3

-

- Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cras et ipsum quis mi - semper accumsan. Integer pretium dui id massa. Suspendisse in nisl sit amet urna - rutrum imperdiet. Nulla eu tellus. Donec ante nisi, ullamcorper quis, fringilla - nec, sagittis eleifend, pede. Nulla commodo interdum massa. Donec id metus. Fusce - eu ipsum. Suspendisse auctor. Phasellus fermentum porttitor risus. -

-
- - - diff --git a/phpgwapi/js/ckeditor3/_samples/enterkey.html b/phpgwapi/js/ckeditor3/_samples/enterkey.html deleted file mode 100644 index def67ae4d3..0000000000 --- a/phpgwapi/js/ckeditor3/_samples/enterkey.html +++ /dev/null @@ -1,88 +0,0 @@ - - - - - ENTER Key Configuration - CKEditor Sample - - - - - - - -

- CKEditor Sample -

- -
- -
-
- When ENTER is pressed:
- -
-
- When SHIFT + ENTER is pressed:
- -
-
-
-

-
- -

-

- -

-
- - - diff --git a/phpgwapi/js/ckeditor3/_samples/fullpage.html b/phpgwapi/js/ckeditor3/_samples/fullpage.html deleted file mode 100644 index bdd301e5cb..0000000000 --- a/phpgwapi/js/ckeditor3/_samples/fullpage.html +++ /dev/null @@ -1,62 +0,0 @@ - - - - - Full Page Editing - CKEditor Sample - - - - - - -

- CKEditor Sample -

- -
- -
-
-

- In this sample the editor is configured to edit entire HTML pages, from the <html> - tag to </html>.

-

-
- - -

-

- -

-
- - - diff --git a/phpgwapi/js/ckeditor3/_samples/index.html b/phpgwapi/js/ckeditor3/_samples/index.html deleted file mode 100644 index 84fa75d187..0000000000 --- a/phpgwapi/js/ckeditor3/_samples/index.html +++ /dev/null @@ -1,54 +0,0 @@ - - - - - Samples List - CKEditor - - - -

- CKEditor Samples List -

-

- Basic Samples -

- -

- Basic Customization -

- -

- Advanced Samples -

- - - - diff --git a/phpgwapi/js/ckeditor3/_samples/jqueryadapter.html b/phpgwapi/js/ckeditor3/_samples/jqueryadapter.html deleted file mode 100644 index 66bf976402..0000000000 --- a/phpgwapi/js/ckeditor3/_samples/jqueryadapter.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - - jQuery adapter - CKEditor Sample - - - - - - - - - -

- CKEditor Sample -

- -
- -
- -
-

-
- -

-

- -

-
- - - diff --git a/phpgwapi/js/ckeditor3/_samples/output_xhtml.html b/phpgwapi/js/ckeditor3/_samples/output_xhtml.html deleted file mode 100644 index c84ca0e063..0000000000 --- a/phpgwapi/js/ckeditor3/_samples/output_xhtml.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - XHTML compliant output - CKEditor Sample - - - - - - -

- CKEditor Sample -

- -
- -
-
-

- This sample shows CKEditor configured to produce XHTML 1.1 compliant - HTML. Deprecated elements or attributes, like the <font> and <u> elements - or the "style" attribute, are avoided.

-

-
- - -

-

- -

-
- - - diff --git a/phpgwapi/js/ckeditor3/_samples/php/advanced.php b/phpgwapi/js/ckeditor3/_samples/php/advanced.php deleted file mode 100644 index 771cb0cad5..0000000000 --- a/phpgwapi/js/ckeditor3/_samples/php/advanced.php +++ /dev/null @@ -1,93 +0,0 @@ - - - - - Sample - CKEditor - - - - -

- CKEditor Sample -

- -
- -
- -
- Output -
-

-
-

-returnOutput = true; - -// Path to CKEditor directory, ideally instead of relative dir, use an absolute path: -// $CKEditor->basePath = '/ckeditor/' -// If not set, CKEditor will try to detect the correct path. -$CKEditor->basePath = '../../'; - -// Set global configuration (will be used by all instances of CKEditor). -$CKEditor->config['width'] = 600; - -// Change default textarea attributes -$CKEditor->textareaAttributes = array("cols" => 80, "rows" => 10); - -// The initial value to be displayed in the editor. -$initialValue = '

This is some sample text. You are using CKEditor.

'; - -// Create first instance. -$code = $CKEditor->editor("editor1", $initialValue); - -echo $code; -?> -

-
-

-editor("editor2", $initialValue, $config); -?> -

- -

-
-
- - - diff --git a/phpgwapi/js/ckeditor3/_samples/php/events.php b/phpgwapi/js/ckeditor3/_samples/php/events.php deleted file mode 100644 index 36f2be2764..0000000000 --- a/phpgwapi/js/ckeditor3/_samples/php/events.php +++ /dev/null @@ -1,130 +0,0 @@ - - - - - Sample - CKEditor - - - - -

- CKEditor Sample -

- -
- -
- -
- Output -
-

-
-

-addGlobalEventHandler('dialogDefinition', $function); -} - -/** - * Adds global event, will notify about opened dialog. - */ -function CKEditorNotifyAboutOpenedDialog(&$CKEditor) { - $function = 'function (evt) { - alert("Loading dialog: " + evt.data.name); - }'; - - $CKEditor->addGlobalEventHandler('dialogDefinition', $function); -} - -// Include CKEditor class. -include("../../ckeditor.php"); - -// Create class instance. -$CKEditor = new CKEditor(); - -// Set configuration option for all editors. -$CKEditor->config['width'] = 750; - -// Path to CKEditor directory, ideally instead of relative dir, use an absolute path: -// $CKEditor->basePath = '/ckeditor/' -// If not set, CKEditor will try to detect the correct path. -$CKEditor->basePath = '../../'; - -// The initial value to be displayed in the editor. -$initialValue = '

This is some sample text. You are using CKEditor.

'; - -// Event that will be handled only by the first editor. -$CKEditor->addEventHandler('instanceReady', 'function (evt) { - alert("Loaded editor: " + evt.editor.name); -}'); - -// Create first instance. -$CKEditor->editor("editor1", $initialValue); - -// Clear event handlers, instances that will be created later will not have -// the 'instanceReady' listener defined a couple of lines above. -$CKEditor->clearEventHandlers(); -?> -

-
-

-editor("editor2", $initialValue, $config, $events); -?> -

- -

-
-
- - - diff --git a/phpgwapi/js/ckeditor3/_samples/php/replace.php b/phpgwapi/js/ckeditor3/_samples/php/replace.php deleted file mode 100644 index 80d813bda8..0000000000 --- a/phpgwapi/js/ckeditor3/_samples/php/replace.php +++ /dev/null @@ -1,63 +0,0 @@ - - - - - Sample - CKEditor - - - - -

- CKEditor Sample -

- -
- -
- -
- Output -
-

-
- -

-

- -

-
-
- - basePath = '/ckeditor/' - // If not set, CKEditor will try to detect the correct path. - $CKEditor->basePath = '../../'; - // Replace textarea with id (or name) "editor1". - $CKEditor->replace("editor1"); - ?> - - diff --git a/phpgwapi/js/ckeditor3/_samples/php/replaceall.php b/phpgwapi/js/ckeditor3/_samples/php/replaceall.php deleted file mode 100644 index 38efc806cc..0000000000 --- a/phpgwapi/js/ckeditor3/_samples/php/replaceall.php +++ /dev/null @@ -1,68 +0,0 @@ - - - - - Sample - CKEditor - - - - -

- CKEditor Sample -

- -
- -
- -
- Output -
-

-
- -

-

-
- -

-

- -

-
-
- - basePath = '/ckeditor/' - // If not set, CKEditor will try to detect the correct path. - $CKEditor->basePath = '../../'; - // Replace all textareas with CKEditor. - $CKEditor->replaceAll(); - ?> - - diff --git a/phpgwapi/js/ckeditor3/_samples/php/standalone.php b/phpgwapi/js/ckeditor3/_samples/php/standalone.php deleted file mode 100644 index 2a39ca1662..0000000000 --- a/phpgwapi/js/ckeditor3/_samples/php/standalone.php +++ /dev/null @@ -1,64 +0,0 @@ - - - - - Sample - CKEditor - - - - -

- CKEditor Sample -

- -
- -
- -
- Output -
-

-
-

-

- This is some sample text.

'; - // Create class instance. - $CKEditor = new CKEditor(); - // Path to CKEditor directory, ideally instead of relative dir, use an absolute path: - // $CKEditor->basePath = '/ckeditor/' - // If not set, CKEditor will try to detect the correct path. - $CKEditor->basePath = '../../'; - // Create textarea element and attach CKEditor to it. - $CKEditor->editor("editor1", $initialValue); - ?> - -

-
-
- - - diff --git a/phpgwapi/js/ckeditor3/_samples/replacebyclass.html b/phpgwapi/js/ckeditor3/_samples/replacebyclass.html deleted file mode 100644 index fd31e7da1f..0000000000 --- a/phpgwapi/js/ckeditor3/_samples/replacebyclass.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - - Replace Textareas by Class Name - CKEditor Sample - - - - - - -

- CKEditor Sample -

- -
- -
-
-

-
- -

-

- -

-
- - - diff --git a/phpgwapi/js/ckeditor3/_samples/replacebycode.html b/phpgwapi/js/ckeditor3/_samples/replacebycode.html deleted file mode 100644 index bd3f54d4c4..0000000000 --- a/phpgwapi/js/ckeditor3/_samples/replacebycode.html +++ /dev/null @@ -1,80 +0,0 @@ - - - - - Replace Textarea by Code - CKEditor Sample - - - - - - -

- CKEditor Sample -

- -
- -
-
-

-
- - -

-

-
- - -

-

- -

-
- - - diff --git a/phpgwapi/js/ckeditor3/_samples/sample.css b/phpgwapi/js/ckeditor3/_samples/sample.css deleted file mode 100644 index cee85e81be..0000000000 --- a/phpgwapi/js/ckeditor3/_samples/sample.css +++ /dev/null @@ -1,81 +0,0 @@ -/* -Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ - -fieldset -{ - margin: 0; - padding: 10px; -} - -form -{ - margin: 0; - padding: 0; -} - -pre -{ - background-color: #F7F7F7; - border: 1px solid #D7D7D7; - overflow: auto; - margin: 0; - padding: 0.25em; -} - -#alerts -{ - color: Red; -} - -#footer hr -{ - margin: 10px 0 15px 0; - height: 1px; - border: solid 1px gray; - border-bottom: none; -} - -#footer p -{ - margin: 0 10px 10px 10px; - float: left; -} - -#footer #copy -{ - float: right; -} - -#outputSample -{ - width: 100%; - table-layout: fixed; -} - -#outputSample thead th -{ - color: #dddddd; - background-color: #999999; - padding: 4px; - white-space: nowrap; -} - -#outputSample tbody th -{ - vertical-align: top; - text-align: left; -} - -#outputSample pre -{ - margin: 0; - padding: 0; - white-space: pre; /* CSS2 */ - white-space: -moz-pre-wrap; /* Mozilla*/ - white-space: -o-pre-wrap; /* Opera 7 */ - white-space: pre-wrap; /* CSS 2.1 */ - white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */ - word-wrap: break-word; /* IE */ -} diff --git a/phpgwapi/js/ckeditor3/_samples/sample.js b/phpgwapi/js/ckeditor3/_samples/sample.js deleted file mode 100644 index f7c023c031..0000000000 --- a/phpgwapi/js/ckeditor3/_samples/sample.js +++ /dev/null @@ -1,65 +0,0 @@ -/* -Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ - -// This file is not required by CKEditor and may be safely ignored. -// It is just a helper file that displays a red message about browser compatibility -// at the top of the samples (if incompatible browser is detected). - -if ( window.CKEDITOR ) -{ - (function() - { - var showCompatibilityMsg = function() - { - var env = CKEDITOR.env; - - var html = '

Your browser is not compatible with CKEditor.'; - - var browsers = - { - gecko : 'Firefox 2.0', - ie : 'Internet Explorer 6.0', - opera : 'Opera 9.5', - webkit : 'Safari 3.0' - }; - - var alsoBrowsers = ''; - - for ( var key in env ) - { - if ( browsers[ key ] ) - { - if ( env[key] ) - html += ' CKEditor is compatible with ' + browsers[ key ] + ' or higher.'; - else - alsoBrowsers += browsers[ key ] + '+, '; - } - } - - alsoBrowsers = alsoBrowsers.replace( /\+,([^,]+), $/, '+ and $1' ); - - html += ' It is also compatible with ' + alsoBrowsers + '.'; - - html += '

With non compatible browsers, you should still be able to see and edit the contents (HTML) in a plain text field.

'; - - var alertsEl = document.getElementById( 'alerts' ); - alertsEl && ( alertsEl.innerHTML = html ); - }; - - var onload = function() - { - // Show a friendly compatibility message as soon as the page is loaded, - // for those browsers that are not compatible with CKEditor. - if ( !CKEDITOR.env.isCompatible ) - showCompatibilityMsg(); - }; - - // Register the onload listener. - if ( window.addEventListener ) - window.addEventListener( 'load', onload, false ); - else if ( window.attachEvent ) - window.attachEvent( 'onload', onload ); - })(); -} diff --git a/phpgwapi/js/ckeditor3/_samples/sample_posteddata.php b/phpgwapi/js/ckeditor3/_samples/sample_posteddata.php deleted file mode 100644 index af20e89ae1..0000000000 --- a/phpgwapi/js/ckeditor3/_samples/sample_posteddata.php +++ /dev/null @@ -1,59 +0,0 @@ - - - - - Sample - CKEditor - - - - -

- CKEditor - Posted Data -

- - - - - - - - - $value ) -{ - if ( get_magic_quotes_gpc() ) - $postedValue = htmlspecialchars( stripslashes( $value ) ) ; - else - $postedValue = htmlspecialchars( $value ) ; - -?> - - - - - -
Field NameValue
- - - diff --git a/phpgwapi/js/ckeditor3/_samples/sharedspaces.html b/phpgwapi/js/ckeditor3/_samples/sharedspaces.html deleted file mode 100644 index 7b32b9f90a..0000000000 --- a/phpgwapi/js/ckeditor3/_samples/sharedspaces.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - Shared toolbars - CKEditor Sample - - - - - - - -

- CKEditor Sample -

- -
- -
-
-
-
-

-
- -

-

-
- -

-

-
- -

-

-
- -

-

- -

-
-
-
- - - - diff --git a/phpgwapi/js/ckeditor3/_samples/skins.html b/phpgwapi/js/ckeditor3/_samples/skins.html deleted file mode 100644 index 7f8ea831cb..0000000000 --- a/phpgwapi/js/ckeditor3/_samples/skins.html +++ /dev/null @@ -1,83 +0,0 @@ - - - - - Skins - CKEditor Sample - - - - - - -

- CKEditor Sample -

- -
- -
-
-

- "Kama" skin:
- - -

-

- "Office 2003" skin:
- - -

-

- "V2" skin:
- - -

-
- - - diff --git a/phpgwapi/js/ckeditor3/_samples/ui_color.html b/phpgwapi/js/ckeditor3/_samples/ui_color.html deleted file mode 100644 index 8ba1acf232..0000000000 --- a/phpgwapi/js/ckeditor3/_samples/ui_color.html +++ /dev/null @@ -1,87 +0,0 @@ - - - - - UI Color Setting Tool - CKEditor Sample - - - - - - -

- CKEditor Sample -

- -
- -
-

- Click the UI Color Picker button to test your color preferences at runtime.

-
-

- - -

-

- - -

-

- -

-
- - - diff --git a/phpgwapi/js/ckeditor3/_samples/ui_languages.html b/phpgwapi/js/ckeditor3/_samples/ui_languages.html deleted file mode 100644 index e7c2e1535e..0000000000 --- a/phpgwapi/js/ckeditor3/_samples/ui_languages.html +++ /dev/null @@ -1,103 +0,0 @@ - - - - - User Interface Globalization - CKEditor Sample - - - - - - - -

- CKEditor Sample -

- -
- -
-
-

- Available languages ( languages!):
- -
- (You may see strange characters if your system doesn't - support the selected language) -

-

- - -

-
- - -