From df2e054a39d86a2177df75490917ea6cfd9c690d Mon Sep 17 00:00:00 2001 From: jensp Date: Tue, 30 Apr 2019 12:52:07 +0000 Subject: [PATCH] Removed unused Freemarker macros. Using Freemarker functions instead. git-svn-id: https://svn.libreccm.org/ccm/trunk@5987 8810af33-2d31-482b-a856-94f89814c4df --- .../freemarker/ccm-cms-assets-imagestep.ftl | 25 ------------------- 1 file changed, 25 deletions(-) diff --git a/ccm-cms-assets-imagestep/web/themes/freemarker/ccm-cms-assets-imagestep.ftl b/ccm-cms-assets-imagestep/web/themes/freemarker/ccm-cms-assets-imagestep.ftl index 88e55260b..b873faa46 100644 --- a/ccm-cms-assets-imagestep/web/themes/freemarker/ccm-cms-assets-imagestep.ftl +++ b/ccm-cms-assets-imagestep/web/themes/freemarker/ccm-cms-assets-imagestep.ftl @@ -5,31 +5,6 @@ "ui": "http://www.arsdigita.com/ui/1.0"} > -<#-- - Extracts the image attachments of an item if any and passes them to the - nested content. -#--> -<#macro imageAttachments item> - <#if (item["./imageAttachments"]?size > 0)> - <#nested item["./imageAttachments"]> - - - -<#-- - Passes the data of a single image attachments to the nested content. The - following data is passed to the nested content: - - * id of the image - * file name of the image - * caption of the images - * sort key of the image - * width of the image - * height of the image ---> -<#macro imageAttachment image> - <#nested image["./image/id"], image["./image/name"], image["./caption"] image["./sortKey"], image["./image/width"], image["./image/height"]> - - <#function getImageAttachments item> <#return item["./imageAttachments"]>