Add sections intro and content
This commit is contained in:
parent
493a6d9709
commit
c22a6ad98c
@ -123,12 +123,15 @@ while ($obj = $dbjoomla->fetch_object($resql)) {
|
|||||||
|
|
||||||
$htmltext = "";
|
$htmltext = "";
|
||||||
if ($blogpostheader) $htmltext .= $blogpostheader."\n";
|
if ($blogpostheader) $htmltext .= $blogpostheader."\n";
|
||||||
$htmltext .= '<section id="mysectionnews" contenteditable="true">'."\n";
|
$htmltext .= '<section id="mysectionnewsintro" contenteditable="true">'."\n";
|
||||||
$htmltext .= $obj->introtext;
|
$htmltext .= $obj->introtext;
|
||||||
|
$htmltext .= '</section>'."\n";
|
||||||
if ($obj->fulltext) {
|
if ($obj->fulltext) {
|
||||||
$htmltext .= '<br>'."\n".'<hr>'."\n".'<br>'."\n".$obj->fulltext;
|
$htmltext .= '<section id="mysectionnewscontent" contenteditable="true">'."\n";
|
||||||
|
$htmltext .= '<br>'."\n".'<hr>'."\n".'<br>'."\n";
|
||||||
|
$htmltext .= $obj->fulltext;
|
||||||
|
$htmltext .= "</section>";
|
||||||
}
|
}
|
||||||
$htmltext .= "\n</section>";
|
|
||||||
if ($blogpostfooter) $htmltext .= "\n".$blogpostfooter;
|
if ($blogpostfooter) $htmltext .= "\n".$blogpostfooter;
|
||||||
|
|
||||||
$language = ($obj->language && $obj->language != '*' ? $obj->language : 'en');
|
$language = ($obj->language && $obj->language != '*' ? $obj->language : 'en');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user