Example #1
0
 function getContent()
 {
     $html = '';
     $html .= '<p>HTTP 500</p>';
     $html .= '<p>Unable to process request!</p>';
     return parent::wrapContent($html);
 }
Example #2
0
 function getContent()
 {
     $html = '';
     $html .= HTML::H1($this->getTitle());
     $html .= '<p><a href="javascript:window.history.back();">&lt; back to the previous page</a></p>';
     return parent::wrapContent($html);
 }
Example #3
0
 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));
 }
Example #4
0
 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));
 }