| 1 | 816 | doc | <?php
 | 
      
        | 2 |  |  | 
 | 
      
        | 3 |  |  | // $Id$
 | 
      
        | 4 |  |  | 
 | 
      
        | 5 |  |  | /*
 | 
      
        | 6 |  |  | 
 | 
      
        | 7 |  |  |  Website Baker Project <http://www.websitebaker.org/>
 | 
      
        | 8 | 915 | Ruebenwurz |  Copyright (C) 2004-2009, Ryan Djurovich
 | 
      
        | 9 | 816 | doc | 
 | 
      
        | 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 | 1039 | Ruebenwurz | 	v2.89 (ruebenwurzel.. Matthias Gallas; Jul 6, 2009)
 | 
      
        | 30 |  |  | 		+	update to FCKEditor release v2.6.4.1
 | 
      
        | 31 |  |  | 		+	added WB Droplet Plugin
 | 
      
        | 32 |  |  | 		+	added Advisory Relation to Links (thanks to Luisehahne)
 | 
      
        | 33 |  |  | 
 | 
      
        | 34 | 918 | Ruebenwurz | 	v2.88 (ruebenwurzel.. Matthias Gallas; Feb 1, 2009)
 | 
      
        | 35 |  |  | 		+	update to FCKEditor release v2.64
 | 
      
        | 36 |  |  | 
 | 
      
        | 37 | 856 | Ruebenwurz | 	v2.87 (ruebenwurzel.. Matthias Gallas; Aug 19, 2008)
 | 
      
        | 38 |  |  | 		+	update to FCKEditor release v2.63
 | 
      
        | 39 |  |  | 
 | 
      
        | 40 | 852 | doc | 	v2.86 (doc.. Christian Sommer; Jul 2, 2008)
 | 
      
        | 41 |  |  | 		+	update to FCKEditor release v2.62
 | 
      
        | 42 |  |  | 
 | 
      
        | 43 | 819 | doc | 	v2.85 (doc.. Christian Sommer; Apr 10, 2008)
 | 
      
        | 44 |  |  | 		+	fixed WB-Link Plugin to work with WB versions below 2.7 ($admin->page_is_visible() only available in WB 2.7)
 | 
      
        | 45 |  |  | 
 | 
      
        | 46 | 816 | doc | 	v2.84 (doc.. Christian Sommer; Apr 7, 2008)
 | 
      
        | 47 |  |  | 		+ update to FCKEditor release v2.6
 | 
      
        | 48 |  |  | 
 | 
      
        | 49 |  |  | 	v2.83 (doc.. Christian Sommer; Mar 12, 2008)
 | 
      
        | 50 |  |  | 		+ added the WB home folder fix found by the forum member spawnferkel
 | 
      
        | 51 |  |  | 			(see forum thread: http://forum.websitebaker2.org/index.php/topic,8978.msg53107.html#msg53107)
 | 
      
        | 52 |  |  | 		+ defined <strong> and <em> instead of <b> and <i> per default
 | 
      
        | 53 |  |  | 
 | 
      
        | 54 |  |  | 	v2.82 (doc.. Christian Sommer; Feb 20, 2008)
 | 
      
        | 55 |  |  | 		+ added the connector fix found by the forum member Luisehahne
 | 
      
        | 56 |  |  | 		(see forum thread: http://forum.websitebaker2.org/index.php/topic,8240.msg51675.html#msg51675)
 | 
      
        | 57 |  |  | 
 | 
      
        | 58 |  |  | 	v2.81 (ruebenwurzel.. Matthias Gallas; Dez 24, 2007)
 | 
      
        | 59 |  |  | 		+ update to FCKEditor release v2.51
 | 
      
        | 60 |  |  | 
 | 
      
        | 61 |  |  | 	v2.80 (doc.. Christian Sommer; Dec 05, 2007)
 | 
      
        | 62 |  |  | 		+ update to FCKEditor release v2.50 (according to the developers, the most important release since v2.0)
 | 
      
        | 63 |  |  | 		+ entire PHP connector stuff rewritten from scratch
 | 
      
        | 64 |  |  | 		+ permissions to view media, upload files and to create folders are now controlled by WB group access rights
 | 
      
        | 65 |  |  | 		+ included WBLinkPlugin fix from melisa (http://forum.websitebaker.org/index.php/topic,1670.msg45948.html#msg45948)
 | 
      
        | 66 |  |  | 		  (Note: removed text field to specify the link title; function creates errors in IE and seems not to work in FF either)
 | 
      
        | 67 |  |  | 		+ added text file "CHANGELOG" which contains all changes since Mar 27, 2007
 | 
      
        | 68 |  |  | 
 | 
      
        | 69 |  |  | 	v2.77 (doc.. Christian Sommer; Oct 30, 2007)
 | 
      
        | 70 |  |  | 		+ re-introduced fix from v2.74a to solve issues with wb_fcktemplates.xml
 | 
      
        | 71 |  |  | 
 | 
      
        | 72 |  |  | 	v2.76 (doc.. Christian Sommer; Oct 29, 2007)
 | 
      
        | 73 |  |  | 		+ v2.75 was released as hotfix to prevent major damage to WB hosted sites using FCKEditor
 | 
      
        | 74 |  |  | 		  (users loged in the WB backend can upload files and create folders regardless of their WB permissions)
 | 
      
        | 75 |  |  | 		+ the following additional security measures were applied with the v2.76 release:
 | 
      
        | 76 |  |  | 			o possibility to upload files / create folders via FCKEditor disabled by default
 | 
      
        | 77 |  |  | 			o PHP connector only active for users authentificated via WB backend and permissions to view the MEDIA folder
 | 
      
        | 78 |  |  | 			o buttons to search the server (e.g. image/flash/link browser) only enabled if user has permission to view MEDIA folder
 | 
      
        | 79 |  |  | 			o buttons to upload files from FCKEditor always disabled (users settings will be overwritten)
 | 
      
        | 80 |  |  | 		+ it is no longer possible to upload files or to create folder by the FCKEditor dialogues
 | 
      
        | 81 |  |  | 		+ file uploads and creation of folders needs to be done via the WB MEDIA center
 | 
      
        | 82 |  |  | 
 | 
      
        | 83 |  |  | 	v2.75 (doc.. Christian Sommer; Oct 20, 2007) HOTFIX TO PREVENT THE WORST CASE SCENARIOUS
 | 
      
        | 84 |  |  | 		+ implemented the slightly modified security patch provided by the forum member sogua (thanks man)
 | 
      
        | 85 |  |  | 			Note: all older versions of the FCKEditor module allow file uploads and creation of folders from any
 | 
      
        | 86 |  |  | 			browser, no matter if you have access to the Website Baker backend or not!!!
 | 
      
        | 87 |  |  | 			Upload of PHP files is and was not possible with earlier version. However, images, textfiles, movies...
 | 
      
        | 88 |  |  | 			could be uploaded and overwritten within the WB /MEDIA folder.
 | 
      
        | 89 |  |  | 
 | 
      
        | 90 |  |  |    v2.7.4a (ruebenwurzel; 05.07.2007)
 | 
      
        | 91 |  |  | 		+ fixed issue in include.php with wb_fcktemplates.xml
 | 
      
        | 92 |  |  | 
 | 
      
        | 93 |  |  |    v2.7.4 (ruebenwurzel; 14.06.2007)
 | 
      
        | 94 |  |  | 		+ update to FCKEditor release v2.4.3
 | 
      
        | 95 |  |  | 
 | 
      
        | 96 |  |  |    v2.7.3 (ruebenwurzel; 10.04.2007)
 | 
      
        | 97 |  |  | 		+ update to FCKEditor release v2.4.2
 | 
      
        | 98 |  |  | 
 | 
      
        | 99 |  |  |    v2.7.2 (ruebenwurzel, doc; 29.03.2007)
 | 
      
        | 100 |  |  | 		+ update to FCKEditor release v2.4.1 (added UTF8-BOM fix from http://dev.fckeditor.net/ticket/279)
 | 
      
        | 101 |  |  | 		+ removed two test.html files from fckeditor/editor/filemanager/browser and .../upload which could be used
 | 
      
        | 102 |  |  | 		  to upload any files from outside to the WB media directory if the exact URL is known (thanks to Funky_MF)
 | 
      
        | 103 |  |  | 		+ changed the following default settings in the wb_fckconfig.js files:
 | 
      
        | 104 |  |  | 			FCKConfig.EnterMode 		= 'p';
 | 
      
        | 105 |  |  |    		FCKConfig.ShiftEnterMode 	= 'br';
 | 
      
        | 106 |  |  |    		FCKConfig.FlashBrowser = true;
 | 
      
        | 107 |  |  | 
 | 
      
        | 108 |  |  |    v2.7.1 (doc; 06.02.2007)
 | 
      
        | 109 |  |  | 		+ fixed issues with CSS and XML handling
 | 
      
        | 110 |  |  | 		+ moved FCK Javascript settings to external file: /wb_config/wb_fckconfig.js
 | 
      
        | 111 |  |  | 
 | 
      
        | 112 |  |  |    v2.7.0 (ruebenwurzel; 05.02.2007)
 | 
      
        | 113 |  |  | 		+ update to FCKEditor release v2.4.0
 | 
      
        | 114 |  |  | 
 | 
      
        | 115 |  |  | 	 CREDITS:
 | 
      
        | 116 |  |  | 	  o Thanks to tallyce for the php-connector patch which enables file upload to WB media folder
 | 
      
        | 117 |  |  | 	  o all other members who contributed to the FCKEditor module and are not mentioned here
 | 
      
        | 118 |  |  |  -----------------------------------------------------------------------------------------------------------
 | 
      
        | 119 |  |  | 
 | 
      
        | 120 |  |  | */
 | 
      
        | 121 |  |  | 
 | 
      
        | 122 |  |  | $module_directory		= 'fckeditor';
 | 
      
        | 123 | 1039 | Ruebenwurz | $module_name			= 'FCKeditor';
 | 
      
        | 124 | 816 | doc | $module_function		= 'WYSIWYG';
 | 
      
        | 125 | 1039 | Ruebenwurz | $module_version			= '2.89';
 | 
      
        | 126 | 918 | Ruebenwurz | $module_platform		= '2.7';
 | 
      
        | 127 | 816 | doc | $module_author 			= 'Christian Sommer, P. Widlund, S. Braunewell, M. Gallas, Wouldlouper';
 | 
      
        | 128 |  |  | $module_license 		= 'GNU General Public License';
 | 
      
        | 129 | 918 | Ruebenwurz | $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.4</a>.';
 | 
      
        | 130 | 816 | doc | 
 | 
      
        | 131 |  |  | ?>
 |