{* $Header: /cvsroot/bitweaver/_bit_users/modules/mod_who_is_there.tpl,v 1.4 2006/01/14 19:56:10 squareing Exp $ *} {bitmodule title="$moduleTitle" name="who_is_there"}
{if $logged_users eq 0} {tr}No online users{/tr} {else} {$logged_users} {if $logged_users>1} {tr}online users{/tr} {elseif $logged_users>0} {tr}online user{/tr} {/if} {/if}
{section name=ix loop=$online_users} {if $user and $gBitSystem->isFeatureActive( 'feature_messages' ) and $gBitUser->hasPermission( 'bit_p_messages' )} {biticon ipackage="users" iname="send_msg_small" iexplain="send message"} {/if} {if $online_users[ix].user_information eq 'public'} {math equation="x - y" x=$smarty.now y=$online_users[ix].timestamp assign=idle} {$online_users[ix].user}
{else} {$online_users[ix].user}
{/if} {/section} {/bitmodule}