summaryrefslogtreecommitdiff
path: root/demos/personal/protected/Common/MainMenu.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'demos/personal/protected/Common/MainMenu.tpl')
-rw-r--r--demos/personal/protected/Common/MainMenu.tpl15
1 files changed, 15 insertions, 0 deletions
diff --git a/demos/personal/protected/Common/MainMenu.tpl b/demos/personal/protected/Common/MainMenu.tpl
new file mode 100644
index 00000000..7e3e59f1
--- /dev/null
+++ b/demos/personal/protected/Common/MainMenu.tpl
@@ -0,0 +1,15 @@
+<a href="<%=$this->Service->constructUrl('Home') %>" >HOME</a> |
+<a href="<%=$this->Service->constructUrl('Resume') %>" >RESUME</a> |
+<a href="<%=$this->Service->constructUrl('Links') %>" >LINKS</a> |
+<a href="<%=$this->Service->constructUrl('Albums') %>" >ALBUMS</a> |
+<a href="<%=$this->Service->constructUrl('Register') %>" >REGISTER</a> |
+<com:THyperLink
+ NavigateUrl="<%=$this->Service->constructUrl('UserLogin') %>"
+ Text="LOGIN"
+ Visible="<%= $this->User->IsGuest %>"
+ />
+<com:TLinkButton
+ Text="LOGOUT"
+ Visible="<%= !$this->User->IsGuest %>"
+ OnClick="logout"
+ />