![]() |
Re: [PHP] Zeilenumbrüche
Ich glaube, es geht jetzt mit einer anderen Lösung.
|
Re: [PHP] Zeilenumbrüche
Zitat:
|
Re: [PHP] Zeilenumbrüche
Falsch. Kann ich schon. Im Forum war eine eingebaut, nur mein Chef hat sie falsch eingestellt.
function textwrap($post, $wrapwidth=0, $inpost=0) { if($wrapwidth==0) $wrapwidth=$this->wrapwidth; if($post) { if($inpost==1) return preg_replace("/([^\n\r ?&\.\/<>\"\\-]{".$wrapwidth."})/i"," \\1\n",$post); else return preg_replace("/([^\n\r -]{".$wrapwidth."})/i"," \\1\n",$post); } } $wrapwidth war vorher auf 75 und ist jetzt auf 60. |
Alle Zeitangaben in WEZ +1. Es ist jetzt 16:55 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz