Update ckeditor to version 3.2.1
[gopost.git] / ckeditor / ckeditor.php
blobedbc70376a401f789750cbf535b4272d1cad9be7
1 <?php
2 /*
3 * Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
4 * For licensing, see LICENSE.html or http://ckeditor.com/license
5 */
7 /*! \mainpage CKEditor - PHP server side intergation
8 * \section intro_sec CKEditor
9 * Visit <a href="http://ckeditor.com">CKEditor web site</a> to find more information about the editor.
10 * \section install_sec Installation
11 * \subsection step1 Include ckeditor.php in your PHP web site.
12 * @code
13 * <?php
14 * include("ckeditor/ckeditor.php");
15 * ?>
16 * @endcode
17 * \subsection step2 Create CKEditor class instance and use one of available methods to insert CKEditor.
18 * @code
19 * <?php
20 * $CKEditor = new CKEditor();
21 * echo $CKEditor->textarea("field1", "<p>Initial value.</p>");
22 * ?>
23 * @endcode
26 if ( !function_exists('version_compare') || version_compare( phpversion(), '5', '<' ) )
27 include_once( 'ckeditor_php4.php' ) ;
28 else
29 include_once( 'ckeditor_php5.php' ) ;