public function notification($message, $classes = 'notifyproblem') { $message = clean_text($message); if ($classes == 'notifyproblem') { return bootstrap::alert_error($message); } if ($classes == 'notifysuccess') { return bootstrap::alert_success($message); } if ($classes == 'notifymessage') { return bootstrap::alert_info($message); } if ($classes == 'notifymessage') { return bootstrap::alert_default($message); } if ($classes == 'redirectmessage') { return bootstrap::alert_block_info($message); } return bootstrap::alert_default($message); }