X-Git-Url: https://scm.cri.ensmp.fr/git/ckeditor.git/blobdiff_plain/e11f66eb655db8339a2d9b197b89f6c3b26099e1..579f65bc95a773bc6f8da75f6849ea49f365368b:/skins/ckeditor/_samples/php/replaceall.php diff --git a/skins/ckeditor/_samples/php/replaceall.php b/skins/ckeditor/_samples/php/replaceall.php deleted file mode 100644 index 4415fbd..0000000 --- a/skins/ckeditor/_samples/php/replaceall.php +++ /dev/null @@ -1,88 +0,0 @@ - - - - - Replace All Textarea Elements — CKEditor Sample - - - - -

- CKEditor Sample — Replace All Textarea Elements Using PHP Code -

-
-

- This sample shows how to replace all <textarea> elements - with CKEditor by using PHP code. -

-

- To replace all <textarea> elements, place the following call at any point - after the last <textarea> element: -

-
-<?php
-// Include the CKEditor class.
-include("ckeditor/ckeditor.php");
-
-// Create a class instance.
-$CKEditor = new CKEditor();
-
-// Path to the CKEditor directory.
-$CKEditor->basePath = '/ckeditor/';
-
-// Replace all textarea elements with CKEditor.
-$CKEditor->replaceAll();
-?>
-
- -
- -
-
-

- - -

-

- - -

-

- -

-
- - basePath = '/ckeditor/' - // If not set, CKEditor will try to detect the correct path. - $CKEditor->basePath = '../../'; - // Replace all textarea elements with CKEditor. - $CKEditor->replaceAll(); - ?> - -