From 09364348c7ddb5cd46c3f63ea71467e7b49d0c34 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Wed, 10 Dec 2008 04:25:20 +0000 Subject: Remove navigation_top() and navigation_bottom() as they're subsumed by the new menu code --- core/helpers/core_block.php | 7 ------- core/libraries/Theme_View.php | 2 -- 2 files changed, 9 deletions(-) (limited to 'core') diff --git a/core/helpers/core_block.php b/core/helpers/core_block.php index f6718e53..5bc469b5 100644 --- a/core/helpers/core_block.php +++ b/core/helpers/core_block.php @@ -33,11 +33,4 @@ class core_block_Core { return new View("in_place_edit.html"); } } - - public static function navigation_bottom($theme) { - $user = Session::instance()->get('user', null); - if ($user && $user->admin) { - return "
  • " . _("ADMIN") . "
  • "; - } - } } \ No newline at end of file diff --git a/core/libraries/Theme_View.php b/core/libraries/Theme_View.php index 1ab57f4c..8736e87d 100644 --- a/core/libraries/Theme_View.php +++ b/core/libraries/Theme_View.php @@ -96,8 +96,6 @@ class Theme_View_Core extends View { case "head": case "header_bottom": case "header_top": - case "navigation_top": - case "navigation_bottom": case "page_bottom": case "page_top": case "photo_blocks": -- cgit v1.2.3