Changeset 31893
- Timestamp:
- 12/21/14 13:25:38 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/httpdfunc.h
r31858 r31893 3880 3880 sendstr = ostrcat(sendstr, ", dirsort.value", 1 , 0); 3881 3881 3882 /////////////////// 3882 ///////////////////rcpower 3883 3883 ostrcatbig(&buf, "<tr><td><font class=\"label\">", &maxlen, &pos); 3884 3884 ostrcatbig(&buf, _("Power aktion"), &maxlen, &pos); … … 3922 3922 ostrcatbig(&buf,"</select></td></tr>", &maxlen, &pos); 3923 3923 sendstr = ostrcat(sendstr, ", poweraktion.value", 1 , 0); 3924 3925 ///////////////////frontpower 3926 ostrcatbig(&buf, "<tr><td><font class=\"label\">", &maxlen, &pos); 3927 ostrcatbig(&buf, _("Frontpanel Power Aktion"), &maxlen, &pos); 3928 ostrcatbig(&buf, " </font></td><td><select name=\"frontpoweraktion\" border=\"0\">", &maxlen, &pos); 3929 3930 if(getconfigint("frontpoweraktion", NULL) == 1) 3931 ostrcatbig(&buf, "<option value=\"1\" selected>", &maxlen, &pos); 3932 else 3933 ostrcatbig(&buf, "<option value=\"1\">", &maxlen, &pos); 3934 ostrcatbig(&buf, _("Power Off"), &maxlen, &pos); 3935 ostrcatbig(&buf, "</option>", &maxlen, &pos); 3936 3937 if(getconfigint("frontpoweraktion", NULL) == 2) 3938 ostrcatbig(&buf, "<option value=\"2\" selected>", &maxlen, &pos); 3939 else 3940 ostrcatbig(&buf, "<option value=\"2\">", &maxlen, &pos); 3941 ostrcatbig(&buf, _("Standby"), &maxlen, &pos); 3942 ostrcatbig(&buf, "</option>", &maxlen, &pos); 3943 3944 ostrcatbig(&buf,"</select></td></tr>", &maxlen, &pos); 3945 sendstr = ostrcat(sendstr, ", frontpoweraktion.value", 1 , 0); 3924 3946 3925 3947 ///////////////////
Note: See TracChangeset
for help on using the changeset viewer.