Maybe I missed something important but why is function template_build_poster_div() (related file is Display.template.php) build using a concatenated string $poster_div = .'blablabla'...
function template_build_poster_div($message, $ignoring)
{
global $context, $settings, $options, $txt, $scripturl, $modSettings;
$poster_div = '';
// Show information about the poster of this message.
$poster_div .= '
<ul class="dropmenu">
<li>';
I think it's far better readable to just echo the output than to write the whole html into a concatenated string and do a return at the end?
function template_build_poster_div($message, $ignoring)
{
global $context, $settings, $options, $txt, $scripturl, $modSettings;
// Show information about the poster of this message.
echo '
<ul class="dropmenu">
<li>';