// categories association for product with multishop and context

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14713 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vChabot
2012-04-18 08:48:42 +00:00
parent eeeb925420
commit 530937a495
2 changed files with 22 additions and 7 deletions
@@ -39,7 +39,15 @@
<label for="category_block">{l s='Associated categories:'}</label>
</td>
<td class="col-right">
<div id="category_block">{$category_tree}</div>
<div id="category_block">
{if !$is_shop_context}
<div class="warn">
{/if}
{$category_tree}
{if !$is_shop_context}
</div>
{/if}
</div>
</td>
</tr>
<tr>
@@ -48,10 +56,12 @@
<tr>
<td></td>
<td class="col-right">
<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 $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>