MyXoops Forum

Forum - myXOOPS German Support

0 + 7 = ?  
Geben Sie das Ergebnis der Berechnung ein
Sie haben max. 10 Versuche.
 
* = Erforderlich

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 deprecatedshould 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

Aktuell aus dem Forum

Forum Thema Antworten Views Letzter Beitrag
Modulentwicklung New Xoops Xcreate Module 0 5326 26.11.2025 15:22
efkan Gehe zum letzten Beitrag
Modulentwicklung XOOPS Custom Field Module 1 1813 24.11.2025 11:21
Goffy Gehe zum letzten Beitrag