git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759144 13f79535-47bb-0310-9956-ffa450edef68
65 lines
3.2 KiB
Plaintext
65 lines
3.2 KiB
Plaintext
<#--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
software distributed under the License is distributed on an
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the
|
|
specific language governing permissions and limitations
|
|
under the License.
|
|
-->
|
|
|
|
<table cellspacing="0" cellpadding="0" border="0" align="center" width="100%">
|
|
<#assign imageIndex = 0>
|
|
<#if productImageList?has_content>
|
|
<#if product?has_content>
|
|
<h1><b>${product.productId}</b></h1>
|
|
</#if>
|
|
<#assign alt_row = false>
|
|
<#list productImageList as productImage>
|
|
<#if imageIndex < 5>
|
|
<td style="vertical-align:bottom">
|
|
<table>
|
|
<tbody>
|
|
<tr valign="middle">
|
|
<td align="center"><a href="<@ofbizContentUrl>${(productImage.productImage)!}</@ofbizContentUrl>" target="_blank"><img src="<@ofbizContentUrl>${(productImage.productImageThumb)!}</@ofbizContentUrl>" vspace="5" hspace="5" alt=""/></a></td>
|
|
</tr>
|
|
<tr valign="middle">
|
|
<td align="center"><a href="javascript:lookup_popup2('ImageShare?contentId=${productImage.contentId}&dataResourceId=${productImage.dataResourceId}','' ,500,500);" class="buttontext">${uiLabelMap.ImageManagementShare}</a></td>
|
|
</tr>
|
|
<br/>
|
|
</tbody>
|
|
</table>
|
|
</td>
|
|
<#assign imageIndex = imageIndex+1>
|
|
<#else>
|
|
<#assign imageIndex = 0>
|
|
<tr></tr>
|
|
<td style="vertical-align:bottom">
|
|
<table>
|
|
<tbody>
|
|
<tr valign="middle">
|
|
<td align="center"><a href="<@ofbizContentUrl>${(productImage.productImage)!}</@ofbizContentUrl>" target="_blank"><img src="<@ofbizContentUrl>${(productImage.productImageThumb)!}</@ofbizContentUrl>" vspace="5" hspace="5" alt=""/></a></td>
|
|
</tr>
|
|
<tr valign="middle">
|
|
<td align="center"><a href="javascript:lookup_popup2('ImageShare?contentId=${productImage.contentId}&dataResourceId=${productImage.dataResourceId}','' ,500,500);" class="buttontext">${uiLabelMap.ImageManagementShare}</a></td>
|
|
</tr>
|
|
<br/>
|
|
</tbody>
|
|
</table>
|
|
</td>
|
|
<#assign imageIndex = imageIndex+1>
|
|
</#if>
|
|
</#list>
|
|
</#if>
|
|
</table>
|
|
<br/>
|