This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/themes/default/blocks/product_cat/menu.tpl
2011-05-03 09:49:01 +10:00

58 lines
1.6 KiB
Smarty

<table width=100% border="0" cellspacing="1" cellpadding="0">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top">
<td width="65%" class="row1">
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="25">
<tr valign="top">
<td><h2>{t}Products{/t}</h2></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td align="right" valign="top">{if ! $smarty.const.SHOW_CHECKOUT_LINK}<a href="{$SSL_URL}?_page=checkout:checkout&s={$SESS}">{t}Checkout{/t}</a>{/if}</td>
</tr>
</table>
<br/>
{$method->exe_noauth('product_cat','user_menu')}
{if $product_cat != '' || $smarty.const.SHOW_DOMAIN_LINK}
<table width="100%" border="0" class="table_background" align="left">
<tr>
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="0" align="left">
<tr>
<td class="menu_1"><h2>{osb f=tt module=product_cat method=view}</h2></td>
</tr>
{foreach from=$product_cat item=record key=key}
{assign var=cat_translate value=''}
<tr>
<td class="menu_2">&nbsp;&nbsp;
<a href="{$URL}?_page=product_cat:t_{$record.template}&id={$record.id}">
{if $list->translate('product_cat_translate','name,description','product_cat_id',$record.id,'cat_translate')}
{$cat_translate.name}
{else}
{$record.name}
{/if}
</a>
</td>
</tr>
{/foreach}
{if $smarty.const.SHOW_DOMAIN_LINK}
<tr>
<td class="menu_2">&nbsp;&nbsp;<a href="{$URL}?_page=host_tld:search">{t}Domain Search{/t}</a></td>
</tr>
{/if}
</table>
</td>
</tr>
</table>
<br/><br/><br/>
{/if}