dbFields = array( 'tabSize'=>'2', 'toolbar'=>'"bold", "italic", "heading", "|", "quote", "unordered-list", "|", "link", "image", "code", "horizontal-rule", "|", "preview", "side-by-side", "fullscreen", "guide"', 'autosave'=>0, 'spellChecker'=>0 ); } // Returns true if the plugins is loaded on the controller defined private function enabled() { global $layout; return in_array($layout['controller'], $this->loadWhenController); } public function adminHead() { $html = ''; if( $this->enabled() ) { $html .= ''; $html .= ''; } return $html; } public function form() { global $Language; $html = '