public function notif($text, $class = 'success')
{
if ($class === true) {
$to_print = '<div><div class="mw-notification-text mw-open-module-settings">';
$to_print = $to_print . $text . '</div></div>';
} else {
$to_print = '<div class="mw-notification mw-' . $class . ' "><div class="mw-notification-text mw-open-module-settings">';
$to_print = $to_print . $text . '</div></div>';
}
return $to_print;
}