$text
";
break;
case "warning":
$NTFY_NoticesQueue[] = "";
break;
case "success":
$NTFY_NoticesQueue[] = "";
break;
default:
die("invalid notification type: $type");
}
}
// Echo all notifications
function NTFY_EchoAllNotices () {
global $NTFY_NoticesQueue;
foreach ($NTFY_NoticesQueue as $notice) {
echo "$notice\n";
}
}
?>