Changeset 32105 for titan/titan/httpdfunc.h
- Timestamp:
- 01/05/15 16:22:24 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/httpdfunc.h
r32082 r32105 760 760 { 761 761 buf = ostrcat(buf, "<html><head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"><link rel=stylesheet type=text/css href=titan.css></head><body class=body><center>", 1, 0); 762 if( vol >=10)762 if((vol >=10) && (status.mute != 1)) 763 763 buf = ostrcat(buf, "<a href=query?setvol&10><img src=img/led_on.png border=0></img></a> ", 1, 0); 764 764 else 765 765 buf = ostrcat(buf, "<a href=query?setvol&10><img src=img/led_off.png border=0></img></a> ", 1, 0); 766 if( vol >=20)766 if((vol >=20) && (status.mute != 1)) 767 767 buf = ostrcat(buf, "<a href=query?setvol&20><img src=img/led_on.png border=0></img></a> ", 1, 0); 768 768 else 769 769 buf = ostrcat(buf, "<a href=query?setvol&20><img src=img/led_off.png border=0></img></a> ", 1, 0); 770 if( vol >=30)770 if((vol >=30) && (status.mute != 1)) 771 771 buf = ostrcat(buf, "<a href=query?setvol&30><img src=img/led_on.png border=0></img></a> ", 1, 0); 772 772 else 773 773 buf = ostrcat(buf, "<a href=query?setvol&30><img src=img/led_off.png border=0></img></a> ", 1, 0); 774 if( vol >=40)774 if((vol >=40) && (status.mute != 1)) 775 775 buf = ostrcat(buf, "<a href=query?setvol&40><img src=img/led_on.png border=0></img></a> ", 1, 0); 776 776 else 777 777 buf = ostrcat(buf, "<a href=query?setvol&40><img src=img/led_off.png border=0></img></a> ", 1, 0); 778 if( vol >=50)778 if((vol >=50) && (status.mute != 1)) 779 779 buf = ostrcat(buf, "<a href=query?setvol&50><img src=img/led_on.png border=0></img></a> ", 1, 0); 780 780 else 781 781 buf = ostrcat(buf, "<a href=query?setvol&50><img src=img/led_off.png border=0></img></a> ", 1, 0); 782 if( vol >=60)782 if((vol >=60) && (status.mute != 1)) 783 783 buf = ostrcat(buf, "<a href=query?setvol&60><img src=img/led_on.png border=0></img></a> ", 1, 0); 784 784 else 785 785 buf = ostrcat(buf, "<a href=query?setvol&60><img src=img/led_off.png border=0></img></a> ", 1, 0); 786 if( vol >=70)786 if((vol >=70) && (status.mute != 1)) 787 787 buf = ostrcat(buf, "<a href=query?setvol&70><img src=img/led_on.png border=0></img></a> ", 1, 0); 788 788 else 789 789 buf = ostrcat(buf, "<a href=query?setvol&70><img src=img/led_off.png border=0></img></a> ", 1, 0); 790 if( vol >=80)790 if((vol >=80) && (status.mute != 1)) 791 791 buf = ostrcat(buf, "<a href=query?setvol&80><img src=img/led_on.png border=0></img></a> ", 1, 0); 792 792 else 793 793 buf = ostrcat(buf, "<a href=query?setvol&80><img src=img/led_off.png border=0></img></a> ", 1, 0); 794 if( vol >=90)794 if((vol >=90) && (status.mute != 1)) 795 795 buf = ostrcat(buf, "<a href=query?setvol&90><img src=img/led_on.png border=0></img></a> ", 1, 0); 796 796 else 797 797 buf = ostrcat(buf, "<a href=query?setvol&90><img src=img/led_off.png border=0></img></a> ", 1, 0); 798 if( vol >=100)798 if((vol >=100) && (status.mute != 1)) 799 799 buf = ostrcat(buf, "<a href=query?setvol&100><img src=img/led_on.png border=0></img></a> ", 1, 0); 800 800 else … … 4734 4734 char* tmpstr2 = NULL; 4735 4735 struct splitstr* ret2 = NULL; 4736 tmpstr = ostrcat("10\n40\n50\n60\n70\n80\n90\n99\n100\n130\n150\n200\n250\n270\n300\n400\n 900\n1000", NULL, 0, 0);4737 tmpstr2 = ostrcat(" - Minimal\n - TopfieldVFD\n - MediaCenter\n - Menulist\n - Network Browser\n - Harddisk\n - Screensaver\n - Tithek\n - Global\n - TPK\n - ePlayer\n - Tuning\n - Stream/Record/Softcam\n - EPG\n - Radiotext\n - Subtitle\n - Mutex\n - Function", NULL, 0, 0);4736 tmpstr = ostrcat("10\n40\n50\n60\n70\n80\n90\n99\n100\n130\n150\n200\n250\n270\n300\n400\n500\n900\n1000", NULL, 0, 0); 4737 tmpstr2 = ostrcat(" - Minimal\n - TopfieldVFD\n - MediaCenter\n - Menulist\n - Network Browser\n - Harddisk\n - Screensaver\n - Tithek\n - Global\n - TPK\n - ePlayer\n - Tuning\n - Stream/Record/Softcam\n - EPG\n - Radiotext\n - Subtitle\n - Scan\n - Mutex\n - Function", NULL, 0, 0); 4738 4738 4739 4739 ostrcatbig(&buf, "<tr><td><font class=\"label\">", &maxlen, &pos);
Note: See TracChangeset
for help on using the changeset viewer.