You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ha...@apache.org on 2011/06/29 02:25:45 UTC
svn commit: r1140919 - in
/ofbiz/trunk/applications/content/template/mime-type: flash-flv.ftl
image.ftl quicktime.ftl
Author: hansbak
Date: Wed Jun 29 00:25:45 2011
New Revision: 1140919
URL: http://svn.apache.org/viewvc?rev=1140919&view=rev
Log:
replace hardcoded /content/control with @ofbizcontenturl to allow usage with virtual hosts
Modified:
ofbiz/trunk/applications/content/template/mime-type/flash-flv.ftl
ofbiz/trunk/applications/content/template/mime-type/image.ftl
ofbiz/trunk/applications/content/template/mime-type/quicktime.ftl
Modified: ofbiz/trunk/applications/content/template/mime-type/flash-flv.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/template/mime-type/flash-flv.ftl?rev=1140919&r1=1140918&r2=1140919&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/template/mime-type/flash-flv.ftl (original)
+++ ofbiz/trunk/applications/content/template/mime-type/flash-flv.ftl Wed Jun 29 00:25:45 2011
@@ -25,7 +25,7 @@
bufferLength: '100',
loop: false,
initialScale: 'fit',
- videoFile: '/content/control/stream?contentId=${contentId}',
+ videoFile: '<@o...@ofbizContentUrl>',
showPlayListButtons: true
}" />
-</object>
\ No newline at end of file
+</object>
Modified: ofbiz/trunk/applications/content/template/mime-type/image.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/template/mime-type/image.ftl?rev=1140919&r1=1140918&r2=1140919&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/template/mime-type/image.ftl (original)
+++ ofbiz/trunk/applications/content/template/mime-type/image.ftl Wed Jun 29 00:25:45 2011
@@ -16,4 +16,4 @@
specific language governing permissions and limitations
under the License.
-->
-<img src="/content/control/stream?contentId=${contentId}" alt=""/>
\ No newline at end of file
+<img src="<@o...@ofbizContentUrl>"/>
Modified: ofbiz/trunk/applications/content/template/mime-type/quicktime.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/template/mime-type/quicktime.ftl?rev=1140919&r1=1140918&r2=1140919&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/template/mime-type/quicktime.ftl (original)
+++ ofbiz/trunk/applications/content/template/mime-type/quicktime.ftl Wed Jun 29 00:25:45 2011
@@ -24,7 +24,7 @@
<param name="AUTOSTART" value="true" />
<param name="AUTOPLAY" value="true" />
<param name="KIOSKMODE" value="false" />
- <embed src="/content/control/stream?contentId=${contentId}" width="320" height="263" scale="tofit"
+ <embed src="<@o...@ofbizContentUrl>" width="320" height="263" scale="tofit"
autostart="true" autoplay="true" kioskmode="false" target="quicktimeplayer"
pluginspage="http://www.apple.com/quicktime/download/">
</embed>