Changeset 12351
- Timestamp:
- 06/22/09 07:27:37 (4 years ago)
- Location:
- src/router/httpd/visuals
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/router/httpd/visuals/dd-wrt.c
r12326 r12351 7141 7141 { 7142 7142 7143 if (nvram_match("wan_proto", "disabled") || !nvram_match("wl_mode", "ap")) // WAN7143 if (nvram_match("wan_proto", "disabled") || getSTA() || getWET()) // WAN 7144 7144 // disabled 7145 7145 // OR -
src/router/httpd/visuals/ejs.c
r12293 r12351 580 580 } 581 581 #endif 582 if (!strcmp(name, "WET")) { 583 if (getWET()) 584 websWrite(wp, output); 585 return; 586 } 587 if (!strcmp(name, "STA")) { 588 if (getSTA()) 589 websWrite(wp, output); 590 return; 591 } 582 592 583 593 return; … … 692 702 } 693 703 // end HAVE_HASWIFI 694 704 if (!strcmp(name, "WET")) { 705 if (getWET()) 706 return; 707 } 708 695 709 websWrite(wp, output); 696 710 … … 1941 1955 int wan_link; 1942 1956 1943 if (nvram_match("wl0_mode", "wet") 1944 || nvram_match("wl0_mode", "apstawet") 1945 || nvram_match("wl1_mode", "wet") 1946 || nvram_match("wl1_mode", "apstawet") 1947 || nvram_match("wan_proto", "disabled")) { 1957 if (getWET() || nvram_match("wan_proto", "disabled")) { 1948 1958 websWrite(wp, ": %s", live_translate("share.disabled")); 1949 1959 return;
Note: See TracChangeset
for help on using the changeset viewer.
