All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.liferay.journal.web.portlet.template.dependencies.image.ftl Maven / Gradle / Ivy

There is a newer version: 5.0.177
Show newest version
<#include "init.ftl">

<#assign
	variableAltName = name + ".getAttribute(\"alt\")"
	variableFieldEntryId = name + ".getAttribute(\"fileEntryId\")"
/>

<#if repeatable>
	<#assign
		variableAltName = "cur_" + variableAltName
		variableFieldEntryId = "cur_" + variableFieldEntryId
	/>


<#if stringUtil.equals(language, "ftl")>
${r"<#if"} ${variableName}?? && ${variableName} != "">
	${getVariableReferenceCode(variableAltName)}
${r""}
<#else>
#if ($${variableName} && $${variableName} != "")
	${getVariableReferenceCode(variableAltName)}
#end




© 2015 - 2024 Weber Informatics LLC | Privacy Policy