// BO : product form improved (categories association)

This commit is contained in:
vChabot
2012-04-19 16:18:58 +00:00
parent 925406d026
commit 9b2f0d9ed3
5 changed files with 24 additions and 18 deletions
@@ -36,17 +36,12 @@
<table>
<tr>
<td class="col-left">
{include file="controllers/products/multishop/checkbox.tpl" field="category_box" type="category_box"}
<label for="category_block">{l s='Associated categories:'}</label>
</td>
<td class="col-right">
<div id="category_block">
{if !$is_shop_context}
<div class="warn">
{/if}
{$category_tree}
{if !$is_shop_context}
</div>
{/if}
</div>
</td>
</tr>
@@ -56,12 +51,10 @@
<tr>
<td></td>
<td class="col-right">
{if $is_shop_context}
<a class="button bt-icon confirm_leave" href="{$link->getAdminLink('AdminCategories')}&addcategory">
<img src="../img/admin/add.gif" alt="{l s='Create new category'}" title="{l s='Create new category'}" />
<span>{l s='Create new category'}</span>
</a>
{/if}
</td>
</tr>
<tr>