summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/gallery_theme.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-11-06 14:08:46 -0800
committerTim Almdal <tnalmdal@shaw.ca>2009-11-06 14:08:46 -0800
commitb5f2dbc2c4fa974f486bc92c75054940424ed323 (patch)
tree90c38929aabd5f4786088ad49a0c8534c620e522 /modules/gallery/helpers/gallery_theme.php
parentb01056da917e7da2921a5cd4c65b129489cbc19f (diff)
Create a user_menu for the top of the page. Change the login, edit profile and logout portions of the banner to be rendered by the Theme_View::user_menu callback. This fires the user_menu event. Fixes Ticket #871.
Diffstat (limited to 'modules/gallery/helpers/gallery_theme.php')
-rw-r--r--modules/gallery/helpers/gallery_theme.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/modules/gallery/helpers/gallery_theme.php b/modules/gallery/helpers/gallery_theme.php
index 0682d4ae..ab3e7eb5 100644
--- a/modules/gallery/helpers/gallery_theme.php
+++ b/modules/gallery/helpers/gallery_theme.php
@@ -52,14 +52,6 @@ class gallery_theme_Core {
return $buf;
}
- static function header_top($theme) {
- if ($theme->page_type != "login") {
- $view = new View("login.html");
- $view->user = identity::active_user();
- return $view->render();
- }
- }
-
static function admin_head($theme) {
$theme->css("gallery.css");
$theme->script("gallery.panel.js");