diff options
author | heper <heper@users.noreply.github.com> | 2015-12-22 00:38:19 +0100 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-12-23 07:51:58 -0500 |
commit | 124a6adc57f65dd13ec3f132826fd605a603428e (patch) | |
tree | e3fcc2a654bee4bbd92f1a6bcb0d8cbb6e6c6ff7 /src/usr/local/www/wizard.php | |
parent | b76cb978611ce1ebe776685536a23c0dfcca5ed9 (diff) | |
download | pfsense-124a6adc57f65dd13ec3f132826fd605a603428e.zip pfsense-124a6adc57f65dd13ec3f132826fd605a603428e.tar.gz |
Bug #5527 wizard breadcrumb Concept
This would require some minor adjustments to the wizards xml , for it to make sense everywhere.
Diffstat (limited to 'src/usr/local/www/wizard.php')
-rw-r--r-- | src/usr/local/www/wizard.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/wizard.php b/src/usr/local/www/wizard.php index e88b034..9914c5b 100644 --- a/src/usr/local/www/wizard.php +++ b/src/usr/local/www/wizard.php @@ -214,8 +214,8 @@ do { } } while ($oldstepid != $stepid); -$pgtitle = array($title); -$notitle = true; +$pgtitle = array(gettext("Wizard"), gettext($pkg['step'][0]['title'])); //First step is main title of the wizard in the breadcrumb +$pgtitle[] = ($stepid > 0 ? gettext($pkg['step'][$stepid]['title']):''); //Following steps are sub-level breadcrumbs. include("head.inc"); if ($pkg['step'][$stepid]['fields']['field'] != "") { ?> |