svn commit: r701614 - in /ofbiz/trunk/framework: common/data/CommonTypeData.xml common/webcommon/includes/listVisualThemes.ftl images/webapp/images/default-screenshot.gif

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

svn commit: r701614 - in /ofbiz/trunk/framework: common/data/CommonTypeData.xml common/webcommon/includes/listVisualThemes.ftl images/webapp/images/default-screenshot.gif

jleroux@apache.org
Author: jleroux
Date: Sat Oct  4 01:36:28 2008
New Revision: 701614

URL: http://svn.apache.org/viewvc?rev=701614&view=rev
Log:
A patch from Bruno Busco "A screenshot for the default visual theme" (https://issues.apache.org/jira/browse/OFBIZ-1983) - OFBIZ-1983

Added:
    ofbiz/trunk/framework/images/webapp/images/default-screenshot.gif   (with props)
Modified:
    ofbiz/trunk/framework/common/data/CommonTypeData.xml
    ofbiz/trunk/framework/common/webcommon/includes/listVisualThemes.ftl

Modified: ofbiz/trunk/framework/common/data/CommonTypeData.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/data/CommonTypeData.xml?rev=701614&r1=701613&r2=701614&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/data/CommonTypeData.xml (original)
+++ ofbiz/trunk/framework/common/data/CommonTypeData.xml Sat Oct  4 01:36:28 2008
@@ -114,5 +114,6 @@
     <VisualThemeResource visualThemeId="DEFAULT" resourceTypeEnumId="VT_HDR_IMAGE_URL" resourceValue="/images/ofbiz_logo.jpg" sequenceId="01"/>
     <VisualThemeResource visualThemeId="DEFAULT" resourceTypeEnumId="VT_HDR_TMPLT_LOC" resourceValue="component://common/webcommon/includes/header.ftl" sequenceId="01"/>
     <VisualThemeResource visualThemeId="DEFAULT" resourceTypeEnumId="VT_FTR_TMPLT_LOC" resourceValue="component://common/webcommon/includes/footer.ftl" sequenceId="01"/>
+    <VisualThemeResource visualThemeId="DEFAULT" resourceTypeEnumId="VT_SCREENSHOT" resourceValue="/images/default-screenshot.gif" sequenceId="01"/>
 
 </entity-engine-xml>

Modified: ofbiz/trunk/framework/common/webcommon/includes/listVisualThemes.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/webcommon/includes/listVisualThemes.ftl?rev=701614&r1=701613&r2=701614&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/webcommon/includes/listVisualThemes.ftl (original)
+++ ofbiz/trunk/framework/common/webcommon/includes/listVisualThemes.ftl Sat Oct  4 01:36:28 2008
@@ -50,8 +50,7 @@
           <td>
             <#if screenshots?has_content>
               <#list screenshots as screenshot>
-                <#-- We will want to specify length and width attributes for the img element - so they appear as thumbnails. Not sure what size yet. -->
-                <a href="<@ofbizContentUrl>${screenshot.resourceValue}</@ofbizContentUrl>"><img src="<@ofbizContentUrl>${screenshot.resourceValue}</@ofbizContentUrl>"/></a>
+                <a href="<@ofbizContentUrl>${screenshot.resourceValue}</@ofbizContentUrl>"><img src="<@ofbizContentUrl>${screenshot.resourceValue}</@ofbizContentUrl>" width="150"/></a>
               </#list>
            <#else>
               ${uiLabelMap.VisualThemeNoScreenshots}

Added: ofbiz/trunk/framework/images/webapp/images/default-screenshot.gif
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/default-screenshot.gif?rev=701614&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/default-screenshot.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif