Skip to content

Commit 73f2c35

Browse files
cconard96cedric-anne
authored andcommitted
fix config page breadcrumbs
1 parent ea80d69 commit 73f2c35

1 file changed

Lines changed: 3 additions & 17 deletions

File tree

front/config.form.php

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -35,26 +35,12 @@
3535
if (isset($_POST["update"])) {
3636
$config->update($_POST);
3737
Html::back();
38-
3938
} else {
40-
4139
if (Plugin::isPluginActive("treeview")) {
42-
43-
Html::header(PluginTreeviewConfig::getTypeName(),
44-
$_SERVER['PHP_SELF'],
45-
"plugins",
46-
"plugintreeviewpreference",
47-
"config");
40+
Html::header(PluginTreeviewConfig::getTypeName(), $_SERVER['PHP_SELF'], "config", "plugin");
4841
$config->showForm(1);
49-
5042
} else {
51-
52-
Html::header(__('Setup'),
53-
$_SERVER['PHP_SELF'],
54-
"plugins",
55-
"plugintreeviewpreference",
56-
"config");
57-
43+
Html::header(__('Setup'), $_SERVER['PHP_SELF'], "config", "plugin");
5844
// Get the configuration from the database and show it
5945
echo " <script type='text/javascript'>
6046
if (top != self)
@@ -63,4 +49,4 @@
6349
}
6450
}
6551

66-
Html::footer();
52+
Html::footer();

0 commit comments

Comments
 (0)