dbFields = array( 'shortname'=>'', 'enablePages'=>false, 'enablePosts'=>true ); } public function form() { global $Language; $html = ''; $html .= '
'; $html .= ''; $html .= ''; $html .= '
'; $html .= '
'; $html .= ''; $html .= ''; $html .= '
'; $html .= '
'; $html .= ''; $html .= ''; $html .= '
'; return $html; } public function pageEnd() { global $content; global $url, $page; $page = $content[0]; if (empty($page)) { return false; } if ( !$url->notFound() && ( $url->whereAmI()=='page' && (($this->getValue('enablePosts') && $page->published()) || ($this->getValue('enablePages') && $page->static())) ) && $page->allowComments() ) { $html = '
'; $html .= ' '; return $html; } return false; } }