Wiki source code of PublicStartingAGA
Last modified by Alexandru Colesnicov on 2020/01/27 14:52
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | {{velocity}} | ||
| 2 | #if($doc.fullName!="AGACode._codePublic.PublicStartingAGA") | ||
| 3 | #set($displayDocExtra = false) | ||
| 4 | #set($displayShortcuts = false) | ||
| 5 | $xwiki.ssx.use('AGACode._codePublic.PublicWebPagesStyleSheet') | ||
| 6 | |||
| 7 | #set($curUser=$context.user) | ||
| 8 | #if($curUser=="XWiki.XWikiGuest") | ||
| 9 | (% class="xform half" %)((( | ||
| 10 | {{error}}You are not logged in!{{/error}} | ||
| 11 | |||
| 12 | {{box}} | ||
| 13 | If your interesting **AGA - Application of Gender Audit** please write email to genaudit@math.md | ||
| 14 | {{/box}} | ||
| 15 | ))) | ||
| 16 | |||
| 17 | |||
| 18 | #elseif(!$xwiki.hasAdminRights() && !$xwiki.getUser($curUser).isUserInGroup("XWiki.AGAAdminGroup") && !$xwiki.getUser($curUser).isUserInGroup("XWiki.AGAUserGroup")) | ||
| 19 | $response.sendRedirect($xwiki.getURL("Public.StopAGA.WebHome", "view")) | ||
| 20 | #else | ||
| 21 | $response.sendRedirect($xwiki.getURL("AGA.WebHome", "view")) | ||
| 22 | #end | ||
| 23 | #end | ||
| 24 | {{/velocity}} |