svn commit: r734044 - /ofbiz/trunk/applications/content/widget/CommonScreens.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r734044 - /ofbiz/trunk/applications/content/widget/CommonScreens.xml

hansbak-2
Author: hansbak
Date: Mon Jan 12 21:49:52 2009
New Revision: 734044

URL: http://svn.apache.org/viewvc?rev=734044&view=rev
Log:
hide website keys when creating a new website, show content title on login screen

Modified:
    ofbiz/trunk/applications/content/widget/CommonScreens.xml

Modified: ofbiz/trunk/applications/content/widget/CommonScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/CommonScreens.xml?rev=734044&r1=734043&r2=734044&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/widget/CommonScreens.xml (original)
+++ ofbiz/trunk/applications/content/widget/CommonScreens.xml Mon Jan 12 21:49:52 2009
@@ -41,7 +41,8 @@
                 <set field="layoutSettings.javaScripts[]" value="/images/selectall.js" global="true"/>                
                 <set field="activeApp" value="contentmgr" global="true"/>
                 <set field="applicationMenuName" value="ContentAppBar" global="true"/>
-                <set field="applicationMenuLocation" value="component://content/widget/content/ContentMenus.xml" global="true"/>                
+                <set field="applicationMenuLocation" value="component://content/widget/content/ContentMenus.xml" global="true"/>
+                <set field="applicationTitle" value="${uiLabelMap.ContentContentManagerApplication}"/>
             </actions>
             <widgets>
                 <include-screen name="GlobalDecorator" location="component://common/widget/CommonScreens.xml"/>
@@ -237,7 +238,14 @@
                                 <if-has-permission permission="CONTENTMGR" action="_VIEW"/>
                             </condition>
                             <widgets>
-                                <include-menu name="website" location="component://content/widget/content/ContentMenus.xml"/>
+                                <section>
+                                    <condition>
+                                        <not><if-empty field-name="parameters.webSiteId"/></not>
+                                    </condition>
+                                    <widgets>
+                                        <include-menu name="website" location="component://content/widget/content/ContentMenus.xml"/>
+                                    </widgets>
+                                </section>
                                 <container style="widget-container">
                                     <link  text="${uiLabelMap.CommonCreateNew} ${uiLabelMap.ContentWebSite}" target="EditWebSite" style="buttontext"/>
                                 </container>