From b1314076608fa56bc6d72135245118180ca35ad2 Mon Sep 17 00:00:00 2001 From: jensp Date: Wed, 8 Apr 2015 12:56:23 +0000 Subject: [PATCH] Foundry support for ccmc-cms-types-formitem and ccm-cms-types-formsection git-svn-id: https://svn.libreccm.org/ccm/trunk@3321 8810af33-2d31-482b-a856-94f89814c4df --- ccm-core/web/themes/foundry/foundry/lib.xsl | 2 +- .../foundry/foundry/lib/formbuilder.xsl | 608 ++++++++++++++++++ .../template-tags/content-items/formitem.xsl | 45 +- 3 files changed, 653 insertions(+), 2 deletions(-) create mode 100644 ccm-core/web/themes/foundry/foundry/lib/formbuilder.xsl diff --git a/ccm-core/web/themes/foundry/foundry/lib.xsl b/ccm-core/web/themes/foundry/foundry/lib.xsl index 74812070d..aa0101da8 100644 --- a/ccm-core/web/themes/foundry/foundry/lib.xsl +++ b/ccm-core/web/themes/foundry/foundry/lib.xsl @@ -25,8 +25,8 @@ + - diff --git a/ccm-core/web/themes/foundry/foundry/lib/formbuilder.xsl b/ccm-core/web/themes/foundry/foundry/lib/formbuilder.xsl new file mode 100644 index 000000000..c52d0176a --- /dev/null +++ b/ccm-core/web/themes/foundry/foundry/lib/formbuilder.xsl @@ -0,0 +1,608 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + +
+
+ + +
+ + + + + +
+
+ + +
+ + + + + + + + + + + +
+
+ + + + +
+ + + + + + +
+ +
+ + + +
+ +
+
+ + + +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ + + +
+
+
+ + + + + + +
+ + + + + + checkbox + + + + + radio + + + + +
+
+ + + + + + +
+ +
+ + + + + + + + + + + + + + + + + label mandatory + + + + + + + + + title mandatory + + + + + + + + + +
+ + + + other + + + + + + + + + + + + + option + + + + + + checkbox + + + + + radio + + + + + + + + + + + + + + + +
+
+ +
+ +
diff --git a/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items/formitem.xsl b/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items/formitem.xsl index c54edabf3..caf2cbf11 100644 --- a/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items/formitem.xsl +++ b/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items/formitem.xsl @@ -22,10 +22,11 @@ xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:bebop="http://www.arsdigita.com/bebop/1.0" xmlns:cms="http://www.arsdigita.com/cms/1.0" + xmlns:formbuilder="http://www.arsdigita.com/formbuilder/1.0" xmlns:foundry="http://foundry.libreccm.org" xmlns:nav="http://ccm.redhat.com/navigation" xmlns:ui="http://www.arsdigita.com/ui/1.0" - exclude-result-prefixes="xsl xs bebop cms foundry nav ui" + exclude-result-prefixes="xsl xs bebop cms formbuilder foundry nav ui" version="2.0"> @@ -34,4 +35,46 @@ + + + +
+ + + + + + + + + + + + + + +
+
+ + + \ No newline at end of file