diff --git a/ccm-sci-bundle/web/themes/foundry/conf/global.xml b/ccm-sci-bundle/web/themes/foundry/conf/global.xml index ae54dd019..090a8d949 100644 --- a/ccm-sci-bundle/web/themes/foundry/conf/global.xml +++ b/ccm-sci-bundle/web/themes/foundry/conf/global.xml @@ -6,6 +6,13 @@ + master + + + \ No newline at end of file diff --git a/ccm-sci-bundle/web/themes/foundry/foundry/lib/bebop/tree.xsl b/ccm-sci-bundle/web/themes/foundry/foundry/lib/bebop/tree.xsl index e663cfcc7..65a45da13 100644 --- a/ccm-sci-bundle/web/themes/foundry/foundry/lib/bebop/tree.xsl +++ b/ccm-sci-bundle/web/themes/foundry/foundry/lib/bebop/tree.xsl @@ -54,7 +54,7 @@ [-] + 'internal')"/> @@ -70,7 +70,7 @@ [+] + 'internal')"/> diff --git a/ccm-sci-bundle/web/themes/foundry/foundry/lib/global-vars.xsl b/ccm-sci-bundle/web/themes/foundry/foundry/lib/global-vars.xsl index efbca6389..6e233e312 100644 --- a/ccm-sci-bundle/web/themes/foundry/foundry/lib/global-vars.xsl +++ b/ccm-sci-bundle/web/themes/foundry/foundry/lib/global-vars.xsl @@ -45,6 +45,30 @@ processor, some are read from the configuration files of Foundry and some are de + + +

+ The mode of the theme. If the theme is standalone theme, the value is + master. If the theme is a child theme the value is child. +

+
+
+ + + +

+ The master theme of the current if the theme is a child theme. if theme is direct + child of the Foundry base theme the value is foundry. Otherwise it is + the name of master theme. +

+
+
+ + 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 92104868d..2300ae995 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 @@ -124,20 +124,12 @@ - - - - - - - - - - + + $origin))/fragment-layout"/> diff --git a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/admin/cms.xsl b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/admin/cms.xsl index fff24a6e1..9c65c0efd 100644 --- a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/admin/cms.xsl +++ b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/admin/cms.xsl @@ -261,11 +261,12 @@ + select="foundry:get-internal-static-text('cms', + 'category-step/remove-category')"/> [X] + 'internal')"/>   @@ -359,7 +360,7 @@ - + 'internal')"/> @@ -371,7 +372,7 @@ + + 'internal')"/> @@ -379,7 +380,7 @@  + 'internal')"/> @@ -392,7 +393,7 @@ [X] + 'internal')"/> @@ -400,7 +401,7 @@    + 'internal')"/> @@ -408,7 +409,7 @@ [ ] + 'internal')"/> diff --git a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/admin/common.xsl b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/admin/common.xsl index 9a77b7cea..397d7ed9c 100644 --- a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/admin/common.xsl +++ b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/admin/common.xsl @@ -130,7 +130,7 @@ - + diff --git a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/content-items/mpa.xsl b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/content-items/mpa.xsl index a3fd6aca4..92d0006b8 100644 --- a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/content-items/mpa.xsl +++ b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/content-items/mpa.xsl @@ -28,6 +28,13 @@ exclude-result-prefixes="xsl xs bebop cms foundry nav ui" version="2.0"> + + +

+ Outputs the summary of the multi part article. +

+
+
@@ -41,12 +48,26 @@ + + +

+ Root element for outputting the list of sections of a MPA. +

+
+
+ + +

+ Root for rendering a link to a section of a MPA in the list of sections. +

+
+
@@ -93,18 +114,39 @@ + + +

+ Output the name a section of MPA in the list of sections. +

+
+
+ + +

+ Root element for outputting the current sections of a MPA. +

+
+
+ + +

+ Root element for outputting a current section of a MPA. +

+
+
@@ -120,18 +162,40 @@ + + +

+ Outputs the title of a current section of a MPA. +

+
+
+ + +

+ Outputs the content of a current section of a MPA. +

+
+
+ + +

+ Provides the parameters (URL via the href parameter) for the link + to the previous page of a MPA if there is a previous page. +

+
+
@@ -145,6 +209,14 @@ + + +

+ Provides the parameters (URL via the href parameter) for the link + to the next page of a MPA if there is a next page. +

+
+
@@ -158,6 +230,14 @@ + + +

+ Provides the parameters (URL via the href parameter) for the link + to show all section of a MPA on one page. +

+
+
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 a4bb8aaeb..00f532f97 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 @@ -1981,26 +1981,14 @@

- The origin attribute determines the how the path provided in the - src attribute is interpreted. The following values are interpreted: + As usual origin attribute determines the how the path provided in + the src attribute is interpreted. The following values are + interpreted. In addition to the common values internal, + master and the default value the script element also + support the value absolute. If origin is set to + absolute the provided source path is processed by Foundry and is used as it is + provided.

-
-
absolute
-
- The path is interpreted as absolute path and is not processed by Foundry. -
-
internal
-
- The script is loaded from the internal (foundry/scripts) - scripts directory. -
-
theme
-
- This is default which is also used when the the origin - attribute is not present. The script is loaded from the scripts - directory of the theme. -
-

@@ -2054,21 +2042,13 @@ + + - + else foundry:gen-path(./@src, $origin)"/> 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 fc7992a67..95f82ac6c 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 @@ -141,8 +141,8 @@ parent

- File is loaded from the styles directory of the parent theme. (Not - implemented yet!) + File is loaded from the styles directory of the parent theme. + Please read the section about parent and child themes for more details.
internal @@ -165,17 +165,8 @@ - - - + + @@ -201,19 +192,19 @@ - + --> + href="{foundry:gen-path(concat('css/', $filename, $origin))}" /> 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 bd0630784..76cc95e58 100644 --- a/ccm-sci-bundle/web/themes/foundry/foundry/lib/utils.xsl +++ b/ccm-sci-bundle/web/themes/foundry/foundry/lib/utils.xsl @@ -170,7 +170,7 @@ XSLT 2.0 functions. - + @@ -184,16 +184,47 @@ XSLT 2.0 functions. - + + + + + + + + + + + + + + + + + + + + + @@ -539,11 +570,11 @@ XSLT 2.0 functions. - - + + - - + +