function getContent() { $html = ''; $html .= '<p>HTTP 500</p>'; $html .= '<p>Unable to process request!</p>'; return parent::wrapContent($html); }
function getContent() { $html = ''; $html .= HTML::H1($this->getTitle()); $html .= '<p><a href="javascript:window.history.back();">< back to the previous page</a></p>'; return parent::wrapContent($html); }
function getContent() { $contactPopup = ''; if ($this->showContactPopup) { $contactPopup = HTML::Tag('script', '$(function() { Site.Contact(); });'); } $pageValues = array_merge(array('contactPopup' => $contactPopup), $this->getDictionaryItems()); return parent::wrapContent(Application::LoadTemplate('home.html', $pageValues)); }
function getContent() { return parent::wrapContent(HTML::Div($this->cmsPage->getContent(), null, 'content')); }
function getContent() { $pageValues = $this->getDictionaryItems(); return parent::wrapContent(Application::LoadTemplate('caravan.html', $pageValues)); }