summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/wizard.php
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2015-10-19 13:42:41 -0400
committerStephen Beaver <sbeaver@netgate.com>2015-10-19 13:43:37 -0400
commitd190da6abcdfef67a978192645edf7656eae9f5c (patch)
treec9f957faa5d0134ada3b5062cf8deff10752bb10 /src/usr/local/www/wizard.php
parentfce93905bf73265546803ca961fc60135a8b95a9 (diff)
downloadpfsense-d190da6abcdfef67a978192645edf7656eae9f5c.zip
pfsense-d190da6abcdfef67a978192645edf7656eae9f5c.tar.gz
Fixed #5316
Diffstat (limited to 'src/usr/local/www/wizard.php')
-rw-r--r--src/usr/local/www/wizard.php11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/usr/local/www/wizard.php b/src/usr/local/www/wizard.php
index 5739c51..d1b449e 100644
--- a/src/usr/local/www/wizard.php
+++ b/src/usr/local/www/wizard.php
@@ -70,6 +70,9 @@ require("shaper.inc");
require_once("rrd.inc");
require_once("system.inc");
+// This causes the step #, filed type and field name to be printed at hte top of the page
+define(DEBUG, false);
+
function gentitle_pkg($pgname) {
global $config;
return $config['system']['hostname'] . "." . $config['system']['domain'] . " - " . $pgname;
@@ -517,7 +520,11 @@ if ($pkg['step'][$stepid]['fields']['field'] != "") {
eval($toeval);
}
-// print('Step: ' . $pkg['step'][$stepid]['id'] . ', Field: ' . $field['type'] . '<br />');
+
+ if(DEBUG) {
+ print('Step: ' . $pkg['step'][$stepid]['id'] . ', Field: ' . $field['type'] . ', Name: ' . $name . '<br />');
+ }
+
switch ($field['type']) {
case "input":
if ($field['displayname']) {
@@ -697,8 +704,6 @@ if ($pkg['step'][$stepid]['fields']['field'] != "") {
$etitle = (fixup_string($field['displayname']) ? $field['displayname'] : $field['name']);
- echo "<select id='{$name}' name='{$name}' {$size}>\n";
-
if ($field['add_to_cert_selection'] != "") {
if ($field['add_to_cert_selection'] == $value) {
array_push($selected, $value);
OpenPOWER on IntegriCloud