Wiki source code of PublicStartingAGA
Version 2.7 by etvc developer on 2019/09/19 18:39
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
1.1 | 1 | {{velocity}} |
| |
2.3 | 2 | #if($doc.fullName!="AGACode._codePublic.PublicStartingAGA") |
| 3 | #set($displayDocExtra = false) | ||
| 4 | #set($displayShortcuts = false) | ||
| 5 | $xwiki.ssx.use('AGACode._codePublic.PublicWebPagesStyleSheet') | ||
| 6 | |||
| |
2.5 | 7 | #set($curUser=$context.user) |
| 8 | #if($curUser=="XWiki.XWikiGuest") | ||
| 9 | (% class="xform half" %)((( | ||
| 10 | {{error}}You are not logged in!{{/error}} | ||
| 11 | ))) | ||
| 12 | #else | ||
| 13 | #if(!$xwiki.hasAdminRights() && !$xwiki.getUser($curUser).isUserInGroup("XWiki.AGAAdminGroup")) | ||
| 14 | (% class="xform half" %)((( | ||
| 15 | {{error}}You didn't have rights to see all Companies list!{{/error}} | ||
| 16 | ))) | ||
| 17 | #end | ||
| |
2.6 | 18 | go to AGA |
| |
2.7 | 19 | ## $response.sendRedirect($xwiki.getURL("AGA.WebHome", "view")) |
| |
2.5 | 20 | #end |
| |
2.3 | 21 | #end |
| |
1.1 | 22 | {{/velocity}} |