From version < 2.13 >
edited by etvc developer
on 2019/09/20 00:08
To version < 2.3 >
edited by etvc developer
on 2019/09/19 16:23
< >
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -PublicStopingAGA
1 +PublicStartingAGA
Content
... ... @@ -1,11 +1,14 @@
1 1  {{velocity}}
2 -#if($doc.fullName!="AGACode._codePublic.PublicStopingAGA")
2 +#if($doc.fullName!="AGACode._codePublic.PublicStartingAGA")
3 3   #set($displayDocExtra = false)
4 4   #set($displayShortcuts = false)
5 5   $xwiki.ssx.use('AGACode._codePublic.PublicWebPagesStyleSheet')
6 6  #end
7 7  
8 -(% class="xform half" %)(((
9 -{{error}}You don't have rights to see selected AGA Webpage!{{/error}}
10 -)))
8 +#set($curUser=$context.user)
9 +#if($curUser!="XWiki.XWikiGuest")
10 + $response.sendRedirect($xwiki.getURL("AGA.WebHome", "view"))
11 +#else
12 + {{error}}You are not logged in!{{/error}}
13 +#end
11 11  {{/velocity}}