dbFields = array( 'head' => '', 'header' => '', 'footer' => '', 'adminHead' => '', 'adminHeader' => '', 'adminFooter' => '' ); } public function form() { global $L; $html = '

' . $L->g('Website') . '

'; $html .= '
'; $html .= ''; $html .= ''; $html .= '
'.$L->get('insert-code-in-the-website-inside-the-tag-head').'
'; $html .= '
'; $html .= '
'; $html .= ''; $html .= ''; $html .= '
'.$L->get('insert-code-in-the-website-at-the-top').'
'; $html .= '
'; $html .= '
'; $html .= ''; $html .= ''; $html .= '
'.$L->get('insert-code-in-the-website-at-the-bottom').'
'; $html .= '
'; $html .= '

' . $L->g('Admin area') . '

'; $html .= '
'; $html .= ''; $html .= ''; $html .= '
'.$L->get('insert-code-in-the-admin-area-inside-the-tag-head').'
'; $html .= '
'; $html .= '
'; $html .= ''; $html .= ''; $html .= '
'.$L->get('insert-code-in-the-admin-area-at-the-top').'
'; $html .= '
'; $html .= '
'; $html .= ''; $html .= ''; $html .= '
'.$L->get('insert-code-in-the-admin-area-at-the-bottom').'
'; $html .= '
'; return $html; } public function siteHead() { return html_entity_decode($this->getValue('head')); } public function siteBodyBegin() { return html_entity_decode($this->getValue('header')); } public function siteBodyEnd() { return html_entity_decode($this->getValue('footer')); } public function adminHead() { return html_entity_decode($this->getValue('adminHead')); } public function adminBodyBegin() { return html_entity_decode($this->getValue('adminHeader')); } public function adminBodyEnd() { return html_entity_decode($this->getValue('adminFooter')); } }