{* $Id: mod-featured_links.tpl 17630 2009-03-26 03:37:22Z luciash $ *}

{if $prefs.feature_featuredLinks eq 'y'}
	{if !isset($tpl_module_title)}{assign var=tpl_module_title value="{tr}Featured links{/tr}"}{/if}
	{tikimodule error=$module_params.error title=$tpl_module_title name="featured_links" flip=$module_params.flip decorations=$module_params.decorations nobox=$module_params.nobox notitle=$module_params.notitle}
	{if $nonums != 'y'}<ol>{else}<ul>{/if}
    {section name=ix loop=$featuredLinks}
	<li>
     {if $featuredLinks[ix].type eq 'f'}
	 	<a class="linkmodule" href="tiki-featured_link.php?type={$featuredLinks[ix].type}&amp;url={$featuredLinks[ix].url|escape:"url"}">{$featuredLinks[ix].title}</a>
     {else}
	 	<a class="linkmodule" {if $featuredLinks[ix].type eq 'n'}target='_blank'{/if} href="{$featuredLinks[ix].url}">{$featuredLinks[ix].title}</a>
	{/if}
	</li>
    {/section}
{if $nonums != 'y'}</ol>{else}</ul>{/if}
  {/tikimodule}
{/if}
