Ticket #236: wifidog-tpl-validuser.patch

File wifidog-tpl-validuser.patch, 0.5 KB (added by Damien Raude-Morvan <drazzib-web@…>, 13 years ago)

Patch

  • wifidog/templates/sites/index.tpl

     
    6969    BEGIN section MAINCONTENT 
    7070*} 
    7171        <p> 
    72                 {if $networkNumOnlineUsers == 1} 
     72                {if $networkNumValidUsers == 1} 
    7373                        {"The %s network currently has one valid user."|_|sprintf:$networkName} 
    7474                {else} 
    7575                        {"The %s network currently has %d valid users."|_|sprintf:$networkName:$networkNumValidUsers}