<a href="{if isset($openhref)}{$openhref}{else}{$default}{/if}" 
    class="{if isset($openhref_title)}dialog_make_text_btn ui-corner-all{else}dialog_make_btn16 web_call smallbtns{/if}" 
    onclick="window.open(this.href); return false;" title="{$i.basic_view_url}">
        {if isset($openhref_title)}
            <span class="dialog_make_btn16 internet"></span> {$openhref_title}
        {/if}
</a>