Project

General

Profile

« Previous | Next » 

Revision c31dacf2

Added by Renato Botelho almost 8 years ago

Set title and description after $stepid changes

View differences:

src/usr/local/www/wizard.php
72 72
	die;
73 73
}
74 74

  
75
$title	   = preg_replace("/pfSense/i", $g['product_name'], $pkg['step'][$stepid]['title']);
76
$description = preg_replace("/pfSense/i", $g['product_name'], $pkg['step'][$stepid]['description']);
77
$totalsteps	 = $pkg['totalsteps'];
75
$totalsteps = $pkg['totalsteps'];
78 76

  
79 77
if ($pkg['includefile']) {
80 78
	require_once($pkg['includefile']);
......
125 123
	}
126 124
}
127 125

  
126
$title = preg_replace("/pfSense/i", $g['product_name'], $pkg['step'][$stepid]['title']);
127
$description = preg_replace("/pfSense/i", $g['product_name'], $pkg['step'][$stepid]['description']);
128

  
128 129
function update_config_field($field, $updatetext, $unset, $arraynum, $field_type) {
129 130
	global $config;
130 131
	$field_split = explode("->", $field);

Also available in: Unified diff