Changes for page PublicStoppingAGA
Last modified by etvc developer on 2019/09/20 00:17
Change comment: There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -PublicSt opingAGA1 +PublicStartingAGA - Content
-
... ... @@ -1,11 +1,16 @@ 1 1 {{velocity}} 2 -#if($doc.fullName!="AGACode._codePublic.PublicSt oppingAGA")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 + (% class="xform half" %)((( 13 + {{error}}You are not logged in!{{/error}} 14 + ))) 15 +#end 11 11 {{/velocity}}