From a91db16bb5844587e0eada9e5f44119ee2fa926f Mon Sep 17 00:00:00 2001 From: Jacopo Cappellato Date: Tue, 15 Jul 2008 16:42:20 +0000 Subject: [PATCH] Applied patch contributed by Bilgin Ibryam in OFBIZ-1877: definitio of a common menu that can be extended by the application (the menu already contains the main and login/logout items). A few applications have been updated to use it as well. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@676959 13f79535-47bb-0310-9956-ffa450edef68 --- .../content/widget/content/ContentMenus.xml | 13 +------ applications/humanres/widget/Menus.xml | 12 +------ .../marketing/widget/MarketingMenus.xml | 12 +------ .../marketing/widget/sfa/SfaMenus.xml | 12 +------ framework/common/widget/CommonMenus.xml | 34 +++++++++++++++++++ .../example/widget/example/ExampleMenus.xml | 12 +------ specialpurpose/bi/widget/BiMenus.xml | 13 +------ specialpurpose/oagis/widget/Menus.xml | 13 +------ specialpurpose/projectmgr/widget/Menus.xml | 11 +----- 9 files changed, 42 insertions(+), 90 deletions(-) create mode 100644 framework/common/widget/CommonMenus.xml diff --git a/applications/content/widget/content/ContentMenus.xml b/applications/content/widget/content/ContentMenus.xml index b841e93bdb..6059be7e14 100644 --- a/applications/content/widget/content/ContentMenus.xml +++ b/applications/content/widget/content/ContentMenus.xml @@ -19,9 +19,7 @@ under the License. --> - - + @@ -32,15 +30,6 @@ under the License. - - - - - - - - - - - + @@ -34,14 +32,6 @@ - - - - - - - - - - + - - - - - - - - \ No newline at end of file diff --git a/applications/marketing/widget/sfa/SfaMenus.xml b/applications/marketing/widget/sfa/SfaMenus.xml index 74b7a171d5..643049bd3c 100644 --- a/applications/marketing/widget/sfa/SfaMenus.xml +++ b/applications/marketing/widget/sfa/SfaMenus.xml @@ -18,9 +18,7 @@ specific language governing permissions and limitations under the License. --> - - + @@ -29,14 +27,6 @@ under the License. - - - - - - - - diff --git a/framework/common/widget/CommonMenus.xml b/framework/common/widget/CommonMenus.xml new file mode 100644 index 0000000000..9e316eb4d5 --- /dev/null +++ b/framework/common/widget/CommonMenus.xml @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + diff --git a/framework/example/widget/example/ExampleMenus.xml b/framework/example/widget/example/ExampleMenus.xml index 625c6fdcb2..1c2771f1f6 100644 --- a/framework/example/widget/example/ExampleMenus.xml +++ b/framework/example/widget/example/ExampleMenus.xml @@ -21,21 +21,11 @@ under the License. - - + - - - - - - - - - - + - - - - - - - - - \ No newline at end of file diff --git a/specialpurpose/oagis/widget/Menus.xml b/specialpurpose/oagis/widget/Menus.xml index 104e5ea4f9..e6024cf6bf 100644 --- a/specialpurpose/oagis/widget/Menus.xml +++ b/specialpurpose/oagis/widget/Menus.xml @@ -20,20 +20,9 @@ - - - + - - - - - - - - diff --git a/specialpurpose/projectmgr/widget/Menus.xml b/specialpurpose/projectmgr/widget/Menus.xml index ac32404b5d..5f112604a9 100644 --- a/specialpurpose/projectmgr/widget/Menus.xml +++ b/specialpurpose/projectmgr/widget/Menus.xml @@ -20,9 +20,8 @@ - + - @@ -56,14 +55,6 @@ - - - - - - - -