Overview
SHA1 Hash: | c4d6b89e97d473a296c692522b2d9e2df3cc856a |
---|---|
Date: | 2008-02-08 19:54:50 |
User: | stephan |
Comment: | added a link (for admin users only) to the admin page |
Timelines: | ancestors | descendants | both | trunk |
Other Links: | files | ZIP archive | manifest |
Tags And Properties
- branch=trunk inherited from [a28c83647d]
- sym-trunk inherited from [a28c83647d]
Changes
[hide diffs]Modified src/my_page.c from [6c912124ba] to [0d6df55ccb].
@@ -91,10 +91,13 @@ @ <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();