Ignore:
Timestamp:
01/17/10 19:21:11 (14 years ago)
Author:
alno
Message:

WebIf:

  • Feature "disabled" added for accounts. The Parameter can be set in webinterface and/or in oscam.user. Syntax "disabled=0|1". If parameter is set to 1 the user do not get ecm and in log you see "disabled". A value of 0 gives access back to the user.
  • The user setting table in Webif got a new additional TR Style "disabled"
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/monitor-improvement/oscam-http.c

    r1267 r1269  
    736736    tpl_addVar(vars, 0, "PASSWORD", account->pwd);
    737737
     738    //Disabled
     739    if(account->disabled)
     740        tpl_addVar(vars, 0, "DISABLEDCHECKED", "checked");
     741
    738742    //Expirationdate
    739743    struct tm * timeinfo = localtime (&account->expirationdate);
     
    858862            expired = " (expired)";
    859863            classname = "expired";
    860             }
     864        }
     865        if(account->disabled != 0){
     866            expired = " (disabled)";
     867            classname = "disabled";
     868        }
    861869        status="offline";
    862870
Note: See TracChangeset for help on using the changeset viewer.