$touch_icon = 'images/friendica-192.png';
}
- $this->page['htmlhead'] = $this->eventDispatcher->dispatch(new HtmlFilterEvent(
- HtmlFilterEvent::HEAD,
- $this->page['htmlhead']
- ))->getHtml();
+ $this->page['htmlhead'] = $this->eventDispatcher->dispatch(
+ new HtmlFilterEvent(HtmlFilterEvent::HEAD, $this->page['htmlhead'])
+ )->getHtml();
$tpl = Renderer::getMarkupTemplate('head.tpl');
/* put the head template at the beginning of page['htmlhead']
]);
}
- $this->page['footer'] = $this->eventDispatcher->dispatch(new HtmlFilterEvent(
- HtmlFilterEvent::FOOTER,
- $this->page['footer']
- ))->getHtml();
+ $this->page['footer'] = $this->eventDispatcher->dispatch(
+ new HtmlFilterEvent(HtmlFilterEvent::FOOTER, $this->page['footer'])
+ )->getHtml();
$tpl = Renderer::getMarkupTemplate('footer.tpl');
$this->page['footer'] = Renderer::replaceMacros($tpl, [
{
// initialise content region
if ($mode->isNormal()) {
- $this->page['content'] = $this->eventDispatcher->dispatch(new HtmlFilterEvent(
- HtmlFilterEvent::PAGE_CONTENT_TOP,
- $this->page['content']
- ))->getHtml();
+ $this->page['content'] = $this->eventDispatcher->dispatch(
+ new HtmlFilterEvent(HtmlFilterEvent::PAGE_CONTENT_TOP, $this->page['content'])
+ )->getHtml();
}
$this->page['content'] .= (string)$response->getBody();
$profiler->set(microtime(true) - $timestamp, 'aftermath');
if (!$mode->isAjax()) {
- $this->page['content'] = $this->eventDispatcher->dispatch(new HtmlFilterEvent(
- HtmlFilterEvent::PAGE_END,
- $this->page['content']
- ))->getHtml();
+ $this->page['content'] = $this->eventDispatcher->dispatch(
+ new HtmlFilterEvent(HtmlFilterEvent::PAGE_END, $this->page['content'])
+ )->getHtml();
}
// Add the navigation (menu) template