Skip to content

Commit

Permalink
// clean activateModule link
Browse files Browse the repository at this point in the history
  • Loading branch information
gRoussac committed Mar 10, 2014
1 parent b75aec4 commit ff75686
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,11 @@
{/foreach}
</ul>
</div>
{$module_name = $module_name|escape:'html':'UTF-8'}
{capture}{'/&module_name='|cat:$module_name|cat:'/'}{/capture}
{if isset($display_multishop_checkbox) && $display_multishop_checkbox}
<input type="checkbox" name="activateModule" value="1"{if $module->active} checked="checked"{/if}
onclick="location.href = '{$current_url}&module_name={$module_name|escape:'html':'UTF-8'}&enable=' + (($(this).attr('checked')) ? 1 : 0);" />
onclick="location.href = '{$current_url|regex_replace:$smarty.capture.default:''}&module_name={$module_name}&enable=' + (($(this).attr('checked')) ? 1 : 0);" />
{l s='Activate module for'} {$shop_context}
{/if}
</div>

0 comments on commit ff75686

Please sign in to comment.