diff options
-rw-r--r-- | engine/lib/elgglib.php | 10 | ||||
-rw-r--r-- | mod/externalpages/start.php | 1 | ||||
-rw-r--r-- | mod/reportedcontent/start.php | 1 | ||||
-rw-r--r-- | views/default/css/elements/navigation.php | 2 | ||||
-rw-r--r-- | views/default/page/elements/footer.php | 11 |
5 files changed, 12 insertions, 13 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php index 24227e0e8..3511be0ca 100644 --- a/engine/lib/elgglib.php +++ b/engine/lib/elgglib.php @@ -1821,16 +1821,6 @@ function elgg_init() { 'priority' => 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\" width=\"106\" height=\"15\" />", - 'section' => 'alt', - 'priority' => 1000, - )); - // Sets a blacklist of words in the current language. // This is a comma separated list in word:blacklist. // @todo possibly deprecate diff --git a/mod/externalpages/start.php b/mod/externalpages/start.php index cdc400274..4dffe93c5 100644 --- a/mod/externalpages/start.php +++ b/mod/externalpages/start.php @@ -29,6 +29,7 @@ function expages_setup_footer_menu() { foreach ($pages as $page) { $url = "pg/expages/read/$page"; $item = new ElggMenuItem($page, elgg_echo("expages:$page"), $url); + $item->setSection('alt'); elgg_register_menu_item('footer', $item); } } diff --git a/mod/reportedcontent/start.php b/mod/reportedcontent/start.php index b92ab0f30..e42d86cf8 100644 --- a/mod/reportedcontent/start.php +++ b/mod/reportedcontent/start.php @@ -30,7 +30,6 @@ function reportedcontent_init() { 'href' => $href, 'title' => elgg_echo('reportedcontent:this:tooltip'), 'text' => elgg_view_icon('report-this') . elgg_echo('reportedcontent:this'), - 'section' => 'alt', 'priority' => 500, )); } diff --git a/views/default/css/elements/navigation.php b/views/default/css/elements/navigation.php index bedc4ad8b..bac4b4605 100644 --- a/views/default/css/elements/navigation.php +++ b/views/default/css/elements/navigation.php @@ -431,7 +431,7 @@ li:hover > .elgg-menu-site-more { } /* *************************************** - LONGTEXT + OWNER BLOCK *************************************** */ .elgg-menu-owner_block > li { float: left; diff --git a/views/default/page/elements/footer.php b/views/default/page/elements/footer.php index 5c8caf2de..5e572844c 100644 --- a/views/default/page/elements/footer.php +++ b/views/default/page/elements/footer.php @@ -8,4 +8,13 @@ * */ -echo elgg_view_menu('footer', array('sort_by' => 'priority', 'class' => 'elgg-menu-hz'));
\ No newline at end of file +echo elgg_view_menu('footer', array('sort_by' => 'priority', 'class' => 'elgg-menu-hz')); + +$powered_url = elgg_get_site_url() . "_graphics/powered_by_elgg_badge_drk_bckgnd.gif"; + +echo '<div class="mts right">'; +echo elgg_view('output/url', array( + 'href' => 'http://elgg.org', + 'text' => "<img src=\"$powered_url\" alt=\"Powered by Elgg\" width=\"106\" height=\"15\" />", + 'class' => '', +)); |