1 {if !$usersOnlineShowRecord|isset}{assign var='usersOnlineShowRecord' value=true}{/if}
2 {if MODULE_USERS_ONLINE && $__wcf->session->getPermission('user.profile.canViewUsersOnlineList') && $usersOnlineList->stats[total]}
3 <section class="box" data-static-box-identifier="com.woltlab.wcf.UsersOnlineInfo">
4 <h2 class="boxTitle"><a href="{link controller='UsersOnlineList'}{/link}">{lang}wcf.user.usersOnline{/lang}</a> <span class="badge">{#$usersOnlineList->stats[total]}</span></h2>
6 <div class="boxContent">
7 <ul class="inlineList dotSeparated">
8 <li>{lang}wcf.user.usersOnline.detail{/lang}</li>
9 {if $usersOnlineShowRecord && USERS_ONLINE_RECORD}<li>{lang}wcf.user.usersOnline.record{/lang}</li>{/if}
12 {if $usersOnlineList|count}
13 <ul class="inlineList commaSeparated">
14 {foreach from=$usersOnlineList->getObjects() item=userOnline}
15 <li>{user object=$userOnline}</li>
21 {if USERS_ONLINE_ENABLE_LEGEND && $usersOnlineList->getUsersOnlineMarkings()|count}
22 <div class="boxContent">
23 <dl class="plain inlineDataList usersOnlineLegend">
24 <dt>{lang}wcf.user.usersOnline.marking.legend{/lang}</dt>
26 <ul class="inlineList commaSeparated">
27 {foreach from=$usersOnlineList->getUsersOnlineMarkings() item=usersOnlineMarking}
28 <li>{@$usersOnlineMarking}</li>