Changeset 5412
- Timestamp:
- 06/17/11 23:01:42 (13 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/oscam-http.c
r5411 r5412 3518 3518 else if (strcmp(result, "1")) { 3519 3519 //it doesn't make sense to check for modified etagheader here as standard template has timestamp in output and so site changes on every request 3520 if (pgidx == 18 || pgidx == 21)3520 if (pgidx == 18) 3521 3521 send_headers(f, 200, "OK", NULL, "text/xml", 0, strlen(result), NULL, 0); 3522 else if (pgidx == 21) 3523 send_headers(f, 200, "OK", NULL, "image/svg+xml", 0, strlen(result), NULL, 0); 3522 3524 else 3523 3525 send_headers(f, 200, "OK", NULL, "text/html", 0, strlen(result), NULL, 0); -
trunk/oscam-http.h
r5407 r5412 1763 1763 1764 1764 #define TPLGRAPH "\ 1765 <?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\n\1766 1765 <svg xml:space='preserve' xmlns='http://www.w3.org/2000/svg'\n\ 1767 1766 xmlns:xlink='http://www.w3.org/1999/xlink'\n\ … … 1832 1831 Color[4]='Fuchsia';\n\ 1833 1832 Color[5]='Red';\n\ 1834 Color[6]='yellow';\n\ 1835 var max_num_points = 120;\n\ 1833 Color[6]='cyan';\n\ 1834 Color[7]='yellow';\n\ 1835 Color[8]='purple';\n\ 1836 Color[9]='black';\n\ 1837 var max_num_points = 240;\n\ 1836 1838 var step = 600 / max_num_points ;\n\ 1837 1839 var fetch_url='';\n\
Note:
See TracChangeset
for help on using the changeset viewer.