Changed 'template' loop into 'product-template' loop

This commit is contained in:
Franck Allimant
2013-11-02 19:18:19 +01:00
parent 069b047801
commit f3cba323c6
5 changed files with 112 additions and 4 deletions

View File

@@ -25,7 +25,7 @@
<div class="input-group">
<select required="required" name="template_id" id="template_id" class="form-control">
<option value="0">{intl l='Do not use a product template'}</option>
{loop name="product_template_select" type="template"}
{loop name="product_template_select" type="product-template"}
<option value="{$ID}" {if $TEMPLATE == $ID}selected="selected"{/if}>{$NAME}</option>
{/loop}
</select>

View File

@@ -10,7 +10,7 @@
<div id="wrapper" class="container">
{loop name="template_edit" type="template" id="$template_id" backend_context="1" lang="$edit_language_id"}
{loop name="template_edit" type="product-template" id="$template_id" backend_context="1" lang="$edit_language_id"}
<ul class="breadcrumb">
<li><a href="{url path='/admin/home'}">{intl l="Home"}</a></li>

View File

@@ -67,7 +67,7 @@
</thead>
<tbody>
{loop name="list" type="template" backend_context="1" lang=$lang_id order=$order}
{loop name="list" type="product-template" backend_context="1" lang=$lang_id order=$order}
<tr>
<td>{$ID}</td>