mirror of
				https://github.com/Alfresco/alfresco-community-repo.git
				synced 2025-10-29 15:21:53 +00:00 
			
		
		
		
	18207: Merged DEV/TEMPORARY to V3.2
      17887: ETHREEOH-3853: FF 3.0: Exception after double click on 'Add button'.
      18068: ETHREEOH-3623: Script Error on page "Web Form Details"
      18097: ETHREEOH-3826: System Error occurs on "More Actions" page for a Space after "Edit Details" page for the same Space has been previously opened
      18168: ETHREEOH-3789: Rule with simple workflow moves document to incorrect space
   18238: Fix for ETHREEOH-4000 - WebScript extensions readme.ftl template fixed.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18298 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			909 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			909 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
<#-- Displays the contents of readme.html and/or the evaluated readme.ftl if they exist in the current space. -->
 | 
						|
<#assign filename = "readme"/>
 | 
						|
<#assign htmlExt = "html"/>
 | 
						|
<#assign suffix = .lang />
 | 
						|
<#assign ftlExt = "ftl"/>
 | 
						|
<#assign htmlLangFilename = "${filename}_${suffix}.${htmlExt}"/>
 | 
						|
<#assign htmlFilename = "${filename}.${htmlExt}"/>
 | 
						|
<#assign ftlFilename = "${filename}.${ftlExt}"/>
 | 
						|
<#assign messageError="Readme file does not exist!"/>
 | 
						|
<#assign found = false>
 | 
						|
 | 
						|
<#if space?exists>
 | 
						|
    <#if space.childByNamePath["${htmlLangFilename}"]?exists>
 | 
						|
        ${space.childByNamePath[htmlLangFilename].content}
 | 
						|
    <#elseif space.childByNamePath["${htmlFilename}"]?exists>
 | 
						|
        ${space.childByNamePath[htmlFilename].content}
 | 
						|
    <#elseif space.childByNamePath["${ftlFilename}"]?exists>
 | 
						|
        <#include space.childByNamePath["${ftlFilename}"].nodeRef> 
 | 
						|
    <#else>
 | 
						|
        ${messageError}
 | 
						|
    </#if>
 | 
						|
</#if> |