{* $Id: button.tpl,v 1.25.2.2 2006/06/16 10:47:41 max Exp $ *} {if $config.Adaptives.platform eq 'MacPPC' && $config.Adaptives.browser eq 'NN'} {assign var="js_to_href" value="Y"} {/if} {if $type eq 'input'} {assign var="img_type" value='input type="image"'} {else} {assign var="img_type" value='img'} {/if} {assign var="js_link" value=$href|regex_replace:"/^\s*javascript\s*:/Si":""} {if $js_link eq $href} {assign var="js_link" value="javascript: self.location='"|cat:$href|amp|cat:"';"} {else} {assign var="js_link" value=$href} {if $js_to_href ne 'Y'} {assign var="onclick" value=$href} {assign var="href" value="javascript: void(0);"} {/if} {/if} {if $style eq 'button' && ($config.Adaptives.platform ne 'MacPPC' || $config.Adaptives.browser ne 'NN')}
{elseif $image_menu} {* GO button, move below to have on the right side of text *} {* move code for GO button down here to have it on the right side of text *} {else} {* GO button, move below to have on the right side of text *} {* simple text button *} {* move code for GO button down here to have it on the right side of text *} {/if}