https://crispy.cat/software/crispage Crispage is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. */ namespace Crispage\Components; defined("ROOT") or die(); class MessagesComponent extends \Crispage\Response\Component { public static function getExtensionInfo(): array { return [ "id" => "crispage.components.messages", "version" => VERSION ]; } public function __construct(\Crispage $app, array $data) { parent::__construct($app, $data); } public function render(): void { ?>
app->page->data["messages"] as $id => $msg) { ?>
mb-2">