summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-12-10 04:25:20 +0000
committerBharat Mediratta <bharat@menalto.com>2008-12-10 04:25:20 +0000
commit09364348c7ddb5cd46c3f63ea71467e7b49d0c34 (patch)
tree07ce5f68556031f7f448e87aaae6aa6245e5d39c /core
parentf198331065d90c54a502ceb396730fd6644bc0b2 (diff)
Remove navigation_top() and navigation_bottom() as they're subsumed by the new menu code
Diffstat (limited to 'core')
-rw-r--r--core/helpers/core_block.php7
-rw-r--r--core/libraries/Theme_View.php2
2 files changed, 0 insertions, 9 deletions
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 "<li><a href=#>" . _("ADMIN") . "</a></li>";
- }
- }
} \ 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":