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