Revision 1004
Added by Ruud over 15 years ago
trunk/wb/modules/menu_link/info.php | ||
---|---|---|
24 | 24 |
*/ |
25 | 25 |
|
26 | 26 |
/* History: |
27 |
2.8 - June 2009 |
|
28 |
- Improved the pagelist (thorn) |
|
29 |
- Added different redirect types 301 or 302 (thorn) |
|
30 |
- Set platform version 2.8 |
|
31 |
|
|
27 | 32 |
2.7 - 24. Jan. 2008 - doc |
28 | 33 |
- added language support, changed platform to 2.7 |
29 | 34 |
|
... | ... | |
38 | 43 |
$module_directory = 'menu_link'; |
39 | 44 |
$module_name = 'Menu Link'; |
40 | 45 |
$module_function = 'page'; |
41 |
$module_version = '2.7';
|
|
42 |
$module_platform = '2.7.x';
|
|
46 |
$module_version = '2.8';
|
|
47 |
$module_platform = '2.8.x';
|
|
43 | 48 |
$module_author = 'Ryan Djurovich, thorn'; |
44 | 49 |
$module_license = 'GNU General Public License'; |
45 | 50 |
$module_description = 'This module allows you to insert a link into the menu.'; |
trunk/wb/modules/menu_link/modify.php | ||
---|---|---|
58 | 58 |
if($admin->page_is_visible($page) ) { |
59 | 59 |
$pids = explode(',', $page['page_trail']); |
60 | 60 |
$entry = ''; |
61 |
foreach($pids as $pid) {
|
|
61 |
foreach($pids as $pid) |
|
62 | 62 |
$entry .= $menulink_titles[$pid].' / '; |
63 |
$tree[$page['page_id']] = rtrim($entry, '/ '); |
|
64 |
$tree = menulink_make_tree($page['page_id'], $link_pid, $tree); |
|
65 |
} |
|
63 |
$tree[$page['page_id']] = rtrim($entry, '/ '); |
|
64 |
$tree = menulink_make_tree($page['page_id'], $link_pid, $tree); |
|
66 | 65 |
} |
67 | 66 |
} |
68 | 67 |
} |
Also available in: Unified diff
Small improvement of bugfix, updated version to 2.8