Jump to content

Blok Producenci - nagłówek nie jako link


Recommended Posts

Chciałbym spytać czy da radę usunąć znacznik <a> z bloku producenci. Używam go jako tak jakby drugiego bloku kategorii a to mi trochę przeszkadza... Dokładnie chodzi mi o nagłowek "Producenci". Oto kod tego bloczku:


<!-- Block manufacturers module -->
<div id="manufacturers_block_left" class="block blockmanufacturer">
<p class="title_block">{if $display_link_manufacturer}<a href="{$link->getPageLink('manufacturer')|escape:'html'}" title="{l s='Manufacturers' mod='blockmanufacturer'}">{/if}{l s='Manufacturers' mod='blockmanufacturer'}{if $display_link_manufacturer}</a>{/if}</p>
<div class="block_content">
{if $manufacturers}
{if $text_list}
<ul class="bullet">
{foreach from=$manufacturers item=manufacturer name=manufacturer_list}
{if $smarty.foreach.manufacturer_list.iteration <= $text_list_nb}
<li class="{if $smarty.foreach.manufacturer_list.last}last_item{elseif $smarty.foreach.manufacturer_list.first}first_item{else}item{/if}"><a href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)|escape:'html'}" title="{l s='More about' mod='blockmanufacturer'} {$manufacturer.name}">{$manufacturer.name|escape:'htmlall':'UTF-8'}</a></li>
{/if}
{/foreach}
</ul>
{/if}
{if $form_list}
<form action="{$smarty.server.SCRIPT_NAME|escape:'htmlall':'UTF-8'}" method="get">
<p>
<select id="manufacturer_list" onchange="autoUrl('manufacturer_list', '');">
<option value="0">{l s='All manufacturers' mod='blockmanufacturer'}</option>
{foreach from=$manufacturers item=manufacturer}
<option value="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)|escape:'html'}">{$manufacturer.name|escape:'htmlall':'UTF-8'}</option>
{/foreach}
</select>
</p>
</form>
{/if}
{else}
<p>{l s='No manufacturer' mod='blockmanufacturer'}</p>
{/if}
</div>
</div>
<!-- /Block manufacturers module -->
 

Myślę, że gdzies tutaj jest diabel pogrzebany... tylko gdzie... :)

Pozdrawiam

Edited by davvarts (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...