// Multishop interface reworked

This commit is contained in:
rMalie
2012-05-09 15:05:39 +00:00
parent 7920dea947
commit d7337c4d4f
61 changed files with 6043 additions and 391 deletions
@@ -25,13 +25,6 @@
*}
{extends file="helpers/form/form.tpl"}
{block name="label"}
{if $input.type == 'text' && $input.name == 'name'}
<div class="hint" name="help_box" style="display:block;">{l s='You can\'t change the shop group when you have more than one Shop'}</div><br />
{/if}
{$smarty.block.parent}
{/block}
{block name="input"}
{if $input.type == 'theme'}
{foreach $input.values as $theme}
@@ -43,7 +36,7 @@
{/foreach}
<div class="clear">&nbsp;</div>
{elseif $input.type == 'textShopGroup'}
{$input.value}
<p style="color: #000000; padding: 0px; font-size: 12px; margin-top: 4px;">{$input.value}</p>
{else}
{if $input.type == 'select' && $input.name == 'id_category'}
<script type="text/javascript">
@@ -27,8 +27,12 @@
{extends file="helpers/list/list_content.tpl"}
{block name="td_content"}
{if $key == 'url' && !isset($tr.$key)}
<a href="{$link->getAdminLink('AdminShopUrl')}&id_shop={$tr.$identifier}&addshop_url" class="multishop_warning">{l s='Click here to set an URL for this shop'}</a>
{if $key == 'url'}
{if isset($tr.$key)}
<a href="{$tr.$key}" onmouseover="$(this).css('text-decoration', 'underline')" onmouseout="$(this).css('text-decoration', 'none')">{$tr.$key}</a>
{else}
<a href="{$link->getAdminLink('AdminShopUrl')}&id_shop={$tr.$identifier}&addshop_url" class="multishop_warning">{l s='Click here to set an URL for this shop'}</a>
{/if}
{else}
{$smarty.block.parent}
{/if}