{* 
$Id: mod-last_category_objects.tpl 12242 2008-03-30 13:22:01Z 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 title=$tpl_module_title name="last_category_objects" flip=$module_params.flip decorations=$module_params.decorations nobox=$module_params.nobox}
{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}
