{* 
$Id: mod-last_category_objects.tpl 17630 2009-03-26 03:37:22Z luciash $ 
parameters : id=1&type=*&maxlen=20
id is the categId of the parent categ to list
type is the type of object to list. default is 'wiki page' and * get all types
maxlen is the number of characters after which labels are truncated
note : lists the objects from a given category not a recursive tree
*}
{if $prefs.feature_categories eq 'y'}
{if !isset($tpl_module_title)}{assign var=tpl_module_title value="{tr}Last{/tr} {tr}$type{/tr}"}{/if}
{tikimodule error=$module_params.error title=$tpl_module_title name="last_category_objects" flip=$module_params.flip decorations=$module_params.decorations nobox=$module_params.nobox notitle=$module_params.notitle}
{section name=ix loop=$last}
<div><a class="linkmodule" href="{$last[ix].href|escape}" title="{$last[ix].type|escape}">
{if $maxlen > 0}
{$last[ix].name|truncate:$maxlen:"...":true}
{else}
{$last[ix].name}
{/if}
</a></div>
{/section}
{/tikimodule}
{/if}
