Re: Anzeigefehler (%d neue Nachrichten)
Verfasst: 16.03.2016 15:10
Ich habe beide Dateien ins Pastebin hochgeladen
Code: Alles auswählen
----------------------
Funktion Page header
----------------------
/**
* Generate page header
*/
function page_header($page_title = '', $display_online_list = true, $item_id = 0, $item = 'forum')
{
global $db, $config, $template, $SID, $_SID, $_EXTRA_URL, $user, $auth, $phpEx, $phpbb_root_path;
if (defined('HEADER_INC'))
{
return;
}
define('HEADER_INC', true);
// gzip_compression
if ($config['gzip_compress'])
{
// to avoid partially compressed output resulting in blank pages in
// the browser or error messages, compression is disabled in a few cases:
//
// 1) if headers have already been sent, this indicates plaintext output
// has been started so further content must not be compressed
// 2) the length of the current output buffer is non-zero. This means
// there is already some uncompressed content in this output buffer
// so further output must not be compressed
// 3) if more than one level of output buffering is used because we
// cannot test all output buffer level content lengths. One level
// could be caused by php.ini output_buffering. Anything
// beyond that is manual, so the code wrapping phpBB in output buffering
// can easily compress the output itself.
//
if (@extension_loaded('zlib') && !headers_sent() && ob_get_level() <= 1 && ob_get_length() == 0)
{
ob_start('ob_gzhandler');
}
}
Code: Alles auswählen
------------------------
language/de/common.php
------------------------
'NEW_MESSAGE' => 'Neue Nachricht',
'NEW_MESSAGES' => 'Neue Nachrichten',
'NEW_PM' => '<strong>%d</strong> neue Nachricht',
'NEW_PMS' => '<strong>%d</strong> neue Nachrichten',