Commit Graph

143 Commits

Author SHA1 Message Date
Phil Davis
6317d31dfc Fix lineup of copyright lines
and module names and other bits of formatting and typos in header
comment sections.
2015-01-01 10:13:14 -02:00
Renato Botelho
d961e7e33e Welcome 2015 2014-12-31 16:22:27 -02:00
Jim Thompson
dd447bde2b modify copyright statement to reflect reality 2014-11-10 22:49:50 -06:00
Renato Botelho
bc53fec62d Use SERVER_NAME instead of HTTP_HOST env var, it doesn't have port, then it avoids wizard end point to wrong IPv6 address. It should fix #3550 2014-07-22 16:39:43 -03:00
Colin Fleming
1b244d3828 Update SCRIPT tags.
Add CDATA sections to SCRIPT tags in various files
2014-05-19 23:49:31 +01:00
Colin Fleming
c5a12cde1f Tidy up "wizard.php" XHTML
Update HTML Boolean Operator
Remove duplicate closing TD tag
2014-05-08 20:15:47 +01:00
Ermal
1b34f8a73f Add require_once where needed to avoid redeclaration from nested includes 2014-03-20 19:26:41 +00:00
ayvis
8cd558b61b xhtml Compliance
replaced <br>, <br/> and </br> with <br />
2014-03-14 21:24:03 +01:00
Renato Botelho
605ae5537d Fix #3127
By default htmlspecialchars does not consider single quotes, what can be
a problem when value attribute is set using it. Replace value attribute
set to use double quotes on places where it's obviously recieving a
result of htmlspecialchars() call.
2013-09-06 08:08:03 -03:00
jim-p
f6339216b7 s/require/require_once/g for filter.inc to avoid redeclaration errors in some rare cases. 2013-08-28 13:54:30 -04:00
Renato Botelho
e22e834d63 When <disableallfieldsbydefault> is set on a wizard, call enablechange(), disablechange() and showchange() after disableall() functions to avoid issues when it was previously enabled and fields have values 2013-04-23 12:40:31 -03:00
Renato Botelho
1e2d831c17 Fix whitespace and indent 2013-04-23 12:16:58 -03:00
Colin Fleming
6a11423f44 Tidy up "wizard.php" XHTML
Added "closehead" variable
Moved LINK to HEAD statement and add TYPE parameter"
Closed HEAD statement manually
Added CDATA sections to SCRIPT tags
Closed INPUT, IMG and BR tags and added ALT parameter to IMG tags
Removed duplicate class in INPUT tag
Updated HTML boolean operators
2013-04-08 20:06:11 +01:00
jim-p
8ec9cba4b9 Still more encoding... 2012-10-31 16:05:33 -04:00
ccesario
cf1d594741 Fix typo 2012-07-01 19:47:21 -03:00
ccesario
4dc8f32e3d Change ereg_replace() to preg_replace() function 2012-07-01 19:45:07 -03:00
smos
cfbfd9412b The function split() is replaced by the function explode(). Starting with PHP 5.3 this is deprecated and with version 6 gone.
Replacing it surpresses all the warnings
2012-01-19 20:33:41 +01:00
Vinicius Coque
ea1cea05ee Converting javascript code from prototype to jQuery 2011-10-24 20:34:39 -02:00
Erik Fonnesbeck
0bee20108d Save the host name and domain to a temporary location until the setup wizard is finished to prevent triggering the DNS rebind message. Fixes #1022 Also use this information to implement the redirect for changed host for ticket #455 2010-11-18 02:34:51 -07:00
Erik Fonnesbeck
b8d4d7cdc5 Handling this properly when the web gui is on an alternate port number. 2010-11-18 00:23:41 -07:00
Erik Fonnesbeck
6898927f4f Make this check more general in case someone makes a wizard that changes an opt interface's IP address and wants to use the "Reload in progress" step. Ticket #455 2010-11-17 20:00:05 -07:00
Erik Fonnesbeck
a219c64325 Add workaround for referrer check to not be triggered on the previous IP address when redirected by the setup wizard. 2010-11-17 08:35:30 -07:00
Erik Fonnesbeck
fd7f136b26 Redirect to the correct IP at the end of the setup wizard if accessing it on an IP address that was changed. Fixes #455 2010-11-17 07:01:19 -07:00
jim-p
9882cbef8e Use addslashes() here to prevent unescaped quotes from causing PHP errors. Fixes advanced/custom options in OpenVPN wizard. 2010-11-04 13:18:29 -04:00
Ermal
24b2aa62be Resolves #971. Fix wizard.php to show interface descriptive names. Pointy-hat: gnhb 2010-10-25 11:19:29 +00:00
jim-p
27319e173b Add a patch to wizard.php to support input_errors from sullrich (with some modifications). 2010-10-20 20:59:07 -04:00
jim-p
f2a86ca96f Rename 'name' to 'descr' for CA, Certificates, and CRLs, to gain CDATA protection and standardize field names. Ticket #320. 2010-10-19 14:19:44 -04:00
gnhb
389c778ec2 Update wizard files for setup wizard to write proper config for current ppp architecture.
I also allowed selection of physical interface from the wizard screen. This is crucial
because if the user has the WAN set to anything other than the same phyical interface used
by pppoe/pptp, the old wizard has no way of knowing what physical port to use, and the wizard
can generate a bad config. Feel free to expand the list of available interfaces in the dropdown
for interface selection.
2010-09-20 21:57:13 +07:00
jim-p
4e990e1e20 CA/CERT Move 2010-09-01 15:18:44 -04:00
Ermal
9401767007 Resolves #732. Make the wizard behave better and _actually_ work by correcting typos in code. Make it faster by not using HTTP redirection for showing errors. Try to make it more user friendly, though some more work is needed. 2010-08-18 19:28:57 +00:00
Renato Botelho
e73b001e25 Merge remote branch 'mainline/master'
Conflicts:
	usr/local/www/diag_smart.php
	usr/local/www/firewall_rules_edit.php
	usr/local/www/interfaces.php
	usr/local/www/load_balancer_pool_edit.php
	usr/local/www/pkg_mgr_settings.php
2010-08-12 12:55:32 -03:00
Renato Botelho
185b9fbd5b Add missing ) 2010-08-12 10:46:40 -03:00
Erik Fonnesbeck
3a3fb8eaba Fix printf/sprintf mixups. 2010-08-11 16:15:13 -06:00
Renato Botelho
381af65980 Small gettext() fixes 2010-08-11 14:11:26 -03:00
Carlos Eduardo Ramos
e2d86c0b71 Fix gettext implementation on wizard.php 2010-07-30 16:16:34 -03:00
Rafael Lucas
2ddac0943f Implement gettext() calls on wizard.php 2010-07-29 09:42:04 -03:00
Erik Fonnesbeck
42f1649fbb Restore the code for getting the step's title and description after the step ID is set so that it is read from the correct step. 2010-07-10 14:25:58 -06:00
Renato Botelho
fe4fc20bf0 Show $g['product_name'] on wizards 2010-07-07 10:32:24 -03:00
jim-p
ce6b39f25d Hide GMZ offset zones in setup wizard. Ticket #464 2010-06-25 11:29:12 -04:00
jim-p
b4eb3a1737 Check if a variable is set before trying to unset. Otherwise, this will blow up with $a[b][c] if $a[b] doesn't exist. 2010-06-17 12:16:25 -04:00
Ermal
ddc75a8069 Fix typo. 2010-06-11 12:29:29 +00:00
Ermal
a4f07557b4 Ticket #642. Fix logic for the wizard code to unset and arraynum usage. 2010-06-11 11:59:29 +00:00
Erik Fonnesbeck
60ce86ea1e For settings that exist in the configuration but are blank, only consider it true when associated with a checkbox. 2010-06-02 18:02:20 -06:00
Ermal
b554f7bf1e Fix logic. 2010-06-02 23:01:08 +00:00
Ermal
373a1e7b44 Ticket #493. Set a value for checkboxes since the parsers marks empty tags(<tag/>) as arrays. 2010-05-17 14:20:53 +00:00
Ermal
ba374e4b29 Ticket #493. Ticket #302. Actually correct code flow to be correct and consistent to what it should do. 2010-05-14 16:21:37 +00:00
jim-p
c062a71114 Fix wizard handling of password fields. Ticket #500. 2010-04-12 15:00:16 -04:00
Erik Fonnesbeck
3f394d09e3 Ticket #313. Use $myurl when calling fixup_string to get the URL for the image link. 2010-03-20 07:43:21 -06:00
Ermal
40050fabb4 Use alias style when creating aliases in wizards. 2010-03-19 17:35:59 +00:00
Ermal
1ae5532038 Add the counterpart of enablefields. 2010-03-18 17:04:01 +00:00