aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/elgglib.php
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-25 23:02:19 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-25 23:02:19 +0000
commit610c8f6ee67553a19de1342d8348b8c6f1e9b9d8 (patch)
treedacafc933687fe19e03a4aaf2c2ddafb207066cb /engine/lib/elgglib.php
parent4f3fd669adb5a65e92c426d488337097758af7a4 (diff)
downloadelgg-610c8f6ee67553a19de1342d8348b8c6f1e9b9d8.tar.gz
elgg-610c8f6ee67553a19de1342d8348b8c6f1e9b9d8.tar.bz2
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
Diffstat (limited to 'engine/lib/elgglib.php')
-rw-r--r--engine/lib/elgglib.php9
1 files changed, 9 insertions, 0 deletions
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' => "<img src=\"$powered_url\" alt=\"Powered by Elgg\" />",
+ 'section' => 'alt',
+ ));
+
// Sets a blacklist of words in the current language.
// This is a comma separated list in word:blacklist.
// @todo possibly deprecate