Differences From:
File
src/my_page.c
part of check-in
[4280e0d1f6]
- Removed annoying yellow/red placeholders. Added links to your wiki changes and your *file* commits.
by
stephan on
2008-02-05 20:49:53.
[view]
To:
File
src/my_page.c
part of check-in
[c4d6b89e97]
- added a link (for admin users only) to the admin page
by
stephan on
2008-02-08 19:54:50.
Also file
src/my_page.c
part of check-in
[8672e243f8]
- Merge in changes from Stephan's branch.
by
drh on
2008-02-08 21:51:32.
[view]
@@ -92,8 +92,11 @@
@ <h2>Welcome, %s(uname)!</h2>
@ Your user ID is: %d(uid)<br/>
@ Your Fossil permissions are: [%s(ucap)]
@ [TODO: explain these]<br/>
+ if( g.okAdmin ){
+ @ You are an <a href='%s(g.zBaseURL)/admin'>admin</a>.<br/>
+ }
@ Your additional info: [%s(uinfo)]
@ [TODO: make this editable]<br/>
mypage_logout_button();