Changeset 1157


Ignore:
Timestamp:
01/10/10 00:21:48 (12 years ago)
Author:
alno
Message:

WebIf:

  • Readersection code added to create "chid" token
File:
1 edited

Legend:

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

    r1156 r1157  
    578578    }
    579579
    580     //todo "chid"
     580    //chid
     581    dot="";
     582    ftab = &reader[ridx].fchid;
     583    for (i = 0; i < ftab->nfilts; ++i){
     584        tpl_printf(vars, 1, "CHIDS", "%s%04X", dot, ftab->filts[i].caid);
     585        dot=":";
     586        for (j = 0; j < ftab->filts[i].nprids; ++j) {
     587            tpl_printf(vars, 1, "CHIDS", "%s%06lX", dot, ftab->filts[i].prids[j]);
     588            dot=",";
     589        }
     590        dot=";";
     591    }
    581592
    582593    tpl_printf(vars, 0, "SHOWCLS", "%d", reader[ridx].show_cls);
Note: See TracChangeset for help on using the changeset viewer.