diff --git a/agents/bottomlevel/MenuAgent.inc b/agents/bottomlevel/MenuAgent.inc index 77d60d8d..49512791 100644 --- a/agents/bottomlevel/MenuAgent.inc +++ b/agents/bottomlevel/MenuAgent.inc @@ -28,6 +28,8 @@ */ public function index(\nre\core\Request $request, \nre\core\Response $response) { + // Add Seminary menu + $this->addSubAgent('Seminarymenu'); } } diff --git a/agents/toplevel/HtmlAgent.inc b/agents/toplevel/HtmlAgent.inc index 0648160e..63ed4525 100644 --- a/agents/toplevel/HtmlAgent.inc +++ b/agents/toplevel/HtmlAgent.inc @@ -37,9 +37,8 @@ */ public function index(\nre\core\Request $request, \nre\core\Response $response) { - // Add menus + // Add menu $this->addSubAgent('Menu'); - $this->addSubAgent('Seminarymenu'); } diff --git a/controllers/MenuController.inc b/controllers/MenuController.inc index df01f2ff..2be5ea8c 100644 --- a/controllers/MenuController.inc +++ b/controllers/MenuController.inc @@ -35,6 +35,7 @@ // Set userdata $this->set('loggedUser', IntermediateController::$user); + $this->set('loggedSeminary', IntermediateController::$seminary); } diff --git a/views/html/html.tpl b/views/html/html.tpl index 91bd00b8..2e8cc9e9 100644 --- a/views/html/html.tpl +++ b/views/html/html.tpl @@ -40,9 +40,6 @@ - - - diff --git a/views/html/menu/index.tpl b/views/html/menu/index.tpl index db402226..8c61c817 100644 --- a/views/html/menu/index.tpl +++ b/views/html/menu/index.tpl @@ -2,6 +2,7 @@ 0) : ?>
  • +