Index: panels/src/main/resources/Panels/HomePageUpdate =================================================================== --- panels/src/main/resources/Panels/HomePageUpdate (revision 4049) +++ panels/src/main/resources/Panels/HomePageUpdate (working copy) @@ -19,13 +19,14 @@ -#set($place = $request.place) +#set($vWiki = $request.vWiki) +#if("$!vWiki" == '') #set($vWiki = $request.place) #end #if(!$xwiki.hasAdminRights()) -#xwikimessageboxstart("Place Manager" "") -You are not admin on this place ($place). +#xwikimessageboxstart("Virtual Wiki Manager" "") +You are not admin on this wiki ($vWiki). #xwikimessageboxend() #else -#if((!$place)||($place=="")) +#if((!$vWiki)||($vWiki=="")) #set($prefsdoc = $xwiki.getDocument("XWiki.XWikiPreferences")) #set($ok = $prefsdoc.use("XWiki.XWikiPreferences")) #set($leftPanels = $request.leftPanels) @@ -39,7 +40,7 @@ #set($ok = $prefsdoc.saveWithProgrammingRights()) SUCCESS #else -#set($prefsdoc = $xwiki.getDocument("${place}:XWiki.XWikiPreferences")) +#set($prefsdoc = $xwiki.getDocument("${vWiki}:XWiki.XWikiPreferences")) #set($ok = $prefsdoc.use("XWiki.XWikiPreferences")) #set($leftPanels = $request.leftPanels) #set($rightPanels = $request.rightPanels)