From b8707a26f8e9dd8e8e77a625c1955d77a8fa1bfb Mon Sep 17 00:00:00 2001 From: "David E. Jones" Date: Wed, 11 Feb 2009 03:19:19 +0000 Subject: [PATCH] Applied patch from Bruno Busco in Jira #OFBIZ-2172 with basics for VisualThemeSet; still not possible to change themes in ecommerce (should probably be supported on the back end instead of the front end, ie in the catalog manager and not by a customer in ecommerce, or perhaps only allowed in ecommerce if a flag on the ProductStore says its okay; also does not yet filter selectable themes in the back-end/manager applications git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@743202 13f79535-47bb-0310-9956-ffa450edef68 --- .../content/config/ContentUiLabels.xml | 4 +++ .../webapp/content/website/WebSiteForms.xml | 9 ++++- applications/ecommerce/data/DemoProduct.xml | 4 +-- .../ecommerce/data/EcommerceTypeData.xml | 34 +++++++++++++++++++ applications/ecommerce/ofbiz-component.xml | 1 + framework/common/data/CommonTypeData.xml | 3 +- framework/common/entitydef/entitymodel.xml | 13 +++++++ framework/common/widget/LookupScreens.xml | 5 ++- framework/webapp/entitydef/entitymodel.xml | 4 +++ themes/bluelight/data/BlueLightThemeData.xml | 2 +- 10 files changed, 73 insertions(+), 6 deletions(-) create mode 100644 applications/ecommerce/data/EcommerceTypeData.xml diff --git a/applications/content/config/ContentUiLabels.xml b/applications/content/config/ContentUiLabels.xml index c8265edc5d..0dea86031b 100644 --- a/applications/content/config/ContentUiLabels.xml +++ b/applications/content/config/ContentUiLabels.xml @@ -2673,6 +2673,10 @@ ระดับสูงเท่ากัน 上边坐标 + + Visual Theme Set + Set di temi grafici + Webseite Inhaltstyp ID Web Site Content Type Id diff --git a/applications/content/webapp/content/website/WebSiteForms.xml b/applications/content/webapp/content/website/WebSiteForms.xml index 7b7d78236d..452ef13bfd 100644 --- a/applications/content/webapp/content/website/WebSiteForms.xml +++ b/applications/content/webapp/content/website/WebSiteForms.xml @@ -46,6 +46,13 @@ under the License. + + + + + + +
- \ No newline at end of file + diff --git a/applications/ecommerce/data/DemoProduct.xml b/applications/ecommerce/data/DemoProduct.xml index 6a6050c2bb..05cd72cdcc 100644 --- a/applications/ecommerce/data/DemoProduct.xml +++ b/applications/ecommerce/data/DemoProduct.xml @@ -103,8 +103,8 @@ under the License. - - + + diff --git a/applications/ecommerce/data/EcommerceTypeData.xml b/applications/ecommerce/data/EcommerceTypeData.xml new file mode 100644 index 0000000000..165aa5acbf --- /dev/null +++ b/applications/ecommerce/data/EcommerceTypeData.xml @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + diff --git a/applications/ecommerce/ofbiz-component.xml b/applications/ecommerce/ofbiz-component.xml index 10cff80ce3..5d6c9ae79d 100644 --- a/applications/ecommerce/ofbiz-component.xml +++ b/applications/ecommerce/ofbiz-component.xml @@ -25,6 +25,7 @@ under the License. + diff --git a/framework/common/data/CommonTypeData.xml b/framework/common/data/CommonTypeData.xml index b5f1e9bfd2..38bdf02afb 100644 --- a/framework/common/data/CommonTypeData.xml +++ b/framework/common/data/CommonTypeData.xml @@ -115,7 +115,8 @@ under the License. - + + diff --git a/framework/common/entitydef/entitymodel.xml b/framework/common/entitydef/entitymodel.xml index dfa6b45e0d..9b07a38248 100644 --- a/framework/common/entitydef/entitymodel.xml +++ b/framework/common/entitydef/entitymodel.xml @@ -543,13 +543,26 @@ under the License. + + Groups toghether Visual Themes that can be used for one (or a set of) application. + + + + + The VisualTheme entity contains one entry per visual theme. + + + + - + + + + diff --git a/framework/webapp/entitydef/entitymodel.xml b/framework/webapp/entitydef/entitymodel.xml index 84a52eed66..d5872e3ae3 100644 --- a/framework/webapp/entitydef/entitymodel.xml +++ b/framework/webapp/entitydef/entitymodel.xml @@ -242,6 +242,10 @@ under the License. + + + + diff --git a/themes/bluelight/data/BlueLightThemeData.xml b/themes/bluelight/data/BlueLightThemeData.xml index 5ca0e006ba..610e5c9bc7 100755 --- a/themes/bluelight/data/BlueLightThemeData.xml +++ b/themes/bluelight/data/BlueLightThemeData.xml @@ -19,7 +19,7 @@ under the License. --> - +