From a9d5856cb572b22d39ca4c19e9c0431d2cd981e3 Mon Sep 17 00:00:00 2001 From: jensp Date: Tue, 4 Nov 2014 10:43:59 +0000 Subject: [PATCH] Syncing Foundry fileSyncing Foundry filess git-svn-id: https://svn.libreccm.org/ccm/trunk@2949 8810af33-2d31-482b-a856-94f89814c4df --- .../foundry/foundry/lib/template-parser.xsl | 31 +- .../foundry/lib/template-tags/html-tags.xsl | 377 +++++++++++++----- 2 files changed, 313 insertions(+), 95 deletions(-) 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 96cc8fe5f..c28788f62 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 @@ -258,7 +258,6 @@ - @@ -392,12 +391,18 @@ foundry:copy-attributes +
  • + + foundry:process-title-attribute + +
  • + @@ -407,6 +412,11 @@ + + + + + @@ -439,6 +449,25 @@ + + + + + + + + + + + + + + + + + + + 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 e2c326e3e..206a47f0c 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 @@ -36,7 +36,7 @@ These tags are generating the equivalent HTML tags. In most cases the tags have the same name and same attributes as their HTML counterparts, but some work in a slightly different way, for example by using values provided by other - surrounding tags which are passed the them as XSL parameters. + surrounding tags which are passed to them as XSL parameters.

    @@ -136,11 +136,6 @@ - @@ -161,21 +156,6 @@ - - - - - - - - - - - @@ -184,6 +164,7 @@ + @@ -277,9 +258,36 @@ + + +

    + Generates a HTML5 audio element. The source URL of the audio file can + be provided by a surrounding tag, statically in the theme or by an property in the + data tree. +

    +
    + + +

    + A static URL for the source of the audio file +

    +
    + +

    + Name of property in the data tree containing the source URL. +

    +
    +
    + + + Description of the audio element in the HTML5 specification. + + +
    + @@ -302,15 +310,63 @@ that the audio file is served from the CCM database. If the path does *not* start with a slash the audio file is part of the theme and the theme-prefix is added. --> - + + + +

    + Generates a HTML b element. Use this element only with semantics + defined in the HTML5 specification. Originally, in the early incarnations of HTML, + this element marked text as bold. In HTML5 the semantics of this element as been + redefined. For more information please refer to the HTML5 specification. +

    +
    + + + Description of the b element in the HTML5 specification. + + +
    + + + + + + + + + +

    + Generates a blockquote element. +

    +
    + + + Description of the blockquote element in the HTML5 specification. + + +
    + +
    + + + + +
    +
    +

    @@ -324,8 +380,6 @@ - - @@ -407,6 +461,25 @@ + + + +

    + Generates a br element. +

    +
    + + + Description of the br element in the HTML5 specification. + + +
    + +
    + + +
    +
    @@ -430,6 +503,124 @@ + + +

    + Generates a canvas element. +

    +
    + + + Description of the canvas element in the HTML5 specification. + + +
    + + + + + + + + + + + + + + + + + +

    + Generates a caption element representing the caption of a table. +

    +
    + + + Description of the caption element in the HTML5 specification. + + +
    + + + + + + + + + +

    + Generates a cite element. +

    +
    + + + Description of the cite element in the HTML5 specification. + + +
    + + + + + + + + + +

    + Generates a code element. +

    +
    + + + Description of the code element in the HTML5 specification. + + +
    + + + + + + + + + +

    + A definition of term in a definition list. +

    +
    + + + +
    + +
    + + +
    +
    + + +

    + Generates a del element. +

    +
    + + + Description of the del element in the HTML5 specification. + + + + + + + + + @@ -481,7 +672,7 @@
    - +
    @@ -498,42 +689,95 @@
    - +
    - +

    - A definition of term in a definition list. + Generates an em element.

    - + + Description of the em element in the HTML5 specification. +
    - -
    - + + + -
    + +
    + + +
    + + + + +
    - +
    - +
    + + + Creates a HTML5 footer element. + + + + + + +
    + + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + +
    +

    @@ -576,20 +820,7 @@

    - - - Creates a HTML5 footer element. - - - - - - -
    - - -
    -
    + @@ -805,49 +1036,7 @@ - - - - - - - +