Revision 748
Added by doc over 17 years ago
| trunk/CHANGELOG | ||
|---|---|---|
| 10 | 10 |
# = Bugfix |
| 11 | 11 |
! = Update/Change |
| 12 | 12 |
|
| 13 |
------------------------------------- 2.7.0 ------------------------------------- |
|
| 14 |
12-Mar-2008 Thomas Hornik |
|
| 13 |
------------------------------------- 2.7.0 ------------------------------------- |
|
| 14 |
12-Mar-2008 Christian Sommer |
|
| 15 |
! added WB home folder fix proposed by the forum member spawnferkel (thanks) |
|
| 16 |
! defined <strong> and <em> instead of <b> and <i> as default tags |
|
| 17 |
12-Mar-2008 Thomas Hornik |
|
| 15 | 18 |
+ CAPTCHA: added parameter to call_captcha (can be one of: 'image', 'input' or 'text') |
| 16 | 19 |
11-Mar-2008 Christian Sommer |
| 17 | 20 |
# fixed issue with output filter (all .@ in descriptive mailto part: >xxxxx</a> were replaced; now restricted to emails) |
| trunk/wb/modules/fckeditor/README | ||
|---|---|---|
| 1 |
################################################################################################## |
|
| 2 |
# OVERVIEW OF APPLIED CHANGES BASED ON FCKEDITOR v2.51 |
|
| 3 |
# ------------------------------------------------------------------------------------------------ |
|
| 4 |
# Symbols for changes applied to the original FCKEditor package |
|
| 5 |
# + = Added |
|
| 6 |
# - = Removed |
|
| 7 |
# ! = Update/Change (the original FCKEditor files are renamed: xxx.extension.org) |
|
| 8 |
################################################################################################## |
|
| 9 |
|
|
| 10 |
/fckeditor/editor/filemanager/connectors/ |
|
| 11 |
! test.html |
|
| 12 |
! uploadtest.html |
|
| 13 |
|
|
| 14 |
/fckeditor/editor/filemanager/connectors/php/ |
|
| 15 |
! config.php |
|
| 16 |
|
|
| 17 |
/fckeditor/editor/filemanager/browser/default |
|
| 18 |
! frmresourcetype.html |
|
| 19 |
|
|
| 20 |
NOTE: |
|
| 21 |
- files and folders starting with "_" contain source code or documentation and were removed |
|
| 22 |
|
|
| 23 |
- all files with extension: afp, asp, cfd, cfm, lasso, pl, py were removed |
|
| 24 |
(only required to integrate FCKEditor in other programming languages than PHP) |
|
| 25 |
|
|
| 26 |
- /fckeditor/editor/filemanager/connectors/ |
|
| 27 |
/asp, /aspx, /cfm, /lasso, /perl, /py (subfolders removed) |
|
| 28 |
|
|
| 29 |
+ /fckeditor/editor/plugins/WBModules |
|
| 30 |
|
|
| 31 |
|
|
| 32 |
################################################################################################## |
|
| 33 |
# CUSTOMISING FCKEDITOR TO YOUR NEEDS |
|
| 34 |
# ------------------------------------------------------------------------------------------------ |
|
| 35 |
# You can specify the appearance of FCKEditor to your needs via the files located in /my_config |
|
| 36 |
# Open the file /my_config/my_fckconfig.js with a texteditor and follow the instructions |
|
| 37 |
# in the textfile for customisation |
|
| 38 |
################################################################################################## |
|
| 39 | 0 | |
| trunk/wb/modules/fckeditor/info.php | ||
|---|---|---|
| 26 | 26 |
Authors: P. Widlund, S. Braunewell, M. Gallas (ruebenwurzel), Wouldlouper, C. Sommer (doc) |
| 27 | 27 |
Started to track applied changes in info.php from 27.03.2007 onwards (cs) |
| 28 | 28 |
----------------------------------------------------------------------------------------------------------- |
| 29 |
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 |
|
|
| 29 | 34 |
v2.82 (doc.. Christian Sommer; Feb 20, 2008) |
| 30 | 35 |
+ added the connector fix found by the forum member Luisehahne |
| 31 | 36 |
(see forum thread: http://forum.websitebaker2.org/index.php/topic,8240.msg51675.html#msg51675) |
| ... | ... | |
| 97 | 102 |
$module_directory = 'fckeditor'; |
| 98 | 103 |
$module_name = 'FCKeditor'; |
| 99 | 104 |
$module_function = 'WYSIWYG'; |
| 100 |
$module_version = '2.82';
|
|
| 105 |
$module_version = '2.83';
|
|
| 101 | 106 |
$module_platform = '2.6.x'; |
| 102 | 107 |
$module_author = 'Christian Sommer, P. Widlund, S. Braunewell, M. Gallas, Wouldlouper'; |
| 103 | 108 |
$module_license = 'GNU General Public License'; |
| 104 |
$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>.';
|
|
| 109 |
$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>.'; |
|
| 105 | 110 |
|
| 106 | 111 |
?> |
| trunk/wb/modules/fckeditor/fckeditor/editor/filemanager/connectors/php/config.php | ||
|---|---|---|
| 26 | 26 |
|
| 27 | 27 |
// SECURITY: You must explicitly enable this "connector". (Set it to "true"). |
| 28 | 28 |
// WARNING: don't just set "$Config['Enabled'] = true ;", you must be sure that only |
| 29 |
// authenticated users can access this file or use some kind of session checking.
|
|
| 29 |
// authenticated users can access this file or use some kind of session checking.
|
|
| 30 | 30 |
$Config['Enabled'] = false ; |
| 31 | 31 |
|
| 32 | 32 |
/** |
| ... | ... | |
| 50 | 50 |
// Path to user files relative to the document root. |
| 51 | 51 |
// $Config['UserFilesPath'] = '/userfiles/' ; |
| 52 | 52 |
$Config['UserFilesPath'] = WB_URL .MEDIA_DIRECTORY ; |
| 53 |
// use home folder of current user as document root if available |
|
| 54 |
if(isset($_SESSION['HOME_FOLDER']) && file_exists(WB_PATH .MEDIA_DIRECTORY .$_SESSION['HOME_FOLDER'])){
|
|
| 55 |
$Config['UserFilesPath'] = $Config['UserFilesPath'].$_SESSION['HOME_FOLDER']; |
|
| 56 |
} |
|
| 53 | 57 |
|
| 54 | 58 |
// Fill the following value it you prefer to specify the absolute path for the |
| 55 | 59 |
// user files directory. Useful if you are using a virtual directory, symbolic |
| ... | ... | |
| 57 | 61 |
// Attention: The above 'UserFilesPath' must point to the same directory. |
| 58 | 62 |
// $Config['UserFilesAbsolutePath'] = '' ; |
| 59 | 63 |
$Config['UserFilesAbsolutePath'] = WB_PATH .MEDIA_DIRECTORY ; |
| 60 |
|
|
| 64 |
// use home folder of current user as document root if available |
|
| 65 |
if(isset($_SESSION['HOME_FOLDER']) && file_exists(WB_PATH .MEDIA_DIRECTORY .$_SESSION['HOME_FOLDER'])){
|
|
| 66 |
$Config['UserFilesAbsolutePath'] = $Config['UserFilesAbsolutePath'].$_SESSION['HOME_FOLDER']; |
|
| 67 |
} |
|
| 61 | 68 |
// Due to security issues with Apache modules, it is recommended to leave the |
| 62 | 69 |
// following setting enabled. |
| 63 | 70 |
$Config['ForceSingleExtension'] = true ; |
| trunk/wb/modules/fckeditor/wb_config/wb_fckconfig.js | ||
|---|---|---|
| 132 | 132 |
// make the offic2003 skin the default skin |
| 133 | 133 |
FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/office2003/' |
| 134 | 134 |
|
| 135 |
// Do not add, rename or remove styles here. Only apply definition changes. |
|
| 136 |
FCKConfig.CoreStyles = |
|
| 137 |
{
|
|
| 138 |
// Basic Inline Styles. |
|
| 139 |
'Bold' : { Element : 'strong', Overrides : 'b' },
|
|
| 140 |
'Italic' : { Element : 'em', Overrides : 'i' },
|
|
| 141 |
'Underline' : { Element : 'u' },
|
|
| 142 |
'StrikeThrough' : { Element : 'strike' },
|
|
| 143 |
'Subscript' : { Element : 'sub' },
|
|
| 144 |
'Superscript' : { Element : 'sup' },
|
|
| 145 |
|
|
| 146 |
// Basic Block Styles (Font Format Combo). |
|
| 147 |
'p' : { Element : 'p' },
|
|
| 148 |
'div' : { Element : 'div' },
|
|
| 149 |
'pre' : { Element : 'pre' },
|
|
| 150 |
'address' : { Element : 'address' },
|
|
| 151 |
'h1' : { Element : 'h1' },
|
|
| 152 |
'h2' : { Element : 'h2' },
|
|
| 153 |
'h3' : { Element : 'h3' },
|
|
| 154 |
'h4' : { Element : 'h4' },
|
|
| 155 |
'h5' : { Element : 'h5' },
|
|
| 156 |
'h6' : { Element : 'h6' },
|
|
| 157 |
|
|
| 158 |
// Other formatting features. |
|
| 159 |
'FontFace' : |
|
| 160 |
{
|
|
| 161 |
Element : 'span', |
|
| 162 |
Styles : { 'font-family' : '#("Font")' },
|
|
| 163 |
Overrides : [ { Element : 'font', Attributes : { 'face' : null } } ]
|
|
| 164 |
}, |
|
| 165 |
|
|
| 166 |
'Size' : |
|
| 167 |
{
|
|
| 168 |
Element : 'span', |
|
| 169 |
Styles : { 'font-size' : '#("Size","fontSize")' },
|
|
| 170 |
Overrides : [ { Element : 'font', Attributes : { 'size' : null } } ]
|
|
| 171 |
}, |
|
| 172 |
|
|
| 173 |
'Color' : |
|
| 174 |
{
|
|
| 175 |
Element : 'span', |
|
| 176 |
Styles : { 'color' : '#("Color","color")' },
|
|
| 177 |
Overrides : [ { Element : 'font', Attributes : { 'color' : null } } ]
|
|
| 178 |
}, |
|
| 179 |
|
|
| 180 |
'BackColor' : { Element : 'span', Styles : { 'background-color' : '#("Color","color")' } }
|
|
| 181 |
}; |
|
| 182 |
|
|
| 183 |
|
|
| 184 |
|
|
| 135 | 185 |
/* |
| 136 | 186 |
----------------------------------------------------------------------------------------- |
| 137 | 187 |
Note: GENERAL HINTS ON CSS FORMATS AND XML FILES |
Also available in: Unified diff
Added WB home folder fix proposed by the forum member spawnferkel.
Defined <strong> and <em> instead of <b> and <i> as default tags.