#11 webif.cgi

closed-accepted
nobody
None
5
2010-08-24
2010-08-19
amd-65
No

- webif.cgi muß functions.sh einbinden (für is_fwservice_port usw.)
- Checkbox für 'Allow WAN web management' wird falsch belegt

[code]
--- webif.cgi (Revision 109)
+++ webif.cgi (Arbeitskopie)
@@ -3,6 +3,7 @@
action=0

. ./login.cgi
+. ./functions.sh

f_pfad="Administration / Web interface"
f_name="Web interface"
@@ -48,7 +49,7 @@
http_port=`/bin/nvram get http_port`
[ "$http_port" = "Failed" ] && http_port="80"

-is_fwservice_port "tcp" "$http_port" && fw_wan_web_off='checked="checked"' || fw_wan_web_on='checked="checked"'
+is_fwservice_port "tcp" "$http_port" && fw_wan_web_on='checked="checked"' || fw_wan_web_off='checked="checked"'

cat <<HTML
Content-type: text/html
[/code]

Discussion

  • Patrick Schmidt

    Patrick Schmidt - 2010-08-24

    Ja hatte ich auch heute festgestellt, danke!

     
  • Patrick Schmidt

    Patrick Schmidt - 2010-08-24
    • status: open --> closed-accepted
     

Log in to post a comment.