7 Commits

Author SHA1 Message Date
Franco Fichtner
5585e10967 src: strip gettext() from write_config(); closes #1158 2016-08-29 09:18:17 +02:00
Franco Fichtner
2108673851 inc: shift more functions to their rightful place 2016-06-18 12:08:10 +02:00
Franco Fichtner
7f75ddb851 www: eradiacate print_info_box_np() for #444 2015-10-31 23:35:17 +01:00
Franco Fichtner
62e7fd2834 wizard: more "improvements"
o Remove a subtype of <includefile/> to reduce feature bloat
o Select 32 bit subnet (host) as a suggestion
o Never skip LAN and make it optional instead
o Fix regression of $xml passing
o Fix voodoo on Static
2015-09-25 17:47:07 +02:00
Franco Fichtner
1370b96d6c wizard: improve WAN/LAN setup
Not sure why "Static" should be special.  Skipping over LAN setup
is ok, skipping over admin password change is NOT.
2015-09-25 12:20:24 +02:00
Franco Fichtner
904029d15c wizard: improve IP validation
JS regex validation should die, but so should this wizard so
just touch up on the subject of IP validation, improving:

o Allow leading zeros
o Fail on x.x.x.0
2015-09-25 12:20:24 +02:00
Franco Fichtner
f5eb5ea80e wizard: some sanity improvements
o We could potentially pass files using xml=../../xxx, so just
  hardcode the wizards we know for now.  I don't expect them to
  grow, otherwise we may be able to do a directory expand.

o Move xml files out of the /usr/local/www/wizards into /usr/local/wizard.

o Move the include file to the normal include path /usr/local/etc/inc.

o Allow the menu to always expand to the setup wizard, even though
  we many be triggering the OpenVPN wizard.  This gives a consistent
  feel of navigation, especially since POST requests hide the invoked
  wizard later on anyway.
2015-09-25 11:20:15 +02:00