Menu: Move about page into the system menu as sub-entry

This commit is contained in:
Johannes Meyer 2015-06-16 11:43:58 +02:00
parent 42de13a2b9
commit aa0b1d43ef
1 changed files with 4 additions and 5 deletions

View File

@ -237,6 +237,10 @@ class Menu implements RecursiveIterator
'priority' => 700,
'renderer' => 'ProblemMenuItemRenderer'
));
$section->add(t('About'), array(
'url' => 'about',
'priority' => 701
));
if (Logger::writesToFile()) {
$section->add(t('Application Log'), array(
'url' => 'list/applicationlog',
@ -279,11 +283,6 @@ class Menu implements RecursiveIterator
'priority' => 990,
'renderer' => 'ForeignMenuItemRenderer'
));
$this->add(t('About'), array(
'url' => 'about',
'priority' => 1000
));
}
}