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 1e74dc56b..6cc015ef8 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
@@ -36,10 +36,11 @@ processor, some are read from the configuration files of Foundry and some are de
- The version of Foundry.
+ The version of Foundry. Kept in sync with the version of CCM, so the first version
+ will be 2.2.3.
-
+
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 3d5336bf5..2082b0581 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
@@ -44,7 +44,7 @@
-
+
@@ -239,6 +239,46 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Generates a HTML5 main element.
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 52f784f24..3b345588f 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
@@ -130,7 +130,40 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
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 9f2547969..1ff22467d 100644
--- a/ccm-sci-bundle/web/themes/foundry/foundry/lib/utils.xsl
+++ b/ccm-sci-bundle/web/themes/foundry/foundry/lib/utils.xsl
@@ -275,6 +275,7 @@ EXSLT functions.
+
@@ -287,23 +288,30 @@ EXSLT functions.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -378,7 +386,7 @@ EXSLT functions.
-
+
@@ -396,7 +404,7 @@ EXSLT functions.
-
+
diff --git a/ccm-sci-bundle/web/themes/foundry/foundry/main.xsl b/ccm-sci-bundle/web/themes/foundry/foundry/main.xsl
index a38bfdaff..1523fd577 100644
--- a/ccm-sci-bundle/web/themes/foundry/foundry/main.xsl
+++ b/ccm-sci-bundle/web/themes/foundry/foundry/main.xsl
@@ -27,6 +27,7 @@
version="1.0">
+
+
+
+ The entry point for creating Foundry documentation.
+
+
+
+
+
+
+
+ Foundry Theming Engine for LibreCCM - Documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ccm-sci-bundle/web/themes/foundry/scripts/apply-fancybox.js b/ccm-sci-bundle/web/themes/foundry/scripts/apply-fancybox.js
new file mode 100644
index 000000000..bce21eaeb
--- /dev/null
+++ b/ccm-sci-bundle/web/themes/foundry/scripts/apply-fancybox.js
@@ -0,0 +1,14 @@
+$(document).ready(function() {
+ $("a.imageZoom").fancybox({'type': 'image'});
+ $("a.imageGallery").fancybox({
+ type: 'image',
+ helpers: {
+ title: {
+ type: 'inside',
+ },
+ buttons: {
+ position: 'bottom',
+ }
+ }
+ });
+});
\ No newline at end of file
diff --git a/ccm-sci-bundle/web/themes/mandalay/includes/types/Contact.xsl b/ccm-sci-bundle/web/themes/mandalay/includes/types/Contact.xsl
index e5b7677e5..c11a683f8 100644
--- a/ccm-sci-bundle/web/themes/mandalay/includes/types/Contact.xsl
+++ b/ccm-sci-bundle/web/themes/mandalay/includes/types/Contact.xsl
@@ -419,7 +419,7 @@
-
+
diff --git a/ccm-sci-bundle/web/themes/mandalay/includes/types/GenericContact.xsl b/ccm-sci-bundle/web/themes/mandalay/includes/types/GenericContact.xsl
index 47fe6e986..082112d3d 100644
--- a/ccm-sci-bundle/web/themes/mandalay/includes/types/GenericContact.xsl
+++ b/ccm-sci-bundle/web/themes/mandalay/includes/types/GenericContact.xsl
@@ -421,7 +421,7 @@
-
+
diff --git a/ccm-sci-bundle/web/themes/mandalay/layout/terms.xml b/ccm-sci-bundle/web/themes/mandalay/layout/terms.xml
new file mode 100644
index 000000000..ad5789280
--- /dev/null
+++ b/ccm-sci-bundle/web/themes/mandalay/layout/terms.xml
@@ -0,0 +1,117 @@
+
+
+
+
+
+
+
+ :
+
+ layout/page/head/title
+
+
+
+
+
+
+
+
+
+ >
+
+
+
+
+
+
+
+
+
+