| Aw:: doppelter Zeilensprung Xoops 2.3.3 News 1.63 |
Betreff: Aw:: doppelter Zeilensprung Xoops 2.3.3 News 1.63 von Axxxxxl am 31.03.2009 11:47:55 Die Lösung ist nahe: Über der Vorschau des Beitrages mit der fehlerhaften Formatierung steht immer:
Notice: Function 'themecenterposts' in '/var/www/.../include/old_theme_functions.php' is deprecated, should not be used any more in /var/www/.../include/old_theme_functions.php on line 57
Und die besagte Funktion in dieser Datei lautet:
if (!function_exists('themecenterposts')) { function themecenterposts($title, $content) { trigger_error("Function '" . __FUNCTION__ . "' in '" . __FILE__ . "' is deprecated, should not be used any more", E_USER_NOTICE); echo '<table cellpadding="4" cellspacing="1" width="98%" class="outer"><tr><td class="head">'.$title.'</td></tr><tr><td><br />'.$content.'<br /></td></tr></table>'; }
Das erklärt also, wo die Zeilenumbrüche herkommen, wenn man die <br /> tags vor und nach der Variable "content" betrachtet. Nur weiß ich bisher nicht, woher diese Funktion aufgerufen wird. Im Kopf der Datei steht noch:
// These are needed when viewing old modules (that don't use Smarty template files) when a theme that use Smarty templates are selected. // function_exists check is needed for inclusion from the admin side
|