Skip to content

Commit

Permalink
Fixes #4101 added footer links back
Browse files Browse the repository at this point in the history
  • Loading branch information
cash committed Nov 29, 2011
1 parent 43b42bd commit 082c6fa
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions mod/externalpages/start.php
Expand Up @@ -43,8 +43,11 @@ function expages_setup_footer_menu() {
$pages = array('about', 'terms', 'privacy');
foreach ($pages as $page) {
$url = "$page";
$item = new ElggMenuItem($page, elgg_echo("expages:$page"), $url);
elgg_register_menu_item('walled_garden', $item);
$wg_item = new ElggMenuItem($page, elgg_echo("expages:$page"), $url);
elgg_register_menu_item('walled_garden', $wg_item);

$footer_item = clone $wg_item;
elgg_register_menu_item('footer', $footer_item);
}
}

Expand Down

0 comments on commit 082c6fa

Please sign in to comment.