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

58 lines
1.6 KiB
Smarty
Raw Normal View History

<table width=100% border="0" cellspacing="1" cellpadding="0">
2009-08-03 04:10:16 +00:00
<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>
2009-08-03 04:10:16 +00:00
<br/>
2009-08-03 04:10:16 +00:00
{$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">
2009-08-03 04:10:16 +00:00
<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}
2009-08-03 04:10:16 +00:00
{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>
2009-08-03 04:10:16 +00:00
<br/><br/><br/>
{/if}