From 42f1649fbb4b90f6e2e1cfb78ab7b7acb744d776 Mon Sep 17 00:00:00 2001 From: Erik Fonnesbeck Date: Sat, 10 Jul 2010 13:46:25 -0600 Subject: 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. --- usr/local/www/wizard.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/usr/local/www/wizard.php b/usr/local/www/wizard.php index 800bf30..540236c 100755 --- a/usr/local/www/wizard.php +++ b/usr/local/www/wizard.php @@ -158,6 +158,9 @@ function update_config_field($field, $updatetext, $unset, $arraynum, $field_type eval($text); } +$title = preg_replace("/pfSense/i", $g['product_name'], $pkg['step'][$stepid]['title']); +$description = preg_replace("/pfSense/i", $g['product_name'], $pkg['step'][$stepid]['description']); + // handle before form display event. do { $oldstepid = $stepid; -- cgit v1.1