{* $Id: mod-users_rank.tpl 18505 2009-05-06 03:54:44Z marclaporte $ *}

{if $prefs.feature_score eq 'y'}
{if !isset($tpl_module_title)}{assign var=tpl_module_title value="{tr}Top users{/tr}"}{/if}
{tikimodule error=$module_params.error title=$tpl_module_title name="users_rank" flip=$module_params.flip decorations=$module_params.decorations nobox=$module_params.nobox notitle=$module_params.notitle}
{if $nonums != 'y'}<ol>{else}<ul>{/if}
{section loop=$users_rank name=u}
  <li>
    {*<div class="licomponent" style="display:inline">{$users_rank[u].position})&nbsp;</div>*}
    <div class="licomponent" style="display:inline">{$users_rank[u].score}</div>
    <div class="licomponent" style="display:inline">&nbsp;{$users_rank[u].login|userlink}</div>
  </li>
{/section}
{if $nonums != 'y'}</ol>{else}</ul>{/if}

{if $pref.feature_friends eq 'y'}
<a style="margin-left: 20px" href="tiki-list_users.php">{tr}More{/tr}...</a>
{/if}

{/tikimodule}
{/if}
