Project

General

Profile

« Previous | Next » 

Revision 1273

Added by Dietmar over 14 years ago

Ticket #921 Update EditArea framework
fix stylings wb_theme, fix upgradescript

View differences:

wb_wrapper_edit_area.php
1 1
<?php
2
/*
3
*
4
*                       About WebsiteBaker
5
*
6
* Website Baker is a PHP-based Content Management System (CMS)
7
* designed with one goal in mind: to enable its users to produce websites
8
* with ease.
9
*
10
*                       LICENSE INFORMATION
11
*
12
* WebsiteBaker is free software; you can redistribute it and/or
13
* modify it under the terms of the GNU General Public License
14
* as published by the Free Software Foundation; either version 2
15
* of the License, or (at your option) any later version.
16
*
17
* WebsiteBaker is distributed in the hope that it will be useful,
18
* but WITHOUT ANY WARRANTY; without even the implied warranty of
19
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20
* See the GNU General Public License for more details.
21
*
22
* You should have received a copy of the GNU General Public License
23
* along with this program; if not, write to the Free Software
24
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
25
*
26
*                   WebsiteBaker Extra Information
27
*
28
*  Website Baker wrapper functions for the Javascript code editor: "EditArea"
29
*
30
*/
2 31
/**
3
 * Website Baker wrapper functions for the Javascript code editor: "EditArea"
4 32
 *
5
 * EditArea is created by Christophe Dolivet and released under "LGPL", 
6
 * "Apache" and "BSD" licenses. For the integration into Website Baker 
7
 * the LGPL license was choosen.
33
 * @category        framework
34
 * @package         include
35
 * @author		    Christophe Dolivet (EditArea), Christian Sommer (WB wrapper)
36
 * @author          WebsiteBaker Project
37
 * @copyright       2004-2009, Ryan Djurovich
38
 * @copyright       2009-2010, Website Baker Org. e.V.
39
 * @link			http://www.websitebaker2.org/
40
 * @license         http://www.gnu.org/licenses/gpl.html
41
 * @platform        WebsiteBaker 2.8.x
42
 * @requirements    PHP 4.3.4 and higher
43
 * @version         $Id$
44
 * @filesource		$HeadURL$
45
 * @lastmodified    $Date$
8 46
 *
9
 * LICENSE: GNU Lesser General Public License 3.0
10
 * 
11
 * @author		Christophe Dolivet (EditArea), Christian Sommer (WB wrapper)
12
 * @copyright	(c) 2005-2009
13
 * @license		http://www.gnu.org/copyleft/lesser.html
14
 * @version		0.7.2.3 
15
 * @platform	Website Baker 2.7
16
*/
47
 */
48

  
17 49
function loader_help()
18 50
{
19 51
?>
......
30 62

  
31 63
if (!function_exists('registerEditArea')) {
32 64
	function registerEditArea($id = 'code_area', $syntax = 'php', $syntax_selection = true
33
		, $allow_resize = 'no', $allow_toggle = true, $start_highlight = true
65
		, $allow_resize = 'both', $allow_toggle = true, $start_highlight = true
34 66
		, $min_width = 600, $min_height = 300, $toolbar = 'default')
35 67
	{
36 68

  
37 69

  

Also available in: Unified diff