From de3ae25985467d51ae761651120eaa5d32b64b2c Mon Sep 17 00:00:00 2001 From: jensp Date: Wed, 17 Feb 2016 19:05:20 +0000 Subject: [PATCH] CCM NG: Merged latest changes for Foundry from trunk git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3869 8810af33-2d31-482b-a856-94f89814c4df --- .../foundry/foundry/lib/global-vars.xsl | 3 +- .../foundry/foundry/lib/template-parser.xsl | 4 +- .../assets/image-attachments.xsl | 6 +- .../template-tags/content-items/contact.xsl | 19 +- .../template-tags/content-items/formitem.xsl | 18 +- .../foundry/lib/template-tags/data-tags.xsl | 12 +- .../foundry/lib/template-tags/html-tags.xsl | 15 +- .../foundry/lib/template-tags/navigation.xsl | 230 ++++++++++++++++-- .../foundry/lib/template-tags/object-list.xsl | 32 ++- .../themes/foundry/foundry/lib/utils.xsl | 11 +- 10 files changed, 290 insertions(+), 60 deletions(-) diff --git a/ccm-theme-foundry/src/main/resources/themes/foundry/foundry/lib/global-vars.xsl b/ccm-theme-foundry/src/main/resources/themes/foundry/foundry/lib/global-vars.xsl index cb717f819..bf023d119 100644 --- a/ccm-theme-foundry/src/main/resources/themes/foundry/foundry/lib/global-vars.xsl +++ b/ccm-theme-foundry/src/main/resources/themes/foundry/foundry/lib/global-vars.xsl @@ -93,8 +93,7 @@ processor, some are read from the configuration files of Foundry and some are de

- + diff --git a/ccm-theme-foundry/src/main/resources/themes/foundry/foundry/lib/template-parser.xsl b/ccm-theme-foundry/src/main/resources/themes/foundry/foundry/lib/template-parser.xsl index 47d0e758a..74840aa71 100644 --- a/ccm-theme-foundry/src/main/resources/themes/foundry/foundry/lib/template-parser.xsl +++ b/ccm-theme-foundry/src/main/resources/themes/foundry/foundry/lib/template-parser.xsl @@ -854,7 +854,7 @@ - + @@ -881,4 +881,4 @@ - \ No newline at end of file + diff --git a/ccm-theme-foundry/src/main/resources/themes/foundry/foundry/lib/template-tags/content-items/assets/image-attachments.xsl b/ccm-theme-foundry/src/main/resources/themes/foundry/foundry/lib/template-tags/content-items/assets/image-attachments.xsl index 2ead85c36..e41ade45e 100644 --- a/ccm-theme-foundry/src/main/resources/themes/foundry/foundry/lib/template-tags/content-items/assets/image-attachments.xsl +++ b/ccm-theme-foundry/src/main/resources/themes/foundry/foundry/lib/template-tags/content-items/assets/image-attachments.xsl @@ -215,9 +215,9 @@ - + --> - \ No newline at end of file + diff --git a/ccm-theme-foundry/src/main/resources/themes/foundry/foundry/lib/template-tags/content-items/contact.xsl b/ccm-theme-foundry/src/main/resources/themes/foundry/foundry/lib/template-tags/content-items/contact.xsl index 64b7b3fb6..c22b2021c 100644 --- a/ccm-theme-foundry/src/main/resources/themes/foundry/foundry/lib/template-tags/content-items/contact.xsl +++ b/ccm-theme-foundry/src/main/resources/themes/foundry/foundry/lib/template-tags/content-items/contact.xsl @@ -196,10 +196,21 @@ - - - - + + + + + + + + + + + + + diff --git a/ccm-theme-foundry/src/main/resources/themes/foundry/foundry/lib/template-tags/content-items/formitem.xsl b/ccm-theme-foundry/src/main/resources/themes/foundry/foundry/lib/template-tags/content-items/formitem.xsl index f414cfa6b..a6dbec20f 100644 --- a/ccm-theme-foundry/src/main/resources/themes/foundry/foundry/lib/template-tags/content-items/formitem.xsl +++ b/ccm-theme-foundry/src/main/resources/themes/foundry/foundry/lib/template-tags/content-items/formitem.xsl @@ -75,6 +75,22 @@ else $data-tree//cms:item/@formAction}" accept-charset="utf-8"> + +
+ + + +
+
+ + + + + \ No newline at end of file + diff --git a/ccm-theme-foundry/src/main/resources/themes/foundry/foundry/lib/template-tags/data-tags.xsl b/ccm-theme-foundry/src/main/resources/themes/foundry/foundry/lib/template-tags/data-tags.xsl index 65e6e1951..e68c96308 100644 --- a/ccm-theme-foundry/src/main/resources/themes/foundry/foundry/lib/template-tags/data-tags.xsl +++ b/ccm-theme-foundry/src/main/resources/themes/foundry/foundry/lib/template-tags/data-tags.xsl @@ -48,7 +48,17 @@
- + + + + - + - + @@ -2183,9 +2183,14 @@ - - - + + + + + + + + diff --git a/ccm-theme-foundry/src/main/resources/themes/foundry/foundry/lib/template-tags/navigation.xsl b/ccm-theme-foundry/src/main/resources/themes/foundry/foundry/lib/template-tags/navigation.xsl index 8e9df7204..cca5280d0 100644 --- a/ccm-theme-foundry/src/main/resources/themes/foundry/foundry/lib/template-tags/navigation.xsl +++ b/ccm-theme-foundry/src/main/resources/themes/foundry/foundry/lib/template-tags/navigation.xsl @@ -140,7 +140,28 @@ - + + + + + + + + + + + + + + + + + + @@ -173,9 +194,20 @@ - + + + + + + + + + + + @@ -183,9 +215,16 @@ - + - + + + + + + + + @@ -212,6 +251,9 @@ + + + @@ -347,36 +389,36 @@ + select="$navigation-id" + tunnel="yes"/> + select="$with-colorset" + tunnel="yes"/> + select="$min-level" + tunnel="yes"/> + select="$max-level"/> + select="$show-description-text" + tunnel="yes"/> + select="$selected-only" + tunnel="yes"/> + select="$current-level + 1" + tunnel="yes"/> + select="$current-level-tree/nav:category" + tunnel="yes"/> + tunnel="yes"/> - + @@ -467,6 +509,7 @@ + @@ -479,7 +522,7 @@ - + @@ -550,6 +593,143 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -576,4 +756,4 @@ - \ No newline at end of file + diff --git a/ccm-theme-foundry/src/main/resources/themes/foundry/foundry/lib/template-tags/object-list.xsl b/ccm-theme-foundry/src/main/resources/themes/foundry/foundry/lib/template-tags/object-list.xsl index ceb0fce9d..bd1c3d68f 100644 --- a/ccm-theme-foundry/src/main/resources/themes/foundry/foundry/lib/template-tags/object-list.xsl +++ b/ccm-theme-foundry/src/main/resources/themes/foundry/foundry/lib/template-tags/object-list.xsl @@ -77,13 +77,19 @@ - - - - - + + + + + + + + + + + @@ -164,7 +170,7 @@ - - + + and (number($paginator-page-number) < number($paginator-page-count))"> + and (number($paginator-page-number) > 1)"> + and (number($paginator-page-number) < number($paginator-page-count))"> - \ No newline at end of file + diff --git a/ccm-theme-foundry/src/main/resources/themes/foundry/foundry/lib/utils.xsl b/ccm-theme-foundry/src/main/resources/themes/foundry/foundry/lib/utils.xsl index 86e0167b2..4d74e1fc1 100644 --- a/ccm-theme-foundry/src/main/resources/themes/foundry/foundry/lib/utils.xsl +++ b/ccm-theme-foundry/src/main/resources/themes/foundry/foundry/lib/utils.xsl @@ -946,6 +946,9 @@ + + + @@ -983,11 +986,11 @@ - - + + - + @@ -1174,4 +1177,4 @@ - \ No newline at end of file +