cleanup admin title

master
Jean-Christian Paul Denis 2021-08-19 22:53:00 +02:00
parent d607508135
commit 39cd9161e1
1 changed files with 11 additions and 4 deletions

View File

@ -415,10 +415,17 @@ $core->callBehavior('translaterAdminHeaders');
echo
'</head>
<body><h2>' . __('Translater') . ' &rsaquo; ' . $title .
' - <a class="button" href="' . $p_url . '&amp;part=modules&amp;type=plugin">' . __('Plugins') . '</a>' .
' - <a class="button" href="' . $p_url . '&amp;part=modules&amp;type=theme">' . __('Themes') . '</a>' .
' - <a class="button" href="' . $p_url . '&amp;part=pack">' . __('Import/Export') . '</a>' .
<body><h2>' . __('Translater') . ' &rsaquo; ' . $title;
if ($part == 'pack' || $type != 'plugin') {
echo ' / <a href="' . $p_url . '&amp;part=modules&amp;type=plugin">' . __('Plugins') . '</a>';
}
if ($part == 'pack' || $type != 'theme') {
echo ' / <a href="' . $p_url . '&amp;part=modules&amp;type=theme">' . __('Themes') . '</a>';
}
if ($part != 'pack') {
echo ' / <a href="' . $p_url . '&amp;part=pack">' . __('Import/Export') . '</a>';
}
echo
'</h2>';
if (isset($succes[$msg])) {