source: sandbox/3.0/phpgwapi/js/ckeditor/ckeditor.php @ 2862

Revision 2862, 962 bytes checked in by rodsouza, 14 years ago (diff)

Ticket #663 - Atualizando e centralizando o CKEditor (v. 3.2.1)

Line 
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 */
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
26if ( !function_exists('version_compare') || version_compare( phpversion(), '5', '<' ) )
27        include_once( 'ckeditor_php4.php' ) ;
28else
29        include_once( 'ckeditor_php5.php' ) ;
Note: See TracBrowser for help on using the repository browser.