diff view/site/user/pagemenu.tt @ 11:573272ec604b

almost comlete doxygen library
author sergey
date Thu, 15 May 2014 18:24:02 +0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/view/site/user/pagemenu.tt	Thu May 15 18:24:02 2014 +0400
@@ -0,0 +1,14 @@
+[%
+	labels(
+		ViewProfile = 'View profile'
+		EditProfile = 'Update profile'
+		ChangePass  = 'Change password' 
+	);
+	userLocation = resource.Seek('user').location;
+    document.menu.page = [
+        { title = ViewProfile, href = userLocation },
+        { title = EditProfile, href = userLocation.edit },
+        { title = ChangePass, href = userLocation.passwd }
+    ];
+    
+%]
\ No newline at end of file