Vanilla 1.1.5 is a product of Lussumo. More Information: Documentation, Community Support.
Help keep Vanilla free:$BodyId = "";
if ($this->BodyId != "") $BodyId = ' id="'.$this->BodyId.'"';
// Echo the forum-template.html file, inserting the title, the meta tags, and everything up to the [Forum] tag
$template = file_get_contents($this->Context->Configuration['APPLICATION_PATH']. '..\forum-template.html');
$template = explode('[Forum]', $template);
$this->Context->PageFoot = $template[1];
$template = $template[0];
$template = preg_replace('#<title\b[^>]*>(.*?)</title>#i', '<title>'. $Title .'</title>', $template);
$template = str_replace(array('href="', 'src="'), array('href="../', 'src="../'), $template);
$template = preg_replace('#<\/head>#i', $HeadString .'
</head>', $template);
echo $template . '
<div'.$BodyId.' '.$this->Context->BodyAttributes.'>
<div id="SiteContainer">';<?php
// Note: This file is included from the library/Framework/Framework.Control.PageEnd.php class.
echo '</div>';
echo $this->Context->PageFoot;
?>
1 to 2 of 2