{* $Id: mod-featured_links.tpl 21058 2009-08-24 05:32:35Z chealer $ *}

{if $prefs.feature_featuredLinks eq 'y'}
	{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|escape}</a>
     {else}
	 	<a class="linkmodule" {if $featuredLinks[ix].type eq 'n'}target='_blank'{/if} href="{$featuredLinks[ix].url}">{$featuredLinks[ix].title|escape}</a>
	{/if}
	</li>
    {/section}
	{if $nonums != 'y'}</ol>{else}</ul>{/if}
  {/tikimodule}
{/if}
