Revision 826
Added by doc over 16 years ago
trunk/CHANGELOG | ||
---|---|---|
10 | 10 |
# = Bugfix |
11 | 11 |
! = Update/Change |
12 | 12 |
|
13 |
------------------------------------- 2.7.0 ------------------------------------- |
|
14 |
14-Apr-2008 Thomas Hornik |
|
15 |
# fixed issue with multigroups (level 0 page-creation) |
|
16 |
13-Apr-2008 Thomas Hornik |
|
17 |
! ASP: off per default. CAPTCHA: removed unneeded $admin. Filename: just convert chars like quote, doublequote, < > & to empty string. |
|
13 |
------------------------------------- 2.7.0 ------------------------------------- |
|
14 |
14-Apr-2008 Christian Sommer |
|
15 |
! allowed tags for multi-lingual module descriptions |
|
16 |
14-Apr-2008 Thomas Hornik |
|
17 |
# fixed issue with multigroups (level 0 page-creation) |
|
18 |
13-Apr-2008 Thomas Hornik |
|
19 |
! ASP: off per default. CAPTCHA: removed unneeded $admin. Filename: just convert chars like quote, doublequote, < > & to empty string. |
|
18 | 20 |
# fixed language-files |
19 | 21 |
10-Apr-2008 Christian Sommer |
20 | 22 |
! fixed WB-Link Plugin to work with WB versions below 2.7 ($admin->page_is_visible() only available in WB 2.7) |
trunk/wb/admin/modules/details.php | ||
---|---|---|
62 | 62 |
// read contents of the module language file into string |
63 | 63 |
$data = @file_get_contents(WB_PATH .'/modules/' .$file .'/languages/' .LANGUAGE .'.php'); |
64 | 64 |
// use regular expressions to fetch the content of the variable from the string |
65 |
$tool_description = get_variable_content('module_description', $data, true, false); |
|
65 |
$tool_description = get_variable_content('module_description', $data, false, false); |
|
66 |
// replace optional placeholder {WB_URL} with value stored in config.php |
|
67 |
$tool_description = str_replace('{WB_URL}', WB_URL, $tool_description); |
|
66 | 68 |
} |
67 | 69 |
if($tool_description !== false) { |
68 | 70 |
// Override the module-description with correct desription in users language |
Also available in: Unified diff
Allowed tags for multi-lingual module descriptions