dbFields = array( 'enable'=>false, 'message'=>'Temporarily down for maintenance.' ); } public function form() { global $language; $html = ''; $html .= '
'; $html .= ''; $html .= ''; $html .= '
'; $html .= '
'; $html .= ''; $html .= ''; $html .= '
'; return $html; } public function beforeAll() { if ($this->getValue('enable')) { exit( $this->getValue('message') ); } } }