diff --git a/ccm-sci-bundle/web/themes/foundry/conf/css-files.xml b/ccm-sci-bundle/web/themes/foundry/conf/css-files.xml
new file mode 100644
index 000000000..f67c89d5f
--- /dev/null
+++ b/ccm-sci-bundle/web/themes/foundry/conf/css-files.xml
@@ -0,0 +1,3 @@
+
+
+
- A message string of the for [Foundry $level] $message with
+ A message string of the form [Foundry $level] $message with
$level and $message replaced by the values of the
parameters.
@@ -2363,7 +2357,7 @@
- any + xs:string
@@ -2371,6 +2365,11 @@
+ A message string of the form [Foundry INFO] $message with
+ $message replaced by the value of the parameter.
+
+
- any + xs:string
@@ -2479,6 +2478,11 @@
+ A message string of the form [Foundry WARNING] $message with
+ $message replaced by the value of the parameter.
+
+
+ Helper function to generate an info message. This function be used together with
+ <xsl:message> to output a message in the CCM log when
+ something goes wrong in the theme, for example when a layout file has a wrong
+ structure. Example:
+
+
+ ...
+ <xsl:message>
+ <xsl:message select="foundry:message-info('Some error has occurred...')" />
+ </xsl:message>
+ ...
+
+ | + + | Name | + +Mandatory | + +Type | + +Description | + + + + + + + ++ + | + message + + | + ++ yes + + | + ++ any + + | + ++ + + | + + + + + +
|---|
+ xs:string + +
+ +
+ A message string of the form [Foundry ERROR] $message with
+ $message replaced by the value of the parameter.
+
+
+ A helper function for retrieving an attribute value from an element. If the
+ attribute is set on the current element the value of the attribute is used as
+ result. If the attribute is not set the default-value is used. This
+ method is used by several layout tags with optional attributes. A common use pattern
+ looks like this:
+
+
+ <xsl:template match="example"> + <xsl:variable name="width" + select="foundry:get-attribute-value(current(), 'width', '640')" /> + <xsl:variable name="height" + select="foundry:get-attribute-value(current(), 'height', '480')" /> + /<xsl:template> ++
+ In this example, the element example has two optional attributes:
+ with and height. If the attribute is set in processed XML,
+ the value set there is used. Otherwise the default value (640
+ respectively 480) is used. Without this function a code block like the
+ one in the xsl:choose block of this function would be necessary for
+ each of the variables.
+
+
| + + | Name | + +Mandatory | + +Type | + +Description | + + + + + + + ++ + | + node + + | + ++ + + | + ++ any + + | + ++ + + | + + ++ + | + attribute-name + + | + ++ + + | + ++ any + + | + ++ + + | + + ++ + | + default-value + + | + ++ + + | + ++ any + + | + ++ + + | + + + + + +
|---|
+ any + +
+ +
+ The value of the attribute if it is set on the current element, the
+ default-value otherwise.
+
+
+ Convenient function for calling foundry:get-setting with only the
+ module name and setting name.
+
+
| + + | Name | + +Mandatory | + +Type | + +Description | + + + + + + + ++ + | + module + + | + ++ yes + + | + ++ string + + | + +
+
+
+ The module of the settings. May be an empty string ( |
+
+
+ + + | + setting + + | + ++ yes + + | + ++ string + + | + +
+
+ + The name of the setting to retrieve. + + + + |
+
+
+
+
+
+
|---|
+ string + +
+ ++ The value of the setting. + +
+ +
+ Convenient function for calling foundry:get-setting with only the
+ module name, the setting name and an default value.
+
+
| + + | Name | + +Mandatory | + +Type | + +Description | + + + + + + + ++ + | + module + + | + ++ yes + + | + ++ string + + | + +
+
+
+ The module of the settings. May be an empty string ( |
+
+
+ + + | + setting + + | + ++ yes + + | + ++ string + + | + +
+
+ + The name of the setting to retrieve. + + + + |
+
+
+ + + | + default + + | + ++ yes + + | + ++ string + + | + +
+
+ + A default value which is used when the setting is not configured. + + + + |
+
+
+
+
+
+
|---|
+ string + +
+ ++ The value of the setting or the default value if the setting is not configured. + +
+ ++ Retrieves at static text. For more informations about static texts in Foundry please + refer to the static texts section in the Foundry documentation. + +
+ +| + + | Name | + +Mandatory | + +Type | + +Description | + + + + + + + ++ + | + module + + | + ++ yes + + | + ++ string + + | + +
+
+
+ he module of the settings. At the moment this corresponds to the name of the file
+ in the |
+
+
+ + + | + id + + | + ++ yes + + | + ++ string + + | + ++ + + | + + ++ + | + lang + + | + ++ no + + | + ++ string + + | + +
+
+ + The language to retrieve. Normally there is no need to set this parameter because + it is determined automatically. + + + + |
+
+
+
+
+
+
|---|
+ string + +
+ +
+ The requested static text. If there is no value for the requested static text in the
+ module provided by the module parameter the value depends if the debug mode is
+ enabled or not. If the debug mode is not not enabled the result is an empty
+ string. If the debug mode is enabled, a identifier of the text (the value of the
+ id parameter) is displayed. If you point the mouse pointer of the
+ placeholder, the complete path of the text is shown as hovering box.
+
+
+ A helper function to determine if the debug mode should be enabled. The debug mode + of foundry is automatically enabled if the theme is viewed as development theme. + +
+ ++ any + +
+ +
+ true if the debug mode if active, false otherwise.
+
+
+ any + +
+ ++ The path of the current category. + +
+ +
- A message string of the for [Foundry $level] $message with
+ A message string of the form [Foundry $level] $message with
$level and $message replaced by the values of the
parameters.
+ A message string of the form [Foundry INFO] $message with
+ $message replaced by the value of the parameter.
+
Helper function to generate an info message. This function be used together with
@@ -215,6 +221,12 @@ XSLT 2.0 functions.
The message text.
+
+ A message string of the form
Helper function to generate an info message. This function be used together with
@@ -242,13 +254,19 @@ XSLT 2.0 functions.
+ A message string of the form
Helper function to generate an info message. This function be used together with
@@ -277,7 +295,7 @@ XSLT 2.0 functions.
+ The value of the attribute if it is set on the current element, the
+
@@ -334,6 +354,31 @@ XSLT 2.0 functions.
+
+ Convenient function for calling
+ The module of the settings. May be an empty string (
+ The name of the setting to retrieve.
+
+ The value of the setting.
+
+ Convenient function for calling
+ The module of the settings. May be an empty string (
+ The name of the setting to retrieve.
+
+ A default value which is used when the setting is not configured.
+
+ The value of the setting or the default value if the setting is not configured.
+
The module of the settings. At the moment this corresponds to the name of the file
in the
The name of the setting to retrieve.
The value to use if there is no entry for the setting in the settings file.
A node from the layout template which overrides the value from the configuration.
+ The value of the requested setting or if no value has been set the provided default
+ value. If no default value has been provided the result is an empty string.
+
he module of the settings. At the moment this corresponds to the name of the file
in the
The language to retrieve. Normally there is no need to set this parameter because
it is determined automatically.
+ The requested static text. If there is no value for the requested static text in the
+ module provided by the module parameter the value depends if the debug mode is
+ enabled or not. If the debug mode is not not enabled the result is an empty
+ string. If the debug mode is enabled, a identifier of the text (the value of the
+
+ Retrieves at static text. For more informations about static texts in Foundry please
+ refer to the static texts section in the Foundry documentation.
+
+
+ A helper function to determine if the debug mode should be enabled. The debug mode
+ of foundry is automatically enabled if the theme is viewed as development theme.
+
+ Helper template for processing additional attributes. This are copied from the result
+ tree XML created by CCM to the HTML output generated by Foundry without any further
+ processing.
+
+ A helper function for reading the current category from the
+ The path of the current category.
+ [Foundry WARNING] $message with
+ $message replaced by the value of the parameter.
+ [Foundry ERROR] $message with
+ $message replaced by the value of the parameter.
+ default-value otherwise.
+ default-value otherwise.
+ foundry:get-setting with only the
+ module name and setting name.
+ '').
+ foundry:get-setting with only the
+ module name, the setting name and an default value.
+ '').
+ conf directory. The empty string as value corresponds to the
global.xml file.
texts directory. The empty string as value corresponds to the
global.xml file.
id parameter) is displayed. If you point the mouse pointer of the
- placeholder, the complete path of the text is shown as hovering box.
+ id parameter) is displayed. If you point the mouse pointer of the
+ placeholder, the complete path of the text is shown as hovering box.
+ true if the debug mode if active, false otherwise.
+ true if the debug mode if active, false otherwise.
+ datatree. The
- function joins the titles of all categories in nav:categoryPath to a
- string. The tokens a separated by a slash (/).
+ datatree. The
+ function joins the titles of all categories in nav:categoryPath to a
+ string. The tokens a separated by a slash (/).
+