Re: [OpenWrt-Devel] Luci XML error

2011-01-21 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've pushed a fix which should hopefully solve the problem: http://luci.subsignal.org/trac/changeset/6779 Revert the pcdata change and try the above one instead. ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Usi

Re: [OpenWrt-Devel] Luci XML error

2011-01-21 Thread Hanno Schupp
While it solves a problem it also creates one by reeking havoc with some standard menu entries, which have html tags embedded like so: Sy stem System Software Admin Password SSH-Keys Processes LED Configuration Backup /

Re: [OpenWrt-Devel] Luci XML error

2011-01-21 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Well its not new but more commonly used. The pcdata() function sanitizes UTF-8 and escapes XML special chars so it basically guarantees that text filtered through it cannot break the document. I'll add it to the docs later. ~ Jow -BEGIN PGP SIGNAT

Re: [OpenWrt-Devel] Luci XML error

2011-01-21 Thread Hanno Schupp
That does the trick. Is pcdata a new formatting function? Something for the new documentation? Thank you for your help. -Original Message- From: openwrt-devel-boun...@lists.openwrt.org [mailto:openwrt-devel-boun...@lists.openwrt.org] On Behalf Of Jo-Philipp Wich Sent: Saturday, 22 Januar

Re: [OpenWrt-Devel] Luci XML error

2011-01-21 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Try replacing <%=nnode.title%> with <%=pcdata(nnode.title)%> ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk054isACgkQdputYINPTPMF1QCfb87PNt

Re: [OpenWrt-Devel] Luci XML error

2011-01-21 Thread Hanno Schupp
Here goes. Nothing to fancy, just added a few more status field in the header. Worked like a charm in 0.9 Saw your new documentation for 0.10 by the way. Very useful. Much appreciated. <%# LuCI - Lua Configuration Interface Copyright 2008 Steven Barth Copyright 2008 Jo-Philipp Wich Licen

Re: [OpenWrt-Devel] Luci XML error

2011-01-21 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, there is no such html in the official themes, is this with a custom header.htm? If yes, would you mind to show it to me? It looks like its missing a pcdata() call somewhere. ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) C

[OpenWrt-Devel] Luci XML error

2011-01-21 Thread Hanno Schupp
When adding a wifi network interface in backfire I get the fllowing XML error in Luci with Firefox: XML Parsing Error: not well-formed Location: http://192.168.2.209/cgi-bin/luci/;stok=3142c2413efe706d6b58d124c48866e2/admin/network/wireless/ Line Number 132, Column 138:Save & Apply ---

Re: [OpenWrt-Devel] [patch] ticket #8241 necessary to compile 2.6.37 for Orion

2011-01-21 Thread Matthias Buecher / Germany
Anyone please? Maddes On 07.01.2011 00:44, Matthias Buecher / Germany wrote: > Hi developers, > > can someone please commit the patch of ticket #8241 [1] to trunk. > The patch is needed to compile Orion with new kernel release 2.6.37. > Tried to contact Imre several times but got no reply. > The

[OpenWrt-Devel] bug: lantiq (ralink) multi ssid bug

2011-01-21 Thread Christian Mehlis
i'm using one of the new lantiq routers (lantiq-xway-ARV452), now (with the patch from blogic) the wifi works with one ssid. the problem comes with two ssids, the first one always produces strange behavior: my setup on the lantiq: config wifi-device wlan0 option type mac80211

[OpenWrt-Devel] [PATCH] madwifi.sh destroy athX when use wpa_supplicant

2011-01-21 Thread Skryabin Dmitry
Hi all! backfire r25056 I use madwifi + wpa_supplicant cut of wpa_supplicant-mini.config & wpa_supplicant.config # Driver interface for madwifi driver # Deprecated; use CONFIG_DRIVER_WEXT=y instead. # CONFIG_DRIVER_MADWIFI=y This option kill athX interface after startup Here little change in mad