Show
Ignore:
Timestamp:
05/23/07 15:41:13 (6 years ago)
Author:
dana
Message:

Added display of list of recent and active users to the user list UI

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog-auth/wifidog/templates/classes/UIUserList_getUserUI.tpl

    r1196 r1234  
    4747  *} 
    4848        {if $nodeId != null} 
     49            <div id="online_users"> 
    4950            {if ($nodeNumOnlineUsers > 0)} 
    5051                {if ($nodeNumOnlineUsers == 1)} 
    51                     1 {"user is online at this hotspot"|_} 
     52                    <label>1 {"user is online at this hotspot"|_}</label> 
    5253                {else} 
    53                     {$nodeNumOnlineUsers} {"users are online at this hotspot"|_} 
     54                    <label>{$nodeNumOnlineUsers} {"users are online at this hotspot"|_}</label> 
    5455                {/if} 
    5556 
     
    6162            {else} 
    6263                 {"Nobody is online at this hotspot"|_} ... 
    63              {/if} 
     64            {/if} 
     65            </div> 
     66 
     67            <div id="recent_users"> 
     68                  <label>Recent Users:</label> 
     69                  <ul> 
     70                  {section name=recentUser loop=$recentUsers} 
     71                      <li>{$recentUsers[recentUser]}</li> 
     72                  {/section} 
     73                  </ul> 
     74             </div> 
     75 
     76              <div id="active_users"> 
     77                  <label>Most Active Users:</label> 
     78                  <ul> 
     79                  {section name=activeUser loop=$activeUsers} 
     80                      <li>{$activeUsers[activeUser]}</li> 
     81                  {/section} 
     82                  </ul> 
     83             </div> 
    6484         {/if}