diff --git a/ccm-sci-bundle/web/themes/foundry/doc/xsl/foundry-documentation.xsl b/ccm-sci-bundle/web/themes/foundry/doc/xsl/foundry-documentation.xsl index 02229c7a0..81f3ea53d 100644 --- a/ccm-sci-bundle/web/themes/foundry/doc/xsl/foundry-documentation.xsl +++ b/ccm-sci-bundle/web/themes/foundry/doc/xsl/foundry-documentation.xsl @@ -33,8 +33,7 @@ - + <!DOCTYPE HTML> + version="2.0"> diff --git a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-parser.xsl b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-parser.xsl index 6bcfefd05..1dec33f72 100644 --- a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-parser.xsl +++ b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-parser.xsl @@ -22,22 +22,22 @@ --> + exclude-result-prefixes="xsl bebop cms nav ui" + version="2.0"> - Root element of a template. Generates the doctype statement and and + Root element of a template. Generates the <html> root element. - <!DOCTYPE html> @@ -80,16 +80,14 @@ Helper functions for generating the name of the colorset class. - - - - - colorset_ - - - - - + + + + colorset_ + + + + @@ -97,13 +95,11 @@ from the result tree XML. - - - - - + + + - + Helper template for processing arrows/links for sorting items. @@ -151,7 +147,7 @@ - + Helper template for processing additional attributes in the data tree XML. They copied literally from the XML the HTML. @@ -189,7 +185,7 @@ - + Helper template for setting the id and class attributes on a HTML element. diff --git a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags.xsl b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags.xsl index 2dff433f6..07cb819b7 100644 --- a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags.xsl +++ b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags.xsl @@ -20,7 +20,7 @@ --> + version="2.0"> diff --git a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/data-tags.xsl b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/data-tags.xsl index 90fba9a43..5b9b45655 100644 --- a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/data-tags.xsl +++ b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/data-tags.xsl @@ -21,8 +21,7 @@ + version="2.0"> diff --git a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/html-tags.xsl b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/html-tags.xsl index 4693681a0..a735e7a62 100644 --- a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/html-tags.xsl +++ b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/html-tags.xsl @@ -25,13 +25,13 @@ xmlns:foundry="http://foundry.libreccm.org" xmlns:ui="http://www.arsdigita.com/ui/1.0" exclude-result-prefixes="xsl bebop foundry ui" - version="1.0"> + version="2.0">

- Generates a HTML a element. There are some differences to the - a element in HTML. First, there two attribute for the URL: + Generates a HTML a element. There are some differences to the + a element in HTML. First, there two attribute for the URL:

@@ -60,8 +60,8 @@ - - + + @@ -143,9 +143,9 @@ - + - + @@ -190,32 +190,44 @@ - +

+ +

- +

+ +

- +

+ +

- +

+ +

- +
+ +
- +
+ +
@@ -316,12 +328,12 @@ - + - + @@ -337,6 +349,13 @@
+ +
  • + + +
  • +
    + Generates a HTML5 main element. @@ -397,6 +416,13 @@ + +
      + + +
    +
    +

    @@ -536,7 +562,12 @@ - + +

      + + +
    +
    diff --git a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/loaders.xsl b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/loaders.xsl index 3c16e5555..158afebff 100644 --- a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/loaders.xsl +++ b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/loaders.xsl @@ -25,7 +25,7 @@ xmlns:bebop="http://www.arsdigita.com/bebop/1.0" xmlns:foundry="http://foundry.libreccm.org" xmlns:ui="http://www.arsdigita.com/ui/1.0" - version="1.0"> + version="2.0"> @@ -180,7 +180,7 @@ - - The id of the navigation/category system from which URL should be retrieved. Default + The id of the navigation/category system from which URL should be retrieved. Default value is categoryMenu, which is suitable in most cases. @@ -26,7 +25,7 @@ Environment for outputting the home link for a navigation/category system. This tag - only intializes the context. The link itself has to be rendered using the a + only initialises the context. The link itself has to be rendered using the a HTML tag. The title of the navigation is printed using the navigation-title tag. @@ -35,13 +34,13 @@ - + select="foundry:get-attribute-value(current(), 'navigation-id', 'categoryMenu')"/> - - + select="$data-tree//nav:categoryMenu[@id=$navigation-id]/nav:category/@url" + tunnel="yes"/> + + @@ -49,7 +48,7 @@ - + @@ -62,213 +61,74 @@ - + + - - + + select="foundry:get-attribute-value(current(), 'navigation-id', 'categoryMenu')" + tunnel="yes"/> + select="foundry:get-attribute-value(current(), 'with-colorset', 'false')" + tunnel="yes"/> + select="foundry:get-attribute-value(current(), 'min-level', 1)" + tunnel="yes"/> + select="foundry:get-attribute-value(current(), 'max-level', 999)" + tunnel="yes"/> + select="foundry:get-attribute-value(current(), 'show-description-text', 'true')" + tunnel="yes"/> - - - - - - - - -
    -
    navigation-id
    -
    -
    with-colorset
    -
    -
    min-level
    -
    -
    max-level
    -
    -
    current-level
    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - Processing current level categories... - - - + - - - - + + + + + + + + + + + + + + + + + + + + + + - + + + + + - + + + + + + + + + + + + - Processing sub level categories - + + - - - + + + - - - - - - - nav:category applied - - - - - - - - - - - - - - - - - - - navigation-link applied - - - - - - - - - - - - - - - - --> - \ No newline at end of file diff --git a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/subsite.xsl b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/subsite.xsl index 9eb84d004..0d1e7ea42 100644 --- a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/subsite.xsl +++ b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/subsite.xsl @@ -7,7 +7,7 @@ xmlns:foundry="http://foundry.libreccm.org" xmlns:ui="http://www.arsdigita.com/ui/1.0" exclude-result-prefixes="xsl bebop cms foundry ui" - version="1.0"> + version="2.0"> diff --git a/ccm-sci-bundle/web/themes/foundry/foundry/lib/utils.xsl b/ccm-sci-bundle/web/themes/foundry/foundry/lib/utils.xsl index 9c42e6373..837a40893 100644 --- a/ccm-sci-bundle/web/themes/foundry/foundry/lib/utils.xsl +++ b/ccm-sci-bundle/web/themes/foundry/foundry/lib/utils.xsl @@ -26,10 +26,10 @@ EXSLT functions. --> @@ -99,8 +99,8 @@ EXSLT functions.

    - - + + - + - + - + - - - + + + - - - - + + - - + + - - - - + + - - + + - - - - + + - - - - - - + + + + + - + + The node from which the value of the attribute is read. + + The attribute to check for. - + The default value if the attribute is not set. @@ -278,9 +272,9 @@ EXSLT functions.
                     <xsl:template match="example">
                         <xsl:variable name="width" 
    -                select="foundry:get-attribute-value('width', '640')" />
    +                select="foundry:get-attribute-value(current(), 'width', '640')" />
                         <xsl:variable name="height" 
    -                select="foundry:get-attribute-value('height', '480')" />
    +                select="foundry:get-attribute-value(current(), 'height', '480')" />
                     /<xsl:template>
                 

    @@ -293,21 +287,36 @@ EXSLT functions.

    - + + - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - This EXSLT function retrieves the value of a setting from the theme configuration. For + This function retrieves the value of a setting from the theme configuration. For more informations about the configuration system of Foundry please refer to the configuration section of the Foundry documentation. - - - - + + + + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -467,16 +490,16 @@ EXSLT functions. of foundry is automatically enabled if the theme is viewed as development theme. - + - + - + - + @@ -491,76 +514,82 @@ EXSLT functions. and (name() != 'hint') and (name() != 'label')"> - + - + - - - - + + + + + + + + + + + + - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + \ No newline at end of file diff --git a/ccm-sci-bundle/web/themes/foundry/foundry/main.xsl b/ccm-sci-bundle/web/themes/foundry/foundry/main.xsl index f7e3b4ade..eeb53de48 100644 --- a/ccm-sci-bundle/web/themes/foundry/foundry/main.xsl +++ b/ccm-sci-bundle/web/themes/foundry/foundry/main.xsl @@ -30,6 +30,7 @@ @@ -81,8 +82,7 @@ - +