<content tag="operations.title">Space Operations</content>
<content tag="operations.title">Space Operations</content>
<content tag="operations">
    <div class="operations">
    #if( $permissionCheckDispatcher.isPermitted("/spaces/spacepermissions.action?key=$space.key") )
    <a href="$req.contextPath/spaces/spacepermissions.action?key=$generalUtil.urlEncode($space.key)"><img src="$staticResourceUrlPrefix/images/icons/lock_16.gif" height=16 width=16 border=0 align=absmiddle title="$action.getText("action.space.permissions")"></a>
    <a href="$req.contextPath/spaces/spacepermissions.action?key=$generalUtil.urlEncode($space.key)">$action.getText("action.space.permissions")</a><br/>
    #end

    #if( $permissionCheckDispatcher.isPermitted("/spaces/editspace.action?key=$space.key") )
    <a href="$req.contextPath/spaces/editspace.action?key=$generalUtil.urlEncode($space.key)"><img src="$staticResourceUrlPrefix/images/icons/edit_only_16.gif" height=16 width=16 border=0 align=absmiddle title="$action.getText("edit.space.name")"></a>
    <a href="$req.contextPath/spaces/editspace.action?key=$generalUtil.urlEncode($space.key)">$action.getText("edit.space.name")</a><br/>
    #end

    #if( $permissionCheckDispatcher.isPermitted("/spaces/removespace.action?key=$space.key") )
    <a href="$req.contextPath/spaces/removespace.action?key=$generalUtil.urlEncode($space.key)"><img src="$staticResourceUrlPrefix/images/icons/del_space_16.gif" height=16 width=16 border=0 align=absmiddle title="$action.getText("remove.space.name")"></a>
    <a href="$req.contextPath/spaces/removespace.action?key=$generalUtil.urlEncode($space.key)">$action.getText("remove.space.name")</a><br/>
    #end

    #if( $permissionCheckDispatcher.isPermitted("/spaces/exportspace.action?key=$space.key") )
    <a href="$req.contextPath/spaces/exportspace.action?key=$generalUtil.urlEncode($space.key)"><img src="$staticResourceUrlPrefix/images/icons/exp_16.gif" height=16 width=16 border=0 align=absmiddle title="$action.getText("export.space.name")"></a>
    <a href="$req.contextPath/spaces/exportspace.action?key=$generalUtil.urlEncode($space.key)">$action.getText("export.space.name")</a><br/>
    #end

    #if( $permissionCheckDispatcher.isPermitted("/spaces/importpages.action?key=$space.key") )
    <a href="$req.contextPath/spaces/importpages.action?key=$generalUtil.urlEncode($space.key)"><img src="$staticResourceUrlPrefix/images/icons/impt_16.gif" height=16 width=16 border=0 align=absmiddle title="$action.getText("action.import.pages")"></a>
    <a href="$req.contextPath/spaces/importpages.action?key=$generalUtil.urlEncode($space.key)">$action.getText("action.import.pages")</a><br/>
    #end

    #if( $permissionCheckDispatcher.isPermitted("/spaces/restorepage-start.action?spaceKey=$space.key") )
    <a href="$req.contextPath/spaces/restorepage-start.action?spaceKey=$generalUtil.urlEncode($space.key)"><img src="$staticResourceUrlPrefix/images/icons/bullet_creme.gif" height=16 width=16 border=0 align=absmiddle title="$action.getText("restore.page")"></a>
    <a href="$req.contextPath/spaces/restorepage-start.action?spaceKey=$generalUtil.urlEncode($space.key)">$action.getText("restore.page")</a><br/>
    #end

    <br/>

    #parse ('/includes/common-page-space-operations.vm')

    #if( $permissionCheckDispatcher.isPermitted("/spaces/rss.action?key=$space.key") )
    <br/>
    <a href="$req.contextPath/spaces/rss.action?key=$generalUtil.urlEncode($space.key)&newPages=true"><img src="$staticResourceUrlPrefix/images/icons/rss.gif" border=0 height=15 width=27 align=absmiddle title="$action.getText("action.space.rss.of.new.pages")"></a>
    <a href="$req.contextPath/spaces/rss.action?key=$generalUtil.urlEncode($space.key)&newPages=true">$action.getText("action.space.rss.of.new.pages")</a><br/>
    <a href="$req.contextPath/spaces/rss.action?key=$generalUtil.urlEncode($space.key)&newPages=false"><img src="$staticResourceUrlPrefix/images/icons/rss.gif" border=0 height=15 width=27 align=absmiddle title="$action.getText("action.space.rss.of.updated.pages")"></a>
    <a href="$req.contextPath/spaces/rss.action?key=$generalUtil.urlEncode($space.key)&newPages=false">$action.getText("action.space.rss.of.updated.pages")</a><br/>
    #end

    #* templates for this space only, not global
    *#

    <ul class="static-menu">
    #if( $permissionCheckDispatcher.isPermitted("/pages/templates/createpagetemplate.action?key=$space.key") )
        <li><a href="$req.contextPath/pages/templates/createpagetemplate.action?key=$generalUtil.urlEncode($space.key)">$action.getText("action.add.space.template")</a></li>
    #end
    #if( $permissionCheckDispatcher.isPermitted("/pages/templates/listpagetemplates.action?key=$space.key") )
        <li><a href="$req.contextPath/pages/templates/listpagetemplates.action?key=$generalUtil.urlEncode($space.key)">$action.getText("action.list.templates")</a></li>
    #end
    </ul>
    </div>
</content>