summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/wizard.php
diff options
context:
space:
mode:
authorheper <heper@users.noreply.github.com>2015-12-22 00:38:19 +0100
committerStephen Beaver <sbeaver@netgate.com>2015-12-23 07:51:58 -0500
commit124a6adc57f65dd13ec3f132826fd605a603428e (patch)
treee3fcc2a654bee4bbd92f1a6bcb0d8cbb6e6c6ff7 /src/usr/local/www/wizard.php
parentb76cb978611ce1ebe776685536a23c0dfcca5ed9 (diff)
downloadpfsense-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.php4
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'] != "") { ?>
OpenPOWER on IntegriCloud