Changes for page Duncan1
Last modified by Alexandru Colesnicov on 2018/11/06 17:06
edited by Alexandru Colesnicov
on 2018/10/31 16:23
on 2018/10/31 16:23
edited by Alexandru Colesnicov
on 2018/10/23 19:06
on 2018/10/23 19:06
Change comment: There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -5,21 +5,12 @@ 5 5 #set($docName = ${request.docName}) 6 6 #set($targetDocName = "${request.spaceName}.${docName}") 7 7 #if(!$xwiki.exists($targetDocName) && $xwiki.hasAccessLevel('edit', $xcontext.user, $targetDocName)) 8 - $response.sendRedirect($xwiki.getURL($targetDocName, 'inline', "template=${escapetool.url($request.template)}& title=${request.docName}&parent=${escapetool.url($request.parent)}"))8 + $response.sendRedirect($xwiki.getURL($targetDocName, 'inline', "template=${escapetool.url($request.template)}&parent=${escapetool.url($request.parent)}")) 9 9 ## Stop processing, since we already sent a redirect. 10 10 #stop 11 11 #end 12 12 #end 13 13 14 -{{/velocity}} 15 - 16 -{{python}} 17 -import sys 18 -print sys.path 19 -{{/python}} 20 - 21 -{{velocity}} 22 - 23 23 = Add a new record = 24 24 25 25 #if("$!targetDocName" != '' && $xwiki.exists($targetDocName))