cleanup admin title
This commit is contained in:
parent
d607508135
commit
39cd9161e1
1 changed files with 11 additions and 4 deletions
15
index.php
15
index.php
|
@ -415,10 +415,17 @@ $core->callBehavior('translaterAdminHeaders');
|
|||
|
||||
echo
|
||||
'</head>
|
||||
<body><h2>' . __('Translater') . ' › ' . $title .
|
||||
' - <a class="button" href="' . $p_url . '&part=modules&type=plugin">' . __('Plugins') . '</a>' .
|
||||
' - <a class="button" href="' . $p_url . '&part=modules&type=theme">' . __('Themes') . '</a>' .
|
||||
' - <a class="button" href="' . $p_url . '&part=pack">' . __('Import/Export') . '</a>' .
|
||||
<body><h2>' . __('Translater') . ' › ' . $title;
|
||||
if ($part == 'pack' || $type != 'plugin') {
|
||||
echo ' / <a href="' . $p_url . '&part=modules&type=plugin">' . __('Plugins') . '</a>';
|
||||
}
|
||||
if ($part == 'pack' || $type != 'theme') {
|
||||
echo ' / <a href="' . $p_url . '&part=modules&type=theme">' . __('Themes') . '</a>';
|
||||
}
|
||||
if ($part != 'pack') {
|
||||
echo ' / <a href="' . $p_url . '&part=pack">' . __('Import/Export') . '</a>';
|
||||
}
|
||||
echo
|
||||
'</h2>';
|
||||
|
||||
if (isset($succes[$msg])) {
|
||||
|
|
Loading…
Reference in a new issue