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