mirror of
https://github.com/e107inc/e107.git
synced 2025-05-03 10:49:12 +02:00
Bugtracker #5197 - [newpage=xxx] didn't work in content print
This commit is contained in:
parent
ce0fc19280
commit
321a6d1b95
@ -25,7 +25,7 @@ function print_item($id)
|
||||
$row['content_heading'] = $tp -> toHTML($row['content_heading']);
|
||||
$row['content_subheading'] = $tp -> toHTML($row['content_subheading']);
|
||||
$row['content_text'] = $tp -> replaceConstants($row['content_text']);
|
||||
$row['content_text'] = preg_replace("/\{EMAILPRINT\}|\[newpage\]/", "", $tp -> toHTML($row['content_text'], TRUE));
|
||||
$row['content_text'] = preg_replace("/\{EMAILPRINT\}|\[newpage(?:\=.*?){0,1}\]/", "", $tp -> toHTML($row['content_text'], TRUE));
|
||||
$authordetails = $aa -> getAuthor($row['content_author']);
|
||||
$row['content_datestamp'] = $con -> convert_date($row['content_datestamp'], "long");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user