From 40da59a0c5f9fa2f1cf840bc64161861ef6a818f Mon Sep 17 00:00:00 2001 From: emkael Date: Wed, 15 Mar 2017 16:42:10 +0100 Subject: * registration open to public --- app/frontend/controls/HeaderMenu.tpl | 8 +++++++- app/frontend/pages/config.xml | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/app/frontend/controls/HeaderMenu.tpl b/app/frontend/controls/HeaderMenu.tpl index 265d29e..c93ac85 100644 --- a/app/frontend/controls/HeaderMenu.tpl +++ b/app/frontend/controls/HeaderMenu.tpl @@ -3,21 +3,25 @@ <%[ Home ]%> <%= $this->Service->constructUrl(NULL) %> + <%[ Login ]%> <%= $this->User->IsGuest %> window.location.replace('<%= $this->Service->constructUrl('Login') %>') window.location.replace('<%= $this->Service->constructUrl('Login') %>') + <%[ Profile ]%> <%= $this->Service->constructUrl('Profile') %> <%= !$this->User->IsGuest %> + <%[ Calendar list ]%> <%= $this->Service->constructUrl('Select') %> + Logout ({name}) @@ -27,11 +31,13 @@ window.location.reload() window.location.reload() + <%[ New user ]%> <%= $this->Service->constructUrl('Signup') %> - <%= $this->User->getIsAdmin() %> + <%= $this->User->getIsGuest() %> + <%[ Admin calendars ]%> <%= $this->Service->constructUrl('Admin') %> diff --git a/app/frontend/pages/config.xml b/app/frontend/pages/config.xml index 305651e..379e643 100644 --- a/app/frontend/pages/config.xml +++ b/app/frontend/pages/config.xml @@ -20,8 +20,8 @@ StatePersister.CacheTimeout="3600" /> - - + + -- cgit v1.2.3