Revision d190da6a
Added by Stephen Beaver almost 10 years ago
src/usr/local/www/wizard.php | ||
---|---|---|
70 | 70 |
require_once("rrd.inc"); |
71 | 71 |
require_once("system.inc"); |
72 | 72 |
|
73 |
// This causes the step #, filed type and field name to be printed at hte top of the page |
|
74 |
define(DEBUG, false); |
|
75 |
|
|
73 | 76 |
function gentitle_pkg($pgname) { |
74 | 77 |
global $config; |
75 | 78 |
return $config['system']['hostname'] . "." . $config['system']['domain'] . " - " . $pgname; |
... | ... | |
517 | 520 |
eval($toeval); |
518 | 521 |
} |
519 | 522 |
|
520 |
// print('Step: ' . $pkg['step'][$stepid]['id'] . ', Field: ' . $field['type'] . '<br />'); |
|
523 |
|
|
524 |
if(DEBUG) { |
|
525 |
print('Step: ' . $pkg['step'][$stepid]['id'] . ', Field: ' . $field['type'] . ', Name: ' . $name . '<br />'); |
|
526 |
} |
|
527 |
|
|
521 | 528 |
switch ($field['type']) { |
522 | 529 |
case "input": |
523 | 530 |
if ($field['displayname']) { |
... | ... | |
697 | 704 |
|
698 | 705 |
$etitle = (fixup_string($field['displayname']) ? $field['displayname'] : $field['name']); |
699 | 706 |
|
700 |
echo "<select id='{$name}' name='{$name}' {$size}>\n"; |
|
701 |
|
|
702 | 707 |
if ($field['add_to_cert_selection'] != "") { |
703 | 708 |
if ($field['add_to_cert_selection'] == $value) { |
704 | 709 |
array_push($selected, $value); |
Also available in: Unified diff
Fixed #5316