Configuration du menu contextuel.
[ckeditor.git] / skins / ckeditor / ckeditor.php
1 <?php
2 /*
3 * Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
4 * For licensing, see LICENSE.html or http://ckeditor.com/license
5 */
6
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
24 */
25
26 if ( !function_exists('version_compare') || version_compare( phpversion(), '5', '<' ) )
27 include_once( 'ckeditor_php4.php' ) ;
28 else
29 include_once( 'ckeditor_php5.php' ) ;