From d2b3f7260bfe7fe2b38158a78d72f0554dda4b84 Mon Sep 17 00:00:00 2001 From: jensp Date: Mon, 19 Jan 2015 14:56:18 +0000 Subject: [PATCH] Foundry support for file attachments. git-svn-id: https://svn.libreccm.org/ccm/trunk@3094 8810af33-2d31-482b-a856-94f89814c4df --- .../content-items/article-detail.xml | 12 ++ .../lib/template-tags/content-items.xsl | 1 + .../content-items/assets/file-attachments.xsl | 118 ++++++++++++++++++ .../assets/image-attachments.xsl | 1 - 4 files changed, 131 insertions(+), 1 deletion(-) create mode 100644 ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items/assets/file-attachments.xsl diff --git a/ccm-core/web/themes/foundry-base/templates/content-items/article-detail.xml b/ccm-core/web/themes/foundry-base/templates/content-items/article-detail.xml index 5ac2a9dbb..77462d619 100644 --- a/ccm-core/web/themes/foundry-base/templates/content-items/article-detail.xml +++ b/ccm-core/web/themes/foundry-base/templates/content-items/article-detail.xml @@ -34,4 +34,16 @@ + + + + \ No newline at end of file diff --git a/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items.xsl b/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items.xsl index 61576904e..6db4807e6 100644 --- a/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items.xsl +++ b/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items.xsl @@ -37,6 +37,7 @@ + diff --git a/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items/assets/file-attachments.xsl b/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items/assets/file-attachments.xsl new file mode 100644 index 000000000..adff8a4dc --- /dev/null +++ b/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items/assets/file-attachments.xsl @@ -0,0 +1,118 @@ + + + ]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items/assets/image-attachments.xsl b/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items/assets/image-attachments.xsl index f42900068..97e91bd61 100644 --- a/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items/assets/image-attachments.xsl +++ b/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items/assets/image-attachments.xsl @@ -52,7 +52,6 @@ -