+ <img src="{{html
wiki="false"}}$xwiki.getSkinFile('icons/silk/book_open.gif'){{/html}}"
alt="$msg.get('xe.spaces.action.index.alt')"/>
</a>
## If the user has admin right on the space display links to administration
and delete.
#if($xwiki.hasAccessLevel('admin',
"${space}.XWikiPreferences"))
- <a href="$xwiki.getURL("${space}.WebPreferences",
'admin')"
title="$msg.get('xe.spaces.action.admin')">
- <img
src="$xwiki.getSkinFile('icons/silk/cog.gif')"
alt="$msg.get('xe.spaces.action.admin.alt')"/>
+ <a href="{{html
wiki="false"}}$xwiki.getURL("${space}.WebPreferences",
'admin'){{/html}}"
title="$msg.get('xe.spaces.action.admin')">
+ <img src="{{html
wiki="false"}}$xwiki.getSkinFile('icons/silk/cog.gif'){{/html}}"
alt="$msg.get('xe.spaces.action.admin.alt')"/>
</a>
- ## <a href="#" onclick="confirm('ALL THE PAGES
WITHIN THE SPACE &ldquo;${space}&rdquo; WILL BE DELETED, are you sure that
you want to continue ?'); this.href='$spaceListDoc.getURL('view',
"deleteSpace=${space}&amp;xredirect=$doc.getExternalURL()&amp;form_token=$!{services.csrf.getToken()}")'"
title="$msg.get('xe.spaces.action.delete')">
- ## <img
src="$xwiki.getSkinFile('icons/silk/cross.gif')"
alt="$msg.get('xe.spaces.action.delete.alt')" />
+ ## <a href="#" onclick="confirm('ALL THE PAGES
WITHIN THE SPACE &ldquo;${space}&rdquo; WILL BE DELETED, are you sure that
you want to continue ?'); this.href='{{html
wiki="false"}}$spaceListDoc.getURL('view',
"deleteSpace=${space}&amp;xredirect=$doc.getExternalURL()&amp;form_token=$!{services.csrf.getToken()}"){{/html}}'"
title="$msg.get('xe.spaces.action.delete')">
+ ## <img src="{{html
wiki="false"}}$xwiki.getSkinFile('icons/silk/cross.gif'){{/html}}"
alt="$msg.get('xe.spaces.action.delete.alt')" />
## </a>
#end
</div>
@@ -215,10 +215,10 @@
#if($xwiki.hasAdminRights())
<li id="spSpaceCreateItem" class="xitem space">
<div class="xitemcontainer">
- <div id="spSpaceCreateLabel"
class="spSpaceName"><a
href="$xwiki.getURL('XWiki.CreatePage', 'view',
'tocreate=space')" onclick="toggleClass($('spSpaceCreateForm'),
'hidden'); return
false;">$msg.get('xe.spaces.createspace')</a></div>
+ <div id="spSpaceCreateLabel"
class="spSpaceName"><a href="{{html
wiki="false"}}$xwiki.getURL('XWiki.CreatePage', 'view',
'tocreate=space'){{/html}}"
onclick="toggleClass($('spSpaceCreateForm'), 'hidden'); return
false;">$msg.get('xe.spaces.createspace')</a></div>
<div class="spacer">&nbsp;</div>
<div id="spSpaceCreateForm" class="hidden">
- <form method="post" action="$doc.getURL('view',
'xpage=create')">
+ <form method="post" action="{{html
wiki="false"}}$doc.getURL('view',
'xpage=create'){{/html}}">
<div>
<input name="tocreate" type="hidden"
value="space" />
#set($newSpaceName =
$escapetool.xml($msg.get('xe.spaces.createspace.defaultname')))
_______________________________________________
notifications mailing list
notifications(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/notifications