summaryrefslogtreecommitdiff
path: root/demos/personal/protected/Common/MainMenu.tpl
diff options
context:
space:
mode:
authorxue <>2007-02-09 19:02:43 +0000
committerxue <>2007-02-09 19:02:43 +0000
commit8d156610be187427d43f4d033b258f060f8968ad (patch)
treea4aa2a899d47dec014bb61d307930fed579a75bb /demos/personal/protected/Common/MainMenu.tpl
parent08fab57660b3cac36630ca6e2c4f677d1d7f2655 (diff)
reorganize personal demo.
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"
+ />