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