1 |
816
|
doc
|
<?php
|
2 |
|
|
|
3 |
|
|
// $Id$
|
4 |
|
|
|
5 |
|
|
/*
|
6 |
|
|
|
7 |
|
|
Website Baker Project <http://www.websitebaker.org/>
|
8 |
|
|
Copyright (C) 2004-2008, Ryan Djurovich
|
9 |
|
|
|
10 |
|
|
Website Baker is free software; you can redistribute it and/or modify
|
11 |
|
|
it under the terms of the GNU General Public License as published by
|
12 |
|
|
the Free Software Foundation; either version 2 of the License, or
|
13 |
|
|
(at your option) any later version.
|
14 |
|
|
|
15 |
|
|
Website Baker is distributed in the hope that it will be useful,
|
16 |
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
17 |
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
18 |
|
|
GNU General Public License for more details.
|
19 |
|
|
|
20 |
|
|
You should have received a copy of the GNU General Public License
|
21 |
|
|
along with Website Baker; if not, write to the Free Software
|
22 |
|
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
23 |
|
|
|
24 |
|
|
-----------------------------------------------------------------------------------------------------------
|
25 |
|
|
FCKEditor module for Website Baker v2.6.x
|
26 |
|
|
Authors: P. Widlund, S. Braunewell, M. Gallas (ruebenwurzel), Wouldlouper, C. Sommer (doc)
|
27 |
|
|
Started to track applied changes in info.php from 27.03.2007 onwards (cs)
|
28 |
|
|
-----------------------------------------------------------------------------------------------------------
|
29 |
852
|
doc
|
v2.86 (doc.. Christian Sommer; Jul 2, 2008)
|
30 |
|
|
+ update to FCKEditor release v2.62
|
31 |
|
|
|
32 |
819
|
doc
|
v2.85 (doc.. Christian Sommer; Apr 10, 2008)
|
33 |
|
|
+ fixed WB-Link Plugin to work with WB versions below 2.7 ($admin->page_is_visible() only available in WB 2.7)
|
34 |
|
|
|
35 |
816
|
doc
|
v2.84 (doc.. Christian Sommer; Apr 7, 2008)
|
36 |
|
|
+ update to FCKEditor release v2.6
|
37 |
|
|
|
38 |
|
|
v2.83 (doc.. Christian Sommer; Mar 12, 2008)
|
39 |
|
|
+ added the WB home folder fix found by the forum member spawnferkel
|
40 |
|
|
(see forum thread: http://forum.websitebaker2.org/index.php/topic,8978.msg53107.html#msg53107)
|
41 |
|
|
+ defined <strong> and <em> instead of <b> and <i> per default
|
42 |
|
|
|
43 |
|
|
v2.82 (doc.. Christian Sommer; Feb 20, 2008)
|
44 |
|
|
+ added the connector fix found by the forum member Luisehahne
|
45 |
|
|
(see forum thread: http://forum.websitebaker2.org/index.php/topic,8240.msg51675.html#msg51675)
|
46 |
|
|
|
47 |
|
|
v2.81 (ruebenwurzel.. Matthias Gallas; Dez 24, 2007)
|
48 |
|
|
+ update to FCKEditor release v2.51
|
49 |
|
|
|
50 |
|
|
v2.80 (doc.. Christian Sommer; Dec 05, 2007)
|
51 |
|
|
+ update to FCKEditor release v2.50 (according to the developers, the most important release since v2.0)
|
52 |
|
|
+ entire PHP connector stuff rewritten from scratch
|
53 |
|
|
+ permissions to view media, upload files and to create folders are now controlled by WB group access rights
|
54 |
|
|
+ included WBLinkPlugin fix from melisa (http://forum.websitebaker.org/index.php/topic,1670.msg45948.html#msg45948)
|
55 |
|
|
(Note: removed text field to specify the link title; function creates errors in IE and seems not to work in FF either)
|
56 |
|
|
+ added text file "CHANGELOG" which contains all changes since Mar 27, 2007
|
57 |
|
|
|
58 |
|
|
v2.77 (doc.. Christian Sommer; Oct 30, 2007)
|
59 |
|
|
+ re-introduced fix from v2.74a to solve issues with wb_fcktemplates.xml
|
60 |
|
|
|
61 |
|
|
v2.76 (doc.. Christian Sommer; Oct 29, 2007)
|
62 |
|
|
+ v2.75 was released as hotfix to prevent major damage to WB hosted sites using FCKEditor
|
63 |
|
|
(users loged in the WB backend can upload files and create folders regardless of their WB permissions)
|
64 |
|
|
+ the following additional security measures were applied with the v2.76 release:
|
65 |
|
|
o possibility to upload files / create folders via FCKEditor disabled by default
|
66 |
|
|
o PHP connector only active for users authentificated via WB backend and permissions to view the MEDIA folder
|
67 |
|
|
o buttons to search the server (e.g. image/flash/link browser) only enabled if user has permission to view MEDIA folder
|
68 |
|
|
o buttons to upload files from FCKEditor always disabled (users settings will be overwritten)
|
69 |
|
|
+ it is no longer possible to upload files or to create folder by the FCKEditor dialogues
|
70 |
|
|
+ file uploads and creation of folders needs to be done via the WB MEDIA center
|
71 |
|
|
|
72 |
|
|
v2.75 (doc.. Christian Sommer; Oct 20, 2007) HOTFIX TO PREVENT THE WORST CASE SCENARIOUS
|
73 |
|
|
+ implemented the slightly modified security patch provided by the forum member sogua (thanks man)
|
74 |
|
|
Note: all older versions of the FCKEditor module allow file uploads and creation of folders from any
|
75 |
|
|
browser, no matter if you have access to the Website Baker backend or not!!!
|
76 |
|
|
Upload of PHP files is and was not possible with earlier version. However, images, textfiles, movies...
|
77 |
|
|
could be uploaded and overwritten within the WB /MEDIA folder.
|
78 |
|
|
|
79 |
|
|
v2.7.4a (ruebenwurzel; 05.07.2007)
|
80 |
|
|
+ fixed issue in include.php with wb_fcktemplates.xml
|
81 |
|
|
|
82 |
|
|
v2.7.4 (ruebenwurzel; 14.06.2007)
|
83 |
|
|
+ update to FCKEditor release v2.4.3
|
84 |
|
|
|
85 |
|
|
v2.7.3 (ruebenwurzel; 10.04.2007)
|
86 |
|
|
+ update to FCKEditor release v2.4.2
|
87 |
|
|
|
88 |
|
|
v2.7.2 (ruebenwurzel, doc; 29.03.2007)
|
89 |
|
|
+ update to FCKEditor release v2.4.1 (added UTF8-BOM fix from http://dev.fckeditor.net/ticket/279)
|
90 |
|
|
+ removed two test.html files from fckeditor/editor/filemanager/browser and .../upload which could be used
|
91 |
|
|
to upload any files from outside to the WB media directory if the exact URL is known (thanks to Funky_MF)
|
92 |
|
|
+ changed the following default settings in the wb_fckconfig.js files:
|
93 |
|
|
FCKConfig.EnterMode = 'p';
|
94 |
|
|
FCKConfig.ShiftEnterMode = 'br';
|
95 |
|
|
FCKConfig.FlashBrowser = true;
|
96 |
|
|
|
97 |
|
|
v2.7.1 (doc; 06.02.2007)
|
98 |
|
|
+ fixed issues with CSS and XML handling
|
99 |
|
|
+ moved FCK Javascript settings to external file: /wb_config/wb_fckconfig.js
|
100 |
|
|
|
101 |
|
|
v2.7.0 (ruebenwurzel; 05.02.2007)
|
102 |
|
|
+ update to FCKEditor release v2.4.0
|
103 |
|
|
|
104 |
|
|
CREDITS:
|
105 |
|
|
o Thanks to tallyce for the php-connector patch which enables file upload to WB media folder
|
106 |
|
|
o all other members who contributed to the FCKEditor module and are not mentioned here
|
107 |
|
|
-----------------------------------------------------------------------------------------------------------
|
108 |
|
|
|
109 |
|
|
*/
|
110 |
|
|
|
111 |
|
|
$module_directory = 'fckeditor';
|
112 |
|
|
$module_name = 'FCKeditor';
|
113 |
|
|
$module_function = 'WYSIWYG';
|
114 |
852
|
doc
|
$module_version = '2.86';
|
115 |
816
|
doc
|
$module_platform = '2.6.x';
|
116 |
|
|
$module_author = 'Christian Sommer, P. Widlund, S. Braunewell, M. Gallas, Wouldlouper';
|
117 |
|
|
$module_license = 'GNU General Public License';
|
118 |
852
|
doc
|
$module_description = 'This module allows you to edit the contents of a page using <a href="http://www.fckeditor.net/" target="_blank">FCKeditor v2.6.2</a>.';
|
119 |
816
|
doc
|
|
120 |
|
|
?>
|