From 610c8f6ee67553a19de1342d8348b8c6f1e9b9d8 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Fri, 25 Feb 2011 23:02:19 +0000 Subject: Refs #2895: Added support for an "alt" section in the footer menu. Put "powered by Elgg" badge in here git-svn-id: http://code.elgg.org/elgg/trunk@8480 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/elgglib.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'engine') diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php index 12e9bdcf9..01b5a24e9 100644 --- a/engine/lib/elgglib.php +++ b/engine/lib/elgglib.php @@ -1821,6 +1821,15 @@ function elgg_init() { 'weight' => 1, )); + $powered_url = elgg_get_site_url() . "_graphics/powered_by_elgg_badge_drk_bckgnd.gif"; + + elgg_register_menu_item('footer', array( + 'name' => 'powered_by_elgg', + 'href' => 'http://elgg.org', + 'text' => "\"Powered", + 'section' => 'alt', + )); + // Sets a blacklist of words in the current language. // This is a comma separated list in word:blacklist. // @todo possibly deprecate -- cgit v1.2.3