Revision 829
Added by doc over 16 years ago
trunk/CHANGELOG | ||
---|---|---|
11 | 11 |
! = Update/Change |
12 | 12 |
|
13 | 13 |
------------------------------------- 2.7.0 ------------------------------------- |
14 |
15-Apr-2008 Christian Sommer |
|
15 |
# fixed bug introduced with Changeset 826 |
|
14 | 16 |
14-Apr-2008 Christian Sommer |
15 | 17 |
+ added show_menu2() to pre-installed WB modules (many thanks to Brodie Thiesfield for this great menu function replacment) |
16 | 18 |
! allowed tags for multi-lingual module descriptions |
trunk/wb/admin/modules/details.php | ||
---|---|---|
64 | 64 |
// use regular expressions to fetch the content of the variable from the string |
65 | 65 |
$tool_description = get_variable_content('module_description', $data, false, false); |
66 | 66 |
// replace optional placeholder {WB_URL} with value stored in config.php |
67 |
$tool_description = str_replace('{WB_URL}', WB_URL, $tool_description); |
|
67 |
if($tool_description !== false && strlen(trim($tool_description)) != 0) { |
|
68 |
$tool_description = str_replace('{WB_URL}', WB_URL, $tool_description); |
|
69 |
} else { |
|
70 |
$tool_description = false; |
|
71 |
} |
|
68 | 72 |
} |
69 | 73 |
if($tool_description !== false) { |
70 | 74 |
// Override the module-description with correct desription in users language |
Also available in: Unified diff
Fixed bug introduced with Changeset 826