What variables need to substitute in fullnews.php the engine DLE 12.1?

Hi all. Need your help in one point. Here's the thing, I'm trying to make the automatic parsing of and adding of news the entire text and all the rows in the (full news) were together without paragraphs of the gaps, BUT after each point was done in one space.

Now:

have blablablablabla.

have blablablablabla.
have blablablablabla.

have blablablablabla.

You need to:

have blablablablabla. have blablablablabla. have blablablablabla

I found this code:

$text = str_replace(array("\n", "\r"), ", $text

Here's the code itself fullnews.php

if(!defined('DATALIFEENGINE'))
{
 die("Hacking attempt!");
}

if ($mod != "editnews") {
$row['id'] = "";
$row['autor'] = $member_id['name'];

}

if (!isset ($row['full_story'])) $row['full_story'] = "";

echo <<<HTML
<div class="editor-panel"><textarea id="full_story" name="full_story" class="wysiwygeditor" style="width:98%;height:300px;">{$row['full_story']}</textarea></div>
HTML;


which can not properly register with the desired variables in the file engine/editor/fullnews.php. What variables need to be put to work. Version dle 12.1.
April 7th 20 at 10:51
0 answer

Find more questions by tags PHP