Ignore:
Timestamp:
10/24/14 23:39:19 (9 years ago)
Author:
ago123
Message:

[webif] fix queryraw for getepg and getsingleepg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/httpdfunc.h

    r30591 r30689  
    12571257        }
    12581258
    1259         buf = ostrcat(buf, "<tr class=channelname><td><h4 style=\"margin:2px 0px\">", 1, 0);
    1260         buf = ostrcat(buf, chnode->name, 1, 0);
    1261         buf = ostrcat(buf, "</h4></td></tr>", 1, 0);
     1259        if(fmt == 0)
     1260        {
     1261                buf = ostrcat(buf, "<tr class=channelname><td><h4 style=\"margin:2px 0px\">", 1, 0);
     1262                buf = ostrcat(buf, chnode->name, 1, 0);
     1263                buf = ostrcat(buf, "</h4></td></tr>", 1, 0);
     1264        }
    12621265
    12631266        if(fmt == 0) buf = ostrcat(buf, "<tr><td><font class=biglabel>", 1, 0);
     
    13561359        }
    13571360
    1358         ostrcatbig(&buf, "<tr class=channelname><td colspan=4><h4 style=\"margin:2px 0px\">", &maxlen, &pos);
    1359         ostrcatbig(&buf, chnode->name, &maxlen, &pos);
    1360         ostrcatbig(&buf, "</h4></td></tr>", &maxlen, &pos);
    1361         ostrcatbig(&buf, "<tr class=tabledesc><td width=70px align=center>Datum</td><td width=70px align=center>Uhrzeit</td><td align=left>Beschreibung</td><td width=50px align=center>Timer</td></tr>", &maxlen, &pos);
     1361        if(fmt == 0)
     1362        {
     1363                ostrcatbig(&buf, "<tr class=channelname><td colspan=4><h4 style=\"margin:2px 0px\">", &maxlen, &pos);
     1364                ostrcatbig(&buf, chnode->name, &maxlen, &pos);
     1365                ostrcatbig(&buf, "</h4></td></tr>", &maxlen, &pos);
     1366                ostrcatbig(&buf, "<tr class=tabledesc><td width=70px align=center>Datum</td><td width=70px align=center>Uhrzeit</td><td align=left>Beschreibung</td><td width=50px align=center>Timer</td></tr>", &maxlen, &pos);
     1367        }       
    13621368       
    13631369        while(epgnode != NULL)
Note: See TracChangeset for help on using the changeset viewer.